I'm having a problem getting MySQL 4.0.20 compiled on one of my servers.  
Technically it's a RH9 box, although it doesn't much resemble one after
I'm through with it.  OpenSSL is of course compiled from source and
installed in /usr/local/ssl (default).  ld.so.conf has of course been
modified appropriately.  MySQL is configured with...

./configure --prefix=/usr/local --sysconfdir=/etc/mysql 
--localstatedir=/var --enable-shared --enable-static --with-libwrap 
--with-berkeley-db --enable-thread-safe-client --with-mysqld-user=mysql 
--with-openssl --with-openssl-includes=/usr/local/ssl/include 
--with-openssl-libs=/usr/local/ssl/lib

./configure claims to find OpenSSL too:

checking for OpenSSL... yes

The compile exits with this error though:

if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../include -I../include    -O3 
-DDBUG_OFF   -MT strxmov.o -MD -MP -MF ".deps/strxmov.Tpo" \
  -c -o strxmov.o `test -f 'strxmov.c' || echo './'`strxmov.c; \
then mv -f ".deps/strxmov.Tpo" ".deps/strxmov.Po"; \
else rm -f ".deps/strxmov.Tpo"; exit 1; \
fi
In file included from strxmov.c:33:
../include/my_global.h:1129:30: openssl/opensslv.h: No such file or 
directory
make[2]: *** [strxmov.o] Error 1
make[2]: Leaving directory `/usr/local/src/mysql/mysql-4.0.20/strings'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/mysql/mysql-4.0.20'
make: *** [all] Error 2

opensslv.h exists, although I don't know where exactly its looking for it.  
Any ideas spring into anyone's mind?  The OpenSSL is just fine.  All the 
other packages I've compiled against it worked without a hitch.  MySQL is 
the exception.  I'm stumped as to why it's not working though.

Thanks for the help
 Justin


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to