Hi all,
I downloaded a tarball of coreutils ....
extracted only to find out that i had to build it...
But when i executed ./configure, this is what i got
Code:
checking build system type... i386-pc-solaris2.11
checking host system type... i386-pc-solaris2.11
configure: autobuild project... GNU coreutils
configure: autobuild revision... 6.4
configure: autobuild hostname... Harivayu
configure: autobuild timestamp... 20080531-213259
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... build-aux/install-sh -c -d
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
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.
Upon reading the final few lines i found out that C compiler was not being detected...
this is not possible as gcc and c are both in /usr/sfw/bin/
But when i echoed $PATH...
this destination was not set...
So i wanted to know how to edit $PATH so that i can specify pathsfor gcc and c and make it stay in $PATH over reboots....
I also searched for .bashrc but this not present in solaris (b83)so do i have to write my own .bashrc file,if so how do i do it?
thanks