Re: test 3.0.10 tarball and zip

From: Date: Tue, 22 Jun 1999 03:02:15 +0000
Subject: Re: test 3.0.10 tarball and zip
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-7379@lists.php.net to get a copy of this message
o o Solaris 2.5.1 - php-3.0.10.tar.gz try: Build same as below but with-xml=/usr/local removed: ** we get past the configure but the /usr/local/mysql location is not picked up and make shows: *snip* gcc -g -O2 -DDMALLOC_FUNC_CHECK -O2 -I/dunk/local/include -I. -I. -I/usr/local/imap/include/ -I/usr/local/include -c functions/mysql.c -o functions/mysql.o functions/mysql.c:84: mysql.h: No such file or directory make: *** [functions/mysql.o] Error 1 So the with-mysql=/usr/local/mysql is failing: [ as are other locations *not* in /usr/local ] ** Makefile shows INCLUDE and LIBS problems as configure has failed to find the dir associated with-xxx=/some/where : Also, -lkstat is missing for with-snmp=/dunk/local *snip* # $Id: Makefile.in,v 1.323 1999/06/20 18:14:53 sas Exp $ # prefix = /usr/local exec_prefix = ${prefix} srcdir = . bindir = /dunk/local/bin CC = gcc LN_S = ln -s AR = ar rc BINNAME = php INSTALL_IT = cp php $(bindir) INCLUDE = -I$(srcdir) -I. -I/usr/local/imap/include/ -I/usr/local /include PROF_CFLAGS = CFLAGS_SHLIB = LDFLAGS_SHLIB = LDFLAGS_SHLIB_EXPORT = CPPFLAGS = -I/dunk/local/include CFLAGS = -g -O2 -DDMALLOC_FUNC_CHECK -O2 $(CFLAGS_SHLIB) $(CPPFLAGS) $(INCLUDE) $(PROF_CFLAGS) LDFLAGS = -L/dunk/local/lib $(LDFLAGS_SHLIB) $(LDFLAGS_SHLIB_EXPORT) REGCFLAGS = $(CFLAGS) RANLIB = ranlib YACC = bison -y MAINT = #M# APXS = APXS_LDFLAGS = -lm -ldl -lsocket -lnsl -lresolv -ldmalloc WARNING_LEVEL = *snip* LIBS = dbase/libdbf.a pcrelib/libpcre.a regex/libregex.a -lgdbm -L/usr/local/imap/lib /usr/local/imap/lib/c-client.a -L/usr/local/lib - lz -lgd -lintl -lmysqlclient -lldap -llber -lsnmp -lgdbm -ldb -lcdb -lm crypt -lmhash -lm -ldl -lsocket -lnsl -lresolv -ldmalloc o Previous to the 99JN20 configure.in, Makefile was fine: *snip* LIBS = dbase/libdbf.a pcrelib/libpcre.a regex/libregex.a -lgdbm -R/u sr/local/mysql/lib/mysql -L/usr/local/mysql/lib/mysql -lmysqlclient - L/usr/local/openldap/lib -R/usr/local/openldap/lib -lldap -llber -L/usr/lo cal/imap/lib /usr/local/imap/lib/c-client.a -L/usr/local/lib -lgd -L/usr/local /lib -lz -L/dunk/local/lib -lsnmp -L/dunk/local/lib -lintl -L/usr/lo cal/lib -L/dunk/local/BerkeleyDB/lib -L/usr/local/lib -lgdbm -ldb -lcdb -L/us r/local/lib -lmcrypt -lexpat -L/dunk/local/lib -lmhash -lm -ldl -lsocket -lnsl -lresolv -lttf -lkstat *snip* * I hand added -lexpat and -lkstat as configure did not find. o That CVS 99JN17 built cgi and Apache just fine and both worked OK Hope this helps. Apis -nnnn- On Mon, 21 Jun 1999, apis wrote: > o Solaris 2.5.1 - php-3.0.10.tar.gz try: > > ./configure --with-gd=/usr/local \ > --with-mysql=/usr/local/mysql \ > --with-imap=/usr/local/imap \ > --with-ldap=/usr/local/openldap \ > --with-dbase=yes \ > --with-zlib=/usr/local \ > --with-mcrypt=/usr/local \ > --with-mhash=/dunk/local \ > --with-yp \ > --with-gettext=/dunk/local \ > --enable-ucd-snmp-hack \ > --with-snmp=/dunk/local \ > --with-gdbm=/usr/local \ > --with-db2=/dunk/local/BerkeleyDB \ > --with-cdb=/dunk/local \ > --with-xml=/usr/local \ > --enable-dmalloc \ > --enable-debugger \ > --enable-sysvshm=yes \ > --enable-sysvsem=yes \ > --with-config-file-path \ > --enable-track-vars=yes \ > --enable-magic-quotes=yes \ > --enable-bcmath=yes \ > --enable-memory-limit=yes \ > --bindir=/dunk/local/bin > > gives: > *snip* > checking for Hyperwave support... no > checking for XML support... ./configure: test: argument expected > > o I reported this as bug 1577 .. so php-3.0.10.tar.gz also > has same problem > > o I will try without with-xml=/usr/local in a bit and > report back. > Apis > -nnnn- > > On Mon, 21 Jun 1999, Jim Winstead wrote: > > > Sascha, this sounds like it may be related to your changes to > > configure.in. Any ideas? > > > > Jim *snip* NNNN

« previous php.dev (#7379) next »