<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Compilation error with PHP in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/compilation-error-with-php/m-p/2863273#M96735</link>
    <description>Hello, &lt;BR /&gt;I try to compile PHP 2.4.2&lt;BR /&gt;with the option --with-apxs=/&lt;BR /&gt;&lt;BR /&gt;the here under error occurs.&lt;BR /&gt;&lt;BR /&gt;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?&lt;BR /&gt;&lt;BR /&gt;Thank you for your help,&lt;BR /&gt;&lt;BR /&gt;Gilles.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;./configure --prefix=/opt/php --enable-so --with-apxs=/opt/apache/bin/apxs  &lt;BR /&gt;--enable-libgcc&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Making all in Zend&lt;BR /&gt;Making all in main&lt;BR /&gt;Making all in ext&lt;BR /&gt;Making all in ctype&lt;BR /&gt;Making all in mysql&lt;BR /&gt;Making all in libmysql&lt;BR /&gt;Making all in pcre&lt;BR /&gt;Making all in pcrelib&lt;BR /&gt;Making all in posix&lt;BR /&gt;Making all in session&lt;BR /&gt;Making all in standard&lt;BR /&gt;Making all in xml&lt;BR /&gt;Making all in expat&lt;BR /&gt;Making all in sapi&lt;BR /&gt;Making all in apache&lt;BR /&gt;Making all in TSRM&lt;BR /&gt;Making all in regex&lt;BR /&gt;Making all in .&lt;BR /&gt;        /bin/sh /u02/apache/php-4.2.3/libtool --silent --mode=link&lt;BR /&gt;gcc  -I. -I/&lt;BR /&gt;02/apache/php-4.2.3/ -I/u02/apache/php-4.2.3/main -I/u02/apache/php-4.2.3 -I&lt;BR /&gt;/op&lt;BR /&gt;/apache/include -I/u02/apache/php-4.2.3/Zend -I/u02/apache/php-4.2.3/ext/mys&lt;BR /&gt;ql/&lt;BR /&gt;ibmysql -I/u02/apache/php-4.2.3/ext/xml/expat  -DHPUX11 -DMOD_SSL=208111 -DU&lt;BR /&gt;SE_&lt;BR /&gt;SREGEX -DEAPI -DEAPI_MM -DUSE_EXPAT -DCHROOT -I/u02/apache/php-4.2.3/TSRM -g&lt;BR /&gt; -O&lt;BR /&gt; -prefer-pic   -o libphp4.la -rpath&lt;BR /&gt;/u02/apache/php-4.2.3/libs -avoid-version -&lt;BR /&gt;/usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.2  -R&lt;BR /&gt;/usr/local/lib/gcc-lib/hpp&lt;BR /&gt;2.0n-hp-hpux11.00/3.2 stub.lo  Zend/libZend.la  sapi/apache/libsapi.la&lt;BR /&gt;main/li&lt;BR /&gt;main.la  regex/libregex.la  /u02/apache/php-4.2.3/ext/ctype/libctype.la&lt;BR /&gt;/u02/ap&lt;BR /&gt;che/php-4.2.3/ext/mysql/libmysql.la&lt;BR /&gt;/u02/apache/php-4.2.3/ext/pcre/libpcre.la /&lt;BR /&gt;02/apache/php-4.2.3/ext/posix/libposix.la&lt;BR /&gt;/u02/apache/php-4.2.3/ext/session/lib&lt;BR /&gt;ession.la /u02/apache/php-4.2.3/ext/standard/libstandard.la&lt;BR /&gt;/u02/apache/php-4.2&lt;BR /&gt;3/ext/xml/libxml.la  TSRM/libtsrm.la -lpam -lcrypt -lm -lnsl -lgcc -lcrypt&lt;BR /&gt;&lt;BR /&gt;*** Warning: This library needs some functionality provided by -lcrypt.&lt;BR /&gt;*** I have the capability to make that library automatically link in when&lt;BR /&gt;*** you link to this library.  But I can only do this if you have a&lt;BR /&gt;*** shared version of the library, which you do not appear to have.&lt;BR /&gt;&lt;BR /&gt;*** Warning: This library needs some functionality provided by -lgcc.&lt;BR /&gt;*** I have the capability to make that library automatically link in when&lt;BR /&gt;*** you link to this library.  But I can only do this if you have a&lt;BR /&gt;*** shared version of the library, which you do not appear to have.&lt;BR /&gt;&lt;BR /&gt;*** Warning: This library needs some functionality provided by -lcrypt.&lt;BR /&gt;*** I have the capability to make that library automatically link in when&lt;BR /&gt;*** you link to this library.  But I can only do this if you have a&lt;BR /&gt;*** shared version of the library, which you do not appear to have.&lt;BR /&gt;*** The inter-library dependencies that have been dropped here will be&lt;BR /&gt;*** automatically added whenever a program is linked with this library&lt;BR /&gt;*** or is declared to -dlopen it.&lt;BR /&gt;/usr/ccs/bin/ld: Unexpected end of file in&lt;BR /&gt;.libs/libphp4.lax/libmain.al/main.lo&lt;BR /&gt;*** Error exit code 1&lt;BR /&gt;&lt;BR /&gt;Stop.&lt;BR /&gt;*** Error exit code 1&lt;BR /&gt;&lt;BR /&gt;Stop.</description>
    <pubDate>Thu, 12 Dec 2002 15:35:23 GMT</pubDate>
    <dc:creator>brutkiewicz</dc:creator>
    <dc:date>2002-12-12T15:35:23Z</dc:date>
    <item>
      <title>Compilation error with PHP</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compilation-error-with-php/m-p/2863273#M96735</link>
      <description>Hello, &lt;BR /&gt;I try to compile PHP 2.4.2&lt;BR /&gt;with the option --with-apxs=/&lt;BR /&gt;&lt;BR /&gt;the here under error occurs.&lt;BR /&gt;&lt;BR /&gt;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?&lt;BR /&gt;&lt;BR /&gt;Thank you for your help,&lt;BR /&gt;&lt;BR /&gt;Gilles.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;./configure --prefix=/opt/php --enable-so --with-apxs=/opt/apache/bin/apxs  &lt;BR /&gt;--enable-libgcc&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Making all in Zend&lt;BR /&gt;Making all in main&lt;BR /&gt;Making all in ext&lt;BR /&gt;Making all in ctype&lt;BR /&gt;Making all in mysql&lt;BR /&gt;Making all in libmysql&lt;BR /&gt;Making all in pcre&lt;BR /&gt;Making all in pcrelib&lt;BR /&gt;Making all in posix&lt;BR /&gt;Making all in session&lt;BR /&gt;Making all in standard&lt;BR /&gt;Making all in xml&lt;BR /&gt;Making all in expat&lt;BR /&gt;Making all in sapi&lt;BR /&gt;Making all in apache&lt;BR /&gt;Making all in TSRM&lt;BR /&gt;Making all in regex&lt;BR /&gt;Making all in .&lt;BR /&gt;        /bin/sh /u02/apache/php-4.2.3/libtool --silent --mode=link&lt;BR /&gt;gcc  -I. -I/&lt;BR /&gt;02/apache/php-4.2.3/ -I/u02/apache/php-4.2.3/main -I/u02/apache/php-4.2.3 -I&lt;BR /&gt;/op&lt;BR /&gt;/apache/include -I/u02/apache/php-4.2.3/Zend -I/u02/apache/php-4.2.3/ext/mys&lt;BR /&gt;ql/&lt;BR /&gt;ibmysql -I/u02/apache/php-4.2.3/ext/xml/expat  -DHPUX11 -DMOD_SSL=208111 -DU&lt;BR /&gt;SE_&lt;BR /&gt;SREGEX -DEAPI -DEAPI_MM -DUSE_EXPAT -DCHROOT -I/u02/apache/php-4.2.3/TSRM -g&lt;BR /&gt; -O&lt;BR /&gt; -prefer-pic   -o libphp4.la -rpath&lt;BR /&gt;/u02/apache/php-4.2.3/libs -avoid-version -&lt;BR /&gt;/usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.2  -R&lt;BR /&gt;/usr/local/lib/gcc-lib/hpp&lt;BR /&gt;2.0n-hp-hpux11.00/3.2 stub.lo  Zend/libZend.la  sapi/apache/libsapi.la&lt;BR /&gt;main/li&lt;BR /&gt;main.la  regex/libregex.la  /u02/apache/php-4.2.3/ext/ctype/libctype.la&lt;BR /&gt;/u02/ap&lt;BR /&gt;che/php-4.2.3/ext/mysql/libmysql.la&lt;BR /&gt;/u02/apache/php-4.2.3/ext/pcre/libpcre.la /&lt;BR /&gt;02/apache/php-4.2.3/ext/posix/libposix.la&lt;BR /&gt;/u02/apache/php-4.2.3/ext/session/lib&lt;BR /&gt;ession.la /u02/apache/php-4.2.3/ext/standard/libstandard.la&lt;BR /&gt;/u02/apache/php-4.2&lt;BR /&gt;3/ext/xml/libxml.la  TSRM/libtsrm.la -lpam -lcrypt -lm -lnsl -lgcc -lcrypt&lt;BR /&gt;&lt;BR /&gt;*** Warning: This library needs some functionality provided by -lcrypt.&lt;BR /&gt;*** I have the capability to make that library automatically link in when&lt;BR /&gt;*** you link to this library.  But I can only do this if you have a&lt;BR /&gt;*** shared version of the library, which you do not appear to have.&lt;BR /&gt;&lt;BR /&gt;*** Warning: This library needs some functionality provided by -lgcc.&lt;BR /&gt;*** I have the capability to make that library automatically link in when&lt;BR /&gt;*** you link to this library.  But I can only do this if you have a&lt;BR /&gt;*** shared version of the library, which you do not appear to have.&lt;BR /&gt;&lt;BR /&gt;*** Warning: This library needs some functionality provided by -lcrypt.&lt;BR /&gt;*** I have the capability to make that library automatically link in when&lt;BR /&gt;*** you link to this library.  But I can only do this if you have a&lt;BR /&gt;*** shared version of the library, which you do not appear to have.&lt;BR /&gt;*** The inter-library dependencies that have been dropped here will be&lt;BR /&gt;*** automatically added whenever a program is linked with this library&lt;BR /&gt;*** or is declared to -dlopen it.&lt;BR /&gt;/usr/ccs/bin/ld: Unexpected end of file in&lt;BR /&gt;.libs/libphp4.lax/libmain.al/main.lo&lt;BR /&gt;*** Error exit code 1&lt;BR /&gt;&lt;BR /&gt;Stop.&lt;BR /&gt;*** Error exit code 1&lt;BR /&gt;&lt;BR /&gt;Stop.</description>
      <pubDate>Thu, 12 Dec 2002 15:35:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compilation-error-with-php/m-p/2863273#M96735</guid>
      <dc:creator>brutkiewicz</dc:creator>
      <dc:date>2002-12-12T15:35:23Z</dc:date>
    </item>
    <item>
      <title>Re: Compilation error with PHP</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compilation-error-with-php/m-p/2863274#M96736</link>
      <description>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 : &lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x531c36e69499d611abdb0090277a778c,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x531c36e69499d611abdb0090277a778c,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;About oci8, You need at least Oracle library installed to compile with OCI8.&lt;BR /&gt;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 !!!&lt;BR /&gt;&lt;BR /&gt;hth&lt;BR /&gt;Benoit&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 12 Dec 2002 15:58:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compilation-error-with-php/m-p/2863274#M96736</guid>
      <dc:creator>benoit Bruckert</dc:creator>
      <dc:date>2002-12-12T15:58:36Z</dc:date>
    </item>
  </channel>
</rss>

