Forum OpenACS Q&A: Re: AOL installation problem

Collapse
Posted by Gustaf Neumann on
i asked, because the error message, you provided looks weird to me (what is DNsthreadsInit? if i search for it even in my 4.0.10 version, i don't find it. What is error.0?). I assume, you have read aolserver/README and configured aolserver accordingly.

There are various patches for 4.0.10 out there. I would recommend to get aolserver_v40_bp from sourceforge, ... see if the problem disappears by that, and if not, provide more context.

For getting this version, checkout https://sourceforge.net/cvs/?group_id=3152, and use flag "-r aolserver_v40_bp" in line after "co"

Collapse
Posted by Bob Powell on
I have been able to get the compiler to continue on through the code but am now getting a different error. The compiler stops at the following:

/usr/lib/gcc/i386-redhat-linux/4.1.2/../../..crit.0:(.init+0x0): first defined here collect2: ld returned 1 exit status
make[1]: *** [libnsthread.so] Error 1
make[1]: Leaving directory '/usr/local/aolserver4/aolserver-4.0.10/nsthread'
make: *** [Error 1

I am using Kernel 2.6.18-92.el5xen
Glibc version 2.5-24
GNU make 3.81
TCL 8.4.13

Threads are enables in TCL and the AOL server. I've run make clean a couple of times to no avail.

I've found an OpenACS document in the discussions that demonstrate this exact problem. I've followed the directions there and have had no success. The message id in the discussion group is 160320. What are my options now? Thanks.

Collapse
Posted by Gustaf Neumann on
Most likely you are referring to
http://www.openacs.org/forums/message-view?message_id=247648
where the relevant line is
/home/dcarter/tmp/aolserver-4.0.9/nsthread/pthread.c:70: multiple definition of `_init' which which have for some reason omitted.

The solution to this problem is to add "-nostartfiles" to the link command (for linking nsd). The quickest approach is to edit the Makefile.

Btw, it is not recommend to use Tcl 8.4.13 (use 8.4.19 instead).

Collapse
Posted by Bob Powell on
Thank you, that allowed me to compile the code. It appears as 'make' is running that everything compiles okay. I don't see any errors.

Since I've told it to compile without startups, I don't seem to have the nsd command to start the server. Can you tell me how to start the server at this point.

Collapse
Posted by Gustaf Neumann on
read http://openacs.org/test-doc/aolserver4 . "nsd" is installed "make install" by step (3) on this page.

Testing aolserver is described in http://openacs.org/test-doc/aolserver#install-aolserver-permissions