<?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: inability to compile programs, don't know what's wrong in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/inability-to-compile-programs-don-t-know-what-s-wrong/m-p/2741491#M944288</link>
    <description>your PATH problem:&lt;BR /&gt;&lt;BR /&gt;Add the path of the GNUmake in front of your existing PATH:&lt;BR /&gt;PATH=/path_to_gmake:$PATH&lt;BR /&gt;&lt;BR /&gt;OR&lt;BR /&gt;Cleanup eveyrthing, but make sure you do not miss important pathes:&lt;BR /&gt;PATH=/path_to_gmake:/path1_youneed:/path2_you_need:...&lt;BR /&gt;&lt;BR /&gt;Check your .profile, probably you duplicate parts of PATH in there. Also check /etc/PATH (default values for all users) for duplicate entries. Only change /etc/PATH, if you know what you are doing.&lt;BR /&gt;&lt;BR /&gt;Hartmut</description>
    <pubDate>Fri, 14 Jun 2002 07:00:22 GMT</pubDate>
    <dc:creator>Hartmut Lang</dc:creator>
    <dc:date>2002-06-14T07:00:22Z</dc:date>
    <item>
      <title>inability to compile programs, don't know what's wrong</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inability-to-compile-programs-don-t-know-what-s-wrong/m-p/2741482#M944279</link>
      <description>Hi, all.  I don't know if I've got something setup wrong here, or just stupid.  I've never been able to compile programs and run them.  Thankfully, I've been able to get .depots for stuff, but I'm on my own for this program.  Here's what I've got.  &lt;BR /&gt;&lt;BR /&gt;Evidently, I have CC on the workstation (10.20).  I installed GCC.  In this instance, I downloaded and untarred the glib 1.2.10 program.  following the INSTALL file, I run the #./configure command (as root).  attached is the output.  then I go and run the #make install (I will attach here in a moment).  it errors out on me here.  I have never (and I mean that) gotten a make command to compile a program.  I'm not sure what I'm doing.  from the output, it looks like it's calling CC, not GCC.  I'd say that the error would be an extranous character that is throwing off the lines (like a semi-colon dropping to the next line and is all by itself), but the file should be creating itself, so why would it have issues.  I quickly glanced at it, and nothing jumped at me.  I can attach other files if needed (like glib.h).  any ideas as to what's going on here?  Thanks!&lt;BR /&gt;&lt;BR /&gt;Mark&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 10 Jun 2002 19:40:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inability-to-compile-programs-don-t-know-what-s-wrong/m-p/2741482#M944279</guid>
      <dc:creator>Mark Vollmers</dc:creator>
      <dc:date>2002-06-10T19:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: inability to compile programs, don't know what's wrong</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inability-to-compile-programs-don-t-know-what-s-wrong/m-p/2741483#M944280</link>
      <description>sorry about that.  first output</description>
      <pubDate>Mon, 10 Jun 2002 19:41:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inability-to-compile-programs-don-t-know-what-s-wrong/m-p/2741483#M944280</guid>
      <dc:creator>Mark Vollmers</dc:creator>
      <dc:date>2002-06-10T19:41:21Z</dc:date>
    </item>
    <item>
      <title>Re: inability to compile programs, don't know what's wrong</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inability-to-compile-programs-don-t-know-what-s-wrong/m-p/2741484#M944281</link>
      <description>second output</description>
      <pubDate>Mon, 10 Jun 2002 19:41:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inability-to-compile-programs-don-t-know-what-s-wrong/m-p/2741484#M944281</guid>
      <dc:creator>Mark Vollmers</dc:creator>
      <dc:date>2002-06-10T19:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: inability to compile programs, don't know what's wrong</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inability-to-compile-programs-don-t-know-what-s-wrong/m-p/2741485#M944282</link>
      <description>Hi Mark:&lt;BR /&gt;&lt;BR /&gt;You are definitely using the bundled C compiler rather than gcc. If I were you, I would remove gcc and start over. I suspect that you are missing the 'binutils' which are an essential part of gcc. You also need to make sure that gcc, gmake, gas, ... are in your PATH.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 10 Jun 2002 19:51:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inability-to-compile-programs-don-t-know-what-s-wrong/m-p/2741485#M944282</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2002-06-10T19:51:24Z</dc:date>
    </item>
    <item>
      <title>Re: inability to compile programs, don't know what's wrong</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inability-to-compile-programs-don-t-know-what-s-wrong/m-p/2741486#M944283</link>
      <description>Yes you are using cc not gcc!&lt;BR /&gt;As Clay said make sure gcc is in your PATH. And i would suggest, before calling the configure command, set the CC environment to gcc:&lt;BR /&gt; export CC=gcc&lt;BR /&gt; ./configure&lt;BR /&gt; make&lt;BR /&gt;&lt;BR /&gt;Hartmut</description>
      <pubDate>Tue, 11 Jun 2002 04:49:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inability-to-compile-programs-don-t-know-what-s-wrong/m-p/2741486#M944283</guid>
      <dc:creator>Hartmut Lang</dc:creator>
      <dc:date>2002-06-11T04:49:41Z</dc:date>
    </item>
    <item>
      <title>Re: inability to compile programs, don't know what's wrong</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inability-to-compile-programs-don-t-know-what-s-wrong/m-p/2741487#M944284</link>
      <description>Alright.  I'll go ahead and re-install, etc. Got a few questions, though.  What's the difference between the two?  is cc really that bad of a program that it won't compile common stuff that you can download?  if so, why is it included (I mean, gcc is free)?&lt;BR /&gt;&lt;BR /&gt;Mark</description>
      <pubDate>Tue, 11 Jun 2002 13:49:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inability-to-compile-programs-don-t-know-what-s-wrong/m-p/2741487#M944284</guid>
      <dc:creator>Mark Vollmers</dc:creator>
      <dc:date>2002-06-11T13:49:54Z</dc:date>
    </item>
    <item>
      <title>Re: inability to compile programs, don't know what's wrong</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inability-to-compile-programs-don-t-know-what-s-wrong/m-p/2741488#M944285</link>
      <description>Mark,&lt;BR /&gt;&lt;BR /&gt;I believe cc is just a stripped down compiler that HP ships just to build the kernel.&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Tue, 11 Jun 2002 13:51:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inability-to-compile-programs-don-t-know-what-s-wrong/m-p/2741488#M944285</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2002-06-11T13:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: inability to compile programs, don't know what's wrong</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inability-to-compile-programs-don-t-know-what-s-wrong/m-p/2741489#M944286</link>
      <description>The bundled cc is not bad, but it is limited. The biggest limitation is that it speaks only K &amp;amp; R C. Nobody codes in K &amp;amp; R anymore (or at least they shouldn't). The bundled compiler is included for one primary reason - to build new kernels. If you happen to use it to compile other source code, that's just gravy. You will also find that you are missing quite a few other essential tools as well (e.g. yacc). &lt;BR /&gt;&lt;BR /&gt;I'm really not that big a fan of gcc either; it's main virtue is that it is free. I actually prefer to purchase the HP versions so that if there is a bug, I have someone to yell at and they are paid to listen.&lt;BR /&gt;</description>
      <pubDate>Tue, 11 Jun 2002 13:57:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inability-to-compile-programs-don-t-know-what-s-wrong/m-p/2741489#M944286</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2002-06-11T13:57:25Z</dc:date>
    </item>
    <item>
      <title>Re: inability to compile programs, don't know what's wrong</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inability-to-compile-programs-don-t-know-what-s-wrong/m-p/2741490#M944287</link>
      <description>ALright.  I'm in the middle of installing.  I have GNUmake installed, and binutils.  I have compiled the code for gcc, but get an error in building it.  one thing I wanted to do was to make sure that it was looking for gnumake when I use the make command.  I look at PATH, and there's a bunch of stuff in there (some several times).  Now, this may sound dumb, to add something, do I just assign it and it will append this to the list? (PATH=xxx/yyy)  what if I wanted to clear out old stuff in there? &lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;mark</description>
      <pubDate>Wed, 12 Jun 2002 13:00:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inability-to-compile-programs-don-t-know-what-s-wrong/m-p/2741490#M944287</guid>
      <dc:creator>Mark Vollmers</dc:creator>
      <dc:date>2002-06-12T13:00:59Z</dc:date>
    </item>
    <item>
      <title>Re: inability to compile programs, don't know what's wrong</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inability-to-compile-programs-don-t-know-what-s-wrong/m-p/2741491#M944288</link>
      <description>your PATH problem:&lt;BR /&gt;&lt;BR /&gt;Add the path of the GNUmake in front of your existing PATH:&lt;BR /&gt;PATH=/path_to_gmake:$PATH&lt;BR /&gt;&lt;BR /&gt;OR&lt;BR /&gt;Cleanup eveyrthing, but make sure you do not miss important pathes:&lt;BR /&gt;PATH=/path_to_gmake:/path1_youneed:/path2_you_need:...&lt;BR /&gt;&lt;BR /&gt;Check your .profile, probably you duplicate parts of PATH in there. Also check /etc/PATH (default values for all users) for duplicate entries. Only change /etc/PATH, if you know what you are doing.&lt;BR /&gt;&lt;BR /&gt;Hartmut</description>
      <pubDate>Fri, 14 Jun 2002 07:00:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inability-to-compile-programs-don-t-know-what-s-wrong/m-p/2741491#M944288</guid>
      <dc:creator>Hartmut Lang</dc:creator>
      <dc:date>2002-06-14T07:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: inability to compile programs, don't know what's wrong</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inability-to-compile-programs-don-t-know-what-s-wrong/m-p/2741492#M944289</link>
      <description>Or, to cleanout your path and reset it to original values (assuming you use /etc/PATH):&lt;BR /&gt;export PATH=`cat /etc/PATH`:/path_to_gnu_make&lt;BR /&gt;&lt;BR /&gt;Good luck,&lt;BR /&gt;Pete</description>
      <pubDate>Fri, 14 Jun 2002 10:56:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inability-to-compile-programs-don-t-know-what-s-wrong/m-p/2741492#M944289</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2002-06-14T10:56:57Z</dc:date>
    </item>
  </channel>
</rss>

