RE: [vchkpw] ucspi-tcp-0.88 cannot find mysql.h

2002-09-10 Thread DARCY,MATTHEW (Non-HP-UnitedKingdom,ex2)


thank you all for this help.

Matt.


-Original Message-
From: Dallas Engelken [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 10, 2002 2:18 PM
To: DARCY,MATTHEW (Non-HP-UnitedKingdom,ex2); [EMAIL PROTECTED]
Subject: RE: [vchkpw] ucspi-tcp-0.88 cannot find mysql.h


> I have just patched ucspi-tcp-0.88.

First.. go to the bottom of your ucspi patch.  Change
! gcc -s  -I/usr/local/include/mysql -L/usr/local/lib/mysql -lmysqlclient
to 
! gcc -s  -I/usr/local/mysql/include/mysql -L/usr/local/mysql/lib/mysql
-lmysqlclient

And change
! gcc -O2 -I/usr/local/include/mysql
to
! gcc -O2 -I/usr/local/mysql/include/mysql

Now apply the patch.

> when I run "make setup check" I get the following error message

No more errors :)


> mysql is in /usr/local/mysql/include/mysql which is in my ld.conf.so.
> 

ld.so.conf (i assume you mean) doesnt apply here, because the paths are hard
coded in the patch.

enjoy!
dallas
 



RE: [vchkpw] ucspi-tcp-0.88 cannot find mysql.h

2002-09-10 Thread Dallas Engelken


> I have just patched ucspi-tcp-0.88.

First.. go to the bottom of your ucspi patch.  Change
! gcc -s  -I/usr/local/include/mysql -L/usr/local/lib/mysql -lmysqlclient
to 
! gcc -s  -I/usr/local/mysql/include/mysql -L/usr/local/mysql/lib/mysql -lmysqlclient

And change
! gcc -O2 -I/usr/local/include/mysql
to
! gcc -O2 -I/usr/local/mysql/include/mysql

Now apply the patch.

> when I run "make setup check" I get the following error message

No more errors :)


> mysql is in /usr/local/mysql/include/mysql which is in my ld.conf.so.
> 

ld.so.conf (i assume you mean) doesnt apply here, because the paths are hard coded in 
the patch.

enjoy!
dallas