how to install gcc on solaris 10?????
Hello everyone!
this is a VMware im working on, bash-3.00$ showrev Hostname: co-NetworkTools-prod Hostid: 85264af Release: 5.10 Kernel architecture: i86pc Application architecture: i386 Hardware provider: Domain: **.*****.*******.com Kernel version: SunOS 5.10 Generic_138889-03 bash-3.00$ uname -a SunOS co-NetworkTools-prod 5.10 Generic_138889-03 i86pc i386 i86pc i try to use ./configure command when i get the folowing, checking for gcc... no checking for cc... no checking for cl.exe... no configure: error: no acceptable C compiler found in $PATH See `config.log' for more details. i know i need to get gcc, but i'm totaly newbie here, i i know that it is the following link ftp://ftp.sunfreeware.com/pub/freewa...sparc-local.gz but i dont know how i can save it on my machine... and then i want to run it on the system so i can use ./configure THANK YOU FOR YOUR REPLIES!!! |
any help please??
|
Moved: This thread is more suitable in Solaris and has been moved accordingly to help your thread/question get the exposure it deserves.
|
Hi,
In Solaris 10, gcc is installed in /usr/sfw/bin. Make sure to add that directory along with /usr/ccs/bin in your PATH. Regards |
i found out the following
... spam removed ... so now i have the file on my machine, but im encountering a new problem, pkgmk gcc-3.4.6-sol10-sparc-local pkgmk: ERROR: invalid package instance identifier <gcc-3.4.6-sol10-sparc-local> ## Packaging was not successful. bash-3.00$ cd gcc-3.4.6-sol10-sparc-local bash: cd: gcc-3.4.6-sol10-sparc-local: Not a directory how can i install this GCC???? i'm really getting tired of UNIX :( |
@ziadh: See bathory reply in post #4
|
ok i found a file called gcc in /usr/sfw/bin
and then? i tried to cp gcc /usr/sfw/bin but i couldnt because cp: cannot create /usr/ccs/bin/gcc: Read-only file system well, anyway it means i have gcc installed?? the why when i use ./configure i get errors checking for gcc... no checking for cc... no checking for cl.exe... no .... any ideas? |
It's installed but not in your PATH, as I've already told you.
To add it, if you're using the bash shell, run Code:
export PATH=$PATH:/usr/sfw/bin:/usr/ccs/bin |
Quote:
the file i want to ./configure is in home/users/pezzillp so what is the exact command i have to type? thank you for helping |
bathory thank you!! it is configuring right now :) wow im so happy after a whole day! yeyyy
thank u again |
ok now i have to do the folowwing:
make make install but as always, i get errors!! i dont know why it's always like that bash-3.00$ make make: Fatal error in reader: Make.inc, line 84: Unexpected end of line seen any suggestions? |
Not without any clue about what you are trying to compile.
|
Quote:
**ftp://ftp.freeradius.org/pub/freerad....1.10.tar.gz** thank you |
Hi,
Try to use gmake (gnu make) instead of make that comes with Solaris |
Quote:
gmake worked! but i get some weird error messages at the end gmake[9]: Leaving directory `/home/radius/freeradius-server-2.1.10/src/modules/rlm_eap/types/rlm_eap_ttls' gmake[8]: Leaving directory `/home/radius/freeradius-server-2.1.10/src/modules/rlm_eap/types' gmake[7]: Leaving directory `/home/radius/freeradius-server-2.1.10/src/modules/rlm_eap/types' /home/radius/freeradius-server-2.1.10/libtool --mode=link gcc -o radeapclient radeapclient.lo libeap/libfreeradius-eap.la -lnsl -lresolv -lsocket -lposix4 -lpthread -lcrypto -lssl -lcrypto libtool: link: cannot find the library `/home/raduis/freeradius-server-2.1.10/src/lib/libfreeradius-radius.la' or unhandled argument `/home/raduis/freeradius-server-2.1.10/src/lib/libfreeradius-radius.la' gmake[6]: *** [radeapclient] Error 1 gmake[6]: Leaving directory `/home/radius/freeradius-server-2.1.10/src/modules/rlm_eap' gmake[5]: *** [rlm_eap] Error 2 gmake[5]: Leaving directory `/home/radius/freeradius-server-2.1.10/src/modules' gmake[4]: *** [all] Error 2 gmake[4]: Leaving directory `/home/radius/freeradius-server-2.1.10/src/modules' gmake[3]: *** [modules] Error 2 gmake[3]: Leaving directory `/home/radius/freeradius-server-2.1.10/src' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/home/radius/freeradius-server-2.1.10/src' gmake[1]: *** [src] Error 2 gmake[1]: Leaving directory `/home/radius/freeradius-server-2.1.10' gmake: *** [all] Error 2 then i have to do make install, so i made gmake install, it also worked but with some errors at the end: libtool: install: warning: relinking `rlm_acctlog.la' (cd /home/raduis/freeradius-server-2.1.10/src/modules/rlm_acctlog; /bin/bash /home/raduis/freeradius-server-2.1.10/libtool --mode=relink gcc -release 2.1.10 -module -export-dynamic -o rlm_acctlog.la -rpath /usr/local/lib rlm_acctlog.lo rlm_acctlog.c /home/raduis/freeradius-server-2.1.10/src/lib/libfreeradius-radius.la -lnsl -lresolv -lsocket -lposix4 -lpthread ) /home/radius/freeradius-server-2.1.10/libtool: line 6290: cd: /home/raduis/freeradius-server-2.1.10/src/modules/rlm_acctlog: No such file or directory /bin/bash: /home/raduis/freeradius-server-2.1.10/libtool: No such file or directory libtool: install: error: relink `rlm_acctlog.la' with the above command before installing it gmake[6]: *** [install] Error 1 gmake[6]: Leaving directory `/home/radius/freeradius-server-2.1.10/src/modules/rlm_acctlog' gmake[5]: *** [rlm_acctlog] Error 2 gmake[5]: Leaving directory `/home/radius/freeradius-server-2.1.10/src/modules' gmake[4]: *** [install] Error 2 gmake[4]: Leaving directory `/home/radius/freeradius-server-2.1.10/src/modules' gmake[3]: *** [modules] Error 2 gmake[3]: Leaving directory `/home/radius/freeradius-server-2.1.10/src' gmake[2]: *** [install] Error 2 gmake[2]: Leaving directory `/home/radius/freeradius-server-2.1.10/src' gmake[1]: *** [src] Error 2 gmake[1]: Leaving directory `/home/radius/freeradius-server-2.1.10' gmake: *** [install] Error 2 usualy after doing this process i can run the server in debugg mode by typing radiusd -X unfortunately i get the following: bash-3.00# radiusd -X bash: radiusd: command not found |
All times are GMT -5. The time now is 02:30 AM. |