The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
Google UNIX.COM


High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Installing Firefox and now ended up installing latest glibc scriptingmani Linux 1 08-09-2007 01:28 PM
Help on Installing AIX 5.3 sunnyanthony AIX 0 10-25-2005 06:00 AM
Installing GUI koraykazgan BSD 1 05-24-2005 06:03 AM
How to installing .h of Dt q30 AIX 1 07-27-2004 11:32 PM
Installing nic on sco 5.0.5 recono1 UNIX for Dummies Questions & Answers 2 10-03-2001 12:59 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 06-14-2004
Registered User
 

Join Date: Apr 2004
Posts: 5
Angry 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
Reply With Quote
Forum Sponsor
  #2  
Old 06-14-2004
Registered User
 

Join Date: Apr 2004
Posts: 5
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
Reply With Quote
  #3  
Old 06-14-2004
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,611
As another option, you can get gcc precompiled for Solaris 8 at www.sunfreeware.com. They have 3.3.2 and 3.4.0.
Reply With Quote
  #4  
Old 06-14-2004
Registered User
 

Join Date: Apr 2004
Posts: 5
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
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 01:03 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0