Re: php 4.3.0 pre2
| From: | Melvyn Sopacua | Date: | Mon, 28 Oct 2002 02:46:46 +0000 |
| Subject: | Re: php 4.3.0 pre2 | ||
| References: | 1 | Groups: | php.qa |
| Request: | Send a blank email to php-qa+get-6415@lists.php.net to get a copy of this message | ||
Tom,
BSDi doesn't come with getopt.h, so you probably installed that afterwards,
but you need to compile a shared libgetopt from getopt.c, and provide that
to EXTRA_LIBS, to make it work. [1]
OR if you have a source licence, recompile the kernel from source, with
some careful hacks :)
But - to make it work for now, please rename getopt.h.
[1] Did that once with another package, but haven't tested this with php.
At 02:29 28-10-2002, Tomki wrote:
On BSDI i386, egcs 1.1.2 configure line: ./configure --enable-yp --enable-sockets --enable-memory-limit --with-mysql=/usr/local/mysql/ --with-imap=../imap-2002.RC8 --with-imap-ssl --with-ttf --with-gd --enable-ftp --with-gdbm --with-bz2=/usr --with-zlib --with-openssl --with-apxs=/usr/local/web/apache/bin/apxs --with-freetype-dir=/usr/local --enable-gd-native-ttf --with-jpeg-dir=/usr --with-png-dir=/usr --enable-ftp --enable-db --enable-mbregex 'make' fails with: /bin/sh libtool --silent --mode=compile gcc -Iext/standard/ -I/usr/var/tmp/php-4.3.0pre2/ext/standard/ -DPHP_ATOM_INC -I/usr/var/tmp/php-4.3.0pre2/include -I/usr/var/tmp/php-4.3.0pre2/main -I/usr/var/tmp/php-4.3.0pre2 -I/usr/var/tmp/php-4.3.0pre2/Zend -I/usr/local/ssl/include -I/usr/local/include/freetype2 -I/usr/var/tmp/imap-2002.RC8/c-client -I/usr/local/mysql//include/mysql -I/usr/var/tmp/php-4.3.0pre2/ext/xml/expat -DMOD_SSL=208110 -DUSE_HSREGEX -DEAPI -DEAPI_MM -DUSE_EXPAT -DFD_SETSIZE=4096 -I/usr/var/tmp/php-4.3.0pre2/TSRM -g -O2 -prefer-pic -c /usr/var/tmp/php-4.3.0pre2/ext/standard/basic_functions.c -o ext/standard/basic_functions.lo /usr/var/tmp/php-4.3.0pre2/ext/standard/basic_functions.c:1377: warning: `struct option' declared inside parameter listMet vriendelijke groeten / With kind regards, Webmaster IDG.nl Melvyn Sopacua