[SunHELP] compiling problem

johnlee johnlee at alanhome.net
Mon Jul 29 20:03:10 CDT 2002


1. When I tried to compile mysql_3.2.51 on a Solaris 8
box.  I get this error:
make[3]: Entering directory
`/export/home/rootccs/opensource/mysql-3.23.51/sql'
gcc -DMYSQL_SERVER                     
-DDEFAULT_MYSQL_HOME="\"/export/home/rootccs\""       
                
-DDATADIR="\"/export/home/rootccs/var\""              
        
-DSHAREDIR="\"/export/home/rootccs/share/mysql\""     
                 -DHAVE_CONFIG_H -I./../include       
          -I./../regex                    -I.
-I../include -I.. -I.    -O3 -DDBUG_OFF -O3
-felide-constructors -fno-exceptions -fno-rtti 
-fno-implicit-templates -fno-exceptions -fno-rtti
-DHAVE_CURSES_H
-I/export/home/rootccs/opensource/mysql-3.23.51/include
-DHAVE_RWLOCK_T -c sql_lex.cc
sql_lex.cc: In function `void lex_init()':
sql_lex.cc:85: `symbols' undeclared (first use this
function)
sql_lex.cc:85: (Each undeclared identifier is reported
only once
sql_lex.cc:85: for each function it appears in.)
sql_lex.cc:87: `sql_functions' undeclared (first use
this function)
sql_lex.cc: In function `int find_keyword(LEX *,
unsigned int, bool)':
sql_lex.cc:168: implicit declaration of function `int
get_hash_symbol(...)'
sql_lex.cc:168: initialization to `SYMBOL *' from
`int' lacks a cast
make[3]: *** [sql_lex.o] Error 1
make[3]: Leaving directory
`/export/home/rootccs/opensource/mysql-3.23.51/sql'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/export/home/rootccs/opensource/mysql-3.23.51/sql'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/export/home/rootccs/opensource/mysql-3.23.51'
make: *** [all-recursive-am] Error 2

Is there some configuration that I missed out?
I cannot use the binary installation cos it has some
lib files missing.

2. I successfully compiles apache 1.3.26 with mod_perl
1.26.  I have perl 5.6.1.  When I run apache like this
I get this error:
bin/httpd -d ../marie/ensembl_web
Syntax error on line 222 of
../marie/ensembl_web/conf/httpd.conf:
Can't load
'/usr/local/lib/perl5/5.6.1/sun4-solaris/auto/Sys/Hostname/Hostname.so'
for module Sys::Hostname: ld.so.1:
./apache_1.3.26/bin/httpd: fatal: relocation error:
file
/usr/local/lib/perl5/5.6.1/sun4-solaris/auto/Sys/Hostname/Hostname.so:
symbol main: referenced symbol not found at
/usr/local/lib/perl5/5.6.1/sun4-solaris/XSLoader.pm
line 75.
 at
/usr/local/lib/perl5/5.6.1/sun4-solaris/Sys/Hostname.pm
line 18
Compilation failed in require at
../marie/ensembl_web/conf/httpd.conf line 14.
BEGIN failed--compilation aborted at
../marie/ensembl_web/conf/httpd.conf line 14.

Waht does this error mean?  I believe the Hostname
module is ok.

I hope that you can help me.  Thanks.

---
[This E-mail was scanned for viruses.]



More information about the SunHELP mailing list