>Description: Unpackaged 3.23.37 and ran configure: ... checking size of char... 0 configure: error: No size for char type. A likely cause for this could be that there isn't any static libraries installed. You can verify this by checking if you have libm.a in /lib, /usr/lib or some other standard place. If this is the problem, install the static libraries and try again. If this isn't the problem, examine config.log for possible errors. If you want to report this, use 'scripts/mysqlbug' and include at least the last 20 rows from config.log! But... root@gummo:/usr/src/mysql-3.23.37 # l /lib/libm.a -rw-r--r-- 1 bin bin 146712 May 6 1998 /lib/libm.a >Submitter-Id: <submitter ID> >Originator: [EMAIL PROTECTED] >Organization: IT >MySQL support: [none] >Synopsis: build failure on Solaris >Severity: <[ critical ]> >Priority: <[ you decide ] > >Category: mysql >Class: <[ sw-bug? ] > >Release: mysql-3.23.37 (Source distribution) >Environment: <machine, os, target, libraries (multiple lines)> System: SunOS gummo 5.7 Generic_106541-15 sun4u sparc SUNW,UltraAX-MP Architecture: sun4 Some paths: /usr/local/bin/perl /usr/local/bin/make /usr/local/bin/gcc /usr/ucb/cc GCC: Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95.1/specs gcc version 2.95.1 19990816 (release) Compilation info: CC='gcc' CFLAGS='' CXX='gcc' CXXFLAGS='' LDFLAGS='' LIBC: -rw-r--r-- 1 bin bin 1710308 Mar 8 21:55 /lib/libc.a lrwxrwxrwx 1 root root 11 Apr 6 14:38 /lib/libc.so -> ./libc.so.1 -rwxr-xr-x 1 bin bin 1124692 Mar 8 21:55 /lib/libc.so.1 -rw-r--r-- 1 bin bin 1710308 Mar 8 21:55 /usr/lib/libc.a lrwxrwxrwx 1 root root 11 Apr 6 14:38 /usr/lib/libc.so -> ./libc.so.1 -rwxr-xr-x 1 bin bin 1124692 Mar 8 21:55 /usr/lib/libc.so.1 Configure command: ./configure --with-unix-socket-path=/var/tmp/mysql.sock --with-low-memory --with-mit-threads=yes --without-perl --enable-thread-safe-client --with-berkeley-db --with-innodb Perl: This is perl, version 5.005_03 built for sun4-solaris config.log: This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. configure:812: checking host system type configure:833: checking target system type configure:851: checking build system type configure:886: checking for a BSD compatible install configure:939: checking whether build environment is sane configure:974: checking whether make sets ${MAKE} configure:1020: checking for working aclocal configure:1033: checking for working autoconf configure:1046: checking for working automake configure:1059: checking for working autoheader configure:1072: checking for working makeinfo configure:1174: checking whether to enable maintainer-specific portions of Makefiles configure:1216: checking whether build environment is sane configure:1233: checking whether make sets ${MAKE} configure:1301: checking for gawk configure:1333: checking for gcc configure:1446: checking whether the C compiler (gcc ) works configure:1462: gcc -o conftest conftest.c 1>&5 configure:1488: checking whether the C compiler (gcc ) is a cross-compiler configure:1493: checking whether we are using GNU C configure:1521: checking whether gcc accepts -g configure:1557: checking for c++ configure:1589: checking whether the C++ compiler (c++ ) works configure:1605: c++ -o conftest conftest.C 1>&5 configure:1631: checking whether the C++ compiler (c++ ) is a cross-compiler configure:1636: checking whether we are using GNU C++ configure:1664: checking whether c++ accepts -g configure:1696: checking how to run the C preprocessor configure:1821: checking for ranlib configure:1931: checking for ld used by GCC configure:1993: checking if the linker (/usr/ccs/bin/ld) is GNU ld configure:2009: checking for BSD-compatible nm configure:2045: checking whether ln -s works ltconfig:603: checking for object suffix ltconfig:604: gcc -c conftest.c 1>&5 ltconfig:629: checking for executable suffix ltconfig:630: gcc -o conftest conftest.c 1>&5 ltconfig:776: checking if gcc PIC flag -fPIC works ltconfig:777: gcc -c -fPIC -DPIC conftest.c 1>&5 ltconfig:829: checking if gcc supports -c -o file.o ltconfig:830: gcc -c -o out/conftest2.o conftest.c 1>&5 ltconfig:862: checking if gcc supports -c -o file.lo ltconfig:863: gcc -c -c -o conftest.lo conftest.c 1>&5 ltconfig:914: checking if gcc supports -fno-rtti -fno-exceptions ltconfig:915: gcc -c -fno-rtti -fno-exceptions -c conftest.c conftest.c 1>&5 ltconfig:958: checking if gcc static flag -static works ltconfig:959: gcc -o conftest -static conftest.c 1>&5 ltconfig:1653: checking if global_symbol_pipe works ltconfig:1654: gcc -c conftest.c 1>&5 ltconfig:1657: eval "/usr/ccs/bin/nm -p conftest.o | sed -n -e 's/^.*[ ]\([BDT]\)[ ][ ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' > conftest.nm" ltconfig:1709: gcc -o conftest -fno-builtin -fno-rtti -fno-exceptions conftest.c conftstm.o 1>&5 configure:2250: checking for a BSD compatible install configure:2308: checking for bison configure:2341: checking for pdftex configure:2369: checking return type of sprintf configure:2390: gcc -o conftest conftest.c 1>&5 configure:2454: checking for uname configure:2491: checking operating system configure:2649: checking if we should use skip-locking as default for solaris2.7 configure:2667: checking for ln configure:2704: checking for ln configure:2745: checking for mv configure:2781: checking for rm configure:2817: checking for cp configure:2853: checking for sed configure:2889: checking for cmp configure:2925: checking for chmod configure:2961: checking for hostname configure:2997: checking for perl configure:3085: checking for ps configure:3119: checking how to check if pid exists configure:3160: checking for kill configure:3194: checking for kill switches configure:3211: checking for gcc option to accept ANSI C configure:3246: gcc -c conftest.c 1>&5 configure:3430: checking whether to use RAID configure:3507: checking for getconf configure:3537: checking for CFLAGS value to request large file support configure:3587: checking for LDFLAGS value to request large file support configure:3603: checking for LIBS value to request large file support configure:3662: checking for _FILE_OFFSET_BITS configure:3691: checking for _LARGEFILE_SOURCE configure:3720: checking for _LARGE_FILES configure:3753: checking for ANSI C header files configure:3766: gcc -E conftest.c >/dev/null 2>conftest.out configure:3833: gcc -o conftest conftest.c 1>&5 configure:3857: checking for size_t configure:3899: checking for dirent.h that defines DIR configure:3912: gcc -c conftest.c 1>&5 configure:3937: checking for opendir in -ldir configure:3956: gcc -o conftest conftest.c -ldir 1>&5 ld: fatal: library -ldir: not found ld: fatal: File processing errors. No output written to conftest collect2: ld returned 1 exit status configure: failed program was: #line 3945 "configure" #include "confdefs.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 opendir(); int main() { opendir() ; return 0; } configure:4020: checking for ANSI C header files configure:4124: checking for sys/wait.h that is POSIX.1 compatible configure:4145: gcc -c conftest.c 1>&5 configure:4175: checking for fcntl.h configure:4185: gcc -E conftest.c >/dev/null 2>conftest.out configure:4175: checking for float.h configure:4185: gcc -E conftest.c >/dev/null 2>conftest.out configure:4175: checking for floatingpoint.h configure:4185: gcc -E conftest.c >/dev/null 2>conftest.out configure:4175: checking for ieeefp.h configure:4185: gcc -E conftest.c >/dev/null 2>conftest.out configure:4175: checking for limits.h configure:4185: gcc -E conftest.c >/dev/null 2>conftest.out configure:4175: checking for memory.h configure:4185: gcc -E conftest.c >/dev/null 2>conftest.out configure:4175: checking for pwd.h configure:4185: gcc -E conftest.c >/dev/null 2>conftest.out configure:4175: checking for select.h configure:4185: gcc -E conftest.c >/dev/null 2>conftest.out configure:4181: select.h: No such file or directory configure: failed program was: #line 4180 "configure" #include "confdefs.h" #include <select.h> configure:4175: checking for stdlib.h configure:4185: gcc -E conftest.c >/dev/null 2>conftest.out configure:4175: checking for stddef.h configure:4185: gcc -E conftest.c >/dev/null 2>conftest.out configure:4175: checking for strings.h configure:4185: gcc -E conftest.c >/dev/null 2>conftest.out configure:4175: checking for string.h configure:4185: gcc -E conftest.c >/dev/null 2>conftest.out configure:4175: checking for synch.h configure:4185: gcc -E conftest.c >/dev/null 2>conftest.out configure:4175: checking for sys/mman.h configure:4185: gcc -E conftest.c >/dev/null 2>conftest.out configure:4175: checking for sys/socket.h configure:4185: gcc -E conftest.c >/dev/null 2>conftest.out configure:4175: checking for netinet/in.h configure:4185: gcc -E conftest.c >/dev/null 2>conftest.out configure:4175: checking for arpa/inet.h configure:4185: gcc -E conftest.c >/dev/null 2>conftest.out configure:4175: checking for sys/timeb.h configure:4185: gcc -E conftest.c >/dev/null 2>conftest.out configure:4175: checking for sys/types.h configure:4185: gcc -E conftest.c >/dev/null 2>conftest.out configure:4175: checking for sys/un.h configure:4185: gcc -E conftest.c >/dev/null 2>conftest.out configure:4175: checking for sys/vadvise.h configure:4185: gcc -E conftest.c >/dev/null 2>conftest.out configure:4181: sys/vadvise.h: No such file or directory configure: failed program was: #line 4180 "configure" #include "confdefs.h" #include <sys/vadvise.h> configure:4175: checking for sys/wait.h configure:4175: checking for term.h configure:4185: gcc -E conftest.c >/dev/null 2>conftest.out configure:4175: checking for unistd.h configure:4185: gcc -E conftest.c >/dev/null 2>conftest.out configure:4175: checking for utime.h configure:4185: gcc -E conftest.c >/dev/null 2>conftest.out configure:4175: checking for sys/utime.h configure:4185: gcc -E conftest.c >/dev/null 2>conftest.out configure:4175: checking for termio.h configure:4185: gcc -E conftest.c >/dev/null 2>conftest.out configure:4175: checking for termios.h configure:4185: gcc -E conftest.c >/dev/null 2>conftest.out configure:4175: checking for sched.h configure:4185: gcc -E conftest.c >/dev/null 2>conftest.out configure:4175: checking for crypt.h configure:4185: gcc -E conftest.c >/dev/null 2>conftest.out configure:4175: checking for alloca.h configure:4185: gcc -E conftest.c >/dev/null 2>conftest.out configure:4175: checking for sys/ioctl.h configure:4185: gcc -E conftest.c >/dev/null 2>conftest.out configure:4218: checking for floor in -lm configure:4237: gcc -o conftest conftest.c -lm 1>&5 configure:4312: checking for gethostbyname_r configure:4340: gcc -o conftest conftest.c -lm 1>&5 Undefined first referenced symbol in file gethostbyname_r /var/tmp/ccFJ1OmD.o ld: fatal: Symbol referencing errors. No output written to conftest collect2: ld returned 1 exit status configure: failed program was: #line 4317 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char gethostbyname_r(); 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 gethostbyname_r(); 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_gethostbyname_r) || defined (__stub___gethostbyname_r) choke me #else gethostbyname_r(); #endif ; return 0; } configure:4359: checking for gethostbyname_r in -lnsl_r configure:4378: gcc -o conftest conftest.c -lnsl_r -lm 1>&5 ld: fatal: library -lnsl_r: not found ld: fatal: File processing errors. No output written to conftest collect2: ld returned 1 exit status configure: failed program was: #line 4367 "configure" #include "confdefs.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 gethostbyname_r(); int main() { gethostbyname_r() ; return 0; } configure:4404: checking for gethostbyname_r in -lnsl configure:4423: gcc -o conftest conftest.c -lnsl -lm 1>&5 configure:4455: checking for setsockopt configure:4483: gcc -o conftest conftest.c -lnsl -lm 1>&5 Undefined first referenced symbol in file setsockopt /var/tmp/ccodNyxz.o ld: fatal: Symbol referencing errors. No output written to conftest collect2: ld returned 1 exit status configure: failed program was: #line 4460 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char setsockopt(); 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 setsockopt(); 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_setsockopt) || defined (__stub___setsockopt) choke me #else setsockopt(); #endif ; return 0; } configure:4501: checking for setsockopt in -lsocket configure:4520: gcc -o conftest conftest.c -lsocket -lnsl -lm 1>&5 configure:4550: checking for yp_get_default_domain configure:4578: gcc -o conftest conftest.c -lsocket -lnsl -lm 1>&5 configure:4645: checking for p2open configure:4673: gcc -o conftest conftest.c -lsocket -lnsl -lm 1>&5 Undefined first referenced symbol in file p2open /var/tmp/cc2LRzMa.o ld: fatal: Symbol referencing errors. No output written to conftest collect2: ld returned 1 exit status configure: failed program was: #line 4650 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char p2open(); 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 p2open(); 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_p2open) || defined (__stub___p2open) choke me #else p2open(); #endif ; return 0; } configure:4691: checking for p2open in -lgen configure:4710: gcc -o conftest conftest.c -lgen -lsocket -lnsl -lm 1>&5 configure:4741: checking for bind configure:4769: gcc -o conftest conftest.c -lgen -lsocket -lnsl -lm 1>&5 configure:4837: checking for crypt in -lcrypt configure:4856: gcc -o conftest conftest.c -lcrypt -lgen -lsocket -lnsl -lm 1>&5 configure:4884: checking for crypt configure:4912: gcc -o conftest conftest.c -lcrypt -lgen -lsocket -lnsl -lm 1>&5 configure:4940: checking if libz with compress configure:4957: gcc -o conftest conftest.c -lz -lcrypt -lgen -lsocket -lnsl -lm 1>&5 configure:5254: checking for int8 configure:5281: gcc -o conftest conftest.c -lz -lcrypt -lgen -lsocket -lnsl -lm 1>&5 configure: In function `main': configure:5275: `int8' undeclared (first use in this function) configure:5275: (Each undeclared identifier is reported only once configure:5275: for each function it appears in.) configure:5275: parse error before `i' configure: failed program was: #line 5259 "configure" #include "confdefs.h" #ifdef HAVE_STDLIB_H #include <stdlib.h> #endif #ifdef HAVE_STDDEF_H #include <stddef.h> #endif #ifdef HAVE_SYS_TYPES_H #include <sys/types.h> #endif int main() { int8 i; return 0; } configure:5431: checking LinuxThreads configure:5472: checking DEC threads configure:5485: checking DEC 3.2 threads configure:5514: checking SCO threads configure:5615: checking SCO UnixWare7 native threads configure:5659: checking Siemens threads configure:5688: checking Solaris threads configure:5700: checking named thread libs: configure:5824: checking for strtok_r in -lpthread configure:5843: gcc -o conftest -DHAVE_CURSES_H -I/usr/share/src/mysql-3.23.37/include -DHAVE_RWLOCK_T conftest.c -lpthread -lz -lcrypt -lgen -lsocket -lnsl -lm -lpthread -lthread 1>&5 configure:5984: checking for strtok_r configure:6012: gcc -o conftest -DHAVE_CURSES_H -I/usr/share/src/mysql-3.23.37/include -DHAVE_RWLOCK_T conftest.c -lz -lcrypt -lgen -lsocket -lnsl -lm -lpthread -lthread 1>&5 configure:6046: checking for dlopen in -ldl configure:6065: gcc -o conftest -DHAVE_CURSES_H -I/usr/share/src/mysql-3.23.37/include -DHAVE_RWLOCK_T conftest.c -ldl 1>&5 configure:6098: checking for restartable system calls configure:6124: gcc -o conftest -DHAVE_CURSES_H -I/usr/share/src/mysql-3.23.37/include -DHAVE_RWLOCK_T conftest.c -lz -lcrypt -lgen -lsocket -lnsl -lm -lpthread -lthread 1>&5 configure: In function `main': configure:6116: warning: passing arg 2 of `signal' from incompatible pointer type configure: failed program was: #line 6106 "configure" #include "confdefs.h" /* Exit 0 (true) if wait returns something other than -1, i.e. the pid of the child, which means that wait was restarted after getting the signal. */ #include <sys/types.h> #include <signal.h> ucatch (isig) { } main () { int i = fork (), status; if (i == 0) { sleep (3); kill (getppid (), SIGINT); sleep (3); exit (0); } signal (SIGINT, ucatch); status = wait(&i); if (status == -1) wait(&i); exit (status == -1); } configure:6253: checking need of special linking flags configure:6263: checking for working const configure:6317: gcc -c -O3 -DDBUG_OFF -DHAVE_CURSES_H -I/usr/share/src/mysql-3.23.37/include -DHAVE_RWLOCK_T conftest.c 1>&5 configure:6338: checking for inline configure:6352: gcc -c -O3 -DDBUG_OFF -DHAVE_CURSES_H -I/usr/share/src/mysql-3.23.37/include -DHAVE_RWLOCK_T conftest.c 1>&5 configure:6378: checking for off_t configure:6411: checking for st_rdev in struct stat configure:6424: gcc -c -O3 -DDBUG_OFF -DHAVE_CURSES_H -I/usr/share/src/mysql-3.23.37/include -DHAVE_RWLOCK_T conftest.c 1>&5 configure:6445: checking whether time.h and sys/time.h may both be included configure:6459: gcc -c -O3 -DDBUG_OFF -DHAVE_CURSES_H -I/usr/share/src/mysql-3.23.37/include -DHAVE_RWLOCK_T conftest.c 1>&5 configure:6480: checking whether struct tm is in sys/time.h or time.h configure:6493: gcc -c -O3 -DDBUG_OFF -DHAVE_CURSES_H -I/usr/share/src/mysql-3.23.37/include -DHAVE_RWLOCK_T conftest.c 1>&5 configure:6516: checking size of char configure:6535: gcc -o conftest -O3 -DDBUG_OFF -DHAVE_CURSES_H -I/usr/share/src/mysql-3.23.37/include -DHAVE_RWLOCK_T conftest.c -lz -lcrypt -lgen -lsocket -lnsl -lm -lpthread -lthread 1>&5 configure: failed program was: #line 6524 "configure" #include "confdefs.h" #include <stdio.h> main() { FILE *f=fopen("conftestval", "w"); if (!f) exit(1); fprintf(f, "%d\n", sizeof(char)); exit(0); } --------------------------------------------------------------------- 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