Sponsored Content
Operating Systems Solaris Cannot run installed GNU compiler, Solaris 10 Post 302448872 by brb on Friday 27th of August 2010 08:54:14 AM
Old 08-27-2010
Cannot run installed GNU compiler, Solaris 10

Am new to Solaris OS and need to install the GNU cpp compiler. Followed the instructions from Sunfreeware for installing the gcc compiler and it looks as if it correctly installed but i cannot run it from the command window.


Code:
# cd /usr/local/bin
# ls
c++                            i386-pc-solaris2.10-c++
cpp                            i386-pc-solaris2.10-g++
g++                            i386-pc-solaris2.10-gcc
g77                            i386-pc-solaris2.10-gcc-3.4.6
gcc                            iconv
gccbug                         make
gcov

as can bee seen above the files seem to be installed in the directory /usr/local/bin. However when i check to if i can call it:

Code:
# gcc -v
gcc: nicht gefunden

so at first i thought that maybe the directory was not in the path so i added it the the profile file in the /ect/ directory.

still some how after reading most of the help i cant find a real deal breaker for what i am doing wrong!!!! i am not very familiar with th solaris OS so any help would be much appreciated.

thankyou

Moderator's Comments:
Mod Comment Use code tags please, ty.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Just installed Solaris 8 but....

Hello again, Well i went ahead with my solaris installation tonight (on my pc) and it all appeared to work ok. Unfortunately, i am unable to use the system yet because it gives me this horrible message straight after it boots up: "The X-server can not be started on display :0..." It... (4 Replies)
Discussion started by: timresh
4 Replies

2. Shell Programming and Scripting

How to run an application installed in another unix pc?

Do you guys have any suggestions? hpterm -e rlogin <another unix pc> ??? (1 Reply)
Discussion started by: jehrome_rando
1 Replies

3. Solaris

Help needed on non GNU compiler

Hi All, I would require to retrieve the complete list of system include paths for a non gnu compiler(For a GNU compiler like gcc this can be retrieved by using a -v option). Please let me know if you are aware of any method to retrieve this for a non GNU compiler(eg: Sun Studio 11 tool... (1 Reply)
Discussion started by: Pankajakshan
1 Replies

4. Programming

how to run D compiler

i want to use the d compiler (such as gdc-4.1, but i'll take any other one too) to compile a package that some one else made (in this case it's this one: projectL ). i don't know how to compile it though. there's two subdirectories with .d files but none of these compiles on its own. in the top... (0 Replies)
Discussion started by: prjctl
0 Replies

5. Programming

A question about Makefile run by GNU make

Hello everybody, Currently I'm learning how to build projects (C programming) with GNU make. I have a problem with one Makefile and I would appreciate if you could kindly give me a hand. Here is the environment: OS: Redhat linux 5 compiler: gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-44)... (2 Replies)
Discussion started by: dariyoosh
2 Replies

6. Solaris

Unable to login using ssh,telnet onto my solaris machine with solaris 10 installed

Hi, I am unable to login into my terminal hosting Solaris 10 and get the below error message "Server refused to allocate pty ld.so.1: sh: fatal: libc.so.1: open failed: No such file or directory " Is there anyways i can get into my machine and what kind of changes are required to be... (7 Replies)
Discussion started by: sankasu
7 Replies

7. UNIX for Dummies Questions & Answers

Is GNU sed installed?

Hi there, I'm new to UNIX and have the following question: At work a Solaris Unix system is used. I'm not sure if they have gnu sed installed so I tried using the command "sed -r" and got the error: "Illegal option --r" Does this mean that gnu sed is definitely not installed on the system... (8 Replies)
Discussion started by: js8765
8 Replies

8. Linux

How to run User-mode Linux installed with synaptic package manager in Ubuntu 10.10

I have installed user-mode linux kernel in Ubuntu 10.10 with the help of Synaptic package manager. But I'm not getting how to run it. If we install it manually, we've to run it using the executable binary file. But here, I'm unable to locate any such file. Please help.... Thanking You.... ... (0 Replies)
Discussion started by: rohitadeshmukh1
0 Replies

9. UNIX for Advanced & Expert Users

GNU C Compiler

Hi Frds, I am new to unix forums. With lot of hope, i'm posting this thread. I want to understand GCC functionality(from commandline parsing to Assembly code generatio). i have relavant source code with me. But i felt little bit difficulty in understanding / reading each line of code. Is... (5 Replies)
Discussion started by: muthu_u
5 Replies
suninstall(1M)                                            System Administration Commands                                            suninstall(1M)

NAME
suninstall - install the Solaris operating system SYNOPSIS
suninstall DESCRIPTION
install-solaris(1M) is now the preferred command for starting and restarting the Solaris Installation program. It should be used instead of suninstall. suninstall is symbolically linked to install-solaris. suninstall is a forms-based and graphical subsystem for installing the operating system. suninstall exists only on the Solaris installation media (CD or DVD) and should only be invoked from there. Refer to the Solaris 10 Instal- lation Guide: Basic Installations for more details. suninstall allows installation of the operating system onto any standalone system. suninstall loads the software available on the installa- tion media. Refer to the Solaris 10 Installation Guide: Basic Installations for disk space requirements. USAGE
Refer to the Solaris 10 Installation Guide: Basic Installations for more information on the various menus and selections. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcdrom (Solaris instal- | | |lation media) | +-----------------------------+-----------------------------+ SEE ALSO
pkginfo(1), install(1M), install-solaris(1M), pkgadd(1M), attributes(5) Solaris 10 Installation Guide: Basic Installations NOTES
It is advisable to exit suninstall by means of the exit options in the suninstall menus. SunOS 5.10 9 Sep 2004 suninstall(1M)
All times are GMT -4. The time now is 09:12 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy