Forum OpenACS Q&A: Re: Problems installing modules to AOL Server 4.0.9b in Mac OS X 10.3.5

I think you have an old version of nscache.  Should be using nscache 1.6 or newer.
Hi Nick thanks for your help. I'll try to find a newer version of nscache.

I'm new at this, thanks a lot!

Jose

Hi guys, sorry to bother you with my silly questions.

Now I'm trying to install nspostgres and I get this message:

UD3-25:/usr/local/src/aolserver-4.0.9b/nspostgres-4.0 Jose$ sudo make install
**
** POSTGRES variable not set.
** nspostgres.so will not be built.
**
** Usage: make POSTGRES=/path/to/postgresql
**        make POSTGRES=LSB
**
** Usage: make install POSTGRES=/path/to/postgresql INST=/path/to/aolserver
**        make install POSTGRES=LSB INST=/path/to/aolserver
**
** OpenACS users should also set ACS=1
**
** AOLserver 3.x users should set AS3=1
**
make: *** [check-env] Error 1

What's the problem here?

Thanks in advance,

Jose Lucero

Hello Jose

You have posted the answer to your own question in the error message:

** Usage: make install POSTGRES=/path/to/postgresql INST=/path/to/aolserver
**        make install POSTGRES=LSB INST=/path/to/aolserver

Hi Bruno,

I messed up. this is what I intended to post.

Thanks for your help!

I get this error when I do this: make install POSTGRES=/usr/local/pgsql/ INST=/usr/local/aolserver/

definition of _TclpObjListVolumes
/Library/Frameworks/Tcl.framework/Tcl(tclUnixFCmd.o) definition of
_TclpObjListVolumes
ld: Undefined symbols:
_Ns_Db0or1Row
_Ns_Db1Row
_Ns_DbDML
_Ns_DbDriverName
_Ns_DbExec
_Ns_DbGetRow
_Ns_DbRegisterDriver
_Ns_DbSelect
_Ns_DbSetException
_Ns_TclDbGetHandle
_SSL_pending
_BIO_free
_BIO_new_mem_buf
_DH_check
_DH_generate_parameters
_DH_size
_ERR_get_error
_ERR_reason_error_string
_EVP_PKEY_free
_PEM_read_DHparams
_PEM_read_PrivateKey
_PEM_read_X509
_PEM_read_bio_DHparams
_SSL_CTX_ctrl
_SSL_CTX_free
_SSL_CTX_load_verify_locations
_SSL_CTX_new
_SSL_CTX_set_tmp_dh_callback
_SSL_CTX_set_verify
_SSL_CTX_set_verify_depth
_SSL_connect
_SSL_free
_SSL_get_error
_SSL_get_ex_data
_SSL_get_peer_certificate
_SSL_library_init
_SSL_load_error_strings
_SSL_new
_SSL_read
_SSL_set_ex_data
_SSL_set_fd
_SSL_shutdown
_SSL_write
_TLSv1_method
_X509_NAME_get_text_by_NID
_X509_NAME_oneline
_X509_check_private_key
_X509_free
_X509_get_subject_name
make: *** [nspostgres.so] Error 1

Hello again,

From this:

ld: Undefined symbols:
_Ns_Db0or1Row
_Ns_Db1Row
_Ns_DbDML
[ ... ]
I would suspect that you are not linking against where AOLServer's libraries are installed, but I am not 100% sure.

Are you sure AOLServer is installed in /usr/local/aolserver?

Hi again,

I found this thread right here on this forum that deals with the same problem I had with the nspostgres module. The error I get is because my postgres installation was done with SSL. So an -ssl tag must be added to the MODLIBS line.

That didn't fix the problem so I added -lcrypo to the MODLIBS line also.

Here's the link to the other thread: https://openacs.org/forums/message-view?message_id=118559

But now the problem comes from aolsever when I try to start it. I get the following error:

UD2-25:/web/openacs/etc Jose$ /usr/local/aolserver/bin/nsd -ft /web/openacs/etc/config.tcl
[24/Oct/2004:08:01:28][563.2684396012][-main-] Error: dns: getaddrinfo failed: No address associated with nodename

How can I fix this?

Thanks for all your help!