<?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: perlcc in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/perlcc/m-p/4960078#M101099</link>
    <description>Peter:&lt;BR /&gt;&lt;BR /&gt;Yep, the gcc works ok....&lt;BR /&gt;&lt;BR /&gt;Thx!</description>
    <pubDate>Wed, 15 Feb 2006 12:36:25 GMT</pubDate>
    <dc:creator>Daryll L. Krivanos</dc:creator>
    <dc:date>2006-02-15T12:36:25Z</dc:date>
    <item>
      <title>perlcc</title>
      <link>https://community.hpe.com/t5/operating-system-linux/perlcc/m-p/4960074#M101095</link>
      <description>Greetings,&lt;BR /&gt;&lt;BR /&gt;I have been using the "perlcc" utility to create executable copies of some of my perl scripts.&lt;BR /&gt;&lt;BR /&gt;I had been using a HP-UX 10.20 machine quite succesfully until this machine was retired.&lt;BR /&gt;&lt;BR /&gt;I am now having problems. &lt;BR /&gt;&lt;BR /&gt;I can get the script to compile but the executable aborts and core dumps. (Although I'm not very experienced with "adb" it does seem to point to a segmentation violation)&lt;BR /&gt;&lt;BR /&gt;I've stripped the script down to its' simplest form (basically a "hello world" script) and the executable will still not run.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I am running HP-UX B11.11 U on a RP5470 with Perl5                 B.5.6.1.C and gcc                   4.0.2          gcc&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Has anyone else had similar problems or experiences with perlcc?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 15 Feb 2006 10:26:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/perlcc/m-p/4960074#M101095</guid>
      <dc:creator>Daryll L. Krivanos</dc:creator>
      <dc:date>2006-02-15T10:26:31Z</dc:date>
    </item>
    <item>
      <title>Re: perlcc</title>
      <link>https://community.hpe.com/t5/operating-system-linux/perlcc/m-p/4960075#M101096</link>
      <description>Hello, &lt;BR /&gt;&lt;BR /&gt;What does # file &lt;CORE&gt; says ? Are you running the executables in the same server or 10.20 ? &lt;BR /&gt;&lt;BR /&gt;-Arun&lt;/CORE&gt;</description>
      <pubDate>Wed, 15 Feb 2006 10:30:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/perlcc/m-p/4960075#M101096</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2006-02-15T10:30:06Z</dc:date>
    </item>
    <item>
      <title>Re: perlcc</title>
      <link>https://community.hpe.com/t5/operating-system-linux/perlcc/m-p/4960076#M101097</link>
      <description>Daryl,&lt;BR /&gt;have you tried to compile a simple C code. If that works at least you are ok with the gcc compiler.</description>
      <pubDate>Wed, 15 Feb 2006 10:46:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/perlcc/m-p/4960076#M101097</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2006-02-15T10:46:46Z</dc:date>
    </item>
    <item>
      <title>Re: perlcc</title>
      <link>https://community.hpe.com/t5/operating-system-linux/perlcc/m-p/4960077#M101098</link>
      <description>Arunvijai:&lt;BR /&gt;I am running on the same machine (although the 10.20 executable would run on an 11i machine)&lt;BR /&gt;&lt;BR /&gt;When I do a strings on the core file, the first hint of trouble looks like this:&lt;BR /&gt;&lt;BR /&gt;Enter Option and press &amp;lt; enter &amp;gt; : &lt;BR /&gt;ERROR -&amp;gt; Unknown Option : '&lt;BR /&gt;panic: MUTEX_DESTROY&lt;BR /&gt;pccxgz4l.c&lt;BR /&gt;DynaLoader::boot_DynaLoader&lt;BR /&gt;DynaLoader::dl_unload_file&lt;BR /&gt;DynaLoader::dl_librefs&lt;BR /&gt;PERL_DL_NONLAZY&lt;BR /&gt;DynaLoader::dl_resolve_using&lt;BR /&gt;Usage: DynaLoader::dl_load_file(filename, flags=0)&lt;BR /&gt;Can't make loaded symbols global on this platform while loading %s&lt;BR /&gt;Usage: DynaLoader::dl_find_symbol(libhandle, symbolname)&lt;BR /&gt;Symbol not found&lt;BR /&gt;Usage: DynaLoader::dl_undef_symbols()&lt;BR /&gt;Usage: DynaLoader::dl_install_xsub(perl_name, symref, filename="$Package")&lt;BR /&gt;DynaLoader&lt;BR /&gt;Usage: DynaLoader::dl_error()&lt;BR /&gt;&lt;BR /&gt;Peter:&lt;BR /&gt;Thanks, I'll give that a try and get back after lunch.....&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 15 Feb 2006 10:53:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/perlcc/m-p/4960077#M101098</guid>
      <dc:creator>Daryll L. Krivanos</dc:creator>
      <dc:date>2006-02-15T10:53:50Z</dc:date>
    </item>
    <item>
      <title>Re: perlcc</title>
      <link>https://community.hpe.com/t5/operating-system-linux/perlcc/m-p/4960078#M101099</link>
      <description>Peter:&lt;BR /&gt;&lt;BR /&gt;Yep, the gcc works ok....&lt;BR /&gt;&lt;BR /&gt;Thx!</description>
      <pubDate>Wed, 15 Feb 2006 12:36:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/perlcc/m-p/4960078#M101099</guid>
      <dc:creator>Daryll L. Krivanos</dc:creator>
      <dc:date>2006-02-15T12:36:25Z</dc:date>
    </item>
    <item>
      <title>Re: perlcc</title>
      <link>https://community.hpe.com/t5/operating-system-linux/perlcc/m-p/4960079#M101100</link>
      <description>Daryll,&lt;BR /&gt;having had a closer look this is all a bit experimental ;-) See man perlcc Description Paragraph 2 "The code generated in this way is not guaranteed to work."&lt;BR /&gt;&lt;BR /&gt;I assume you are using different versions of perl/gcc to your 10.20 platform.&lt;BR /&gt;Compile the perl code to c via:&lt;BR /&gt;perlcc hello.pl -c &lt;BR /&gt;which will generate hello.c&lt;BR /&gt;You can then compare the C files between 10.20 and 11.00.&lt;BR /&gt;Also you can then have a go at getting the C to compile with gcc.</description>
      <pubDate>Thu, 16 Feb 2006 05:52:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/perlcc/m-p/4960079#M101100</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2006-02-16T05:52:35Z</dc:date>
    </item>
    <item>
      <title>Re: perlcc</title>
      <link>https://community.hpe.com/t5/operating-system-linux/perlcc/m-p/4960080#M101101</link>
      <description>Thank you Peter,&lt;BR /&gt;&lt;BR /&gt;Unfortunately, the 10.20 systems are retired and I don't have the machine I used to use available to me anymore.&lt;BR /&gt;&lt;BR /&gt;I have found an 11i machine that it works on though and I will be attempting to figure out why it runs there. (oddly enough, gcc isn't even installed on the machine)....but it works....&lt;BR /&gt;&lt;BR /&gt;I wasn't aware of the extent of it's "experimental nature".....I suppose I need to rethink my use of it. I've found the use of executables to be VERY nice and I'm surprised there isn't more interest/support of this feature.&lt;BR /&gt;&lt;BR /&gt;In any event.....thanks for your response.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 16 Feb 2006 09:31:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/perlcc/m-p/4960080#M101101</guid>
      <dc:creator>Daryll L. Krivanos</dc:creator>
      <dc:date>2006-02-16T09:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: perlcc</title>
      <link>https://community.hpe.com/t5/operating-system-linux/perlcc/m-p/4960081#M101102</link>
      <description>Hello, &lt;BR /&gt;&lt;BR /&gt;Probably, it could be due to some library issues ? Just make sure you have correct libraries installed in /usr/local/lib and /usr/lib&lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Thu, 16 Feb 2006 11:18:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/perlcc/m-p/4960081#M101102</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2006-02-16T11:18:47Z</dc:date>
    </item>
    <item>
      <title>Re: perlcc</title>
      <link>https://community.hpe.com/t5/operating-system-linux/perlcc/m-p/4960082#M101103</link>
      <description>Thank you all for your input....&lt;BR /&gt;&lt;BR /&gt;I found the problem to be the version of perl being used. Perl 5.8.7 appeared to do the trick on HP-UX.....&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;&lt;BR /&gt;         Daryll</description>
      <pubDate>Fri, 17 Feb 2006 11:51:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/perlcc/m-p/4960082#M101103</guid>
      <dc:creator>Daryll L. Krivanos</dc:creator>
      <dc:date>2006-02-17T11:51:35Z</dc:date>
    </item>
  </channel>
</rss>

