Installing gcc on SPARC 5.9


 
Thread Tools Search this Thread
Operating Systems Solaris Installing gcc on SPARC 5.9
# 1  
Old 04-08-2009
Installing gcc on SPARC 5.9

Hi,

I am trying to install gcc on SPARC 5.9

Code:
 
pkgadd -d gcc-3.4.2-sol9-sparc-local

i get the below error

PHP Code:
pkgaddERRORattempt to process datastream failed
    
open of <gcc-3.4.2-sol9-sparc-localfailederrno=2
pkgadd
ERRORcould not process datastream from <gcc-3.4.2-sol9-sparc-local
Please let me know how to resolve the above issue.
# 2  
Old 04-08-2009
use pkgadd -d . OR pkgadd -d <full_path>
do check the checksum after the download
# 3  
Old 04-08-2009
The gcc component got installed,
My main requirement is to install Apache HTTP Server... on this

when i try to configure the executable



Code:
bash-2.05# ./configure --prefix=/usr/apache2
checking build system type... sparc-sun-solaris2.9
checking host system type... sparc-sun-solaris2.9
checking target system type... sparc-sun-solaris2.9
Configuring APR library
Platform: sparc-sun-solaris2.9
checking for working mkdir -p... yes
APR Version: 1.3.3
checking for chosen layout... apr
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: in `/usr/apache2/srclib/apr':
configure: error: C compiler cannot create executables
See `config.log' for more details.


Last edited by DukeNuke2; 04-08-2009 at 09:57 AM..
# 4  
Old 04-08-2009
try to set cc as a variable in shell:

Code:
CC=/path/to/gcc
export CC

and then try again...
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Solaris

Newly Compiled GCC 4.4.4 on Solaris sparc gives problem with -m32/-m64 flags

Hello experts, This issue has kept me busy all day long. It started off with openssl compilation which was giving linking error with following message: /usr/local/bin/ld: target elf32-sparc not found collect2: ld returned 1 exit status I tried every step possible thing that I could think... (2 Replies)
Discussion started by: d_shanke
2 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

Need gcc binary for a SPARC machine

The machine I am trying to compile on does have /usr/sfw/bin and all the files in it, EXCEPT gcc !! This is a SUN Sparc-1 machine, so the binary does matter to match this. Can someone send me a gcc so I can put it locally for compilation purposes? Or point me a a site that has a compiled-ready... (17 Replies)
Discussion started by: steve701
17 Replies

4. Programming

Header file compilation using gcc in Sparc Solaris

I am facing problem while migrating the c++ code from Linux to Solaris. In linux the code is absolutly compiled fine with GCC compiler but when i am using the same in Solaris it coomplains bash-3.1$ gcc LibSip.h gcc: Compilation of header file requested The same command is working fine in... (2 Replies)
Discussion started by: mrupesh74
2 Replies

5. 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

6. Programming

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... (3 Replies)
Discussion started by: squeakywheel
3 Replies

7. UNIX for Dummies Questions & Answers

Installing Debian on Sparc

I've downloaded the iso images and attempted an boot cdrom in order to install directly from cdrom, but I keep getting error message: Fast Data Access MMU Miss After checking simillar issue on the net I've update open boot firmware to the latest 4.10.6 but still no success. Anyone could help... (4 Replies)
Discussion started by: bubbs
4 Replies

8. 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