Has anybody work on this. 

I'm trying to build nspostgresql on Mountaina Lion (Mac OS X 10.8.2) and I 
get same errors building nspostgresql module.

My workaround now is: 
> cd nspostgresql-4.1/
> make POSTGRES=/usr/local/pgsql/
(I installed PG from source there)

I get same error:
> ar rv libnspostgres.a
> ar: no archive members specified

BUT I IGNORE them and copy nspostgres to bin directory in Aolserver


El martes, 27 de octubre de 2009 18:43:32 UTC-2, Cesáreo García Rodicio 
escribió:
>
> Hi!
>
> Jeff, yes it's PGLIB :-)! But it doesn't install, error is:
>
>  > ar rv libnspostgres.a
>  > ar: no archive members specified
>  > usage:  ar -d [-TLsv] archive file ...
>
> Same referenced in 
> http://www.openacs.org/forums/message-view?message_id=1539251
>
> Question here is? I had to do "make ..." or "make install ..." . I used 
> to do it separately but it seems in documentation that I had to use 
> "make install ..."
>
> Torben, I checked 
> http://openacs.org/xowiki/openacs-system-install-osx-macports but I 
> found some problems (at least with my setup). I think that with PG8.4 
> some parameters in postgresql.conf doesn't work, createdb, I had some 
> problems creating database (I had to use template1 with Unicode). I'll 
> do it again and send here my notes.
>
> But I also tried doing:
>     make install AOLSERVER=/opt/local/aolserver/ 
> PGCONFIG=/opt/local/lib/postgresql82/bin/pg_config POSTGRES=/opt/local 
> PGINC=/opt/local/include/postgresql82/ 
> PGLIB=/opt/local/lib/postgresql82/ ACS=1
>
> And error is:
>
> ranlib /usr/local/aolserver/lib/libnspostgres.a
> ranlib: can't open file: /usr/local/aolserver/lib/libnspostgres.a (No 
> such file or directory)
>
> (If I make it without "install" same error with "ar ...")
>
> Regards
> Cesáreo
>
>
> El 27/octubre/09 13:33, Jeff Rogers escribió:
> > Cesáreo García Rodicio wrote:
> >> Hi!
> >>
> >> I had an Aolserver 4.5.1 working with some modules on Mac OS Leopard
> >> (10.5.8) but I couldn't get to build nspostgres-4.1. Postgres (8.4.1)
> >> was installed using Macports:
> >>
> >> roraima:nspostgres-4.1 root# port installed | grep postg
> >> postgresql84 @8.4.1_1 (active)
> >> postgresql84-doc @8.4.1_0
> >> postgresql84-server @8.4.1_0 (active)
> >>
> >> When I try to build it (I suppose I have to do make && make install):
> >>
> >> make POSTGRES=SEPARATELY PGINC=/opt/local/include/postgresql84/
> >> PGLIG=/opt/local/lib/postgresql84/ ACS=1 
> AOLSERVER=/usr/local/aolserver45
> >
> > ^^^^^^^^
> >
> > Try PGLIB instead.
> >
> > -J
> >
> >
> >
> >
> >
> >
> >>
> >> I get this error:
> >>
> >> gcc -bundle -pipe -o nspostgres.so nspostgres.o -L -lpq -lnsdb -L.
> >> -lnspostgres -L/usr/local/aolserver45/lib -lnsd -lnsthread
> >> -L/usr/local/aolserver45/lib -ltcl8.4g -lpthread
> >> ld: library not found for -lpq
> >>
> >> I think LD_LIBRARY_PATH is right and that libpq exists:
> >>
> >> roraima:nspostgres-4.1 root# env | grep LD_
> >> LD_LIBRARY_PATH=:/usr/local/pgsql/lib:/opt/local/lib/postgresql84/
> >>
> >> roraima:nspostgres-4.1 root# ls /opt/local/lib/postgresql84/libpq.*
> >> /opt/local/lib/postgresql84/libpq.5.2.dylib
> >> /opt/local/lib/postgresql84/libpq.a
> >> /opt/local/lib/postgresql84/libpq.5.dylib
> >> /opt/local/lib/postgresql84/libpq.dylib
> >>
> >> If checked http://openacs.org/forums/message-view?message_id=1539251
> >> but I did't see any solution.
> >>
> >> Thanks for the suport
> >> Cesáreo
> >>
> >>
> >> --
> >> AOLserver - http://www.aolserver.com/
> >>
> >> To Remove yourself from this list, simply send an email to
> >> <list...@listserv.aol.com <javascript:>> with the
> >> body of "SIGNOFF AOLSERVER" in the email message. You can leave the
> >> Subject: field of your email blank.
> >
> >
> > --
> > AOLserver - http://www.aolserver.com/
> >
> > To Remove yourself from this list, simply send an email to
> > <list...@listserv.aol.com <javascript:>> with the
> > body of "SIGNOFF AOLSERVER" in the email message. You can leave the
> > Subject: field of your email blank.
> >
>
>
> --
> AOLserver - http://www.aolserver.com/
>
> To Remove yourself from this list, simply send an email to <
> list...@listserv.aol.com <javascript:>> with the
> body of "SIGNOFF AOLSERVER" in the email message. You can leave the 
> Subject: field of your email blank.
>
>
------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
aolserver-talk mailing list
aolserver-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/aolserver-talk

Reply via email to