[gcc version 2.95.2; mysql 3.23.47] : What was the problem you got with compiling MySQL on this platform? : If you follow the instructions in the Solaris section in the MySQL : manual, this should be very straightforward!
I'm not getting any errors. My compile is getting stuck at: ---- /bin/sh ../libtool --mode=link gcc -O3 -DDBUG_OFF -DHAVE_RWLOCK_T -o libmysqlclient.la -rpath /usr/local/lib/mysql -version-info 10:0:0 libmysql.lo net.lo violite.lo password.lo get_password.lo errmsg.lo my_init.lo my_static.lo my_malloc.lo my_realloc.lo my_create.lo my_delete.lo mf_tempfile.lo my_open.lo mf_casecnv.lo my_read.lo my_write.lo errors.lo my_error.lo my_getwd.lo my_div.lo mf_pack.lo my_messnc.lo mf_dirname.lo mf_fn_ext.lo mf_wcomp.lo typelib.lo safemalloc.lo my_alloc.lo mf_format.lo mf_path.lo mf_unixpath.lo my_fopen.lo my_symlink.lo my_fstream.lo mf_loadpath.lo my_pthread.lo my_thr_init.lo thr_mutex.lo mulalloc.lo string.lo default.lo my_compress.lo array.lo my_once.lo list.lo my_net.lo charset.lo hash.lo mf_iocache.lo my_seek.lo my_pread.lo mf_cache.lo getopt.lo getopt1.lo getvar.lo my_lib.lo strmov.lo strxmov.lo strnmov.lo strmake.lo strend.lo strnlen.lo strfill.lo is_prefix.lo int2str.lo str2int.lo strinstr.lo strcont.lo strcend.lo bchange.lo bmove.lo bmove_upp.lo longlong2str.lo strtoull.lo strtoll.lo llstr.lo ctype.lo dbug.lo -lz -lcrypt -lgen -lsocket -lnsl -lm rm -fr .libs/libmysqlclient.la .libs/libmysqlclient.* .libs/libmysqlclient.* ---- ... then I'm stuck there for hours. Files called sh${PID} are being created and removed in /tmp with this as their contents: ---- int main() { return 0; } ---- Here's the last 200 lines from config.log, as requested by sinisa: ---- #endif ; return 0; } configure:8910: checking for pthread_attr_setschedparam configure:8938: gcc -o conftest -O3 -DDBUG_OFF -DHAVE_RWLOCK_T conftest.c -lpthread -lthread -lz -lcrypt -lgen -lsocket -lnsl -lm -lpthread -lthread 1>&5 configure:8910: checking for pthread_attr_create configure:8938: gcc -o conftest -O3 -DDBUG_OFF -DHAVE_RWLOCK_T conftest.c -lpthread -lthread -lz -lcrypt -lgen -lsocket -lnsl -lm -lpthread -lthread 1>&5 /var/tmp/ccmJZcsV.o: In function `main': /var/tmp/ccmJZcsV.o(.text+0x4): undefined reference to `pthread_attr_create' collect2: ld returned 1 exit status configure: failed program was: #line 8915 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char pthread_attr_create(); below. */ #include <assert.h> /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char pthread_attr_create(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_pthread_attr_create) || defined (__stub___pthread_attr_create) choke me #else pthread_attr_create(); #endif ; return 0; } configure:8910: checking for pthread_getsequence_np configure:8938: gcc -o conftest -O3 -DDBUG_OFF -DHAVE_RWLOCK_T conftest.c -lpthread -lthread -lz -lcrypt -lgen -lsocket -lnsl -lm -lpthread -lthread 1>&5 /var/tmp/ccRXrxRp.o: In function `main': /var/tmp/ccRXrxRp.o(.text+0x4): undefined reference to `pthread_getsequence_np' collect2: ld returned 1 exit status configure: failed program was: #line 8915 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char pthread_getsequence_np(); below. */ #include <assert.h> /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char pthread_getsequence_np(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_pthread_getsequence_np) || defined (__stub___pthread_getsequence_np) choke me #else pthread_getsequence_np(); #endif ; return 0; } configure:8910: checking for pthread_attr_setstacksize configure:8938: gcc -o conftest -O3 -DDBUG_OFF -DHAVE_RWLOCK_T conftest.c -lpthread -lthread -lz -lcrypt -lgen -lsocket -lnsl -lm -lpthread -lthread 1>&5 configure:8910: checking for pthread_condattr_create configure:8938: gcc -o conftest -O3 -DDBUG_OFF -DHAVE_RWLOCK_T conftest.c -lpthread -lthread -lz -lcrypt -lgen -lsocket -lnsl -lm -lpthread -lthread 1>&5 /var/tmp/ccHLyfDp.o: In function `main': /var/tmp/ccHLyfDp.o(.text+0x4): undefined reference to `pthread_condattr_create' collect2: ld returned 1 exit status configure: failed program was: #line 8915 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char pthread_condattr_create(); below. */ #include <assert.h> /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char pthread_condattr_create(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_pthread_condattr_create) || defined (__stub___pthread_condattr_create) choke me #else pthread_condattr_create(); #endif ; return 0; } configure:8910: checking for rwlock_init configure:8938: gcc -o conftest -O3 -DDBUG_OFF -DHAVE_RWLOCK_T conftest.c -lpthread -lthread -lz -lcrypt -lgen -lsocket -lnsl -lm -lpthread -lthread 1>&5 configure:8910: checking for pthread_rwlock_rdlock configure:8938: gcc -o conftest -O3 -DDBUG_OFF -DHAVE_RWLOCK_T conftest.c -lpthread -lthread -lz -lcrypt -lgen -lsocket -lnsl -lm -lpthread -lthread 1>&5 /var/tmp/cc6UCdwO.o: In function `main': /var/tmp/cc6UCdwO.o(.text+0x4): undefined reference to `pthread_rwlock_rdlock' collect2: ld returned 1 exit status configure: failed program was: #line 8915 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char pthread_rwlock_rdlock(); below. */ #include <assert.h> /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char pthread_rwlock_rdlock(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_pthread_rwlock_rdlock) || defined (__stub___pthread_rwlock_rdlock) choke me #else pthread_rwlock_rdlock(); #endif ; return 0; } configure:8910: checking for fchmod configure:8938: gcc -o conftest -O3 -DDBUG_OFF -DHAVE_RWLOCK_T conftest.c -lpthread -lthread -lz -lcrypt -lgen -lsocket -lnsl -lm -lpthread -lthread 1>&5 configure:8910: checking for getpass configure:8938: gcc -o conftest -O3 -DDBUG_OFF -DHAVE_RWLOCK_T conftest.c -lpthread -lthread -lz -lcrypt -lgen -lsocket -lnsl -lm -lpthread -lthread 1>&5 configure:8910: checking for getpassphrase configure:8938: gcc -o conftest -O3 -DDBUG_OFF -DHAVE_RWLOCK_T conftest.c -lpthread -lthread -lz -lcrypt -lgen -lsocket -lnsl -lm -lpthread -lthread 1>&5 configure:8910: checking for initgroups configure:8938: gcc -o conftest -O3 -DDBUG_OFF -DHAVE_RWLOCK_T conftest.c -lpthread -lthread -lz -lcrypt -lgen -lsocket -lnsl -lm -lpthread -lthread 1>&5 configure:8910: checking for mlockall configure:8938: gcc -o conftest -O3 -DDBUG_OFF -DHAVE_RWLOCK_T conftest.c -lpthread -lthread -lz -lcrypt -lgen -lsocket -lnsl -lm -lpthread -lthread 1>&5 configure:8968: checking for fseeko configure:8996: gcc -o conftest -O3 -DDBUG_OFF -DHAVE_RWLOCK_T conftest.c -lpthread -lthread -lz -lcrypt -lgen -lsocket -lnsl -lm -lpthread -lthread 1>&5 configure:9030: checking for dlopen configure:9058: gcc -o conftest -O3 -DDBUG_OFF -DHAVE_RWLOCK_T conftest.c -lpthread -lthread -lz -lcrypt -lgen -lsocket -lnsl -lm -lpthread -lthread -ldl 1>&5 configure:9030: checking for dlerror configure:9058: gcc -o conftest -O3 -DDBUG_OFF -DHAVE_RWLOCK_T conftest.c -lpthread -lthread -lz -lcrypt -lgen -lsocket -lnsl -lm -lpthread -lthread -ldl 1>&5 configure:9087: checking style of gethost* routines configure:9125: c++ -c -O3 -DDBUG_OFF -fno-implicit-templates -fno-exceptions -fno-rtti -DHAVE_RWLOCK_T -Werror conftest.C 1>&5 configure:9159: checking style of gethostname_r routines configure:9195: c++ -c -O3 -DDBUG_OFF -fno-implicit-templates -fno-exceptions -fno-rtti -DHAVE_RWLOCK_T -Werror conftest.C 1>&5 configure: In function `int main()': configure:9191: passing `hostent **' as argument 5 of `gethostbyname_r(const char *, hostent *, char *, int, int *)' configure: failed program was: #line 9176 "configure" #include "confdefs.h" #undef inline #if !defined(SCO) && !defined(__osf__) #define _REENTRANT #endif #include <pthread.h> #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #include <netdb.h> int main() { int skr; skr = gethostbyname_r((const char *) 0, (struct hostent*) 0, (char*) 0, 0, (struct hostent **) 0, &skr); ; return 0; } configure:9227: checking 3 argument to gethostname_r routines configure:9262: c++ -c -O3 -DDBUG_OFF -fno-implicit-templates -fno-exceptions -fno-rtti -DHAVE_RWLOCK_T -Werror conftest.C 1>&5 configure: In function `int main()': configure:9258: passing `hostent_data *' as argument 3 of `gethostbyname_r(const char *, hostent *, char *, int, int *)' configure: failed program was: #line 9244 "configure" #include "confdefs.h" #undef inline #if !defined(SCO) && !defined(__osf__) #define _REENTRANT #endif #include <pthread.h> #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #include <netdb.h> int main() { int skr; skr = gethostbyname_r((const char *) 0, (struct hostent*) 0, (struct hostent_data*) 0); ; return 0; } configure:9296: checking args to pthread_getspecific configure:9313: gcc -c -O3 -DDBUG_OFF -DHAVE_RWLOCK_T conftest.c 1>&5 configure:9336: checking args to pthread_mutex_init configure:9355: gcc -c -O3 -DDBUG_OFF -DHAVE_RWLOCK_T conftest.c 1>&5 configure:9381: checking args to readdir_r configure:9399: gcc -o conftest -O3 -DDBUG_OFF -DHAVE_RWLOCK_T conftest.c -lpthread -lthread -lz -lcrypt -lgen -lsocket -lnsl -lm -lpthread -lthread 1>&5 configure:9422: checking style of sigwait configure:9443: gcc -o conftest -O3 -DDBUG_OFF -DHAVE_RWLOCK_T conftest.c -lpthread -lthread -lz -lcrypt -lgen -lsocket -lnsl -lm -lpthread -lthread 1>&5 configure:9513: checking for pthread_attr_setscope configure:9530: gcc -o conftest -O3 -DDBUG_OFF -DHAVE_RWLOCK_T conftest.c -lpthread -lthread -lz -lcrypt -lgen -lsocket -lnsl -lm -lpthread -lthread 1>&5 configure:9553: checking can netinet files be included configure:9567: gcc -c -O3 -DDBUG_OFF -DHAVE_RWLOCK_T conftest.c 1>&5 configure:9683: checking character sets configure:9921: checking for BerkeleyDB configure:10549: checking for Innodb configure:10661: checking for Gemini DB ---- This is on an ultrasparc sparcv9 machine downgraded from solaris 7 to 2.6 (several 2.6 machines need this and other packages - upgrading them isn't an option right now). -fil -- fil krohnengold network systems administrator american museum of natural history [EMAIL PROTECTED] --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php