Re: [PHP] Re: PHP 4.2.2 install woe: cannot stat libs/libphp.so

2002-07-25 Thread Reuben D. Budiardja

Hi, Thanks for the reply, but somehow I got it to work yesterday.
Someone else in this list pointed out the same problem and file a bug
report. They say it's fixed in CVS.

http://bugs.php.net/?id=18522&edit=2

Reuben D. Budiardja


On Wed, 2002-07-24 at 19:49, David Robley wrote:
> In article <[EMAIL PROTECTED]>, 
> [EMAIL PROTECTED] says...
> > On Wed, 2002-07-24 at 08:29, Ian Ball wrote:
> > > Assuming you are installing from your php-4.2.2 directory, it would appear 
> > > the libphp4.so hasn't actually been made, which would point to a possible 
> > > error in the configuration parameters.  I am also assuming your php 4.2.1 
> > > made OK which would mean all necessary libraries etc are available on your 
> > > system.  What are you using for the configure?  On my system it was
> > > ./configure --with-mysql --with-apxs=/usr/local/apache/bin/apxs
> > > I did have ldap in there too, but for most people this is not necessary.  
> > 
> > Here is my configure line. Yes, my prev php 4.2.1 made and install fine
> > with the same configure line. I did exactly the same steps as when I
> > install 4.2.1
> > 
> 
> OK - after you do 'make' is there a file libphp4.so in the lib directory 
> under where you unpacked the install tarball? If not, something has 
> apparently gone wrong with the make process or the configure; you might 
> check (I think it is) config.log in the top of the install directory for 
> any clues.
> 
> I'm not sure, but it might be --enable-track-vars (unless that is a typo); 
> check with configure --help | grep track

> Cheers 
> -- 
> David Robley
> Temporary Kiwi!
> 
> Quod subigo farinam
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 
> 




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Re: PHP 4.2.2 install woe: cannot stat libs/libphp.so

2002-07-24 Thread David Robley

In article <[EMAIL PROTECTED]>, 
[EMAIL PROTECTED] says...
> On Wed, 2002-07-24 at 08:29, Ian Ball wrote:
> > Assuming you are installing from your php-4.2.2 directory, it would appear 
> > the libphp4.so hasn't actually been made, which would point to a possible 
> > error in the configuration parameters.  I am also assuming your php 4.2.1 
> > made OK which would mean all necessary libraries etc are available on your 
> > system.  What are you using for the configure?  On my system it was
> > ./configure --with-mysql --with-apxs=/usr/local/apache/bin/apxs
> > I did have ldap in there too, but for most people this is not necessary.  
> 
> Here is my configure line. Yes, my prev php 4.2.1 made and install fine
> with the same configure line. I did exactly the same steps as when I
> install 4.2.1
> 
> /configure --with-mysql --enable-track-var --disable-debug
> --prefix=/usr/local/apache/php
> --with-config-file-path=/usr/local/apache/lib
> --with-apxs=/usr/local/apache/bin/apxs --with-gd --with-zlib
> 
> > 
> > If a fresh run from the start fails, then without further information, my 
> > best suggestion is to completely delete the php-4.2.2 directory and ocntents, 
> > and start again with the tar -zxf php-4.2.2.whatever, ./configure..
> 
> I did that already, deleting the php-4.2.2 and start with un-tar the
> download. Many times. But still no luck.
> 
> Thanks.
> Rdb

OK - after you do 'make' is there a file libphp4.so in the lib directory 
under where you unpacked the install tarball? If not, something has 
apparently gone wrong with the make process or the configure; you might 
check (I think it is) config.log in the top of the install directory for 
any clues.

I'm not sure, but it might be --enable-track-vars (unless that is a typo); 
check with configure --help | grep track

Cheers 
-- 
David Robley
Temporary Kiwi!

Quod subigo farinam

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Re: PHP 4.2.2 install woe: cannot stat libs/libphp.so

2002-07-24 Thread Reuben D. Budiardja

On Wed, 2002-07-24 at 08:29, Ian Ball wrote:
> Assuming you are installing from your php-4.2.2 directory, it would appear 
> the libphp4.so hasn't actually been made, which would point to a possible 
> error in the configuration parameters.  I am also assuming your php 4.2.1 
> made OK which would mean all necessary libraries etc are available on your 
> system.  What are you using for the configure?  On my system it was
> ./configure --with-mysql --with-apxs=/usr/local/apache/bin/apxs
> I did have ldap in there too, but for most people this is not necessary.  

Here is my configure line. Yes, my prev php 4.2.1 made and install fine
with the same configure line. I did exactly the same steps as when I
install 4.2.1

/configure --with-mysql --enable-track-var --disable-debug
--prefix=/usr/local/apache/php
--with-config-file-path=/usr/local/apache/lib
--with-apxs=/usr/local/apache/bin/apxs --with-gd --with-zlib

> 
> If a fresh run from the start fails, then without further information, my 
> best suggestion is to completely delete the php-4.2.2 directory and ocntents, 
> and start again with the tar -zxf php-4.2.2.whatever, ./configure..

I did that already, deleting the php-4.2.2 and start with un-tar the
download. Many times. But still no luck.

Thanks.
Rdb

> Ian
> 
> On Wednesday 24 July 2002 14:13, Reuben D. Budiardja wrote:
> > On Tue, 2002-07-23 at 21:35, David Robley wrote:
> > > In article <[EMAIL PROTECTED]>,
> > > [EMAIL PROTECTED] says...
> > >
> > > > I tried to upgrade from PHP 4.2.1 to 4.2.2 due to the security bug
> > > > announce in the web site. When I do make install, it stopped with
> > > > errors. The following are the last few lines from the output:
> > > >
> > > > [activating module `php4' in /usr/local/apache/conf/httpd.conf]
> > > > cp libs/libphp4.so /usr/local/apache/libexec/libphp4.so
> > > > cp: cannot stat `libs/libphp4.so': No such file or directory
> > > > apxs:Break: Command failed with rc=1
> > > > make[1]: *** [install-sapi] Error 1
> > > > make[1]: Leaving directory `/usr/src/php-4.2.2'
> > > > make: *** [install-recursive] Error 1
> > >
> > > Did you do 'make install' as root?
> >
> > yes, I did everything (from configure to make install) as root.
> >
> > Rdb
> >
> > > --
> > > David Robley
> > > Temporary Kiwi!
> > >
> 
> 



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Re: PHP 4.2.2 install woe: cannot stat libs/libphp.so

2002-07-24 Thread Ian Ball

Assuming you are installing from your php-4.2.2 directory, it would appear 
the libphp4.so hasn't actually been made, which would point to a possible 
error in the configuration parameters.  I am also assuming your php 4.2.1 
made OK which would mean all necessary libraries etc are available on your 
system.  What are you using for the configure?  On my system it was
./configure --with-mysql --with-apxs=/usr/local/apache/bin/apxs
I did have ldap in there too, but for most people this is not necessary.  

If a fresh run from the start fails, then without further information, my 
best suggestion is to completely delete the php-4.2.2 directory and ocntents, 
and start again with the tar -zxf php-4.2.2.whatever, ./configure..

Ian


On Wednesday 24 July 2002 14:13, Reuben D. Budiardja wrote:
> On Tue, 2002-07-23 at 21:35, David Robley wrote:
> > In article <[EMAIL PROTECTED]>,
> > [EMAIL PROTECTED] says...
> >
> > > I tried to upgrade from PHP 4.2.1 to 4.2.2 due to the security bug
> > > announce in the web site. When I do make install, it stopped with
> > > errors. The following are the last few lines from the output:
> > >
> > > [activating module `php4' in /usr/local/apache/conf/httpd.conf]
> > > cp libs/libphp4.so /usr/local/apache/libexec/libphp4.so
> > > cp: cannot stat `libs/libphp4.so': No such file or directory
> > > apxs:Break: Command failed with rc=1
> > > make[1]: *** [install-sapi] Error 1
> > > make[1]: Leaving directory `/usr/src/php-4.2.2'
> > > make: *** [install-recursive] Error 1
> >
> > Did you do 'make install' as root?
>
> yes, I did everything (from configure to make install) as root.
>
> Rdb
>
> > --
> > David Robley
> > Temporary Kiwi!
> >

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Re: PHP 4.2.2 install woe: cannot stat libs/libphp.so

2002-07-24 Thread Reuben D. Budiardja

On Tue, 2002-07-23 at 21:35, David Robley wrote:
> In article <[EMAIL PROTECTED]>, 
> [EMAIL PROTECTED] says...
> > 
> > I tried to upgrade from PHP 4.2.1 to 4.2.2 due to the security bug
> > announce in the web site. When I do make install, it stopped with
> > errors. The following are the last few lines from the output:
> > 
> > [activating module `php4' in /usr/local/apache/conf/httpd.conf]
> > cp libs/libphp4.so /usr/local/apache/libexec/libphp4.so
> > cp: cannot stat `libs/libphp4.so': No such file or directory
> > apxs:Break: Command failed with rc=1
> > make[1]: *** [install-sapi] Error 1
> > make[1]: Leaving directory `/usr/src/php-4.2.2'
> > make: *** [install-recursive] Error 1
> > 

> Did you do 'make install' as root?

yes, I did everything (from configure to make install) as root.

Rdb

 
> -- 
> David Robley
> Temporary Kiwi!
> 
> Quod subigo farinam
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 
> 




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Re: PHP 4.2.2 install woe: cannot stat libs/libphp.so

2002-07-23 Thread David Robley

In article <[EMAIL PROTECTED]>, 
[EMAIL PROTECTED] says...
> 
> I tried to upgrade from PHP 4.2.1 to 4.2.2 due to the security bug
> announce in the web site. When I do make install, it stopped with
> errors. The following are the last few lines from the output:
> 
> [activating module `php4' in /usr/local/apache/conf/httpd.conf]
> cp libs/libphp4.so /usr/local/apache/libexec/libphp4.so
> cp: cannot stat `libs/libphp4.so': No such file or directory
> apxs:Break: Command failed with rc=1
> make[1]: *** [install-sapi] Error 1
> make[1]: Leaving directory `/usr/src/php-4.2.2'
> make: *** [install-recursive] Error 1
> 
> When I checked the directory libs, there are only files
> libphp4.a   libphp4.la
> 
> I tried to make symlink called libphp4.so to one of this files, and then
> the make install run without error. But then when I started my apache,
> it gives me:
> 
> bash $> /usr/local/apache/bin/apachectl start
> Syntax error on line 205 of /usr/local/apache/conf/httpd.conf:
> Cannot load /usr/local/apache/libexec/libphp4.so into server:
> /usr/local/apache/libexec/libphp4.so: invalid ELF header
> /usr/local/apache/bin/apachectl start: httpd could not be started
> 
> Any help on this would be greatly appreciated. Thanks in advance.
> Reuben D. Budiardja
> 
> 
Did you do 'make install' as root?

-- 
David Robley
Temporary Kiwi!

Quod subigo farinam

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php