- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: gcc installation Problem
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
05-16-2008 01:32 AM
05-16-2008 01:32 AM
I tried installing gcc from source code on HP-UX 11.23(Itanium 2) but returned with errors during "gmake install". The errors are-
/home/robin/gcc-4.2/binutils/install-sh[278]: strip: not found.
gmake[5]: *** [install-binPROGRAMS] Error 1
gmake[4]: *** [install-am] Error 2
gmake[3]: *** [install-recursive] Error 1
gmake[2]: *** [install-binutils] Error 2
gmake[1]: *** [install] Error 2
gmake: [install_binutils] Error 2 (ignored)
*** This configuration is not supported in the following subdirectories:
target-libffi target-zlib target-libjava zlib target-boehm-gc
(Any other directories should still work fine.)
cat: Cannot open ../../gcc/gcc/BASE-VER: No such file or directory
configure: error: cannot execute: /usr/local/bin/as: check --with-as or env. var. DEFAULT_ASSEMBLER
gmake[3]: *** [configure-stage1-gcc] Error 1
gmake[2]: *** [stage1-bubble] Error 2
gmake[1]: *** [bootstrap] Error 2
gmake: [install_gcc] Error 2 (ignored)
/bin/sh[2]: strip: not found.
gmake: [install] Error 127 (ignored)
/bin/sh[2]: strip: not found.
gmake: [install] Error 127 (ignored)
I downloaded the source file from http://hpux.cs.utah.edu/hppd/hpux/Gnu/gcc-4.2.3/
Kindly help me out. "man strip" is working. Do I need to have the latest patch of ANSI C.
Regards,
Robin.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2008 01:41 AM
05-16-2008 01:41 AM
Re: gcc installation Problem
Why not download and install the compiled depot version for 11.23?
http://mirrors.develooper.com/hpux/downloads.html
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2008 02:17 AM
05-16-2008 02:17 AM
Re: gcc installation Problem
The developers fixed the problems you encountered when they built the aforementioned depots.
Why not give them a try.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2008 02:17 AM
05-16-2008 02:17 AM
Re: gcc installation Problem
http://hpux.cs.utah.edu/hppd/hpux/Gnu/gcc-4.2.3/
Did you install all the built-time dependencies?
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2008 03:30 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2008 05:17 AM
05-16-2008 05:17 AM
Re: gcc installation Problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2008 05:19 AM
05-16-2008 05:19 AM
Re: gcc installation Problem
Previously I have installed the gcc from the depot format but this time I need to install it from the source code.
Dennis, I think the PATH I gave for strip was incorrect. I gave /usr/bin but not /usr/css/bin.
I will try with it and come back again.
I have installed all the dependencies.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2008 10:55 PM
05-16-2008 10:55 PM
Re: gcc installation Problem
I have searched the file named dummy-checksum.c but no trace of it. What should I do? What might be the possible reason for this? Can anyone help me pliz?
*********************************************
cc -c -DUSE_LIBUNWIND_EXCEPTIONS -DIN_GCC -DHAVE_CONFIG_H -I. -I. -I../../gcc/gcc -I../../gcc/gcc/. -I../../gcc/gcc/../include -I./../intl -I../../gcc/gcc/../libcpp/include -I../../gcc/gcc/../libdecnumber -I../libdecnumber -I. -I. -I../../gcc/gcc -I../../gcc/gcc/. -I../../gcc/gcc/../include -I./../intl -I../../gcc/gcc/../libcpp/include -I../../gcc/gcc/../libdecnumber -I../libdecnumber ../../gcc/gcc/config/ia64/ia64-c.c
cc -c -DUSE_LIBUNWIND_EXCEPTIONS -DIN_GCC -DHAVE_CONFIG_H -I. -I. -I../../gcc/gcc -I../../gcc/gcc/. -I../../gcc/gcc/../include -I./../intl -I../../gcc/gcc/../libcpp/include -I../../gcc/gcc/../libdecnumber -I../libdecnumber ../../gcc/gcc/c-gimplify.c -o c-gimplify.o
cc -c -DUSE_LIBUNWIND_EXCEPTIONS -DIN_GCC -DHAVE_CONFIG_H -I. -I. -I../../gcc/gcc -I../../gcc/gcc/. -I../../gcc/gcc/../include -I./../intl -I../../gcc/gcc/../libcpp/include -I../../gcc/gcc/../libdecnumber -I../libdecnumber ../../gcc/gcc/tree-mudflap.c -o tree-mudflap.o
cc -c -DUSE_LIBUNWIND_EXCEPTIONS -DIN_GCC -DHAVE_CONFIG_H -I. -I. -I../../gcc/gcc -I../../gcc/gcc/. -I../../gcc/gcc/../include -I./../intl -I../../gcc/gcc/../libcpp/include -I../../gcc/gcc/../libdecnumber -I../libdecnumber ../../gcc/gcc/c-pretty-print.c -o c-pretty-print.o
cc -c -DUSE_LIBUNWIND_EXCEPTIONS -DIN_GCC -DHAVE_CONFIG_H -I. -I. -I../../gcc/gcc -I../../gcc/gcc/. -I../../gcc/gcc/../include -I./../intl -I../../gcc/gcc/../libcpp/include -I../../gcc/gcc/../libdecnumber -I../libdecnumber ../../gcc/gcc/c-omp.c -o c-omp.o
gmake[4]: *** No rule to make target `dummy-checksum.c', needed by `dummy-checksum.o'. Stop.
gmake[4]: Leaving directory `/home/robin/gcc-4.2/gccobj/gcc'
gmake[3]: *** [all-stage1-gcc] Error 2
gmake[3]: Leaving directory `/home/robin/gcc-4.2/gccobj'
gmake[2]: *** [stage1-bubble] Error 2
gmake[2]: Leaving directory `/home/robin/gcc-4.2/gccobj'
gmake[1]: *** [bootstrap] Error 2
gmake[1]: Leaving directory `/home/robin/gcc-4.2/gccobj'
gmake: [install_gcc] Error 2 (ignored)
/bin/rm -f /usr/local/*hp-hpux*/bin/strip /usr/local/bin/strip /usr/local/man/man1/strip.1
cd /usr/local/lib; \
strip libbfd.s? libopcodes.s? libstdc++.s? libssp.s? libgomp.s?
strip: libstdc++.s?: cannot open
strip: libssp.s?: cannot open
strip: libgomp.s?: cannot open
gmake: [install] Error 1 (ignored)
cd /usr/local/lib/hpux64; \
strip libgomp.so libssp.so libstdc++.so
strip: libgomp.so: cannot open
strip: libssp.so: cannot open
strip: libstdc++.so: cannot open
gmake: [install] Error 1 (ignored)
cd /usr/local/bin; \
/bin/rm -f *gcj* gjnih jcf-dump jv-scan
*********************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2008 11:12 PM
05-16-2008 11:12 PM
Re: gcc installation Problem
Well you could use touch(1) to create it.
Either there is a way to "make" that file or some installation directions missing?
>strip: libstdc++.s?: cannot open
It appears all of these strips can't find those files.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2008 03:57 AM
05-17-2008 03:57 AM
Re: gcc installation Problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2008 03:59 AM
05-17-2008 03:59 AM