Compiling 4.0.20 bug on Solaris 8 x86 ( gcc version 2.95.3 20010315 (release) )

2004-06-10 Thread Vlad Shalnev
Hi

Configure run command:

./configure \
--prefix=${INSTALL_DIRECTORY} \
--exec-prefix=${INSTALL_DIRECTORY} \
--libexecdir=${INSTALL_DIRECTORY}/bin \
--disable-shared \
--enable-thread-safe-client \
--enable-local-infile \
--with-unix-socket-path=/tmp/.mysql.sock \
--with-mysqld-user=${INSTALL_USER} \
--with-openssl \
--with-openssl-includes=/opt/csw/include \
--with-openssl-libs=/opt/csw/lib \
--without-bench \
--with-charset=koi8_ru

Bug:

gcc can't find openssl includes, although I set --with-openssl-includes

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../include -I../include-g -O -DDBUG_ON 
-DSAFE_MUTEX   -D_FILE_OFFSET_BITS=64 -DHAVE_CURSES_H 
-I/tmp/mysql-4.0.20/include -DHAVE_RWLOCK_T -c `test -f 'strxmov.c' || echo 
'./'`strxmov.c
In file included from strxmov.c:33:
../include/my_global.h:1129: openssl/opensslv.h: No such file or directory

Workaround:

Set absolute path in my_global.h and violite.h

my_global.h, 1129

#include openssl/opensslv.h - /opt/csw/include/openssl/opensslv.h

violite.h, 82, 83

#include openssl/ssl.h - /opt/csw/include/openssl/ssl.h
#include openssl/err.h - /opt/csw/include/openssl/err.h

Please, correct this bug in next release

With best regards


Vlad A. Shalnev
E-mail: [EMAIL PROTECTED]

Gravity can't be blamed 
for someone 
falling in love

( Albert Einstein )



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



Solaris 8 and gcc

2001-11-02 Thread Peter L. Berghold

Hi folks,

I'm trying to compile mysql on a Solaris 8 box with gcc. When I run 
compile for reasons I do not understand configure thinks the g++ compiler
is running as a cross compiler which it is not. This causes the test 
for the return type of sprintf to fail with the message can not run 
test program while cross compiling.

Has anyone else run into this or am I special? Is there a fix/workaround?

-- 
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Peter L. Berghold[EMAIL PROTECTED]
Manager Unix Engineering [EMAIL PROTECTED]
NYU Mt Sinai (212) 263-6932

-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php