- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- inability to compile programs, don't know what's w...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2002 12:40 PM
06-10-2002 12:40 PM
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!
Mark
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2002 12:41 PM
06-10-2002 12:41 PM
Re: inability to compile programs, don't know what's wrong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2002 12:41 PM
06-10-2002 12:41 PM
Re: inability to compile programs, don't know what's wrong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2002 12:51 PM
06-10-2002 12:51 PM
SolutionYou 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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-10-2002 09:49 PM
06-10-2002 09:49 PM
Re: inability to compile programs, don't know what's wrong
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:
export CC=gcc
./configure
make
Hartmut
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2002 06:49 AM
06-11-2002 06:49 AM
Re: inability to compile programs, don't know what's wrong
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2002 06:51 AM
06-11-2002 06:51 AM
Re: inability to compile programs, don't know what's wrong
I believe cc is just a stripped down compiler that HP ships just to build the kernel.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2002 06:57 AM
06-11-2002 06:57 AM
Re: inability to compile programs, don't know what's wrong
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2002 06:00 AM
06-12-2002 06:00 AM
Re: inability to compile programs, don't know what's wrong
Thanks.
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2002 12:00 AM
06-14-2002 12:00 AM
Re: inability to compile programs, don't know what's wrong
Add the path of the GNUmake in front of your existing PATH:
PATH=/path_to_gmake:$PATH
OR
Cleanup eveyrthing, but make sure you do not miss important pathes:
PATH=/path_to_gmake:/path1_youneed:/path2_you_need:...
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.
Hartmut
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2002 03:56 AM
06-14-2002 03:56 AM
Re: inability to compile programs, don't know what's wrong
export PATH=`cat /etc/PATH`:/path_to_gnu_make
Good luck,
Pete
Pete