Forum .LRN Q&A: Error in dotlrn package installation

Hi everyone,
I'm trying to install the dontlrn 1.0 package.The installation fails
with the following errors:

"psql:users-init.sql:68: ERROR:  Function 'rel_segment__new(unknown,
int4, unknown)' does not exist Unable to identify a function that
satisfies the given argument types You may need to add explicit typecasts

psql:admins-init.sql:89: ERROR:  Function 'rel_segment__new(unknown,
int4, unknown)' does not exist Unable to identify a function that
satisfies the given argument types You may need to add explicit typecasts

psql:professors-init.sql:89: ERROR:Function'rel_segment__new(unknown,
int4, unknown)' does not exist    Unable to identify a function that
satisfies the given argument types You may need to add explicit typecasts

psql:students-init.sql:89: ERROR:  Function 'rel_segment__new(unknown,
int4, unknown)' does not exist Unable to identify a function that
satisfies the given argument types You may need to add explicit typecasts

psql:externals-init.sql:89: ERROR:  Function rel_segment__new(unknown,
int4, unknown)' does not exist Unable to identify a function that
satisfies the given argument types You may need to add explicit typecasts

psql:dotlrn-init.sql:396: ERROR:  Function tree_increment_key(varbit)'
does not exist Unable to identify a function that satisfies the given
argument types You may need to add explicit typecasts

psql:class-memberships-create.sql:224: ERROR:
acs_object_types_supertype_fk referential integrity violation - key
referenced from acs_object_types not found in acs_object_types

psql:user-extension-create.sql:93: ERROR:  Binding of UserData to
dotlrn_user_extension failed."

Can anyone help me solve this problem.
Thanks in advance
Sergio

Collapse
Posted by Jeff Davis on
Sergio, is this a checkout of the dotlrn-1-0 branch or the HEAD?
It matters since the sloan changes were merged on the dotlrn-1-0 branch
and since they work with oracle the postgres stuff may be a little broken right now.
Collapse
Posted by Ben Adida on
What version of PostgreSQL are you running?
Collapse
Posted by Sergio Fortuna on
Thanks for the quick response.
The pg version is 7.2 as advised by the community to use with dotlrn and openacs 4.5.

The checkout is the dotlrn-1-0 branch.

Collapse
Posted by Rafael Calvo on
Sergio
You need to use OACS 4.6
Collapse
Posted by Ben Adida on
Rafael is correct: you need OpenACS 4.6 - which should be out shortly. In the meantime, you can check out the 4.6 branch from OpenACS CVS to try things out.
Collapse
Posted by Sergio Fortuna on
Ben and Rafael
Thanks for your help.
I'm in the process of installing OpenACS 4.6 version, and will try the dotlrn instalation again.