[PHP4BETA] Ext and Error Compiling
| From: | AsianAvenue.com | Date: | Tue, 11 May 1999 12:09:20 +0000 |
| Subject: | [PHP4BETA] Ext and Error Compiling | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-764@lists.php.net to get a copy of this message | ||
First, have been out of it for a while....please forgive if I have missed
some messages which will answer my questions. Have been working with
extensions again:
mcrypt support? (
yes', no' or dir) [no] : yes
shift: shift count must be <= $#
Enter directory [] :
Have found that the shift: line appears if you have the following in your
setup.stub:
define_option with-mcrypt 'mcrypt support?' yesnodir no \
' Whether to build the mcrypt extension.'
the yesnodir is not really needed unless you are requiring that a path be
specified. In this case, it seems NOT.......that instead just a yes or no
answer is required. I have changed this to:
define_option with-mcrypt 'mcrypt support?' yesno no \
' Whether to build the mcrypt extension.'
And I no longer get the shift: line anymore. Does that sound correct?
ALSO, have checked out entirely new trees of PHP4 and libzend. Did the
following:
IN LIBZEND DIRECTORY:
5. Enter libzend/, configure it and run make:
autoconf
./configure
make
THEN IN PHP4 DIRECTORY:
./scripts/preconfig
automake --add-missing
aclocal
autoconf
setup
I configured everything as I wanted it (using setup) and ran make:
[MADE IT ALL THE WAY TO HERE FINE]
Making all in standard
make[2]: Entering directory `/usr/src/CCI-Zend/php4/ext/standard'
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/src/CCI-apache/src/include
-I/usr/src/CCI-apache/src/os/unix
-I/opt/db/mysql/product/3.22.16/include/mysql
-I/opt/db/oracle/product/8.0.5/rdbms/public
-I/opt/db/oracle/product/8.0.5/network/public
-I/opt/db/oracle/product/8.0.5/plsql/public -I../.. -I../../libzend
-I../../functions -g -O2 -c info.c
info.c: In function `_php3_info':
info.c:86: `PHP_UNAME' undeclared (first use this function)
info.c:86: (Each undeclared identifier is reported only once
info.c:86: for each function it appears in.)
info.c:98: `CONFIGURATION_FILE_PATH' undeclared (first use this function)
make[2]: *** [info.o] Error 1
make[2]: Leaving directory `/usr/src/CCI-Zend/php4/ext/standard'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/CCI-Zend/php4/ext'
make: *** [all-recursive] Error 1
Are there new build instructions that I missed? Thanks for the help!
Michael C. Montero
Chief Technology Officer
Community Connect Inc. Co-founder
AsianAvenue.com Member
Mike@Mail.CommunityConnect.com
-=-=-=-=-= Community Connect Inc. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
The Premier Source of Interactive Online Communities 494 Broadway
http://www.CommunityConnect.com New York, NY 10012
http://www.AsianAvenue.com
The Interactive Online Community for Those of Asian Heritage
----- Your Message May Appear Below This Line
--
PHP 4 Beta