Hi all, I'm having trouble compiling MySql on a Sun Sparc machine with Solaris 10.
MySql is 5.0.27 Solaris is sparc.sun.solaris2.10 (64 bits) gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath) I've installed zlib-1.2.3, but got no better luck. I'm using to compile: CC=gcc CFLAGS="-O3 -m64" \ CXX=gcc CXXFLAGS="-O3 -m64 -felide-constructors -fno-exceptions -fno-rtti" \ ./configure --prefix=/usr/local/mysql --with-low-memory Amid all the output that this gives, some suspicious errors appear: grep: illegal option -- q Usage: grep -hblcnsviw pattern file . . . configure: WARNING: term.h: present but cannot be compiled configure: WARNING: term.h: check for missing prerequisite headers? configure: WARNING: term.h: see the Autoconf documentation configure: WARNING: term.h: section "Present But Cannot Be Compiled" configure: WARNING: term.h: proceeding with the preprocessor's result configure: WARNING: term.h: in the future, the compiler will take precedence configure: WARNING: ## ------------------------------------------ ## configure: WARNING: ## Report this to the AC_PACKAGE_NAME lists. ## configure: WARNING: ## ------------------------------------------ ## configure: WARNING: sys/ptem.h: present but cannot be compiled configure: WARNING: sys/ptem.h: check for missing prerequisite headers? configure: WARNING: sys/ptem.h: see the Autoconf documentation configure: WARNING: sys/ptem.h: section "Present But Cannot Be Compiled" configure: WARNING: sys/ptem.h: proceeding with the preprocessor's result configure: WARNING: sys/ptem.h: in the future, the compiler will take precedence configure: WARNING: ## ------------------------------------------ ## configure: WARNING: ## Report this to the AC_PACKAGE_NAME lists. ## configure: WARNING: ## ------------------------------------------ ## configure: WARNING: extra-tools disabled because --enable-thread-safe-client wasn't used But, it goes on. Then, "make" stops with these lines: ... /bin/bash ../libtool --preserve-dup-deps --tag=CC --mode=link gcc -DDBUG_OFF -O3 -m64 -DHAVE_RWLOCK_T -o libz.la -rpath /usr/local/mysql/lib/mysql -version-info 3:3:2 adler32.lo compress.lo crc32.lo deflate.lo gzio.lo infback.lo inffast.lo inflate.lo inftrees.lo trees.lo uncompr.lo zutil.lo -lpthread -lthread -lposix4 -lgen -lsocket -lnsl -lm -lpthread -lthread gcc -shared -Wl,-h -Wl,libz.so.1 -o .libs/libz.so.1.2.3 .libs/adler32.o .libs/compress.o .libs/crc32.o .libs/deflate.o .libs/gzio.o .libs/infback.o .libs/inffast.o .libs/inflate.o .libs/inftrees.o .libs/trees.o .libs/uncompr.o .libs/zutil.o -lpthread -lthread -lposix4 -lgen -lsocket -lnsl -lm -lpthread -lthread -lc -m64 (cd .libs && rm -f libz.so.1 && ln -s libz.so.1.2.3 libz.so.1) (cd .libs && rm -f libz.so && ln -s libz.so.1.2.3 libz.so) false cru .libs/libz.a adler32.o compress.o crc32.o deflate.o gzio.o infback.o inffast.o inflate.o inftrees.o trees.o uncompr.o zutil.o *** Error code 1 make: Fatal error: Command failed for target `libz.la' Current working directory /export/home/jerry/installs/mysql-5.0.27/zlib *** Error code 1 The following command caused the error: failcom='exit 1'; \ for f in x $MAKEFLAGS; do \ case $f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ target=`echo all-recursive | sed s/-recursive//`; \ list='. include Docs zlib cmd-line-utils sql-common pstack strings mysys dbug extra regex innobase myisam myisammrg heap vio sql libmysql client scripts man tests netware sql-bench mysql-test support-files server-tools'; for subdir in $list; do \ echo "Making $target in $subdir"; \ if test "$subdir" = "."; then \ dot_seen=yes; \ local_target="$target-am"; \ else \ local_target="$target"; \ fi; \ (cd $subdir && make $local_target) \ || eval $failcom; \ done; \ if test "$dot_seen" = "no"; then \ make "$target-am" || exit 1; \ fi; test -z "$fail" make: Fatal error: Command failed for target `all-recursive' Current working directory /export/home/jerry/installs/mysql-5.0.27 *** Error code 1 make: Fatal error: Command failed for target `all' Does anyone have a hint for what may be missing here ? Thank you, --- Luis Jeremias [EMAIL PROTECTED] TV CABO PORTUGAL Direcção de Desenvolvimento de Infraestruturas Rua Dr. Eduardo Neves, nº9 Edifício Pinta, 2° Piso, Sala 7 1069-203 Lisboa - PORTUGAL TM: 961360663, Tel: 217943522, Fax: 217824895 -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]