pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/32397: pkgsrc/www/ap-php does not build on MacOS X



>Number:         32397
>Category:       pkg
>Synopsis:       pkgsrc/www/ap-php does not build on MacOS X
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 28 08:50:00 +0000 2005
>Originator:     MOCHIDA Shuji
>Release:        MacOS X 10.3.9
>Organization:
personal
>Environment:
Mac mini
Darwin bass.yorie.netside.co.jp 7.9.0 Darwin Kernel Version 7.9.0: Wed Mar 30 
20:11:17 PST 2005; root:xnu/xnu-517.12.7.obj~1/RELEASE_PPC  Power Macintosh 
powerpc
Architecture: MacOS X powerpc
Machine: Macintosh PowerPC G4 7447
>Description:

link error when linking libs/libphp5.bundle(libs/libphp5.so).
.o files are made in .libs/ directory, for example, libxml.o is in
ext/libxml/.libs/libxml.o, but link line specify
ext/libxml/libxml.o to gcc. There should be libtool magic or something.

=> Checksum RMD160 OK for php-5.1.1.tar.bz2.
work.powerpc -> /t/obj-powerpc-darwin/www/ap-php/work.powerpc
===> Extracting for ap-php-5.1.1nb3
  :
===> Creating toolchain wrappers for ap-php-5.1.1nb3
===> Configuring for ap-php-5.1.1nb3
  :
===> Building for ap-php-5.1.1nb3
/bin/sh /t/obj-powerpc-darwin/www/ap-php/work.powerpc/php-5.1.1/libtool 
--silent --preserve-dup-deps --mode=compile gcc -pipe  -Iext/libxml/ 
-I/t/obj-powerpc-darwin/www/ap-php/work.powerpc/php-5.1.1/ext/libxml/ 
-DPHP_ATOM_INC -I/t/obj-powerpc-darwin/www/ap-php/work. 
powerpc/php-5.1.1/include 
-I/t/obj-powerpc-darwin/www/ap-php/work.powerpc/php-5.1.1/main 
-I/t/obj-powerpc-darwin/www/ap-php/work.powerpc/php-5.1.1 
-I/usr/pkg/include/libxml2 
-I/t/obj-powerpc-darwin/www/ap-php/work.powerpc/php-5.1.1/ext/date/lib 
-I/t/obj-powerpc-darwin/www/ap-php/work.powerpc/php-5.1.1/TSRM 
-I/t/obj-powerpc-darwin/www/ap-php/work.powerpc/php-5.1.1/Zend  -no-cpp-precomp 
-I/usr/include -I/usr/pkg/include -no-cpp-precomp -I/usr/pkg/include  -O2 
-I/usr/include -I/usr/pkg/include  -c 
/t/obj-powerpc-darwin/www/ap-php/work.powerpc/php-5.1.1/ext/libxml/libxml.c -o 
ext/libxml/libxml.lo
  :
  :
gcc -pipe -dynamic -twolevel_namespace -bundle -bundle_loader 
/usr/pkg/sbin/httpd -O2 -I/usr/include -I/usr/pkg/include  -L/usr/lib 
-L/usr/pkg/lib -L/usr/pkg/lib ext/libxml/libxml.o ext/openssl/openssl.o 
ext/openssl/xp_ssl.o ext/pcre/pcreli
  :
api/apache/php_apache.o main/internal_functions.o  -lssl -lcrypto -lm -lxml2 
-lz -liconv -lm -lxml2 -lz -liconv -lm -lxml2 -lz -liconv -lm  -o 
libs/libphp5.bundle && cp libs/libphp5.bundle libs/libphp5.so
gcc: ext/libxml/libxml.o: No such file or directory
gcc: ext/openssl/openssl.o: No such file or directory
  :
gcc: sapi/apache/php_apache.o: No such file or directory
gcc: main/internal_functions.o: No such file or directory
*** Error code 1

Stop.

>How-To-Repeat:
    bmake in www/ap-php/ on MacOS X 10.3.9
>Fix:




Home | Main Index | Thread Index | Old Index