what compilers/libs/make/development tools do i need to...?
Hey every1, I would like to know which compilers, libs, automakes, perls, or anything else I would need to be able to succesfully install programs. Right now I am on redhat 9.0 and I didn't install any compilers or anything under the "Development" section under the GUI install.
How and where can I actually download and install these files I need myself? For insance I tried installing checkinstall.. needed GCC, got GCC needed "./configure: line 8: cc: command not found
*** The command 'cc -o conftest -g conftest.c' failed.
*** You must set the environment variable CC to a working compiler. " i tried to make GCC then got "/bin/sh: -c: line 1: syntax error near unexpected token `cd' "
what I am trying to do is get to the dreg of this problem and find out what i need to install GCC, then find out what I need to install check install. and work that way instead of just installing everything and not knowing what anything does. so the last 2 errors from gcc, ill just retype them in:
[understandlinux@localhost gcc-3.3.2]$ ./configure
Configuring for a i686-pc-linux-gnu host.
Created "Makefile" in /home/understandlinux/Source/gcc-3.3.2 using "mt-frag"
./configure: line 8: cc: command not found
*** The command 'cc -o conftest -g conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
and im not sure how to install tar's n stuff so i did ./configure and beneath i did make (although i am pretty sure the order is ./configure then make)
[understandlinux@localhost gcc-3.3.2]$ make
/bin/sh: -c: line 1: syntax error near unexpected token `cd'
/bin/sh: -c: line 1: `dir=`echo all-ash | sed -e 's/all-//'`; if [ -f ./${dir}/Makefile ] ; then r=`${PWDCMD-pwd}`; export r; s=`cd .; ${PWDCMD-pwd}`; export s; @SET_LIB_PATH@ (cd ${dir}; make "AR_FLAGS=rc" "AR_FOR_TARGET=` if [ -f $r/binutils/ar ] ; then echo $r/binutils/ar ; else if [ 'i686-pc-linux-gnu' = 'i686-pc-linux-gnu' ] ; then echo ar; else t=''; echo ar | sed -e 's/x/x/' $t ; fi; fi`" "AS_FOR_TARGET=` if [ -f $r/gas/as-new ] ; then echo $r/gas/as-new ; elif [ -f $r/gcc/xgcc ]; then @CC_FOR_TARGET@ -print-prog-name=as ; else if [ 'i686-pc-linux-gnu' = 'i686-pc-linux-gnu' ] ; then echo as; else t=''; echo as | sed -e 's/x/x/' $t ; fi; fi`" "BISON=`if [ -f $r/bison/bison ] ; then echo $r/bison/bison -L $s/bison/ ; else echo bison ; fi`" "CC_FOR_BUILD=cc" "CC_FOR_TARGET=@CC_FOR_TARGET@" "CFLAGS=-g" "CFLAGS_FOR_TARGET=-O2 -g" "GCJ_FOR_TARGET=@GCJ_FOR_TARGET@" "CXX_FOR_BUILD=c++" "CXXFLAGS=-g -O2" "CXXFLAGS_FOR_TARGET=-g -O2 -D_GNU_SOURCE" "CXX_FOR_TARGET=@CXX_FOR_TARGET@" "DESTDIR=" "DLLTOOL_FOR_TARGET=` if [ -f $r/binutils/dlltool ] ; then echo $r/binutils/dlltool ; else if [ 'i686-pc-linux-gnu' = 'i686-pc-linux-gnu' ] ; then echo dlltool; else t=''; echo dlltool | sed -e 's/x/x/' $t ; fi; fi`" "INSTALL=/bin/sh $s/install-sh -c" "INSTALL_DATA=/bin/sh $s/install-sh -c -m 644" "INSTALL_PROGRAM=/bin/sh $s/install-sh -c " "INSTALL_SCRIPT=/bin/sh $s/install-sh -c" "LDFLAGS=" "LEX=`if [ -f $r/flex/flex ] ; then echo $r/flex/flex ; else echo ; fi`" "LD_FOR_TARGET=` if [ -f $r/ld/ld-new ] ; then echo $r/ld/ld-new ; elif [ -f $r/gcc/xgcc ]; then @CC_FOR_TARGET@ -print-prog-name=ld ; else if [ 'i686-pc-linux-gnu' = 'i686-pc-linux-gnu' ] ; then echo ld; else t=''; echo ld | sed -e 's/x/x/' $t ; fi; fi`" "LIBCFLAGS=-g" "LIBCFLAGS_FOR_TARGET=-O2 -g" "LIBCXXFLAGS=-g -O2 -fno-implicit-templates" "LIBCXXFLAGS_FOR_TARGET=-g -O2 -D_GNU_SOURCE -fno-implicit-templates" "M4=`if [ -f $r/m4/m4 ] ; then echo $r/m4/m4 ; else echo m4 ; fi`" "MAKE=make" "MAKEINFO=`if [ -f $r/texinfo/makeinfo/makeinfo ] ; then echo $r/texinfo/makeinfo/makeinfo ; else if (makeinfo --version | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[2-9]|[5-9])') >/dev/null 2>&1; then echo makeinfo; else echo $s/missing makeinfo; fi; fi` --no-split" "NM_FOR_TARGET=` if [ -f $r/binutils/nm-new ] ; then echo $r/binutils/nm-new ; elif [ -f $r/gcc/xgcc ]; then @CC_FOR_TARGET@ -print-prog-name=nm ; else if [ 'i686-pc-linux-gnu' = 'i686-pc-linux-gnu' ] ; then echo nm; else t=''; echo nm | sed -e 's/x/x/' $t ; fi; fi`" "RANLIB_FOR_TARGET=` if [ -f $r/binutils/ranlib ] ; then echo $r/binutils/ranlib ; else if [ 'i686-pc-linux-gnu' = 'i686-pc-linux-gnu' ] ; then if [ x'' != x ]; then echo ; else echo ranlib; fi; else t=''; echo ranlib | sed -e 's/x/x/' $t ; fi; fi`" "RPATH_ENVVAR=@RPATH_ENVVAR@" "SHELL=/bin/sh" "EXPECT=`if [ -f $r/expect/expect ] ; then echo $r/expect/expect ; else echo expect ; fi`" "RUNTEST=`if [ -f $s/dejagnu/runtest ] ; then echo $s/dejagnu/runtest ; else echo runtest ; fi`" "RUNTESTFLAGS=" "TARGET_SUBDIR=@target_subdir@" "WINDRES_FOR_TARGET=` if [ -f $r/binutils/windres ] ; then echo $r/binutils/windres ; else if [ 'i686-pc-linux-gnu' = 'i686-pc-linux-gnu' ] ; then echo windres; else t=''; echo windres | sed -e 's/x/x/' $t ; fi; fi`" "YACC=`if [ -f $r/bison/bison ] ; then echo $r/bison/bison -y -L $s/bison/ ; elif [ -f $r/byacc/byacc ] ; then echo $r/byacc/byacc ; else echo ; fi`" "bindir=/usr/local/bin" "datadir=/usr/local/share" "exec_prefix=/usr/local" "includedir=/usr/local/include" "infodir=/usr/local/info" "libdir=/usr/local/lib" "libexecdir=/usr/local/libexec" "lispdir=" "libstdcxx_incdir=" "libsubdir=/usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.3.2" "localstatedir=/usr/local/var" "mandir=/usr/local/man" "oldincludedir=/usr/include" "prefix=/usr/local" "sbindir=/usr/local/sbin" "sharedstatedir=/usr/local/com" "sysconfdir=/usr/local/etc" "tooldir=/usr/local/i686-pc-linux-gnu" "build_tooldir=/usr/local/i686-pc-linux-gnu" "gxx_include_dir=@gxx_include_dir@" "gcc_version=3.3.2" "gcc_version_trigger=/home/understandlinux/Source/gcc-3.3.2/gcc/version.c" "target_alias=i686-pc-linux-gnu" 'AR=ar' 'AS=as' 'CC=cc' 'CXX=c++' 'DLLTOOL=dlltool' 'LD=ld' 'NM=nm' "`echo 'RANLIB=' | sed -e s/.*=$/XFOO=/`" 'WINDRES=windres' all); else true; fi'
make: *** [all-ash] Error 2
thanks
|