Re: 4.0.2 Release - Problem on MacOSX

From: Date: Thu, 24 Aug 2000 22:39:38 +0000
Subject: Re: 4.0.2 Release - Problem on MacOSX
Groups: php.qa 
Request: Send a blank email to php-qa+get-1053@lists.php.net to get a copy of this message
I'm compiling the RC1 from; http://www.php.net/~andi/php-4.0.2RC1.tar.gz On MacOSX Server 1.2 with Apache 1.3.12 using; ./configure --with-apxs=/usr/sbin/apxs --with-config-file-path=/Local/Library/WebServer/Configuration There is an error message when I install the build, transcript is below: [mrx:Users/patrik/php-4.0.2RC1] root# make install Making install in Zend Making install in main Making install in ext Making install in db Making install in mysql Making install in libmysql Making install in pcre Making install in pcrelib Making install in posix Making install in session Making install in standard Making install in xml Making install in expat Making install in xmltok Making install in xmlparse Making install in sapi Making install in apache Making install in regex Making install in . /usr/sbin/apxs.old -i -a -n php4 libs/libphp4.so cp libs/libphp4.so /System/Library/Apache/Modules/libphp4.so chmod 755 /System/Library/Apache/Modules/libphp4.so [activating module `php4' in /Local/Library/WebServer/Configuration/apache.conf] installing shared modules into /usr/local/lib/php/extensions/no-debug-non-zts-20 000809 Making install in pear cp: /Local/Users/patrik/php-4.0.2RC1/pear//Local/Users/patrik/php-4.0.2RC1/pear / PEAR.php: No such file or directory make[2]: *** [install-data-local] Error 1 make[1]: *** [install-recursive] Error 1 make: *** [install-recursive] Error 1 [mrx:Users/patrik/php-4.0.2RC1] root# Another strange thing is that the configure-script didn't like the apxs that was installed with Apache 1.3.12 so I had to use the old one, the configure gave the following output: [mrx:Users/patrik/php-4.0.2RC1] root# ./configure --with-apxs=/usr/sbin/apxs --w ith-config-file-path=/Local/Library/WebServer/Configuration loading cache ./config.cache checking for a BSD compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... (cached) yes checking for working aclocal... missing checking for working autoconf... found checking for working automake... missing checking for working autoheader... found checking for working makeinfo... missing checking whether to enable maintainer-specific portions of Makefiles... no checking host system type... powerpc-apple-rhapsody5.6 checking for bison... (cached) bison -y checking bison version... 1.25 (ok) checking for gcc... (cached) cc checking whether the C compiler (cc ) works... yes checking whether the C compiler (cc ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether cc accepts -g... (cached) yes checking how to run the C preprocessor... (cached) cc -E -traditional-cpp checking for AIX... no checking for cc option to accept ANSI C... (cached) none needed checking for ranlib... (cached) ranlib checking whether cc understands -c and -o together... (cached) yes checking whether ln -s works... (cached) yes checking for flex... (cached) flex checking for flex... (cached) flex checking for yywrap in -lfl... (cached) no checking lex output file root... (cached) lex.yy checking whether yytext is a pointer... (cached) no checking for working const... (cached) yes checking for pthreads_cflags... (cached) checking for pthreads_lib... (cached) Configuring SAPI modules checking for AOLserver support... no checking for Apache module support via DSO through APXS... Usage: apxs -g [-S <var>=<val>] -n <modname> apxs -q [-S <var>=<val>] <query> ... apxs -c [-S <var>=<val>] [-o <dsofile>] [-D <name>[=<value>]] [-I <incdir>] [-L <libdir>] [-l <libname>] [-Wc,<flags>] [-Wl,<flags>] <files> ... apxs -i [-S <var>=<val>] [-a] [-A] [-n <modname>] <dsofile> ... apxs -e [-S <var>=<val>] [-a] [-A] [-n <modname>] <dsofile> ... configure: error: Sorry, I cannot run apxs. Either you need to install Perl or y ou need to pass the absolute path of apxs by using --with-apxs=/absolute/path/to /apxs [mrx:Users/patrik/php-4.0.2RC1] root# If you need more information feel free to contact me! /Patrik ---------------------------------------------------- www.prestanda.com, patrik@prestanda.com, +46 (0)40 - 91 56 50, +46 (0)708- 12 38 55 - A social life? Where can I download THAT?

« previous php.qa (#1053) next »