Results 1 to 6 of 6
hey guys
i havent recently installed linux/debian on my computer and installed gcc with sudo app-get isntall gcc. when i go to terminal i can type gcc and it would ...
- 08-12-2007 #1Just Joined!
- Join Date
- Aug 2007
- Posts
- 5
problems with gcc/libmad make
hey guys
i havent recently installed linux/debian on my computer and installed gcc with sudo app-get isntall gcc. when i go to terminal i can type gcc and it would say no input files which i guess shows that gcc is installed. when i type in ./configure in the libmad directory i get errors saying there is something wrong with my compiler.
I am wondering if there is something else that is needed when installing gcc. i have used libmad on the computers in my university and it ./configures fine.
thank you
- 08-12-2007 #2
Can you post the exact error messages you get when you run ./configure for libmad.
- 08-12-2007 #3Just Joined!
- Join Date
- Aug 2007
- Posts
- 5
i just tried to run it again and here is the result.
song@ubuntu:~/Desktop/libmad-0.15.1b$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... no
checking build system type... i686-pc-linux-gnulibc1
checking host system type... i686-pc-linux-gnulibc1
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
song@ubuntu:~/Desktop/libmad-0.15.1b$
i have no idea what this stuff means, and when i look at the config.log it is even more confusing.
any help would be appreciated
thanks alot
- 08-12-2007 #4
Try the following
After that try running ./configure again.Code:$sudo aptitude install libc6-dev
- 08-13-2007 #5Just Joined!
- Join Date
- Aug 2007
- Posts
- 5
i have done that and it said installed 2 new packages or something. then when i run ./configure again i get an different error. well here is the error, hopefully it means something to you, since i have no idea what is going on.
song@ubuntu:~/Desktop/libmad-0.15.1b$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... no
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... none
checking dependency style of gcc... none
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
song@ubuntu:~/Desktop/libmad-0.15.1b$
thanks alot for your help
- 08-13-2007 #6
You don't have a c++ compiler installed. Try the following,
Code:$sudo aptitude install build-essential


Reply With Quote