Subject: mysql4-server: build problems
To: None <pkgsrc-users@netbsd.org>
From: Mehul N. Sanghvi <mehul.sanghvi@gmail.com>
List: pkgsrc-users
Date: 08/06/2007 06:27:59
'allo,

      I'm trying to build mysql4-server, and am running into the following problem:

g++ -DDBUG_OFF -O -DUSE_OLD_FUNCTIONS -DHAVE_CURSES_H 
-I/usr/pkgsrc/databases/mysql4-server/work/.buildlink/include/mysql 
-I/usr/pkgsrc/databases/mysql4-server/work/.buildlink/include 
-fno-implicit-templates -fno-exceptions -fno-rtti -DHAVE_RWLOCK_T -Qoption ld 
-R/usr/pkg/lib/mysql -Qoption ld 
-R/usr/pkg/gcc3/lib/gcc-lib/sparc-sun-solaris2/3.3.6 -Qoption ld 
-R/usr/pkg/gcc3/lib -Qoption ld -R/usr/pkg/lib -o mysql_tzinfo_to_sql 
mysql_tzinfo_to_sql.o 
-L/usr/pkgsrc/databases/mysql4-server/work/.buildlink/gcc3/lib/gcc-lib/sparc-sun-solaris2/3.3.6 
-L/usr/pkgsrc/databases/mysql4-server/work/.buildlink/gcc3/lib 
-L/usr/pkgsrc/databases/mysql4-server/work/.buildlink/lib/mysql 
-L/usr/pkgsrc/databases/mysql4-server/work/.buildlink/lib -lnsl -lsocket 
../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 -lpthread -lthread -lposix4 -lgen -lnsl -lm 
-lpthread -lthread
g++: ld: No such file or directory
g++: ld: No such file or directory
g++: ld: No such file or directory
g++: ld: No such file or directory
g++: unrecognized option `-Qoption'
g++: unrecognized option `-Qoption'
g++: unrecognized option `-Qoption'
g++: unrecognized option `-Qoption'
gmake[4]: *** [mysql_tzinfo_to_sql] Error 1
gmake[4]: Leaving directory 
`/usr/pkgsrc/databases/mysql4-server/work/mysql-4.1.22/sql'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory 
`/usr/pkgsrc/databases/mysql4-server/work/mysql-4.1.22/sql'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/pkgsrc/databases/mysql4-server/work/mysql-4.1.

-Qoption is invalid (looking at the gcc manual, there is no such option, just 
-Q, -Qy, or -Qn).


How do I go about fixing this ?


cheers,

      mehul

-- 
Mehul N. Sanghvi
email: mehul.sanghvi@gmail.com