shivani
asked on
Urgent please.. C-GNU MAKE
Hi all,
would appreciate help pls
I have SUN OS 5.8 HERE..
I am actually trying to install GNU MAKE 3.79 version.
I don't know much about it..
but i downloaded .gz file.. from gnu.org website..
i gunzipped it..
i untarred it..
i did this
CFLAGS="-pipe -O" LDFLAGS="-s" ./configure --prefix=/usr/gnu
to install it..
it displays as below:
# CFLAGS="-pipe -O" LDFLAGS="-s" ./configure --prefix=/usr/gnu
loading cache ./config.cache
checking for a BSD compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... ./configure: make: not found
no
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking host system type... sparc-sun-solaris2.8
checking whether make sets ${MAKE}... (cached) no
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH
#
in my path
# env | grep PATH
LIBPATH=/sybase/lib
MANPATH=
PATH=/usr/sbin:/usr/bin
SHLIB_PATH=/sybase/lib
SYB_ADD2DLLPATH=/sybase/li b
SYB_ADD2PATH=/sybase
I don't think i have c complier here on this server.. unless c compiler comes with SUN OS 5.8. I don't know.. how to check?
we are not using c on this server.. we use JAVA
do i need c compiler for installing GNU MAKE???
if yes where to get it from? how to install it?
else how to install GNU MAKE?
regards
would appreciate help pls
I have SUN OS 5.8 HERE..
I am actually trying to install GNU MAKE 3.79 version.
I don't know much about it..
but i downloaded .gz file.. from gnu.org website..
i gunzipped it..
i untarred it..
i did this
CFLAGS="-pipe -O" LDFLAGS="-s" ./configure --prefix=/usr/gnu
to install it..
it displays as below:
# CFLAGS="-pipe -O" LDFLAGS="-s" ./configure --prefix=/usr/gnu
loading cache ./config.cache
checking for a BSD compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... ./configure: make: not found
no
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking host system type... sparc-sun-solaris2.8
checking whether make sets ${MAKE}... (cached) no
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH
#
in my path
# env | grep PATH
LIBPATH=/sybase/lib
MANPATH=
PATH=/usr/sbin:/usr/bin
SHLIB_PATH=/sybase/lib
SYB_ADD2DLLPATH=/sybase/li
SYB_ADD2PATH=/sybase
I don't think i have c complier here on this server.. unless c compiler comes with SUN OS 5.8. I don't know.. how to check?
we are not using c on this server.. we use JAVA
do i need c compiler for installing GNU MAKE???
if yes where to get it from? how to install it?
else how to install GNU MAKE?
regards
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
orangehead,
there is no sys admin here. So all installation I have to do as part of learnings.
Kent,
I will try to download the gcc as you suggested.
I read at one place,
if I put /usr/ccs/bin in path, it might work.
I have /usr/ccs/bin on my server. can it help anything?
what is ccs? its not c compiler right?
there is no sys admin here. So all installation I have to do as part of learnings.
Kent,
I will try to download the gcc as you suggested.
I read at one place,
if I put /usr/ccs/bin in path, it might work.
I have /usr/ccs/bin on my server. can it help anything?
what is ccs? its not c compiler right?
ASKER
can u also pls suggest, how to modify path on my unix prompt..
when I login as root, i get prompt as
#
which shell is it?
How to set the path,
right now..
# echo $PATH
/usr/sbin:/usr/bin
#
I want to try to include /usr/ccs/bin
when I login as root, i get prompt as
#
which shell is it?
How to set the path,
right now..
# echo $PATH
/usr/sbin:/usr/bin
#
I want to try to include /usr/ccs/bin
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
>I don't think i have c complier here on this server.. unless c compiler comes with SUN OS 5.8. I don't know.. how to check?
My guess would be that you have it ... its just not in your path... though it generally has its executable/soft link in /usr/bin...
try this
locate gcc
which gcc
what do these two commands return ... if they do not return anything, then you do not have gcc installed and will have to download and install it from gcc.gnu.org
>do i need c compiler for installing GNU MAKE???
as Kent said, yes you do
>how to install it?
In the PATH settings which I posted in the previous post, make sure that there is an export statement present for exporting the PATH variable
you will get the sources from the site ... there will be a README or INSTALL file in the untared sources... read that for installation instructions
http://gcc.gnu.org
My guess would be that you have it ... its just not in your path... though it generally has its executable/soft link in /usr/bin...
try this
locate gcc
which gcc
what do these two commands return ... if they do not return anything, then you do not have gcc installed and will have to download and install it from gcc.gnu.org
>do i need c compiler for installing GNU MAKE???
as Kent said, yes you do
>how to install it?
In the PATH settings which I posted in the previous post, make sure that there is an export statement present for exporting the PATH variable
you will get the sources from the site ... there will be a README or INSTALL file in the untared sources... read that for installation instructions
http://gcc.gnu.org
ASKER
# locate gcc
locate: not found
# which gcc
no gcc in /usr/sbin /usr/bin
#
i could not get gcc from gcc.gnu.org..
but i got it from sunfreeware.com
i got this file gcc_small-3.3.2-sol8-sparc -local.gz
Hope this will work..?? any ideas?
I tried putting usr/ccs/bin in path.. doesn't work.. get same error..
locate: not found
# which gcc
no gcc in /usr/sbin /usr/bin
#
i could not get gcc from gcc.gnu.org..
but i got it from sunfreeware.com
i got this file gcc_small-3.3.2-sol8-sparc
Hope this will work..?? any ideas?
I tried putting usr/ccs/bin in path.. doesn't work.. get same error..
ASKER
Well, I gunzipped it..
it has one file in it..
gcc_small-3.3.2-sol8-sparc -local
no installation instructions or anything..
any ideas what to do with it?
it has one file in it..
gcc_small-3.3.2-sol8-sparc
no installation instructions or anything..
any ideas what to do with it?
Since the compiler should be the compiler object code and all of the include libraries, this may be a self installing object module.
Try executing it from root.
Kent
ASKER
I tried this as root..
chmod +x gcc_small-3.3.2-sol8-sparc -local
./gcc_small-3.3.2-sol8-spa rc-local
got some weird msg's.. as below..
./gcc_small-3.3.2-sol8-spa rc-local: 1: not found
./gcc_small-3.3.2-sol8-spa rc-local: 1: not found
./gcc_small-3.3.2-sol8-spa rc-local: 1: not found
./gcc_small-3.3.2-sol8-spa rc-local: 1: not found
./gcc_small-3.3.2-sol8-spa rc-local: 1: not found
./gcc_small-3.3.2-sol8-spa rc-local: 1: not found
./gcc_small-3.3.2-sol8-spa rc-local: 1: not found
./gcc_small-3.3.2-sol8-spa rc-local: 07070100000000000000000000 0000000000 0000000001 0000000000 0000000000 0000000000 0000000000 0000000000 00000b0000 0000TRAILE R!!!070701 0015695200 0081a40000 000a000000 0a00000001 3fa0c1e800 0000b40000 0088000000 0a00000000 0000000000 0000080000 0004pkginf oPKG=SMCgc c: not found
./gcc_small-3.3.2-sol8-spa rc-local: Software: not found
./gcc_small-3.3.2-sol8-spa rc-local: Christensen: not found
./gcc_small-3.3.2-sol8-spa rc-local: 07070100156951000081a40000 000a000000 0a00000001 3fa0c1f100 0079510000 0088000000 0a00000000 0000000000 0000070000 0004pkgmap :: not found
................
etc.
/gcc_small-3.3.2-sol8-spar c-local: 1: not found
./gcc_small-3.3.2-sol8-spa rc-local: 1: not found
./gcc_small-3.3.2-sol8-spa rc-local: 1: not found
./gcc_small-3.3.2-sol8-spa rc-local: 1: not found
./gcc_small-3.3.2-sol8-spa rc-local: 1: not found
./gcc_small-3.3.2-sol8-spa rc-local: 1: not found
./gcc_small-3.3.2-sol8-spa rc-local: syntax error at line 798: `(' unexpected
(Please note that this is not a complete message..) it was not possible to scroll the whole msg..
any ideas?
chmod +x gcc_small-3.3.2-sol8-sparc
./gcc_small-3.3.2-sol8-spa
got some weird msg's.. as below..
./gcc_small-3.3.2-sol8-spa
./gcc_small-3.3.2-sol8-spa
./gcc_small-3.3.2-sol8-spa
./gcc_small-3.3.2-sol8-spa
./gcc_small-3.3.2-sol8-spa
./gcc_small-3.3.2-sol8-spa
./gcc_small-3.3.2-sol8-spa
./gcc_small-3.3.2-sol8-spa
./gcc_small-3.3.2-sol8-spa
./gcc_small-3.3.2-sol8-spa
./gcc_small-3.3.2-sol8-spa
................
etc.
/gcc_small-3.3.2-sol8-spar
./gcc_small-3.3.2-sol8-spa
./gcc_small-3.3.2-sol8-spa
./gcc_small-3.3.2-sol8-spa
./gcc_small-3.3.2-sol8-spa
./gcc_small-3.3.2-sol8-spa
./gcc_small-3.3.2-sol8-spa
(Please note that this is not a complete message..) it was not possible to scroll the whole msg..
any ideas?
ASKER
Just FYI,
# ls -al
total 145876
drwxr-xr-x 2 root other 512 Nov 13 10:10 .
drwxr-xr-x 8 root other 512 Nov 12 22:28 ..
-rwxr-xr-x 1 root other 74633216 Nov 12 22:51 gcc_small-3.3.2-sol8-sparc -local
to tell you size of file
# ls -al
total 145876
drwxr-xr-x 2 root other 512 Nov 13 10:10 .
drwxr-xr-x 8 root other 512 Nov 12 22:28 ..
-rwxr-xr-x 1 root other 74633216 Nov 12 22:51 gcc_small-3.3.2-sol8-sparc
to tell you size of file
Hi shivani,
http://www.sunfreeware.com/gcc.html has this disclaimer:
To use the gcc package from sunfreeware.com you MUST install all of the SUNW developer packages that come on Sun's Solaris CDs.
Kent
ASKER
well,
i don't have CD right now..
can i download gcc from somehwre else.. ?? or any other package from sunfreeware.com which might work..
anyway, i am trying gcc.gnu.com .. other website u gave me..
it will take long to FTP the stuff.. (sinze it is not zipped or anything)
so i have to be patient i think..
i don't have CD right now..
can i download gcc from somehwre else.. ?? or any other package from sunfreeware.com which might work..
anyway, i am trying gcc.gnu.com .. other website u gave me..
it will take long to FTP the stuff.. (sinze it is not zipped or anything)
so i have to be patient i think..
ASKER
wow!
it will take 7 hours to download GCC from GNU.. because it is not in zipped format..
sucks.. but no choice i think right?
it will take 7 hours to download GCC from GNU.. because it is not in zipped format..
sucks.. but no choice i think right?
Wow. 7 hours?
I'm not aware of object code for Sun being available from gcc.gnu.org. What are your downloading and where did you find it?
Kent
ASKER
http://gcc.gnu.org/mirrors.html
CLICK US (Virginia): mirrors.rcn.net (also available via http)
CLICK US (Virginia): mirrors.rcn.net (also available via http)
ASKER
Oops, i was downloading whole crap..
can i just go there
ftp://mirrors.rcn.net/mirrors/sources.redhat.com/gcc/releases/gcc-3.2.2/
and download
gcc-3.2.2.tar.gz
right?
can i just go there
ftp://mirrors.rcn.net/mirrors/sources.redhat.com/gcc/releases/gcc-3.2.2/
and download
gcc-3.2.2.tar.gz
right?
ASKER
helo
any help here plz
any help here plz
ftp://mirrors.rcn.net/mirrors/sources.redhat.com/gcc/releases/gcc-3.2.2/
sounds like sources for red hat linux ... look for solaris sources
do you have pkg-get installed ... if yes, then simply give
pkg-get install gcc
and it will handle the rest (download and install )
else, get the binaries from:::
ftp://ftp.thewrittenword.com/packages/by-architecture/
sounds like sources for red hat linux ... look for solaris sources
do you have pkg-get installed ... if yes, then simply give
pkg-get install gcc
and it will handle the rest (download and install )
else, get the binaries from:::
ftp://ftp.thewrittenword.com/packages/by-architecture/
Good luck,
\t