derek wrote:
hmm... looks like I can't compile nspostgres either because of similar errors. i've tried every trick i can find for these.

does anyone have any installation instructions for either nsmysql or nspostgres on tiger?

Begin forwarded message:
Dossy sent me this awhile back and it worked for me.

Ben

-------------

Hi,

This is no bother at all.  I'd be glad to help.

Yes, nsmysql has been successfully compiled on OS X 10.3 and 10.4 from
what I hear.

You will likely need to use the CVS HEAD version of nsmysql.  Here are
hopefully some steps you can follow:

   % AOLSERVER=/usr/local/aolserver
   % CVSROOT=":pserver:[EMAIL PROTECTED]:/cvsroot/aolserver"
   % cvs co nsmysql
   % cd nsmysql

You'll need to make the following modifications to the Makefile:

   5 AOLSERVER =  /usr/local/aolserver

   22 ifndef MYSQL_PREFIX
   23 MYSQL_PREFIX = /usr/local/mysql
   24 endif
25 26 MYSQL_LIBDIR = $(MYSQL_PREFIX)/lib
   27 MYSQL_INCDIR = $(MYSQL_PREFIX)/include

   40 MODLIBS  +=  -L$(MYSQL_LIBDIR) -lmysqlclient_r -lnsdb

Modify the paths as appropriate for your configuration.  The important
parts (I believe) is adding "-lnsdb" to the MODLIBS on line 40, and
getting the paths right for MYSQL_LIBDIR and MYSQL_INCDIR on lines
26-27.

You can now compile and install:

   % make NO_ROPT=1 NO_LDOVERRIDE=1 install

If this doesn't work for you, just email me what errors you're getting
and I'll try to help you work through them.

-- Dossy


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> 
with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: 
field of your email blank.

Reply via email to