List Info

Thread: php5 compile failure




php5 compile failure
country flaguser name
Denmark
2008-03-19 14:12:03
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.lis
p.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/lib
tool 
--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/i
nclude 
-I/sw/src/fink.build/php5-5.1.4-122/php-5.1.4/apache-build/m
ain 
-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/e
xt/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/o
niguruma 
-I/sw/src/fink.build/php5-5.1.4-122/php-5.1.4/apache-build/e
xt/mbstring/oniguruma 
-I/sw/src/fink.build/php5-5.1.4-122/php-5.1.4/ext/mbstring/l
ibmbfl 
-I/sw/src/fink.build/php5-5.1.4-122/php-5.1.4/apache-build/e
xt/mbstring/libmbfl 
-I/sw/src/fink.build/php5-5.1.4-122/php-5.1.4/ext/mbstring/l
ibmbfl/mbfl 
-I/sw/src/fink.build/php5-5.1.4-122/php-5.1.4/apache-build/e
xt/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/T
SRM 
-I/sw/src/fink.build/php5-5.1.4-122/php-5.1.4/apache-build/Z
end 
-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:
bollwirt:~$ 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
Fink-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

Re: php5 compile failure
country flaguser name
United States
2008-03-19 14:20:36
Søren Boll Overgaard wrote:
> 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.lis
p.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/lib
tool 
> --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/i
nclude 
>
-I/sw/src/fink.build/php5-5.1.4-122/php-5.1.4/apache-build/m
ain 
> -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/e
xt/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/o
niguruma 
>
-I/sw/src/fink.build/php5-5.1.4-122/php-5.1.4/apache-build/e
xt/mbstring/oniguruma 
>
-I/sw/src/fink.build/php5-5.1.4-122/php-5.1.4/ext/mbstring/l
ibmbfl 
>
-I/sw/src/fink.build/php5-5.1.4-122/php-5.1.4/apache-build/e
xt/mbstring/libmbfl 
>
-I/sw/src/fink.build/php5-5.1.4-122/php-5.1.4/ext/mbstring/l
ibmbfl/mbfl 
>
-I/sw/src/fink.build/php5-5.1.4-122/php-5.1.4/apache-build/e
xt/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/T
SRM 
>
-I/sw/src/fink.build/php5-5.1.4-122/php-5.1.4/apache-build/Z
end 
> -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:
> bollwirt:~$ 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.
>   
I get the same problem on 10.5.2/PowerPC. 

I believe the Makefile is generated via options fed to
./configure, as 
usual--fink uses whatever mechanism the package itself
provides.


------------------------------------------------------------
-------------
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
Fink-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

Re: php5 compile failure
country flaguser name
Denmark
2008-03-19 15:35:05
Alexander Hansen wrote:
>> 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.
>>   
> I get the same problem on 10.5.2/PowerPC.
> I believe the Makefile is generated via options fed to
./configure, as 
> usual--fink uses whatever mechanism the package itself
provides.
> 

Yup. configure gets most of its input from configure.in, and
Makefile.am 
is used to generate the actual Makefile. But I have no idea
what unpacks 
the source archive and ensures that ./configure gets
called.

Also my knowledge of autotools is just too basic to really
get how 
Zend/Makefile.am is supposed to work.

-- 
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
Fink-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )