Installing gcc


 
Thread Tools Search this Thread
Top Forums Programming Installing gcc
# 1  
Old 06-14-2004
Network Installing gcc

Hi all

I'm trying to install the latest version of gcc but I keep getting this message on make;

gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I./../zlib -I./../include -W -Wall -pedantic -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings -g -O2 -c jartool.c
jartool.c:234: getopt.h: No such file or directory
*** Error code 1
make: Fatal error: Command failed for target `jartool.o'
Current working directory /tmp/gcc-3.3.4-20040530/fastjar
*** Error code 1
make: Fatal error: Command failed for target `all-fastjar'

Any advice would be appreciated.
Regards
Monique
# 2  
Old 06-14-2004
Thanks for your response

The ff is the build lines from my Makefile;

# This file was generated automatically by configure. Do not edit.
VPATH = .
links =
host_alias = sparc-sun-solaris2.8
host_cpu = sparc
host_vendor = sun
host_os = solaris2.8
host_canonical = sparc-sun-solaris2.8
target_alias = sparc-sun-solaris2.8
target_cpu = sparc
target_vendor = sun
target_os = solaris2.8
target_canonical = sparc-sun-solaris2.8
build_alias = sparc-sun-solaris2.8
build_cpu = sparc
build_vendor = sun
build_os = solaris2.8
build_canonical = sparc-sun-solaris2.8
host_makefile_frag = mh-frag
enable_shared = no
enable_threads = no
enable_version_specific_runtime_libs = no
gcc_version_trigger = /tmp/gcc-3.3.4-20040530/gcc/version.c
gcc_version = 3.3.4

I then tried using both make and make install, both produce errors. I do not have gmake. I've read the install guide and tried searching for the error which yields nada. Is there anything else you suggest?

Ta
Monique
# 3  
Old 06-14-2004
As another option, you can get gcc precompiled for Solaris 8 at www.sunfreeware.com. They have 3.3.2 and 3.4.0.
# 4  
Old 06-15-2004
Thanks very much guys for your help. It seems the main problem with installing gcc is binutils. Anyway getting all those tarballs I swamped my box so it's back to the drawing board tomoro. Had enough today. Will try your suggestion Perderabo.

=)
Monique
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Installing gcc on Fedora

I am trying to install gcc4.8.2 on fedora but have encountered problems. This is the error I got when running configure configure: error: Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+. So I went along to install the three of them I installed gmp-4.3.2 which went ok ... (14 Replies)
Discussion started by: kristinu
14 Replies

2. Solaris

GCC installing

dear, please just didn't understand the problem that appears when i try to install ./configure here is the message that appears in unix when installing gcc root@ccbtest # ./configure checking build system type... /bin/bash: ./config.guess: No such file or directory configure: error: cannot... (3 Replies)
Discussion started by: semaan
3 Replies

3. Solaris

Installing gcc on SPARC 5.9

Hi, I am trying to install gcc on SPARC 5.9 pkgadd -d gcc-3.4.2-sol9-sparc-local i get the below error pkgadd: ERROR: attempt to process datastream failed - open of <gcc-3.4.2-sol9-sparc-local> failed, errno=2 pkgadd: ERROR: could not process datastream from... (3 Replies)
Discussion started by: saharookiedba
3 Replies

4. Solaris

Help with installing gcc on Solaris 10

I want to install gcc for Solaris 10 to an alternate location besides /usr/local/bin, so I can't use the pre-compiled package from sunfreeware.com. So I assume I need to compile gcc for myself and specify --prefix. How can I accomplish this? Am I pretty much out of luck trying to compile... (3 Replies)
Discussion started by: srhadden
3 Replies

5. UNIX for Advanced & Expert Users

Installing GCC and other utils

I have a platform whose base is Linux but not everything is available on that. Only necessary executables are available and any individual executable can run on that. It is 32-bit and uname -a shows Linux 2.6.11.11. Problem is I am trying to install gcc compiler on that to debug an issue. Even... (1 Reply)
Discussion started by: radiatejava
1 Replies

6. Solaris

Installing gcc - recieve error message gcc : cannot execute

AIM- Install Oracle 11g on Solaris using VMWare Steps 1.Logged on as root 2.Created subfolders ŕ /usr/local/bin & /usr/local/bin/gcc 3.Downloaded gcc & libiconv & unzipped them on my harddrive & burnt them on CD 4.Copied files from CD to /usr/local/bin/gcc 5.Terminal (root) ŕ pkgadd -d... (8 Replies)
Discussion started by: Ackers
8 Replies

7. Solaris

Error when installing GCC

GCC 3.4.6 was installed in Solaris 2.8. I ran the commands ./configure and make. When running make install I got the below mentioned errors at the end. Please help me in resolving the same. make: *** Error 1 make: Leaving directory `/gmsp/antony/gcc-3.4.6/sparc-sun-solaris2.8/sparcv9/libf2c'... (1 Reply)
Discussion started by: chrisanto_2000
1 Replies

8. Solaris

error while installing gcc

Hi friends, i down loaded the gcc*.gz file and i am getting the following error when i am trying to install it on solaris 8 ======================================================= Processing package instance <SMCgcc342> from </export/gcc-3.4.2-sol8-sparc-local> gcc (sparc) 3.4.2 FSF... (1 Reply)
Discussion started by: sveera
1 Replies

9. UNIX for Dummies Questions & Answers

Problem installing gcc

Hi! I have downloaded a precompiled gcc package but I'm having problems installing it. It is supposed to install in /usr/local and there is plenty of space left there but during the installation I get the following error message “No space left on device”. Is it some kind of temp folder that is out... (2 Replies)
Discussion started by: alfabetman
2 Replies

10. Programming

Help!(Installing GCC.)

(Installing GCC: Configuration) In the document of Installing GCC, there is a sentence I don't understand: " Second, when configuring a native system, either cc or gcc must be in your path or you must set CC in your environment before running configure. Otherwise the configuration scripts... (2 Replies)
Discussion started by: wwz
2 Replies
Login or Register to Ask a Question