- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How can I install gcc package?
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
04-09-2007 07:46 PM
04-09-2007 07:46 PM
How can I install gcc package?
Hello, I'm newbie with HP-UXs. I need to compile qt4 with gcc but I cannot figure out how to install gcc package. I googled about this and I found hp-gcc archive : http://hpacxx.external.hp.com/gcc/
I downloaded one of files in there, gunziped and copied it to /var/spool/sw. But swinstall cannot install that. Of course I tried almost every packages there, none of them worked.
The version of HP-UX is (result of `uname -a`):
HP-UX HOSTNAME B.11.00 U 9000/800 156222710
And, here is what I tried and got.
--------------------
XXXX:/home/XXXXrd]swinstall -s /var/spool/sw/gcc-src-4.1.1.depot gcc-src
======= 2007년4월10일 (화) 오후 3시55분29초 KST BEGIN swinstall
SESSION (non-interactive)
* Session started for user "root@XXXX".
* Beginning Selection
* Target connection succeeded for "XXXX:/".
ERROR: Could not apply the software selection "gcc-src"; it is not
available from depot or root
"XXXX:/var/spool/sw/gcc-src-4.1.1.depot".
* Software selection failed for
"XXXX:/var/spool/sw/gcc-src-4.1.1.depot".
ERROR: No software has been selected.
ERROR: Cannot continue the "swinstall" task.
* Selection had errors.
======= 2007년4월10일 (화) 오후 3시55분34초 KST END swinstall SESSION
(non-interactive)
Thanks in advance,
Intaek
- Tags:
- gcc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2007 08:02 PM
04-09-2007 08:02 PM
Re: How can I install gcc package?
You are trying install the gcc source. You would then have to build gcc.
># swinstall -s /var/spool/sw/gcc-src-4.1.1.depot gcc-src
You are using the wrong product name. That depot has: GNU_C_C++_SOURCE
(Use "swlist -s /var/spool/sw/gcc-src-4.1.1.depot" to list the products."
If you use \* instead of gcc-src, you'll install everything, no thinking required.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2007 08:05 PM
04-09-2007 08:05 PM
Re: How can I install gcc package?
Thanks anyway.
I'll try swlist command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2007 12:05 AM
04-10-2007 12:05 AM
Re: How can I install gcc package?
Download the gcc depot from http://hpux.connect.org.uk/hppd/hpux/Gnu/gcc-4.1.2/
and give a try!!!!!
HTH,
Prabu.S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2007 02:10 PM
04-11-2007 02:10 PM
Re: How can I install gcc package?
I've downloaded gcc source and now I'm trying to compile it. Thanks.
Inteak.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2007 06:41 PM
04-11-2007 06:41 PM
Re: How can I install gcc package?
If your problem is solved, please do assign points to the replies...:-)
Regards,
Prabu.S