<?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 Re: PHP compilation error on HP-UX11 64bit in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/php-compilation-error-on-hp-ux11-64bit/m-p/2746809#M69099</link>
    <description>Hello, Im afraid hp-ux version is the problem: we have 11i with gcc 3.0.4 (just doesnt work!) &lt;BR /&gt;&lt;BR /&gt;I have also found links saying that gcc dont compile well on 11i. Now trying to install newer version of gcc - 3.1, hope this helps. &lt;BR /&gt;&lt;BR /&gt;Keep u posted. Thank you.</description>
    <pubDate>Wed, 19 Jun 2002 08:34:16 GMT</pubDate>
    <dc:creator>infolt</dc:creator>
    <dc:date>2002-06-19T08:34:16Z</dc:date>
    <item>
      <title>PHP compilation error on HP-UX11 64bit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/php-compilation-error-on-hp-ux11-64bit/m-p/2746802#M69092</link>
      <description>Hello, compiling php 4.2.1 (same error was with original 4.0.4) on HP-UX 11 64-bit with Apache 1.3.19&lt;BR /&gt;installed, I receive the following error&lt;BR /&gt;-------------------------------------------------------------------------&lt;BR /&gt;Making all in main&lt;BR /&gt;gcc -I. -I/ora04/php-4.2.1/main -I/ora04/php-4.2.1/main -I/ora04/php-4.2.1 -&lt;BR /&gt;I/ora04/php-4.2.1/Zend -I/ora04/php-4.2.1/ext/mysql/libm&lt;BR /&gt;ysql -I/ora04/php-4.2.1/ext/xml/expat  -I/ora04/php-4.2.1/TSRM -g -O2  -c&lt;BR /&gt;main.c &amp;amp;&amp;amp; touch main.lo&lt;BR /&gt;In file included from php_network.h:37,&lt;BR /&gt;                 from /ora04/php-4.2.1/ext/standard/fsock.h:32,&lt;BR /&gt;                 from /ora04/php-4.2.1/ext/standard/php_standard.h:43,&lt;BR /&gt;                 from main.c:52:&lt;BR /&gt;/usr/include/sys/socket.h:199: conflicting types for `socklen_t'&lt;BR /&gt;php.h:114: previous declaration of `socklen_t'&lt;BR /&gt;/usr/include/sys/socket.h:484: parse error before "sendfile"&lt;BR /&gt;/usr/include/sys/socket.h:484: parse error before "bsize_t"&lt;BR /&gt;/usr/include/sys/socket.h:486: parse error before "sendpath"&lt;BR /&gt;/usr/include/sys/socket.h:486: parse error before "bsize_t"&lt;BR /&gt;*** Error exit code 1&lt;BR /&gt;Stop.&lt;BR /&gt;*** Error exit code 1&lt;BR /&gt;Stop.&lt;BR /&gt;*** Error exit code 1&lt;BR /&gt;Stop.&lt;BR /&gt;&lt;BR /&gt;-----------------------------------------------------------&lt;BR /&gt;&lt;BR /&gt;Has anyone experienced the same error? It looks like same environment&lt;BR /&gt;variable definition differs...&lt;BR /&gt;&lt;BR /&gt;Any help will be appreciated.&lt;BR /&gt;&lt;BR /&gt;Thank you.&lt;BR /&gt;</description>
      <pubDate>Tue, 18 Jun 2002 05:59:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/php-compilation-error-on-hp-ux11-64bit/m-p/2746802#M69092</guid>
      <dc:creator>infolt</dc:creator>
      <dc:date>2002-06-18T05:59:46Z</dc:date>
    </item>
    <item>
      <title>Re: PHP compilation error on HP-UX11 64bit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/php-compilation-error-on-hp-ux11-64bit/m-p/2746803#M69093</link>
      <description>&lt;BR /&gt;I will try compiling on a server here (with various compilers) but I cant find it - where did you download php 4.2.1 from ?&lt;BR /&gt;</description>
      <pubDate>Tue, 18 Jun 2002 06:11:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/php-compilation-error-on-hp-ux11-64bit/m-p/2746803#M69093</guid>
      <dc:creator>Stefan Farrelly</dc:creator>
      <dc:date>2002-06-18T06:11:34Z</dc:date>
    </item>
    <item>
      <title>Re: PHP compilation error on HP-UX11 64bit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/php-compilation-error-on-hp-ux11-64bit/m-p/2746804#M69094</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I had exactly the same error when trying to compile perl modules with gcc.&lt;BR /&gt;&lt;BR /&gt;The core of the problem is that gcc is not supported on HPUX 11i (&lt;A href="http://www.gnu.org)." target="_blank"&gt;www.gnu.org).&lt;/A&gt; But, there is a workaround:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://gcc.gnu.org/ml/gcc-bugs/2001-09/msg00139.html" target="_blank"&gt;http://gcc.gnu.org/ml/gcc-bugs/2001-09/msg00139.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Try solution 2 (the one thqt solved my problem).&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;Rik</description>
      <pubDate>Tue, 18 Jun 2002 06:20:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/php-compilation-error-on-hp-ux11-64bit/m-p/2746804#M69094</guid>
      <dc:creator>RikTytgat</dc:creator>
      <dc:date>2002-06-18T06:20:55Z</dc:date>
    </item>
    <item>
      <title>Re: PHP compilation error on HP-UX11 64bit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/php-compilation-error-on-hp-ux11-64bit/m-p/2746805#M69095</link>
      <description>Thank you for your responses. After adding the mentioned lines, I receive the following error&lt;BR /&gt;&lt;BR /&gt;In file included from php_network.h:37,&lt;BR /&gt;                 from /ora04/php-4.2.1/ext/standard/fsock.h:32,&lt;BR /&gt;                 from /ora04/php-4.2.1/ext/standard/php_standard.h:43,&lt;BR /&gt;                 from main.c:52:&lt;BR /&gt;/usr/include/sys/socket.h:199: conflicting types for `socklen_t'&lt;BR /&gt;php.h:114: previous declaration of `socklen_t'&lt;BR /&gt;*** Error exit code 1&lt;BR /&gt;Stop.&lt;BR /&gt;*** Error exit code 1&lt;BR /&gt;Stop.&lt;BR /&gt;*** Error exit code 1&lt;BR /&gt;Stop.</description>
      <pubDate>Tue, 18 Jun 2002 07:19:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/php-compilation-error-on-hp-ux11-64bit/m-p/2746805#M69095</guid>
      <dc:creator>infolt</dc:creator>
      <dc:date>2002-06-18T07:19:55Z</dc:date>
    </item>
    <item>
      <title>Re: PHP compilation error on HP-UX11 64bit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/php-compilation-error-on-hp-ux11-64bit/m-p/2746806#M69096</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Could you try to add the compile flag _HPUX_SOURCE?&lt;BR /&gt;&lt;BR /&gt;As is &lt;BR /&gt;   gcc .... -D_HPUX_SOURCE ...&lt;BR /&gt;&lt;BR /&gt;Bye,&lt;BR /&gt;Rik</description>
      <pubDate>Tue, 18 Jun 2002 07:30:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/php-compilation-error-on-hp-ux11-64bit/m-p/2746806#M69096</guid>
      <dc:creator>RikTytgat</dc:creator>
      <dc:date>2002-06-18T07:30:13Z</dc:date>
    </item>
    <item>
      <title>Re: PHP compilation error on HP-UX11 64bit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/php-compilation-error-on-hp-ux11-64bit/m-p/2746807#M69097</link>
      <description>I believe it used it: heres part of compilation&lt;BR /&gt;&lt;BR /&gt;/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main    -DHPUX11 -DMOD_SSL=208103 -D&lt;BR /&gt;MOD_PERL -DUSE_PERL_SSI -D_POSIX_C_SOURCE=199506L -D_HPUX_SOURCE -DUINT32_MAX_BROKEN -D_LARGEFILE_SOURCE -D_FILE_OFFSET_&lt;BR /&gt;BITS=64 -DUSE_HSREGEX -DEAPI -DEAPI_MM -DUSE_EXPAT -DCHROOT -I../TSRM  -g -O2 -prefer-pic -c -o zend_constants.lo `test&lt;BR /&gt;-f zend_constants.c || echo './'`zend_constants.c&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Unless Im totally off-track...&lt;BR /&gt;&lt;BR /&gt;Do you have any other thoughts? &lt;BR /&gt;&lt;BR /&gt;Thank you. &lt;BR /&gt;&lt;BR /&gt;BTW, php 4.2.1 is from php.net</description>
      <pubDate>Tue, 18 Jun 2002 07:59:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/php-compilation-error-on-hp-ux11-64bit/m-p/2746807#M69097</guid>
      <dc:creator>infolt</dc:creator>
      <dc:date>2002-06-18T07:59:12Z</dc:date>
    </item>
    <item>
      <title>Re: PHP compilation error on HP-UX11 64bit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/php-compilation-error-on-hp-ux11-64bit/m-p/2746808#M69098</link>
      <description>Hello,&lt;BR /&gt;On my side it works, my config is :&lt;BR /&gt;apache 1.3.19, php 4.2.1, compile with gcc 2.95.2,&lt;BR /&gt;OS is HPUX11.00, 64 bit,&lt;BR /&gt;options for configure are :&lt;BR /&gt;./configure  --with-oci8=... --with-mysql=....&lt;BR /&gt; --with-apache=... --enable-track-vars --with-gd=/opt/gd --with-jpeg-dir=/opt/jpeg --with-ldap=...&lt;BR /&gt;&lt;BR /&gt;I compiled php in static mode..&lt;BR /&gt;few warnings, but compilation is OK and it works...</description>
      <pubDate>Wed, 19 Jun 2002 07:11:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/php-compilation-error-on-hp-ux11-64bit/m-p/2746808#M69098</guid>
      <dc:creator>benoit Bruckert</dc:creator>
      <dc:date>2002-06-19T07:11:31Z</dc:date>
    </item>
    <item>
      <title>Re: PHP compilation error on HP-UX11 64bit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/php-compilation-error-on-hp-ux11-64bit/m-p/2746809#M69099</link>
      <description>Hello, Im afraid hp-ux version is the problem: we have 11i with gcc 3.0.4 (just doesnt work!) &lt;BR /&gt;&lt;BR /&gt;I have also found links saying that gcc dont compile well on 11i. Now trying to install newer version of gcc - 3.1, hope this helps. &lt;BR /&gt;&lt;BR /&gt;Keep u posted. Thank you.</description>
      <pubDate>Wed, 19 Jun 2002 08:34:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/php-compilation-error-on-hp-ux11-64bit/m-p/2746809#M69099</guid>
      <dc:creator>infolt</dc:creator>
      <dc:date>2002-06-19T08:34:16Z</dc:date>
    </item>
    <item>
      <title>Re: PHP compilation error on HP-UX11 64bit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/php-compilation-error-on-hp-ux11-64bit/m-p/2746810#M69100</link>
      <description>Nope, didnt help. Same error:&lt;BR /&gt;/usr/include/sys/socket.h:199: conflicting types for `socklen_t'&lt;BR /&gt;php.h:114: previous declaration of `socklen_t'. &lt;BR /&gt;&lt;BR /&gt;Does anyone has compiled version with oci8 and oracle?&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Wed, 19 Jun 2002 09:49:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/php-compilation-error-on-hp-ux11-64bit/m-p/2746810#M69100</guid>
      <dc:creator>infolt</dc:creator>
      <dc:date>2002-06-19T09:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: PHP compilation error on HP-UX11 64bit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/php-compilation-error-on-hp-ux11-64bit/m-p/2746811#M69101</link>
      <description>I did it with oci8, as I described before.&lt;BR /&gt;Can you try with an older gcc if gcc is the problem.&lt;BR /&gt;In theory, there's a binary compatibility with older version. &lt;BR /&gt;Of course you'll not use features of the 64 bits (direct access to high memory). But to use it you need to make your own programs ! I'm not sure you want to create your own php version for 64 bits.&lt;BR /&gt;If you want I can compile a version of httpd for you just to check if it's work on your environnement. All what I need are the options PHP and apache (path and so on). I used to do it between 64 bit and 32 bit hosts and it works.&lt;BR /&gt;warning, httpd binary is about 8 Mbyte !</description>
      <pubDate>Thu, 20 Jun 2002 07:41:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/php-compilation-error-on-hp-ux11-64bit/m-p/2746811#M69101</guid>
      <dc:creator>benoit Bruckert</dc:creator>
      <dc:date>2002-06-20T07:41:56Z</dc:date>
    </item>
    <item>
      <title>Re: PHP compilation error on HP-UX11 64bit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/php-compilation-error-on-hp-ux11-64bit/m-p/2746812#M69102</link>
      <description>That would be GREAT if u try to compile it! I've spent the last two days playing with it, and now Im almost on the edge! ;-) &lt;BR /&gt;&lt;BR /&gt;config as follows:&lt;BR /&gt;--with-apxs=/opt/apache/bin/apxs --enable-track-vars&lt;BR /&gt;--with-oci8=/oracle/product/8.1.7&lt;BR /&gt;--with-oracle=/oracle/product/8.1.7 --enable-sigchild&lt;BR /&gt;&lt;BR /&gt;would greatly appreciate it! &lt;BR /&gt;&lt;BR /&gt;BTW, 8Mb is not a problem - we've put 15Mb limit! dima@klasco.lt is the email. THANK U!</description>
      <pubDate>Thu, 20 Jun 2002 09:07:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/php-compilation-error-on-hp-ux11-64bit/m-p/2746812#M69102</guid>
      <dc:creator>infolt</dc:creator>
      <dc:date>2002-06-20T09:07:07Z</dc:date>
    </item>
    <item>
      <title>Re: PHP compilation error on HP-UX11 64bit</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/php-compilation-error-on-hp-ux11-64bit/m-p/2746813#M69103</link>
      <description>A long answer due to a long W.E. !&lt;BR /&gt;Hope it's not to late and you are still alive !&lt;BR /&gt;I never succeded to compile with apxs, then I created a static mode with APache.&lt;BR /&gt;I changed in fact --with-apxs with --with_apache=&lt;SOURCE dir="" of="" apache=""&gt;, in your request.&lt;BR /&gt;Options I used to create httpd are :&lt;BR /&gt;./configure "--with-layout=Apache" "--prefix=/home/http" "--sysconfdir=/home/http/etc" "--disable-module=all" "--enable-module=so" "--activate-module=src/modules/php4/libphp4.a" &lt;BR /&gt;Don't forget to copy php.ini in /usr/local/lib and place the good options.&lt;BR /&gt;I didn't try entirely the httpd because my filesystems aren't the same as yours. but httpd -l and httpd-v works !.&lt;BR /&gt;Don't forget also to configure your httpd.conf .&lt;BR /&gt;I send to your address the httpd file !&lt;BR /&gt;&lt;/SOURCE&gt;</description>
      <pubDate>Mon, 24 Jun 2002 07:22:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/php-compilation-error-on-hp-ux11-64bit/m-p/2746813#M69103</guid>
      <dc:creator>benoit Bruckert</dc:creator>
      <dc:date>2002-06-24T07:22:54Z</dc:date>
    </item>
  </channel>
</rss>

