gcc install problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Im using Ubuntu 7.10 and trying to install PYTHON, but here is what I see on
execution:

bob@XPS:~$ cd PYTHON
bob@XPS:~/PYTHON$ dir
Python-2.5.1  Python-2.5.1.tgz
bob@XPS:~/PYTHON$ cd Python-2.5.1
bob@XPS:~/PYTHON/Python-2.5.1$ dir
config.log  configure.in  Doc      Include     Lib      Mac             
Misc     Objects  PC       PCbuild8       Python  RISCOS    Tools
configure   Demo          Grammar  install-sh  LICENSE  Makefile.pre.in 
Modules  Parser   PCbuild  pyconfig.h.in  README  setup.py
bob@XPS:~/PYTHON/Python-2.5.1$ ./configure
checking MACHDEP... linux2
checking EXTRAPLATDIR... 
checking for --without-gcc... no
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.
bob@XPS:~/PYTHON/Python-2.5.1$ 

So then I DL and tried to install the latest gcc-4.2.3with these results:

bob@XPS:~$ cd GCC
bob@XPS:~/GCC$ dir
gcc-4.2.3  gcc-4.2.3.tar.bz2
bob@XPS:~/GCC$ cd gcc-4.2.3
bob@XPS:~/GCC/gcc-4.2.3$ ./configure
loading cache ./config.cache
checking host system type... i686-pc-linux-gnulibc1
checking target system type... i686-pc-linux-gnulibc1
checking build system type... i686-pc-linux-gnulibc1
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... no
configure: error: installation or configuration problem: C compiler cannot
create executables.
bob@XPS:~/GCC/gcc-4.2.3$ 


Could someone show me where I'm going wrong? If I open synaptic package
manager, it appears that GCC is install - more than one version - so why do
I keep getting the above error messages? Help appreciated.

Bob



-- 
View this message in context: http://www.nabble.com/gcc-install-problem-tp15478530p15478530.html
Sent from the gcc - Help mailing list archive at Nabble.com.


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux