Re: [PHP-INSTALL] Problems building 5.3 with apache2 support

[email protected] (Keith Roberts)
Newsgroups php.install
Message-ID <[email protected]>
On Sat, 18 Jul 2009, troels knak-nielsen wrote:

> To: [email protected]
> From: troels knak-nielsen <[email protected]>
> Subject: [PHP-INSTALL] Problems building 5.3 with apache2 support
> 
> Hi list.
>
> I'm trying to build php 5.3 on Ubuntu. I have installed
> apache2-threaded-dev and used the following configure settings:


Is this the standard prefork apache module for Ubuntu?


Keith

> ./configure --with-apxs2=/usr/bin/apxs2
>
> Running make starts building some files until it fails with the
> following output:
>
> (snip)
> ext/sqlite3/libsqlite/sqlite3.o: In function `memset':
> /usr/include/bits/string3.h:82: warning: memset used with constant
> zero length parameter; this could be due to transposed parameters
> ext/standard/.libs/info.o: In function `php_info_print_table_header':
> /home/tkn/public/php-5.3.0/ext/standard/info.c:1071: undefined
> reference to `ts_resource_ex'
> ext/standard/.libs/info.o: In function `php_info_write_wrapper':
> /home/tkn/public/php-5.3.0/ext/standard/info.c:80: undefined reference
> to `ts_resource_ex'
> ext/standard/.libs/info.o: In function `php_info_print_table_row_internal':
> /home/tkn/public/php-5.3.0/ext/standard/info.c:1115: undefined
> reference to `ts_resource_ex'
> ext/standard/.libs/info.o: In function `php_print_gpcse_array':
> /home/tkn/public/php-5.3.0/ext/standard/info.c:149: undefined
> reference to `executor_globals_id'
> ext/standard/.libs/info.o: In function `php_print_info':
> /home/tkn/public/php-5.3.0/ext/standard/info.c:939: undefined
> reference to `executor_globals_id'
> /home/tkn/public/php-5.3.0/ext/standard/info.c:942: undefined
> reference to `executor_globals_id'
> /home/tkn/public/php-5.3.0/ext/standard/info.c:945: undefined
> reference to `executor_globals_id'
> /home/tkn/public/php-5.3.0/ext/standard/info.c:948: undefined
> reference to `executor_globals_id'
> /home/tkn/public/php-5.3.0/ext/standard/info.c:870: undefined
> reference to `sapi_globals_id'
> /home/tkn/public/php-5.3.0/ext/standard/info.c:644: undefined
> reference to `sapi_globals_id'
> /home/tkn/public/php-5.3.0/ext/standard/info.c:849: undefined
> reference to `sapi_globals_id'
> collect2: ld returned 1 exit status
> make: *** [sapi/cli/php] Error 1
>
> what am I doing wrong?
>
> --
> troels
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.