Subject: Ultra2-Netbsd-mysql pkgsrc can't make
To: None <port-sparc64@netbsd.org>
From: Luc Martineau <lpmartineau@rogers.com>
List: port-sparc64
Date: 01/18/2005 19:13:45
Hello Everyone,
I have a Ultra 2 (2-300mhz cpu's (I know it don't
support 2 cpu's yet but that is ok) 1 gig of ram, 2x4
gig drives,)
I have installed pkgsrc and I went into
/usr/pkgsrc/databases/mysql4-server/
and ran make
and I get this output---
(I have tried make clean then tried to run this again
and no go)
gmake[4]: Nothing to be done for `all'.
gmake[4]: Leaving directory
`/usr/pkgsrc/databases/mysql4-server/work/mysql-4.0.21/sql/share'
gmake[4]: Entering directory
`/usr/pkgsrc/databases/mysql4-server/work/mysql-4.0.21/sql'
/usr/pkg/bin/gmake gen_lex_hash
gmake[5]: Entering directory
`/usr/pkgsrc/databases/mysql4-server/work/mysql-4.0.21/sql'
g++ -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr/pkg\""
-DDATADIR="\"/var/mysql\""
-DSHAREDIR="\"/usr/pkg/share/mysql\"" -DHAVE_CONFIG_H
-I. -I. -I.. -I../innobase/include -I./../include
-I./../regex -I. -I../include -I. -Dunix
-I/usr/pkg/include -I/usr/include -O3 -DDBUG_OFF -O
-ffixed-g4 -DSIGNALS_DONT_BREAK_READ
-I/usr/pkg/include -I/usr/include
-DSIGNALS_DONT_BREAK_READ -fno-implicit-templates
-fno-exceptions -fno-rtti -Dunix -c
-I../innobase/include -I./../include -I./../regex -I.
-I../include -I. gen_lex_hash.cc
/bin/sh ../libtool --preserve-dup-deps --mode=link g++
-O3 -DDBUG_OFF -O -ffixed-g4
-DSIGNALS_DONT_BREAK_READ -I/usr/pkg/include
-I/usr/include -DSIGNALS_DONT_BREAK_READ
-fno-implicit-templates -fno-exceptions -fno-rtti
-Dunix -Wl,-R/usr/pkg/lib/mysql -L/usr/pkg/lib/mysql
-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib
-Wl,-R/usr/lib -o gen_lex_hash gen_lex_hash.o
../isam/libnisam.a ../merge/libmerge.a
../myisam/libmyisam.a ../myisammrg/libmyisammrg.a
../heap/libheap.a ../vio/libvio.a ../mysys/libmysys.a
../dbug/libdbug.a ../regex/libregex.a
../strings/libmystrings.a -lz -lcrypt -lm -lpthread
mkdir .libs
g++ -O3 -DDBUG_OFF -O -ffixed-g4
-DSIGNALS_DONT_BREAK_READ
-I/usr/pkgsrc/databases/mysql4-server/work/.buildlink/include
-fno-implicit-templates -fno-exceptions -fno-rtti
-Dunix -Wl,-R/usr/pkg/lib/mysql -Wl,-R/usr/pkg/lib -o
gen_lex_hash gen_lex_hash.o
-L/usr/pkgsrc/databases/mysql4-server/work/.buildlink/lib/mysql
-L/usr/pkgsrc/databases/mysql4-server/work/.buildlink/lib
../isam/libnisam.a ../merge/libmerge.a
../myisam/libmyisam.a ../myisammrg/libmyisammrg.a
../heap/libheap.a ../vio/libvio.a ../mysys/libmysys.a
../dbug/libdbug.a ../regex/libregex.a
../strings/libmystrings.a -lz -lcrypt -lm
/usr/pkgsrc/databases/mysql4-server/work/.buildlink/lib/libpthread.so
-Wl,--rpath
-Wl,/usr/pkgsrc/databases/mysql4-server/work/.buildlink/lib
-Wl,--rpath
-Wl,/usr/pkgsrc/databases/mysql4-server/work/.buildlink/lib
/usr/lib/libstdc++.so: warning: reference to
compatibility vfork(); include <unistd.h> for correct
reference
gmake[5]: Leaving directory
`/usr/pkgsrc/databases/mysql4-server/work/mysql-4.0.21/sql'
./gen_lex_hash > lex_hash.h
Fatal error when generating hash for symbols
Didn't find suitable values for perfect hashing:
You have to edit gen_lex_hash.cc to generate a new
hashing function.
You can try running gen_lex_hash with --search to find
a suitable value
Symbol array size = 8000
gmake[4]: *** [lex_hash.h] Error 1
gmake[4]: Leaving directory
`/usr/pkgsrc/databases/mysql4-server/work/mysql-4.0.21/sql'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory
`/usr/pkgsrc/databases/mysql4-server/work/mysql-4.0.21/sql'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory
`/usr/pkgsrc/databases/mysql4-server/work/mysql-4.0.21/sql'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/usr/pkgsrc/databases/mysql4-server/work/mysql-4.0.21'
gmake: *** [all] Error 2
*** Error code 2
Stop.
make: stopped in /usr/pkgsrc/databases/mysql4-server
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/databases/mysql4-server
#
any suggestions?
thank you much
Luc