Forum OpenACS Q&A: Re: Re: Re: Re: Re: Can OpenACS and Aolserver be successfully compiled and installed on FC4?

The guide above also addresses compiling postgres, and also works for pg 8.0.3 if you are running 5.2.2
Well - nspostgres, when giving your command returns the following error:

cd nspostgres
[root@business-buffet nspostgres]# ls
ChangeLog CVS Makefile nspostgres.c nspostgres.h README
[root@business-buffet nspostgres]# make install POSTGRES=/usr/local/pgsql ACS=1 INST=/usr/local/aolserver
/usr/local/aolserver/include/Makefile.module:108: /include/Makefile.global: No such file or directory
make: *** No rule to make target `/include/Makefile.global'. Stop.
[root@business-buffet nspostgres]#

In fact - to further explain - here's my console log from nscache and nspostgres after erasing everything and starting over at the point of aolserver compile - which worked just fine after the above fixes were put in...

[root@business-buffet ~]# cd /usr/local/src/aolserver40r10/nscache
[root@business-buffet nscache]# make install
/usr/local/aolserver/include/Makefile.module:108: /include/Makefile.global: No such file or directory
make: *** No rule to make target `/include/Makefile.global'. Stop.
[root@business-buffet nscache]# cd ../nspostgres
[root@business-buffet nspostgres]# make install POSTGRES=/usr/local/pgsql ACS=1 INST=/usr/local/aolserver40r10
/usr/local/aolserver40r10/include/Makefile.module:108: /include/Makefile.global: No such file or directory
make: *** No rule to make target `/include/Makefile.global'. Stop.
[root@business-buffet nspostgres]#

You -see -- something is missing from aolserver that both nscache and nspostgres need - but I don't know enough to know what to do with it...

Would anyone please pick this back up and help?

I finally found my error in the command line to compile nscache - so it's installed now...
I've also found the problem(s) with postgres.so - am now complete on those problem areas and moving forward. In the nspostgres compile I had to set both LD_LIBRARY_PATH=/usr/local/pgsql/lib AND, in the compile line set POSTGRES=/usr/local/pgsql

That fixed the error - either without the other did not fix it...

Hey Bill - yes my install guide is written for AOLserver 4.0r8 - it won't work for 4.0r10
Hello Bill I have a problem.I need your help i am a newbie and i install debian sarge 3.1 + suquid .And i trying to link with active directory . I read some page and it say that i have to install Ldap.But when I try to install Ldap i have this error

make: *** No rule to make traget '../aolserver/include/makefile.module' stop.

Pls Help me!!
Thz
Ale

Sorry, but I don't know enough to help you.
Alejandro

You have to tell the compile process of, what, I guess nsldap? where is aolserver installed. see the docs for how and where.

In the same way, you have to first find everything that nsldap needs and also tell the nsldap build process where it can find those. Maybe you do that by running configure, maybe you have to edit files, like the makefile.

Once those things are done, try compiling again. If problems with compiling it, post again.

There are already posts having to do with helping you use ldap, I'm not going there at all because I don't know about using it or about using it with openacs.