Blogs Classifieds Downloads FlashChat Gallery Googlemap Invite Friends Links Projects Reviews Wiki
 


Welcome to the pSeries Tech Forums, our free peer-based support site for administrators, engineers and architects working with IBM pSeries servers and software.

You are currently viewing our site as a guest which gives you limited access to view most discussions, articles, tutorials and access our other free features. By joining our community you will be able to collaborate with administrators, engineers and architects charged with designing, delivering or maintaining IBM pSeries server environments.

Founded by a recognized IBM pSeries consultant and IBM Redbook author, pSeries Tech Forums was developed with the single mission of bringing IBM pSeries professionals together into a single self-help community.

Registration is fast, simple and absolutely free to all IT professionals with responsibility for or interest in IBM pSeries servers. We invite you to join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

Our Sponsors
Want to advertise?  


Reply
 
LinkBack Thread Tools
  #1  
Old November 13th, 2007
capeme's Avatar
capeme Offline
Member
 
Join Date: July 2006
Posts: 39
Help installing a compiler

Can anyone help me with installing and configuring gcc/g++ in AIX?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2  
Old November 13th, 2007
mshulman1980's Avatar
mshulman1980 Offline
Member
 
Join Date: October 2006
Posts: 38
Re: Help installing a compiler

what kind of help do you need specifically?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old November 13th, 2007
capeme's Avatar
capeme Offline
Member
 
Join Date: July 2006
Posts: 39
Re: Help installing a compiler

what files do I need for a simple install??Gcc and g++ or just gcc? Any other rpm's?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old November 14th, 2007
ross.mather's Avatar
ross.mather Offline
Senior Member
 
Join Date: January 2007
Location: Nomadic in the UK
Posts: 407
Re: Help installing a compiler

You can get the relevant rpms from the following website:

IBM AIX Toolbox for Linux Applications - GNU and open source tools for AIX
__________________
Ross Mather, IBM AIX IT Specialist.
That said anything I say here is my own opinion and not anything that you can ever hold against IBM.
Ohhh and don't forget that I make mistakes too....
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old November 14th, 2007
capeme's Avatar
capeme Offline
Member
 
Join Date: July 2006
Posts: 39
Re: Help installing a compiler

once you install the rpm's do you need to do anything???I am running configure and then make on an app and it keeps telling me I have no compiler installed but I have installed gcc...maybe I need to specify path??how do I figure out path?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old November 14th, 2007
ross.mather's Avatar
ross.mather Offline
Senior Member
 
Join Date: January 2007
Location: Nomadic in the UK
Posts: 407
Re: Help installing a compiler

Once you've installed it - try logging out and then back in again - that may update any variables that need updating.

To see how the PATh is set do:
echo $PATH

to add something to the path:
PATH=${PATH}:/usr/add/path/here

Verify if gcc is in your path with:
which gcc

If that doesn't work try:
find / -name gcc -print 2> /dev/null

To see if you actually installed the compiler.
__________________
Ross Mather, IBM AIX IT Specialist.
That said anything I say here is my own opinion and not anything that you can ever hold against IBM.
Ohhh and don't forget that I make mistakes too....
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old November 14th, 2007
capeme's Avatar
capeme Offline
Member
 
Join Date: July 2006
Posts: 39
Re: Help installing a compiler

I think I am good with gcc..I think maybe I need to have g++ as well??I don not the difference between, do you?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8  
Old November 15th, 2007
capeme's Avatar
capeme Offline
Member
 
Join Date: July 2006
Posts: 39
Re: Help installing a compiler

So i got both gcc and g++ and all libraries installed and all seemed much better but the make fails and the app vendor (Xpdf) feels the problem maybe some incompatibility with libraries but since they are not AIX people they are not certain. Great. I installed everything marked for AIX 5.3 from linux toolkit for AIX , all 4.xx version, so I realy have no idea where to go from here and how to even troubleshoot this...
Do you by any chance know where or who I could talk to that may know this stuff??
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9  
Old November 16th, 2007
ross.mather's Avatar
ross.mather Offline
Senior Member
 
Join Date: January 2007
Location: Nomadic in the UK
Posts: 407
Re: Help installing a compiler

You'll need to trawl the web for that. gcc is an OpenSource product so IBM doesn't provide any support.
__________________
Ross Mather, IBM AIX IT Specialist.
That said anything I say here is my own opinion and not anything that you can ever hold against IBM.
Ohhh and don't forget that I make mistakes too....
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #10  
Old November 16th, 2007
capeme's Avatar
capeme Offline
Member
 
Join Date: July 2006
Posts: 39
Re: Help installing a compiler

Yea, I have been searching and have discovered a known problem with gcc on AIX....One that apparetnly has not been fixed so......Oh well!
Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Bookmarks

These are the 100 most searched terms
Search Cloud
0042-001 0042-001 nim 0513-001 the system resource controller daemon is not active 0513-001 the system resource controller daemon is not active. 0514-061 0514-061 cannot find a child device 0514-061 cannot find a child device. 0516-787 0516-787 extendlv 0516-787 extendlv: maximum allocation for logical volume 110000ac aa00e1f3 aio aix aix aio aix freeware aixif_arp_dup_addr b150f22a b181f22a b181fb53 ba010004 c1001020 d133c002 dacnone dcb47997 fcp_array_err6 fget_config gnu tar aix gsclvmd gtar aix hi yall hmc root password hmc vmware hscl05db ibm p6 ibm p6 520 libpopt aix libpopt.a libpopt.a(libpopt.so.0) is needed by rsync-2.6.2-1 migratelv mksysb navisphere agent nim server pseries pseriestech rsync aix sc_disk_err4 scan_error_chrp vio server websm xhost file ... powered by Simple Search Cloud


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Powered by vbWiki Pro 1.3 RC5. Copyright ©2006-2007, NuHit, LLC

vBulletin Skin developed by: vBStyles.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50