<?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: Perl modules' compilation errors in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-modules-compilation-errors/m-p/2903818#M719643</link>
    <description>It works now!  I had to recompile gcc from the source at the porting center.  There are two threads I found in itrc that talk about the problems with 11.00 and 11.11, which I listed below if you wish to read them.  I appreciate all your help.  &lt;BR /&gt;&lt;BR /&gt;If there is anything I can do to help on the 11i front let me know. I have 4 11i boxes, two are test environments.  &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xbdd191ccb36bd611abdb0090277a778c,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xbdd191ccb36bd611abdb0090277a778c,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xbbc9996c5988d5118ff10090279cd0f9,00.htm" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xbbc9996c5988d5118ff10090279cd0f9,00.htm&lt;/A&gt;</description>
    <pubDate>Thu, 13 Feb 2003 18:27:16 GMT</pubDate>
    <dc:creator>James Specht</dc:creator>
    <dc:date>2003-02-13T18:27:16Z</dc:date>
    <item>
      <title>Perl modules' compilation errors</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-modules-compilation-errors/m-p/2903811#M719636</link>
      <description>I'm trying to install perl modules and I am receiving the error below during most compiles.  I've searched the web and it looks like HP-ux 11i has some problem with either the types.h lib or the socket.h lib, but no one has a solution to the problem.  I tried the HP C compiler with no better results.  I replaced the current socket.h lib with one saved from patch PHNE_28089, no difference.  I tried compiling on a different HPux 11i system that has nothing but HPux software (everything is from the original install CD, minus patches of course) and I get the same result.&lt;BR /&gt;&lt;BR /&gt;Does anyone have a solution or a direction to try that I am missing?&lt;BR /&gt;&lt;BR /&gt;Error Message&lt;BR /&gt;********************************&lt;BR /&gt;# make&lt;BR /&gt; gcc -c    -D_HPUX_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE     -DVERSION=\"1.32\"  -DXS_VERSION=\"1.32\" -fPIC "-I/usr/local/lib/perl5/5.8.0/PA-RISC2.0/CORE"  -Wall -Wno-comment -DDBI_NO_THREADS Perl.c&lt;BR /&gt;In file included from /usr/local/lib/perl5/5.8.0/PA-RISC2.0/CORE/perl.h:681,&lt;BR /&gt;                 from DBIXS.h:19,&lt;BR /&gt;                 from Perl.xs:1:&lt;BR /&gt;/usr/include/sys/socket.h:484: parse error before "sendfile"&lt;BR /&gt;/usr/include/sys/socket.h:485: 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:487: parse error before "bsize_t"&lt;BR /&gt;*** Error exit code 1&lt;BR /&gt;&lt;BR /&gt;Stop.&lt;BR /&gt;#&lt;BR /&gt;********************************&lt;BR /&gt;Hardward     HP K450&lt;BR /&gt;********************************&lt;BR /&gt;Software Versions&lt;BR /&gt;  HP-UX      11.11&lt;BR /&gt;  B3901BA    B.11.11.04     HP C/ANSI C&lt;BR /&gt;  bison      1.875 &lt;BR /&gt;  flex       2.5.4a &lt;BR /&gt;  gcc        3.2&lt;BR /&gt;  libiconv   1.8&lt;BR /&gt;  make       3.79.1&lt;BR /&gt;  mysql      3.23.54a&lt;BR /&gt;  ncurses    5.2&lt;BR /&gt;  openldap   2.1.3&lt;BR /&gt;  openssl    0.9.7&lt;BR /&gt;  perl       5.8.0&lt;BR /&gt;  zlib       1.1.4&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Feb 2003 13:39:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-modules-compilation-errors/m-p/2903811#M719636</guid>
      <dc:creator>James Specht</dc:creator>
      <dc:date>2003-02-13T13:39:03Z</dc:date>
    </item>
    <item>
      <title>Re: Perl modules' compilation errors</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-modules-compilation-errors/m-p/2903812#M719637</link>
      <description>I don't know if you will be happy with my reply, but from what you post, it looks like you've got a precompiled perl binary from somewhere that was built with gcc.&lt;BR /&gt;&lt;BR /&gt;You *do* however have a HP C-ANSI-C compiler available, which causes my first proposal: Recompile perl from scratch! You will gain 25% speed and all modules you want to add are going to cause less trouble.&lt;BR /&gt;&lt;BR /&gt;That being said, and knowing that it will take a lot of time, you could decide to uninstall this perl and reinstall my build from &lt;A href="http://www.cmve.net/~merijn" target="_blank"&gt;http://www.cmve.net/~merijn&lt;/A&gt; or &lt;A href="https://www.beepz.com/personal/merijn" target="_blank"&gt;https://www.beepz.com/personal/merijn&lt;/A&gt; that has a prebuild DBI included already, and is also Oracle prepared.&lt;BR /&gt;&lt;BR /&gt;If neither is an option, I'd like to see the output of 'perl -V', because it is possible that the gcc perl is built with is 2.x, whereas you are using 3.2, which is quite different.&lt;BR /&gt;&lt;BR /&gt;Enjoy, have FUN! H.Merijn</description>
      <pubDate>Thu, 13 Feb 2003 14:26:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-modules-compilation-errors/m-p/2903812#M719637</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2003-02-13T14:26:06Z</dc:date>
    </item>
    <item>
      <title>Re: Perl modules' compilation errors</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-modules-compilation-errors/m-p/2903813#M719638</link>
      <description>Here is the output from the perl -V.  Also, I get all my binaries from the software porting center for HPux.&lt;BR /&gt;&lt;BR /&gt;Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:&lt;BR /&gt;  Platform:&lt;BR /&gt;    osname=hpux, osvers=11.00, archname=PA-RISC2.0&lt;BR /&gt;    uname='hp-ux quioch b.11.00 a 9000780 2012209406 two-user license '&lt;BR /&gt;    config_args='-d -e -Dcc=gcc -Dprefix=/usr/local useposix=true'&lt;BR /&gt;    hint=recommended, useposix=true, d_sigaction=define&lt;BR /&gt;    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef&lt;BR /&gt;    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef&lt;BR /&gt;    use64bitint=undef use64bitall=undef uselongdouble=undef&lt;BR /&gt;    usemymalloc=n, bincompat5005=undef&lt;BR /&gt;  Compiler:&lt;BR /&gt;    cc='gcc', ccflags ='-D_HPUX_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE',&lt;BR /&gt;    optimize='',&lt;BR /&gt;    cppflags='-D_HPUX_SOURCE -D_HPUX_SOURCE -fno-strict-aliasing'&lt;BR /&gt;    ccversion='', gccversion='3.2', gccosandvers='hpux11.00'&lt;BR /&gt;    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321&lt;BR /&gt;    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16&lt;BR /&gt;    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=4&lt;BR /&gt;    alignbytes=8, prototype=define&lt;BR /&gt;  Linker and Libraries:&lt;BR /&gt;    ld='/usr/bin/ld', ldflags =' -L/usr/local/lib -L/opt/local/lib'&lt;BR /&gt;    libpth=/usr/local/lib /opt/local/lib /lib /usr/lib /usr/ccs/lib&lt;BR /&gt;    libs=-lcl -lpthread -lnsl -lnm -lndbm -lgdbm -ldb -lmalloc -ldld -lm -lc -lndir -lcrypt -lsec&lt;BR /&gt;    perllibs=-lcl -lpthread -lnsl -lnm -lmalloc -ldld -lm -lc -lndir -lcrypt -lsec&lt;BR /&gt;    libc=/lib/libc.sl, so=sl, useshrplib=false, libperl=libperl.a&lt;BR /&gt;    gnulibc_version=''&lt;BR /&gt;  Dynamic Linking:&lt;BR /&gt;    dlsrc=dl_hpux.xs, dlext=sl, d_dlsymun=undef, ccdlflags='-Wl,-E -Wl,-B,deferred '&lt;BR /&gt;    cccdlflags='-fPIC', lddlflags='-b -L/usr/local/lib -L/opt/local/lib'&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Characteristics of this binary (from libperl):&lt;BR /&gt;  Compile-time options: USE_LARGE_FILES&lt;BR /&gt;  Built under hpux&lt;BR /&gt;  Compiled at Aug 29 2002 16:13:57&lt;BR /&gt;  @INC:&lt;BR /&gt;    /usr/local/lib/perl5/5.8.0/PA-RISC2.0&lt;BR /&gt;    /usr/local/lib/perl5/5.8.0&lt;BR /&gt;    /usr/local/lib/perl5/site_perl/5.8.0/PA-RISC2.0&lt;BR /&gt;    /usr/local/lib/perl5/site_perl/5.8.0&lt;BR /&gt;    /usr/local/lib/perl5/site_perl&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Feb 2003 14:53:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-modules-compilation-errors/m-p/2903813#M719638</guid>
      <dc:creator>James Specht</dc:creator>
      <dc:date>2003-02-13T14:53:46Z</dc:date>
    </item>
    <item>
      <title>Re: Perl modules' compilation errors</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-modules-compilation-errors/m-p/2903814#M719639</link>
      <description>I've mailed the porter of both perl and gcc of the porting center to have a look at your question. As long as you don't recompile everything yourself, I cannot help at this point, since I don't have 11i. Sorry.&lt;BR /&gt;&lt;BR /&gt;FWIW, the gcc you have should be OK for the tasks involved.&lt;BR /&gt;&lt;BR /&gt;Enjoy, have FUN! H.Merijn</description>
      <pubDate>Thu, 13 Feb 2003 15:08:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-modules-compilation-errors/m-p/2903814#M719639</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2003-02-13T15:08:50Z</dc:date>
    </item>
    <item>
      <title>Re: Perl modules' compilation errors</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-modules-compilation-errors/m-p/2903815#M719640</link>
      <description>Thanks for all your help.  I'm looking into the issue of having a gcc compiled on 11.00 vs 11.11.  Some of the itrc boards talk about this being a problem with the socket.h file changes between 11.00 and 11.11.  Right now I am downloading the source for gcc and will compile it on the system to see if this fixes anything.</description>
      <pubDate>Thu, 13 Feb 2003 15:15:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-modules-compilation-errors/m-p/2903815#M719640</guid>
      <dc:creator>James Specht</dc:creator>
      <dc:date>2003-02-13T15:15:45Z</dc:date>
    </item>
    <item>
      <title>Re: Perl modules' compilation errors</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-modules-compilation-errors/m-p/2903816#M719641</link>
      <description>on &lt;A href="http://www.cmve.net/~merijn" target="_blank"&gt;http://www.cmve.net/~merijn&lt;/A&gt; or &lt;A href="https://www.beepz.com/personal/merijn" target="_blank"&gt;https://www.beepz.com/personal/merijn&lt;/A&gt; you can get both precompiled gcc and perl with DBI for 11.00 if that might be of any help&lt;BR /&gt;&lt;BR /&gt;Enjoy, have FUN! H.Merijn</description>
      <pubDate>Thu, 13 Feb 2003 15:18:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-modules-compilation-errors/m-p/2903816#M719641</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2003-02-13T15:18:22Z</dc:date>
    </item>
    <item>
      <title>Re: Perl modules' compilation errors</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-modules-compilation-errors/m-p/2903817#M719642</link>
      <description>Here's his disappointing answer:&lt;BR /&gt;&lt;BR /&gt;--8&amp;lt;---&lt;BR /&gt;Hi&lt;BR /&gt;&lt;BR /&gt;Sorry sending you this, But for some reason I can 't login to ITRC to respond &lt;BR /&gt;to James 's question.&lt;BR /&gt;&lt;BR /&gt;The Binary on the Archive have been tested on 11.00 and 11.20 (IA64) and 11.22&lt;BR /&gt;(IA64) platforms. Like yourself we don't have any access to 11i(11.11) platform.&lt;BR /&gt;&lt;BR /&gt;Some probelm has been reported in regard gcc on 11i, But we can 't confirm&lt;BR /&gt;anything till we test the program ourself.&lt;BR /&gt;&lt;BR /&gt;Which modules is he trying to compile?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;   __mehdi&lt;BR /&gt;--&amp;gt;8---&lt;BR /&gt;&lt;BR /&gt;I did answer his questions. Hope he can chime in later.&lt;BR /&gt;&lt;BR /&gt;Enjoy, have FUN! H.Merijn</description>
      <pubDate>Thu, 13 Feb 2003 16:30:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-modules-compilation-errors/m-p/2903817#M719642</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2003-02-13T16:30:16Z</dc:date>
    </item>
    <item>
      <title>Re: Perl modules' compilation errors</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-modules-compilation-errors/m-p/2903818#M719643</link>
      <description>It works now!  I had to recompile gcc from the source at the porting center.  There are two threads I found in itrc that talk about the problems with 11.00 and 11.11, which I listed below if you wish to read them.  I appreciate all your help.  &lt;BR /&gt;&lt;BR /&gt;If there is anything I can do to help on the 11i front let me know. I have 4 11i boxes, two are test environments.  &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xbdd191ccb36bd611abdb0090277a778c,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xbdd191ccb36bd611abdb0090277a778c,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xbbc9996c5988d5118ff10090279cd0f9,00.htm" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xbbc9996c5988d5118ff10090279cd0f9,00.htm&lt;/A&gt;</description>
      <pubDate>Thu, 13 Feb 2003 18:27:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-modules-compilation-errors/m-p/2903818#M719643</guid>
      <dc:creator>James Specht</dc:creator>
      <dc:date>2003-02-13T18:27:16Z</dc:date>
    </item>
    <item>
      <title>Re: Perl modules' compilation errors</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-modules-compilation-errors/m-p/2903819#M719644</link>
      <description>any chance for a telnet option? I'd love to be able to extend my download section with 11i builds.&lt;BR /&gt;&lt;BR /&gt;Enjoy, have FUN! H.Merijn</description>
      <pubDate>Thu, 13 Feb 2003 19:33:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-modules-compilation-errors/m-p/2903819#M719644</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2003-02-13T19:33:58Z</dc:date>
    </item>
    <item>
      <title>Re: Perl modules' compilation errors</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-modules-compilation-errors/m-p/2903820#M719645</link>
      <description>Hi James&lt;BR /&gt;&lt;BR /&gt;Sorry about yesterday. Somehow I couldn't login to respond to your problem.  But Merijn kindly forwarded my email.&lt;BR /&gt;&lt;BR /&gt;I am glad your problem has been solved, I had the feeling gcc is the problem.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;__Mehdi</description>
      <pubDate>Fri, 14 Feb 2003 09:37:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-modules-compilation-errors/m-p/2903820#M719645</guid>
      <dc:creator>Mehdi_1</dc:creator>
      <dc:date>2003-02-14T09:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: Perl modules' compilation errors</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/perl-modules-compilation-errors/m-p/2903821#M719646</link>
      <description>procura,&lt;BR /&gt;  If you are serious about your request, no telnet access but ssh through vpn is possible, shoot me an email at jspecht@owens.edu and we can discuss it.  Once again thanks for your help.</description>
      <pubDate>Fri, 14 Feb 2003 14:23:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/perl-modules-compilation-errors/m-p/2903821#M719646</guid>
      <dc:creator>James Specht</dc:creator>
      <dc:date>2003-02-14T14:23:07Z</dc:date>
    </item>
  </channel>
</rss>

