#32844 [Fbk-Opn]: libphp4.so not created

2005-04-28 Thread adam at adamandliz dot com
 ID:   32844
 User updated by:  adam at adamandliz dot com
 Reported By:  adam at adamandliz dot com
-Status:   Feedback
+Status:   Open
 Bug Type: Compile Failure
 Operating System: Fedora Core 2
 PHP Version:  4.3.11
 New Comment:

my apologies... I had previously found advice on other pages that uses
libtoolize

Anyway, I deleted the directory and re-created from the tar (4.3.11)

the .so gets created this time.


Previous Comments:


[2005-04-28 00:15:36] [EMAIL PROTECTED]

You did use fresh sources? And you are not doing something silly like
running buildconf or autoconf or libtoolize..?




[2005-04-27 18:17:29] adam at adamandliz dot com

Still no .so created, only a .a and .la

additionally, the following messages appeared in the make
using piecewise archive linking...
/usr/php-4.3.11/libtool: line 5386: test: : integer expression
expected
/usr/php-4.3.11/libtool: line 5386: test: : integer expression
expected
(last message repeated dozens of times)



[2005-04-27 12:54:51] [EMAIL PROTECTED]

Try with this configure line:

# ./configure --disable-all --with-apxs2=/usr/local/apache2/bin/apxs 




[2005-04-26 18:29:17] adam at adamandliz dot com

Description:

Firstly, I have no problems under 4.3.9.  However 4.3.10, 4.3.11 and a
recent snapshot fail.

Whenc ompiling php using standard ./configure, make, make install.  the
libphp4.so file is not created.

the configure command is:
./configure --with-apxs2=/usr/local/apache2/bin/apxs
--enable-track-vars --enable-force-cgi-redirect --with-gettext
--with-mysql=/usr/local/mysql 
--with-config-file-path=/usr/local/lib/php -with-imap --enable-mbstring
--with-kerberos --with-imap-ssl

Before the last libtool in the make command, the following is displayed
(this may well be ared herring)

*** Warning: inter-library dependencies are not known to be supported.
*** All declared inter-library dependencies are being dropped.

*** Warning: libtool could not satisfy all declared inter-library
*** dependencies of module libphp4.  Therefore, libtool will create
*** a static module, that should work as long as the dlopening
*** application is linked with the -dlopen flag.

When doing a make install, I get (from the recent snapshot):
[EMAIL PROTECTED] php4-STABLE-200504251836]# make install
Installing PHP SAPI module:   apache2handler
/usr/local/apache2/build/instdso.sh
SH_LIBTOOL='/usr/local/apache2/build/libtool' libphp4.la
/usr/local/apache2/modules
/usr/local/apache2/build/libtool --mode=install cp libphp4.la
/usr/local/apache2/modules/
cp .libs/libphp4.lai /usr/local/apache2/modules/libphp4.la
cp .libs/libphp4.a /usr/local/apache2/modules/libphp4.a
ranlib /usr/local/apache2/modules/libphp4.a
chmod 644 /usr/local/apache2/modules/libphp4.a
libtool: install: warning: remember to run `libtool --finish
/usr/php4-STABLE-200504251836/libs'
Warning!  dlname not found in /usr/local/apache2/modules/libphp4.la.
Assuming installing a .so rather than a libtool archive.
chmod 755 /usr/local/apache2/modules/libphp4.so
chmod: cannot access `/usr/local/apache2/modules/libphp4.so': No such
file or directory
apxs:Error: Command failed with rc=65536
.
make: *** [install-sapi] Error 1






-- 
Edit this bug report at http://bugs.php.net/?id=32844edit=1


#32844 [Fbk-Opn]: libphp4.so not created

2005-04-27 Thread adam at adamandliz dot com
 ID:   32844
 User updated by:  adam at adamandliz dot com
 Reported By:  adam at adamandliz dot com
-Status:   Feedback
+Status:   Open
 Bug Type: Compile Failure
 Operating System: Fedora Core 2
 PHP Version:  4.3.11
 New Comment:

Still no .so created, only a .a and .la

additionally, the following messages appeared in the make
using piecewise archive linking...
/usr/php-4.3.11/libtool: line 5386: test: : integer expression
expected
/usr/php-4.3.11/libtool: line 5386: test: : integer expression
expected
(last message repeated dozens of times)


Previous Comments:


[2005-04-27 12:54:51] [EMAIL PROTECTED]

Try with this configure line:

# ./configure --disable-all --with-apxs2=/usr/local/apache2/bin/apxs 




[2005-04-26 18:29:17] adam at adamandliz dot com

Description:

Firstly, I have no problems under 4.3.9.  However 4.3.10, 4.3.11 and a
recent snapshot fail.

Whenc ompiling php using standard ./configure, make, make install.  the
libphp4.so file is not created.

the configure command is:
./configure --with-apxs2=/usr/local/apache2/bin/apxs
--enable-track-vars --enable-force-cgi-redirect --with-gettext
--with-mysql=/usr/local/mysql 
--with-config-file-path=/usr/local/lib/php -with-imap --enable-mbstring
--with-kerberos --with-imap-ssl

Before the last libtool in the make command, the following is displayed
(this may well be ared herring)

*** Warning: inter-library dependencies are not known to be supported.
*** All declared inter-library dependencies are being dropped.

*** Warning: libtool could not satisfy all declared inter-library
*** dependencies of module libphp4.  Therefore, libtool will create
*** a static module, that should work as long as the dlopening
*** application is linked with the -dlopen flag.

When doing a make install, I get (from the recent snapshot):
[EMAIL PROTECTED] php4-STABLE-200504251836]# make install
Installing PHP SAPI module:   apache2handler
/usr/local/apache2/build/instdso.sh
SH_LIBTOOL='/usr/local/apache2/build/libtool' libphp4.la
/usr/local/apache2/modules
/usr/local/apache2/build/libtool --mode=install cp libphp4.la
/usr/local/apache2/modules/
cp .libs/libphp4.lai /usr/local/apache2/modules/libphp4.la
cp .libs/libphp4.a /usr/local/apache2/modules/libphp4.a
ranlib /usr/local/apache2/modules/libphp4.a
chmod 644 /usr/local/apache2/modules/libphp4.a
libtool: install: warning: remember to run `libtool --finish
/usr/php4-STABLE-200504251836/libs'
Warning!  dlname not found in /usr/local/apache2/modules/libphp4.la.
Assuming installing a .so rather than a libtool archive.
chmod 755 /usr/local/apache2/modules/libphp4.so
chmod: cannot access `/usr/local/apache2/modules/libphp4.so': No such
file or directory
apxs:Error: Command failed with rc=65536
.
make: *** [install-sapi] Error 1






-- 
Edit this bug report at http://bugs.php.net/?id=32844edit=1