Skip to Content.
Sympa Menu

sm-discuss - [SM-Discuss] Apache2 and php compile problem

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Mads Laursen <smgl AT dossen.dk>
  • To: Public SourceMage Discussion List <sm-discuss AT lists.ibiblio.org>
  • Subject: [SM-Discuss] Apache2 and php compile problem
  • Date: Wed, 29 Sep 2004 18:29:07 +0200

Am I the only one having problems with compiling apache 2 and php?

Apache barfs with the following output:

/usr/share/apache2/build/libtool --silent --mode=compile
i686-pc-linux-gnu-gcc -pthread -O -march=athlon -mmmx -m3dnow -pipe -O3
-DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE
-D_GNU_SOURCE -DAP_DEBUG -DAP_HAVE_DESIGNATED_INITIALIZER
-I/usr/include/apr -I. -I/usr/src/httpd-2.0.52/os/unix
-I/usr/src/httpd-2.0.52/server/mpm/prefork
-I/usr/src/httpd-2.0.52/modules/http -I/usr/src/httpd-2.0.52/modules/filters
-I/usr/src/httpd-2.0.52/modules/proxy -I/usr/src/httpd-2.0.52/include
-I/usr/src/httpd-2.0.52/modules/generators -I/usr/include/openssl
-I/usr/src/httpd-2.0.52/modules/dav/main -prefer-non-pic -static -c util.c &&
touch util.lo
In file included from exports.c:76:
/usr/include/apr/iconv.h:37:23: apr_iconv.h: No such file or directory
make[3]: *** [exports.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/usr/src/httpd-2.0.52/server'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/httpd-2.0.52/server'
make[1]: Leaving directory `/usr/src/httpd-2.0.52'
make[1]: *** [all-recursive] Error 1
Running make with 2 jobs failed. Attempt to run with a single job? [y]
make[1]: Entering directory `/usr/src/httpd-2.0.52'
Making all in srclib
make[2]: Entering directory `/usr/src/httpd-2.0.52/srclib'
Making all in pcre
make[3]: Entering directory `/usr/src/httpd-2.0.52/srclib/pcre'
make[4]: Entering directory `/usr/src/httpd-2.0.52/srclib/pcre'
make[4]: Nothing to be done for `local-all'.
make[4]: Leaving directory `/usr/src/httpd-2.0.52/srclib/pcre'
make[3]: Leaving directory `/usr/src/httpd-2.0.52/srclib/pcre'
make[2]: Leaving directory `/usr/src/httpd-2.0.52/srclib'
Making all in os
make[2]: Entering directory `/usr/src/httpd-2.0.52/os'
Making all in unix
make[3]: Entering directory `/usr/src/httpd-2.0.52/os/unix'
make[4]: Entering directory `/usr/src/httpd-2.0.52/os/unix'
make[4]: Nothing to be done for `local-all'.
make[4]: Leaving directory `/usr/src/httpd-2.0.52/os/unix'
make[3]: Leaving directory `/usr/src/httpd-2.0.52/os/unix'
make[2]: Leaving directory `/usr/src/httpd-2.0.52/os'
Making all in server
make[2]: Entering directory `/usr/src/httpd-2.0.52/server'
Making all in mpm
make[3]: Entering directory `/usr/src/httpd-2.0.52/server/mpm'
Making all in prefork
make[4]: Entering directory `/usr/src/httpd-2.0.52/server/mpm/prefork'
make[5]: Entering directory `/usr/src/httpd-2.0.52/server/mpm/prefork'
make[5]: Nothing to be done for `local-all'.
make[5]: Leaving directory `/usr/src/httpd-2.0.52/server/mpm/prefork'
make[4]: Leaving directory `/usr/src/httpd-2.0.52/server/mpm/prefork'
make[3]: Leaving directory `/usr/src/httpd-2.0.52/server/mpm'
make[3]: Entering directory `/usr/src/httpd-2.0.52/server'
/usr/share/apache2/build/libtool --silent --mode=compile
i686-pc-linux-gnu-gcc -pthread -O -march=athlon -mmmx -m3dnow -pipe -O3
-DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE
-D_GNU_SOURCE -DAP_DEBUG -DAP_HAVE_DESIGNATED_INITIALIZER
-I/usr/include/apr -I. -I/usr/src/httpd-2.0.52/os/unix
-I/usr/src/httpd-2.0.52/server/mpm/prefork
-I/usr/src/httpd-2.0.52/modules/http -I/usr/src/httpd-2.0.52/modules/filters
-I/usr/src/httpd-2.0.52/modules/proxy -I/usr/src/httpd-2.0.52/include
-I/usr/src/httpd-2.0.52/modules/generators -I/usr/include/openssl
-I/usr/src/httpd-2.0.52/modules/dav/main -prefer-non-pic -static -c exports.c
&& touch exports.lo
In file included from exports.c:76:
/usr/include/apr/iconv.h:37:23: apr_iconv.h: No such file or directory
make[3]: *** [exports.lo] Error 1
make[3]: Leaving directory `/usr/src/httpd-2.0.52/server'
make[2]: *** [all-recursive] Error 1make[2]: Leaving directory
`/usr/src/httpd-2.0.52/server'

make[1]: make[1]: Leaving directory `/usr/src/httpd-2.0.52'
*** [all-recursive] Error 1
! Problem Detected !

And php bombs out with:

make[1]: Entering directory `/usr/src/php-5.0.2'
/bin/sh /usr/src/php-5.0.2/libtool --silent --preserve-dup-deps
--mode=compile gcc -Iext/libxml/ -I/usr/src/php-5.0.2/ext/libxml/
-DPHP_ATOM_INC -I/usr/src/php-5.0.2/include -I/usr/src/php-5.0.2/main
-I/usr/src/php-5.0.2 -I/usr/src/php-5.0.2/Zend -I/usr/include/libxml2
-I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/imap
-I/usr/include/mysql -I/usr/include/pspell -I/usr/src/php-5.0.2/TSRM -O
-march=athlon -mmmx -m3dnow -pipe -O3 -I/usr/include/apr -prefer-pic -c
/usr/src/php-5.0.2/ext/libxml/libxml.c -o ext/libxml/libxml.lo
/bin/sh /usr/src/php-5.0.2/libtool --silent --preserve-dup-deps
--mode=compile gcc -Iext/openssl/ -I/usr/src/php-5.0.2/ext/openssl/
-DPHP_ATOM_INC -I/usr/src/php-5.0.2/include -I/usr/src/php-5.0.2/main
-I/usr/src/php-5.0.2 -I/usr/src/php-5.0.2/Zend -I/usr/include/libxml2
-I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/imap
-I/usr/include/mysql -I/usr/include/pspell -I/usr/src/php-5.0.2/TSRM -O
-march=athlon -mmmx -m3dnow -pipe -O3 -I/usr/include/apr -prefer-pic -c
/usr/src/php-5.0.2/ext/openssl/openssl.c -o ext/openssl/openssl.lo
In file included from /usr/include/libxml2/libxml/encoding.h:28,
from /usr/include/libxml2/libxml/parser.h:796,
from /usr/src/php-5.0.2/ext/libxml/libxml.c:38:
/usr/include/apr/iconv.h:37:23: apr_iconv.h: No such file or directory
In file included from /usr/include/libxml2/libxml/parser.h:796,
from /usr/src/php-5.0.2/ext/libxml/libxml.c:38:
/usr/include/libxml2/libxml/encoding.h:136: error: parse error before
"iconv_t"
/usr/include/libxml2/libxml/encoding.h:136: warning: no semicolon at end of
struct or union
/usr/include/libxml2/libxml/encoding.h:137: warning: data definition has no
type or storage class
make[1]: *** [ext/libxml/libxml.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/usr/src/php-5.0.2'
Running make with 2 jobs failed. Attempt to run with a single job?
[y] 
make[1]: Entering directory `/usr/src/php-5.0.2'
/bin/sh /usr/src/php-5.0.2/libtool --silent --preserve-dup-deps
--mode=compile gcc -Iext/libxml/ -I/usr/src/php-5.0.2/ext/libxml/
-DPHP_ATOM_INC -I/usr/src/php-5.0.2/include -I/usr/src/php-5.0.2/main
-I/usr/src/php-5.0.2 -I/usr/src/php-5.0.2/Zend -I/usr/include/libxml2
-I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/imap
-I/usr/include/mysql -I/usr/include/pspell -I/usr/src/php-5.0.2/TSRM -O
-march=athlon -mmmx -m3dnow -pipe -O3 -I/usr/include/apr -prefer-pic -c
/usr/src/php-5.0.2/ext/libxml/libxml.c -o ext/libxml/libxml.lo
In file included from /usr/include/libxml2/libxml/encoding.h:28,
from /usr/include/libxml2/libxml/parser.h:796,
from /usr/src/php-5.0.2/ext/libxml/libxml.c:38:
/usr/include/apr/iconv.h:37:23: apr_iconv.h: No such file or directory
In file included from /usr/include/libxml2/libxml/parser.h:796,
from /usr/src/php-5.0.2/ext/libxml/libxml.c:38:
/usr/include/libxml2/libxml/encoding.h:136: error: parse error before
"iconv_t"
/usr/include/libxml2/libxml/encoding.h:136: warning: no semicolon at end of
struct or union
/usr/include/libxml2/libxml/encoding.h:137: warning: data definition has no
type or storage class
make[1]: *** [ext/libxml/libxml.lo] Error 1
make[1]: Leaving directory `/usr/src/php-5.0.2'
 ! Problem Detected ! 

Hope someone out there can help guess why this goes wrong.

/dossen

Attachment: pgp8uB4feXePP.pgp
Description: PGP signature




Archive powered by MHonArc 2.6.24.

Top of Page