Hi.  My attempts to compile mysql-5.0.4-beta on Solaris 9 (Sparc) fail
when I run make with the following:

if gcc -DMYSQL_INSTANCE_MANAGER -DMYSQL_SERVER -I. -I. -I../..
-I../../include -I../../include    -O3 -DDBUG_OFF -Wimplicit -Wreturn-type
-Wswitch -Wtrigraphs -Wcomment -W -Wchar-subscripts -Wformat -Wparentheses
-Wsign-compare -Wwrite-strings -Woverloaded-virtual -Wsign-promo -Wreorder
-Wctor-dtor-privacy -Wnon-virtual-dtor -felide-constructors
-fno-exceptions -fno-rtti  -O3 -fno-omit-frame-pointer -mcpu=v8
-Wa,-xarch=v8plusa -g   -fno-implicit-templates -fno-exceptions -fno-rtti
-DUSE_MYSYS_NEW -DDEFINE_CXA_PURE_VIRTUAL -D_FILE_OFFSET_BITS=64
-DHAVE_RWLOCK_T -MT net_serv.o -MD -MP -MF ".deps/net_serv.Tpo" -c -o
net_serv.o net_serv.cc; \
then mv -f ".deps/net_serv.Tpo" ".deps/net_serv.Po"; else rm -f
".deps/net_serv.Tpo"; exit 1; fi
In file included from net_serv.cc:51:
../../include/violite.h:93:30: openssl/opensslv.h: No such file or
directory
../../include/violite.h:102:25: openssl/ssl.h: No such file or directory
../../include/violite.h:103:25: openssl/err.h: No such file or directory
In file included from net_serv.cc:51:
../../include/violite.h:107: error: syntax error before `*' token
../../include/violite.h:108: error: syntax error before `*' token
../../include/violite.h:115: error: syntax error before `*' token
../../include/violite.h:117: error: syntax error before `*' token
make[3]: *** [net_serv.o] Error 1

I have tried suggestions located at: http://bugs.mysql.com/bug.php?id=5494
and http://www.linode.com/irc/logs/linode.log-2003-11-24 with no success.

I ran configure like this:

CFLAGS="-I/usr/local/ssl/include -g -Wimplicit -Wreturn-type -Wswitch
-Wtrigraphs -Wcomment -W -Wchar-subscripts -Wformat -
Wparentheses -Wsign-compare -Wwrite-strings -Wunused  -O3
-fno-omit-frame-pointer -mcpu=v8 -Wa,-xarch=v8plusa" CXX=gcc CXXF
LAGS="-Wimplicit -Wreturn-type -Wswitch -Wtrigraphs -Wcomment -W
-Wchar-subscripts -Wformat -Wparentheses -Wsign-compare -W
write-strings -Woverloaded-virtual -Wsign-promo -Wreorder
-Wctor-dtor-privacy -Wnon-virtual-dtor -felide-constructors -fno-
exceptions -fno-rtti  -O3 -fno-omit-frame-pointer -mcpu=v8
-Wa,-xarch=v8plusa -g" ./configure --prefix=/servers/mysql/5.0.4
 --enable-assembler --with-extra-charsets=complex
--enable-thread-safe-client --with-openssl=/usr/local/ssl --with-openssl-
includes=/usr/local/ssl/include --with-openssl-libs=/usr/local/ssl/lib
--with-vio

My PATH and LD_LIBRARY_PATH were as follows:

# echo $PATH
/usr/local/ssl/include/openssl:/usr/local/ssl/include:/usr/local/sbin:/usr/local/bin:/eng/local/bin:/eng/gnu/bin:/usr/bin:/usr/ccs/bin:/usr/ucb:/opt/sfw/bin:/usr/sfw/bin

# echo $LD_LIBRARY_PATH
/usr/lib:/usr/local/lib:/usr/local/ssl/lib

The three files it claims it cannot find look like below and are located
in /usr/local/ssl/include/openssl

-rw-r--r--   1 root     other       3656 Jun 30  2004 opensslv.h
-rw-r--r--   1 root     other      74492 Jun 30  2004 ssl.h
-rw-r--r--   1 root     other      11848 Jun 30  2004 err.h

# gcc --version
gcc (GCC) 3.3.2

What am I missing?  Thanks in advance for any suggestions or pointers on
how to resolve the problem.

Best Regards,

Mark


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

Reply via email to