Error trying to compile...
| From: | Jason Birch | Date: | Wed, 21 Jul 1999 18:30:13 +0000 |
| Subject: | Error trying to compile... | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-2458@lists.php.net to get a copy of this message | ||
Hi,
Sorry for the long message, though I'd include as much detail as possible.
Hoping someone can help interpret this. I'm trying to compile Beta1 one a
FreeBSD 2.2.7 machine in an account at pair Networks. Getting an error in
the "standard" portion of the make:
psp% cat do-conf
./configure --with-mysql --with-config-file-path=/usr/home/psp/.phpbeta
--with-exec-dir=/usr/home/psp/bin --enable-force-cgi-redirect=yes
--bindir=/usr/home/psp/bin
psp% ./do-conf
creating cache ./config.cache
+ test -d libzend
+ cd libzend
+ /usr/home/psp/src/php-4.0b1/./libzend/configure
--cache-file=/usr/home/psp/src/php-4.0b1/config.cache --with-mysql
--with-config-file-path=/usr/home/psp/.phpbeta
--with-exec-dir=/usr/home/psp/bin --enable-force-cgi-redirect=yes
--bindir=/usr/home/psp/bin
loading cache /usr/home/psp/src/php-4.0b1/config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether build environment is sane... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for bison... bison -y
checking bison version... 1.25 (ok)
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for ranlib... ranlib
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for flex... flex
checking for flex... (cached) flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for dlopen in -lc... yes
checking for sin in -lc... no
checking for sin in -lm... yes
checking for ANSI C header files... yes
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking for fcntl.h... yes
checking for unistd.h... yes
checking for crypt.h... no
checking for sys/file.h... yes
checking for memory.h... yes
checking for pwd.h... yes
checking for grp.h... yes
checking for sys/socket.h... yes
checking for sys/wait.h... yes
checking for syslog.h... yes
checking for string.h... yes
checking for sys/varargs.h... no
checking for stdarg.h... yes
checking for sys/resource.h... yes
checking for sys/time.h... yes
checking for signal.h... yes
checking for netinet/in.h... yes
checking for dlfcn.h... yes
checking for limits.h... yes
checking for sys/types.h... yes
checking for sys/statvfs.h... no
checking for sys/statfs.h... no
checking for unix.h... no
checking for db.h... yes
checking for ndbm.h... yes
checking for size_t... yes
checking for uint... yes
checking for ulong... no
checking size of void *... 4
checking for vprintf... yes
checking for memcpy... yes
checking for memmove... yes
checking for strdup... yes
checking for strerror... yes
checking for strcasecmp... yes
checking for strstr... yes
checking for flock... yes
checking for lockf... no
checking for putenv... yes
checking for tempnam... yes
checking for usleep... yes
checking for setlocale... yes
checking for gettimeofday... yes
checking for setvbuf... yes
checking for srand48... yes
checking for lrand48... yes
checking for srandom... yes
checking for random... yes
checking for link... yes
checking for symlink... yes
checking for regcomp... yes
checking for getlogin... yes
checking for cuserid... no
checking for vsnprintf... yes
checking for snprintf... yes
checking for gcvt... no
checking for utime... yes
checking for crypt... no
checking for setitimer... yes
checking for rint... yes
checking for unsetenv... yes
checking for strftime... yes
checking for setsockopt... yes
checking for tzset... yes
checking for statvfs... no
checking for statfs... yes
checking for inet_aton... yes
checking for getpid... yes
checking for kill... yes
checking whether utime accepts a null argument... yes
checking for working alloca.h... no
checking for alloca... yes
checking for broken sprintf... ok
checking for getopt... yes
checking whether to include debugging symbols... yes
checking whether to enable a memory limit... no
checking whether to build Zend thread-safe... no
updating cache /usr/home/psp/src/php-4.0b1/config.cache
creating ./config.status
creating Makefile
creating zend_config.h
zend_config.h is unchanged
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking for bison... bison -y
checking bison version... 1.25 (ok)
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for ranlib... ranlib
checking whether gcc and cc understand -c and -o together... yes
checking whether ln -s works... yes
checking for perl... /usr/bin/perl
checking for working const... yes
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... no
checking if compiler supports -rdynamic... yes
checking if compiler supports -rdynamic really... no
checking for sendmail... /usr/sbin/sendmail
checking for gethostname in -lnsl... no
checking for socket in -lc... yes
checking for gethostbyaddr in -lc... yes
checking for crypt in -lc... no
checking for crypt in -lcrypt... yes
checking for sin in -lc... no
checking for sin in -lm... yes
checking for res_search in -lsocket... no
checking for res_search in -lresolv... yes
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking for fclose declaration... ok
checking for fcntl.h... yes
checking for unistd.h... yes
checking for crypt.h... no
checking for sys/file.h... yes
checking for memory.h... yes
checking for pwd.h... yes
checking for grp.h... yes
checking for sys/socket.h... yes
checking for sys/wait.h... yes
checking for syslog.h... yes
checking for string.h... yes
checking for sys/varargs.h... no
checking for stdarg.h... yes
checking for sys/time.h... yes
checking for signal.h... yes
checking for netinet/in.h... yes
checking for dlfcn.h... yes
checking for limits.h... yes
checking for sys/types.h... yes
checking for unix.h... no
checking for arpa/inet.h... yes
checking for locale.h... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for tm_zone in struct tm... yes
checking for tm_gmtoff in struct tm... yes
checking for struct flock... yes
checking size of long... 4
checking size of int... 4
checking for st_blksize in struct stat... yes
checking for st_blocks in struct stat... yes
checking for st_rdev in struct stat... yes
checking for size_t... yes
checking for uid_t in sys/types.h... yes
checking for uint... yes
checking for ulong... no
checking for vprintf... yes
checking for memcpy... yes
checking for memmove... yes
checking for strdup... yes
checking for strerror... yes
checking for strcasecmp... yes
checking for strstr... yes
checking for flock... yes
checking for lockf... no
checking for putenv... yes
checking for tempnam... yes
checking for usleep... yes
checking for setlocale... yes
checking for gettimeofday... yes
checking for setvbuf... yes
checking for srand48... yes
checking for lrand48... yes
checking for srandom... yes
checking for random... yes
checking for link... yes
checking for symlink... yes
checking for regcomp... yes
checking for getlogin... yes
checking for cuserid... no
checking for vsnprintf... yes
checking for snprintf... yes
checking for gcvt... no
checking for utime... yes
checking for crypt... yes
checking for rint... yes
checking for unsetenv... yes
checking for strftime... yes
checking for setsockopt... yes
checking for tzset... yes
checking for shutdown... yes
checking for inet_aton... yes
checking whether utime accepts a null argument... yes
checking for working alloca.h... no
checking for alloca... yes
checking for broken sprintf... ok
checking for getopt... yes
checking for Apache module support via DSO through APXS... no
checking for Apache module support via DSO through APACI... no
checking for Apache module support... no
checking whether to use bundled regex library... yes
checking for mod_charset compatibility option... no
checking for fhttpd module support... no
checking whether to use a configuration file... yes
checking whether to include debugging symbols... yes
checking whether to enable safe mode by default... no
checking for safe mode exec dir... /usr/home/psp/bin
checking whether to enable track_vars variables by default... no
checking whether to enable magic quotes by default... no
checking whether to build PHP thread-safe... checking whether to force
Apache CGI redirect... yes
checking whether to discard path_info + path_translated... no
checking whether to enable short tags by default... yes
checking whether to enable the URL-aware fopen wrapper... yes
checking whether to enable dmalloc... no
checking for ASPELL support... no
checking whether to enable bc style precision math functions... no
checking whether to enable DAV support through mod_dav... no
checking for gdbm_open in -lgdbm... no
checking for dbm_open in -ldb... no
checking for dbm_open in -lc... yes
checking preferred dbm library... ndbm chosen
checking whether to include the bundled dbase library... no
checking whether to include fdftk support... no
checking whether to include the bundled filePro support... no
checking whether to include GD support... checking for gdImageLine in
-lgd... no
checking for gdImageString16 in -lgd... no
checking whether to include GNU gettext support... no
checking for Hyperwave support... no
checking for IMAP support... no
checking for Informix support... no
checking for InterBase support... no
checking for LDAP support... no
checking for mcrypt support... no
checking for mhash support... no
checking for mSQL support... no
checking for MySQL support... yes
checking for errmsg.h... yes
checking for mysql.h... yes
checking for Oracle-OCI8 support... no
checking for Adabas support... no
checking for Solid support... no
checking for Empress support... no
checking for Velocis support... no
checking for a custom ODBC support... no
checking for iODBC support... no
checking for OpenLink ODBC support... no
checking for Oracle support... no
checking whether to include PCRE support... yes
checking whether to include pdflib support... no
checking for PostgresSQL support... no
checking for SNMP support... no
checking whether to enable UCD SNMP hack... no
checking for dlopen in -lc... yes
checking for pam_start in -lpam... no
checking for inet_aton in -lbind... no
checking for standard DES crypt... no
checking for extended DES crypt... no
checking for MD5 crypt... yes
checking for Blowfish crypt... no
checking for Sybase support... no
checking for Sybase-CT support... no
checking whether to enable System V semaphore support... no
checking whether to enable System V shared memory support... no
checking for XML support... no
checking whether to include YP support... no
checking whether to include zlib support... no
updating cache ./config.cache
creating ./config.status
creating Makefile
creating libphp4.module
creating scripts/mkextlib
creating regex/Makefile
creating ext/Makefile
creating ext/apache/Makefile
creating ext/aspell/Makefile
creating ext/bcmath/Makefile
creating ext/dav/Makefile
creating ext/db/Makefile
creating ext/dbase/Makefile
creating ext/fdf/Makefile
creating ext/filepro/Makefile
creating ext/gd/Makefile
creating ext/gettext/Makefile
creating ext/hyperwave/Makefile
creating ext/imap/Makefile
creating ext/informix/Makefile
creating ext/interbase/Makefile
creating ext/ldap/Makefile
creating ext/mcrypt/Makefile
creating ext/mhash/Makefile
creating ext/msql/Makefile
creating ext/mysql/Makefile
creating ext/oci8/Makefile
creating ext/odbc/Makefile
creating ext/oracle/Makefile
creating ext/pcre/Makefile
creating ext/pcre/pcrelib/Makefile
creating ext/pdf/Makefile
creating ext/pgsql/Makefile
creating ext/session/Makefile
creating ext/snmp/Makefile
creating ext/standard/Makefile
creating ext/sybase/Makefile
creating ext/sysvsem/Makefile
creating ext/sysvshm/Makefile
creating ext/xml/Makefile
creating ext/yp/Makefile
creating ext/zlib/Makefile
creating build-defs.h
creating php_config.h
php_config.h is unchanged
creating internal_functions.c
internal_functions.c is unchanged
+--------------------------------------------------------------------+
| License: |
| This software is subject to the PHP License, available in this |
| distribution in the file LICENSE. By continuing this installation |
| process, you are bound by the terms of this license agreement. |
| If you do not agree with the terms of this license, you must abort |
| the installation process at this point. |
+--------------------------------------------------------------------+
psp% nice make
Making all in libzend
gcc -DHAVE_CONFIG_H -I. -I/usr/home/psp/src/php-4.0b1/./libzend -I. -g
-O2 -g -c zend-parser.c
gcc -DHAVE_CONFIG_H -I. -I/usr/home/psp/src/php-4.0b1/./libzend -I. -g
-O2 -g -c zend-scanner.c
gcc -DHAVE_CONFIG_H -I. -I/usr/home/psp/src/php-4.0b1/./libzend -I. -g
-O2 -g -c zend_alloc.c
gcc -DHAVE_CONFIG_H -I. -I/usr/home/psp/src/php-4.0b1/./libzend -I. -g
-O2 -g -c zend_compile.c
gcc -DHAVE_CONFIG_H -I. -I/usr/home/psp/src/php-4.0b1/./libzend -I. -g
-O2 -g -c zend_constants.c
gcc -DHAVE_CONFIG_H -I. -I/usr/home/psp/src/php-4.0b1/./libzend -I. -g
-O2 -g -c zend_execute.c
gcc -DHAVE_CONFIG_H -I. -I/usr/home/psp/src/php-4.0b1/./libzend -I. -g
-O2 -g -c zend_execute_API.c
gcc -DHAVE_CONFIG_H -I. -I/usr/home/psp/src/php-4.0b1/./libzend -I. -g
-O2 -g -c zend_highlight.c
gcc -DHAVE_CONFIG_H -I. -I/usr/home/psp/src/php-4.0b1/./libzend -I. -g
-O2 -g -c zend_llist.c
gcc -DHAVE_CONFIG_H -I. -I/usr/home/psp/src/php-4.0b1/./libzend -I. -g
-O2 -g -c zend_opcode.c
gcc -DHAVE_CONFIG_H -I. -I/usr/home/psp/src/php-4.0b1/./libzend -I. -g
-O2 -g -c zend_operators.c
gcc -DHAVE_CONFIG_H -I. -I/usr/home/psp/src/php-4.0b1/./libzend -I. -g
-O2 -g -c zend_ptr_stack.c
gcc -DHAVE_CONFIG_H -I. -I/usr/home/psp/src/php-4.0b1/./libzend -I. -g
-O2 -g -c zend_stack.c
gcc -DHAVE_CONFIG_H -I. -I/usr/home/psp/src/php-4.0b1/./libzend -I. -g
-O2 -g -c zend_variables.c
gcc -DHAVE_CONFIG_H -I. -I/usr/home/psp/src/php-4.0b1/./libzend -I. -g
-O2 -g -c zend.c
gcc -DHAVE_CONFIG_H -I. -I/usr/home/psp/src/php-4.0b1/./libzend -I. -g
-O2 -g -c zend_API.c
gcc -DHAVE_CONFIG_H -I. -I/usr/home/psp/src/php-4.0b1/./libzend -I. -g
-O2 -g -c zend_extensions.c
gcc -DHAVE_CONFIG_H -I. -I/usr/home/psp/src/php-4.0b1/./libzend -I. -g
-O2 -g -c zend_hash.c
gcc -DHAVE_CONFIG_H -I. -I/usr/home/psp/src/php-4.0b1/./libzend -I. -g
-O2 -g -c zend_list.c
gcc -DHAVE_CONFIG_H -I. -I/usr/home/psp/src/php-4.0b1/./libzend -I. -g
-O2 -g -c zend_indent.c
rm -f libzend.a
ar cru libzend.a zend-parser.o zend-scanner.o zend_alloc.o zend_compile.o
zend_constants.o zend_execute.o zend_execute_API.o zend_highlight.o
zend_llist.o zend_opcode.o zend_operators.o zend_ptr_stack.o zend_stack.o
zend_variables.o zend.o zend_API.o zend_extensions.o zend_hash.o
zend_list.o zend_indent.o
ranlib libzend.a
Making all in ext
Making all in db
Making all in mysql
Making all in pcre
Making all in pcrelib
Making all in session
Making all in standard
gcc -g -O2 -g -I. -I. -I./libzend -I./TSRM -I./libzend -I./TSRM
-I/usr/local/include/mysql -g -o php -L/usr/local/lib/mysql
-L./libzend main.o internal_functions.o snprintf.o php3_sprintf.o
configuration-parser.o configuration-scanner.o request_info.o safe_mode.o
fopen-wrappers.o php3_realpath.o alloca.o output.o php_ini.o SAPI.o
cgi_main.o rfc1867.o dlist.o -Llibzend -lzend -Lext -lphpext
-L/usr/home/psp/src/php-4.0b1/ext/pcre/pcrelib -lpcre
-L/usr/home/psp/src/php-4.0b1/regex -lregex -L/usr/local/lib/mysql
-lmysqlclient -lm -lcrypt -lresolv
ld: ext/libphpext.a(db___.SYMDEF): bad magic
*** Error code 1
Stop.
psp%