Hi,
i think, i can not help you, but i have got the same problem:
     PHP4.1.1
     AIX 4.3.3
     Apache 1.3.23 (tried with different APACHE Versions)
     OpenSSL 0.9.6c
     OpenLDAP, bison 1.32, flex 2.5.4a
     gcc 3.0.1
     ... and so on.

The "make install" always ends with:

   ....
   Making install in .
           /WWW/apache/bin/apxs -i -a -n php4 libs/libphp4.so
   [activating module `php4' in /usr/local/apache/conf/httpd.conf]
   cp libs/libphp4.so /usr/local/apache/libexec/libphp4.so
   cp: libs/libphp4.so: A file or directory in the path name does not
   exist.
   apxs:Break: Command failed with rc=1
   make: 1254-004 The error code from the last command is 1.

   Stop.
   make: 1254-004 The error code from the last command is 1.

   Stop.
   #

I found out, that when i try to install "zlib" (which is installed on my
system already) into some other directory (just for testing) i get the
following message:

   root: /WWW/install/zlib-1.1.3
   > configure --shared
   Checking for gcc...
   Checking for shared library support...
   No shared library suppport.
   Building static library libz.a version 1.1.3 with gcc.
   Checking for unistd.h... Yes.
   Checking for errno.h...  Yes.
   Checking for mmap support... Yes.

--> most important i think: *No shared library suppport.*

When i try this way:

   root: /WWW/install/zlib-1.1.3
   > CC=/usr/local/bin/gcc configure --shared
   Checking for shared library support...
   No shared library suppport; try without defining CC and CFLAGS
   Building static library libz.a version 1.1.3 with /usr/local/bin/gcc.
   Checking for unistd.h... Yes.
   Checking for errno.h...  Yes.
   Checking for mmap support... Yes.

--> again: *No shared library suppport.*

Does anybody know, if this could be a problem of AIX or the a problem of
the compiler?

I know, this might not be a problem related just to PHP, but i run into it
trying to install PHP (with LDAP-module).

Thank you for help in advance,
Karsten Friedrich

Merck KGaA Darmstadt
ISD/CW
Frankfurter Str. 250
64293 Darmstadt

Tel.  +49 (0) 6151 72 2987
Fax  +49 (0) 6151 72 91 2987

E-Mail: [EMAIL PROTECTED]


                                                                                       
                          
                    [EMAIL PROTECTED]                                                     
                          
                    ien.ac.at            An:     [EMAIL PROTECTED]             
                          
                                         Kopie:                                        
                          
                    19.02.2002           Thema:  [PHP-INST] maybe trivial (?): apxs 
doesn't create libphp4.so    
                    12:06                 under AIX 4.3.3                              
                          
                                                                                       
                          
                                                                                       
                          




Hi  php4-Installers,
what reason might cause the subject above ?

We have installed (and working well):

o gcc version 2.95.3 20010315 (release)
o perl, version 5.003 with EMBED  built under aix
o OpenSSL 0.9.6
o mm-1.1.3
o Apache-1.3.23 configured with:
       time CC=gcc CFLAGS=-O ./configure \
       --prefix=/pd/apache_1.3.23 \
       --enable-module=rewrite \
       --enable-shared=rewrite
   (with compiled-in modules mod_so.c - and mod_ssl.c ...)
o mod_ssl-2.8.6-1.3.23 configured with:
       CC=gcc CFLAGS=-O ./configure \
       --prefix=/pd/apache_1.3.23 \
       --with-apache=/pd/apache_1.3.23 \
       --with-ssl=/pd/openssl \
       --with-mm=/pd/mm-1.1.3 \
       --with-crt=/pd/openssl/certs/mail_cert.pem \
       --enable-module=most \
       --enable-module=ssl \
       --enable-shared=rewrite
o gmake -  GNU Make version 3.79.1 built for powerpc-ibm-aix4.3.3.0
o php-4.1.1 configured as:
       time CC=gcc CFLAGS=-O ./configure \
       --prefix=/pd/php-4.1.1 \
       --with-apxs=/pd/apache_1.3.23/bin/apxs
   ... done well:
+--------------------------------------------------------------------+
|                        *** WARNING ***
|
| You chose to compile PHP with the built-in MySQL support.  If you
| are compiling a server module, and intend to use other server
| modules that also use MySQL (e.g, mod_auth_mysql, PHP 3.0,
| mod_perl) you must NOT rely on PHP's built-in MySQL support, and
| instead build it with your local MySQL support files, by adding
| --with-mysql=/path/to/mysql to your configure line.
+--------------------------------------------------------------------+
| License:
| This software is subject to the PHP License, available in this
| distribution in the file LICENSE.  By continuing this installation
| process, you are bound by the terms of this license agreement.
| If you do not agree with the terms of this license, you must abort
| the installation process at this point.
+--------------------------------------------------------------------+
Thank you for using PHP.
real    29m48.27s (!)
user    1m6.67s
sys     4m10.69s

o gmake ... ok
o gmake install ... ending with:
.
.
.
Making install in .
gmake[1]: Entering directory `/appl/pd/php-4.1.1'
/pd/apache_1.3.23/bin/apxs -i -a -n php4 libs/libphp4.so
[activating module `php4' in /pd/apache_1.3.23/conf/httpd.conf]
cp libs/libphp4.so /pd/apache_1.3.23/libexec/libphp4.so
cp: libs/libphp4.so: No such file or directory
apxs:Break: Command failed with rc=1
gmake[1]: *** [install-sapi] Error 1
gmake[1]: Leaving directory `/appl/pd/php-4.1.1'
gmake: *** [install-recursive] Error 1
root@mail:/pd/php-4.1.1#


 So, no libphp4.so on the system.
 Considering we have the products (in most cases the up-to-date
versions)
 it must be some obvious problem - but I have no idea.
Thanks for help in advance,


Erwin

--
Dipl.-Ing. Erwin SRUBAR
Zentraler Informatikdienst, Bereich ,,Zentrale Services``
Technische Universitaet Wien, Wiedner Hauptstrasse 8-10
Turm C (Roter Trakt), 2.Stk., Zi.DC02O08
A-1040 Wien, OeSTERREICH
Mail:[EMAIL PROTECTED]
Tel: (++43 1) 588-01/42084, Fax: (++43 1) 588-01/42099




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






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

Reply via email to