The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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 GUI koraykazgan BSD 4 12-05-2008 12:13 PM
Installing Firefox and now ended up installing latest glibc scriptingmani Linux 1 08-09-2007 04:28 PM
Help on Installing AIX 5.3 sunnyanthony AIX 0 10-25-2005 09:00 AM
How to installing .h of Dt q30 AIX 1 07-28-2004 02:32 AM
Installing nic on sco 5.0.5 recono1 UNIX for Dummies Questions & Answers 2 10-03-2001 03:59 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 06-14-2004
squeakywheel squeakywheel is offline
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
  #2 (permalink)  
Old 06-14-2004
squeakywheel squeakywheel is offline
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
  #3 (permalink)  
Old 06-14-2004
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,111
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 (permalink)  
Old 06-15-2004
squeakywheel squeakywheel is offline
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
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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




All times are GMT -4. The time now is 10:09 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0