Hi,

I've recently had the need to recompile libapache2-mod-php5 version 
5.1.4-122 but I am encountering an error during compilation. The error 
is that shown at http://paste.lisp.org/display/57503.

It looks something like this:

/bin/sh /sw/src/fink.build/php5-5.1.4-122/php-5.1.4/apache-build/libtool 
--silent --preserve-dup-deps --mode=compile gcc  -IZend/ 
-I/sw/src/fink.build/php5-5.1.4-122/php-5.1.4/Zend/ -DPHP_ATOM_INC 
-I/sw/src/fink.build/php5-5.1.4-122/php-5.1.4/apache-build/include 
-I/sw/src/fink.build/php5-5.1.4-122/php-5.1.4/apache-build/main 
-I/sw/src/fink.build/php5-5.1.4-122/php-5.1.4 
-I/sw/lib/system-openssl/include -I/sw/include/libxml2 -I/sw/include 
-I/sw/src/fink.build/php5-5.1.4-122/php-5.1.4/apache-build/ext/date/lib 
-I/sw/src/fink.build/php5-5.1.4-122/php-5.1.4/ext/date/lib 
-I/usr/X11R6/include -I/usr/X11/include -I/usr/X11/include/freetype2 
-I/sw/include/c-client 
-I/sw/src/fink.build/php5-5.1.4-122/php-5.1.4/ext/mbstring/oniguruma 
-I/sw/src/fink.build/php5-5.1.4-122/php-5.1.4/apache-build/ext/mbstring/oniguruma
 
-I/sw/src/fink.build/php5-5.1.4-122/php-5.1.4/ext/mbstring/libmbfl 
-I/sw/src/fink.build/php5-5.1.4-122/php-5.1.4/apache-build/ext/mbstring/libmbfl 
-I/sw/src/fink.build/php5-5.1.4-122/php-5.1.4/ext/mbstring/libmbfl/mbfl 
-I/sw/src/fink.build/php5-5.1.4-122/php-5.1.4/apache-build/ext/mbstring/libmbfl/mbfl
 
-I/sw/include/mysql -I/sw/include/postgresql 
-I/sw/src/fink.build/php5-5.1.4-122/php-5.1.4/apache-build/TSRM 
-I/sw/src/fink.build/php5-5.1.4-122/php-5.1.4/apache-build/Zend 
-I/sw/src/fink.build/php5-5.1.4-122/php-5.1.4/main 
-I/sw/src/fink.build/php5-5.1.4-122/php-5.1.4/Zend 
-I/sw/src/fink.build/php5-5.1.4-122/php-5.1.4/TSRM 
-I/sw/src/fink.build/php5-5.1.4-122/php-5.1.4/apache-build/ 
-DBIND_8_COMPAT -I/sw/include/apr-0 -I/sw/include/bind -I/sw/include 
-no-cpp-precomp  -I/sw/include -L/sw/lib/system-openssl/lib -DZTS  -c 
Zend/zend_language_parser.c -o Zend/zend_language_parser.lo
i686-apple-darwin9-gcc-4.0.1: Zend/zend_language_parser.c: No such file 
or directory
i686-apple-darwin9-gcc-4.0.1: no input files
make: *** [Zend/zend_language_parser.lo] Error 1
### execution of /var/tmp/tmp.1.fxNpgW failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-php5-5.1.4-122
(Reading database ... 26850 files and directories currently installed.)
Removing fink-buildlock-php5-5.1.4-122 ...
Failed: phase compiling: php5-5.1.4-122 failed

I am on OS X 10.5 with fink version:
[EMAIL PROTECTED]:~$ fink --version
Package manager version: 0.28.1
Distribution version: selfupdate-rsync Wed Mar 19 12:31:39 2008, 10.5, i386

 From the apache-build/Makefile generated during building, it looks like 
the line(s):

Zend/zend_language_parser.lo: Zend/zend_language_parser.c
         $(LIBTOOL) --mode=compile $(CC)  -IZend/ 
-I/sw/src/fink.build/php5-5.1.4-122/php-5.1.4/Zend/ $(COMMON_FLAGS) 
$(CFLAGS_CLEAN) $(EXTRA_CFLAGS) -c Zend/zend_language_parser.c -o 
Zend/zend_language_parser.lo

Most other lines relating to stuff under Zend has a fully qualified path 
to the C source file, like this:

Zend/zend_alloc.lo: 
/sw/src/fink.build/php5-5.1.4-122/php-5.1.4/Zend/zend_alloc.c
         $(LIBTOOL) --mode=compile $(CC)  -IZend/ 
-I/sw/src/fink.build/php5-5.1.4-122/php-5.1.4/Zend/ $(COMMON_FLAGS) 
$(CFLAGS_CLEAN) $(EXTRA_CFLAGS) -c 
/sw/src/fink.build/php5-5.1.4-122/php-5.1.4/Zend/zend_alloc.c -o 
Zend/zend_alloc.lo

I am not really all that familiar with the fink build system, so I 
haven't attempted to track down who is responsible for generating the 
faulty Makefile.

Any input would be greatly appreciated.

-- 
Søren O.

"Oh, bother" said the Borg, "we've assimilated Pooh".

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to