HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Compilation error with PHP
Operating System - HP-UX
1835671
Members
2771
Online
110082
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2002 07:35 AM
12-12-2002 07:35 AM
Compilation error with PHP
Hello,
I try to compile PHP 2.4.2
with the option --with-apxs=/
the here under error occurs.
Note: I have to launch the compilation on a server which does not hosts Oracle (accessible on another server). How can I compile the extension oci8 needed?
Thank you for your help,
Gilles.
./configure --prefix=/opt/php --enable-so --with-apxs=/opt/apache/bin/apxs
--enable-libgcc
Making all in Zend
Making all in main
Making all in ext
Making all in ctype
Making all in mysql
Making all in libmysql
Making all in pcre
Making all in pcrelib
Making all in posix
Making all in session
Making all in standard
Making all in xml
Making all in expat
Making all in sapi
Making all in apache
Making all in TSRM
Making all in regex
Making all in .
/bin/sh /u02/apache/php-4.2.3/libtool --silent --mode=link
gcc -I. -I/
02/apache/php-4.2.3/ -I/u02/apache/php-4.2.3/main -I/u02/apache/php-4.2.3 -I
/op
/apache/include -I/u02/apache/php-4.2.3/Zend -I/u02/apache/php-4.2.3/ext/mys
ql/
ibmysql -I/u02/apache/php-4.2.3/ext/xml/expat -DHPUX11 -DMOD_SSL=208111 -DU
SE_
SREGEX -DEAPI -DEAPI_MM -DUSE_EXPAT -DCHROOT -I/u02/apache/php-4.2.3/TSRM -g
-O
-prefer-pic -o libphp4.la -rpath
/u02/apache/php-4.2.3/libs -avoid-version -
/usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.2 -R
/usr/local/lib/gcc-lib/hpp
2.0n-hp-hpux11.00/3.2 stub.lo Zend/libZend.la sapi/apache/libsapi.la
main/li
main.la regex/libregex.la /u02/apache/php-4.2.3/ext/ctype/libctype.la
/u02/ap
che/php-4.2.3/ext/mysql/libmysql.la
/u02/apache/php-4.2.3/ext/pcre/libpcre.la /
02/apache/php-4.2.3/ext/posix/libposix.la
/u02/apache/php-4.2.3/ext/session/lib
ession.la /u02/apache/php-4.2.3/ext/standard/libstandard.la
/u02/apache/php-4.2
3/ext/xml/libxml.la TSRM/libtsrm.la -lpam -lcrypt -lm -lnsl -lgcc -lcrypt
*** Warning: This library needs some functionality provided by -lcrypt.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
*** Warning: This library needs some functionality provided by -lgcc.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
*** Warning: This library needs some functionality provided by -lcrypt.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
*** The inter-library dependencies that have been dropped here will be
*** automatically added whenever a program is linked with this library
*** or is declared to -dlopen it.
/usr/ccs/bin/ld: Unexpected end of file in
.libs/libphp4.lax/libmain.al/main.lo
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
I try to compile PHP 2.4.2
with the option --with-apxs=/
the here under error occurs.
Note: I have to launch the compilation on a server which does not hosts Oracle (accessible on another server). How can I compile the extension oci8 needed?
Thank you for your help,
Gilles.
./configure --prefix=/opt/php --enable-so --with-apxs=/opt/apache/bin/apxs
--enable-libgcc
Making all in Zend
Making all in main
Making all in ext
Making all in ctype
Making all in mysql
Making all in libmysql
Making all in pcre
Making all in pcrelib
Making all in posix
Making all in session
Making all in standard
Making all in xml
Making all in expat
Making all in sapi
Making all in apache
Making all in TSRM
Making all in regex
Making all in .
/bin/sh /u02/apache/php-4.2.3/libtool --silent --mode=link
gcc -I. -I/
02/apache/php-4.2.3/ -I/u02/apache/php-4.2.3/main -I/u02/apache/php-4.2.3 -I
/op
/apache/include -I/u02/apache/php-4.2.3/Zend -I/u02/apache/php-4.2.3/ext/mys
ql/
ibmysql -I/u02/apache/php-4.2.3/ext/xml/expat -DHPUX11 -DMOD_SSL=208111 -DU
SE_
SREGEX -DEAPI -DEAPI_MM -DUSE_EXPAT -DCHROOT -I/u02/apache/php-4.2.3/TSRM -g
-O
-prefer-pic -o libphp4.la -rpath
/u02/apache/php-4.2.3/libs -avoid-version -
/usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.2 -R
/usr/local/lib/gcc-lib/hpp
2.0n-hp-hpux11.00/3.2 stub.lo Zend/libZend.la sapi/apache/libsapi.la
main/li
main.la regex/libregex.la /u02/apache/php-4.2.3/ext/ctype/libctype.la
/u02/ap
che/php-4.2.3/ext/mysql/libmysql.la
/u02/apache/php-4.2.3/ext/pcre/libpcre.la /
02/apache/php-4.2.3/ext/posix/libposix.la
/u02/apache/php-4.2.3/ext/session/lib
ession.la /u02/apache/php-4.2.3/ext/standard/libstandard.la
/u02/apache/php-4.2
3/ext/xml/libxml.la TSRM/libtsrm.la -lpam -lcrypt -lm -lnsl -lgcc -lcrypt
*** Warning: This library needs some functionality provided by -lcrypt.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
*** Warning: This library needs some functionality provided by -lgcc.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
*** Warning: This library needs some functionality provided by -lcrypt.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
*** The inter-library dependencies that have been dropped here will be
*** automatically added whenever a program is linked with this library
*** or is declared to -dlopen it.
/usr/ccs/bin/ld: Unexpected end of file in
.libs/libphp4.lax/libmain.al/main.lo
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2002 07:58 AM
12-12-2002 07:58 AM
Re: Compilation error with PHP
PHP compilation with apxs is not easy, I don't know if the 4.2.3 solved some issues, but here's a thread with many details :
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x531c36e69499d611abdb0090277a778c,00.html
About oci8, You need at least Oracle library installed to compile with OCI8.
To do that, you just have to install the client side + dev on your system. I don't see any other way to include OCI8 !!!
hth
Benoit
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x531c36e69499d611abdb0090277a778c,00.html
About oci8, You need at least Oracle library installed to compile with OCI8.
To do that, you just have to install the client side + dev on your system. I don't see any other way to include OCI8 !!!
hth
Benoit
Une application mal pansée aboutit à une usine à gaze (GHG)
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP