- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: PHP compilation error with HP UX 11
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
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
Community
Resources
Forums
Blogs
- 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-10-2002 10:40 AM
12-10-2002 10:40 AM
PHP compilation error with HP UX 11
I try to compile PHP 4.2.3
Here is my configuration:
HP-UX 11 64 bits
Php 4.2.3
Apache 1.3.27
gcc 3.2
bison 1.35
flex 2.5
The configure step ends correctly BUT the make step arise the following error:
All idea is welcome! thanks!
Making all in Zend
Making all in main
Making all in ext
Making all in ctype
Making all in mysql
Making all in libmysql
gcc -I. -I/u02/apache/php-4.2.3/ext/mysql/libmysql -I/u02/apache/php-4.2
.3/main -I/u02/apache/php-4.2.3 -I/u02/apache/php-4.2.3/Zend -I/u02/apache/php-4
.2.3/ext/mysql/libmysql -I/u02/apache/php-4.2.3/ext/xml/expat -I/u02/apache/php
-4.2.3/TSRM -g -O2 -c libmysql.c && touch libmysql.lo
In file included from global.h:353,
from libmysql.c:5:
/usr/include/sys/socket.h:484: parse error before "sendfile"
/usr/include/sys/socket.h:485: parse error before "bsize_t"
/usr/include/sys/socket.h:486: parse error before "sendpath"
/usr/include/sys/socket.h:487: parse error before "bsize_t"
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
*** Error exit code 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2002 02:29 PM
12-10-2002 02:29 PM
Re: PHP compilation error with HP UX 11
http://www.mail-archive.com/openpkg-users@openpkg.org/msg00130.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2002 03:42 PM
12-10-2002 03:42 PM
Re: PHP compilation error with HP UX 11
binutils 2.11.2
bison 1.29d
gcc 2.95.2
flex 2.5
And then compile
everything should be fine
Cheers
Rajeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2002 01:02 AM
12-11-2002 01:02 AM
Re: PHP compilation error with HP UX 11
You can also disable mysql if you don't need it !
./configure --disable-mysql ....
I compiled once with gcc 3.1 And it was OK, I never did it with 3.2, but as said Rajeev, with 2.95.2, no pb !
hth
benoit
_____
"Toutes les passions, comme le nom l'indique,
viennent de ce que l'on subit au lieu de gouverner."
Emile Chartier, dit Alain, Minerve ou De la sagesse
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2002 02:03 AM
12-12-2002 02:03 AM
Re: PHP compilation error with HP UX 11
Do you know where can I download the binaries of gcc 2.95.2 ?
Thank you,
Gilles.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2002 02:08 AM
12-12-2002 02:08 AM
Re: PHP compilation error with HP UX 11
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2002 03:57 AM
12-12-2002 03:57 AM
Re: PHP compilation error with HP UX 11
The progress is effective but.....
here is the new error which occurs
Any idea?
Thank you again
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 cgi
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/u0
2/apache/php-4.2.3/ -I/u02/apache/php-4.2.3/main -I/u02/apache/php-4.2.3
/usr/in
clude -I/u02/apache/php-4.2.3/Zend -I/u02/apache/php-4.2.3/ext/mysql/libmysq
l -I
/u02/apache/php-4.2.3/ext/xml/expat -I/u02/apache/php-4.2.3/TSRM -g -O2 -
o ph
p -export-dynamic stub.lo libphp4.la
/usr/ccs/bin/ld: /usr/include: Not a valid object file (invalid system id)
collect2: ld returned 1 exit status
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2002 03:32 PM
12-12-2002 03:32 PM
Re: PHP compilation error with HP UX 11
Here is what i followed and works. Before that include all installed software like gcc,bison,binutils,flex in your path. And follow these steps..
#export INFORMIXDIR=
#export PATH=
#export INFORMIXSERVER=
#gunzip apache_1.3.26.tar.gz
#tar xvf apache_1.3.26.tar
#cd apache_1.3.26
#./configure --prefix=/opt/apache
#cd ../
#gunzip php-4.1.2.tar.gz
#tar xvf php-4.1.2.tar
#cd php-4.1.2
#./configure --with-informix=/usr/informix --with-apache=../apache_1.3.26
#make
#make install
#cd ../apache_1.3.26
#./configure --prefix=/opt/apache
--activate-module=src/modules/php4/libphp4.a
#make
#make install
#cd ../php-4.1.2
#cp php.ini-dist /usr/local/lib/php.ini
edit srm.conf and add an entry
AddType application/x-httpd-php .php