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

cannot build-essentials



# apt-get install build-essentials
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package build-essentials


I think I am having some repository issue??

aptitude update gives me this:
Err http://ftp.us.debian.org lenny/updates/contrib Sources
  404 Not Found [IP: 204.152.191.39 80]
Err http://ftp.us.debian.org lenny/updates/non-free Sources
  404 Not Found [IP: 204.152.191.39 80]
Err http://ftp.us.debian.org lenny/updates/main Sources
  404 Not Found [IP: 204.152.191.39 80]

cat /etc/apt/sources.list
deb http://ftp.us.debian.org/debian/ lenny main contrib non-free
deb-src http://ftp.us.debian.org/debian/ lenny main contrib non-free
deb http://security.us.debian.org/ lenny/updates main contrib non-free
deb http://tovid.sourceforge.net/download/debian lenny contrib
deb-src http://tovid.sourceforge.net/download/debian lenny contrib
deb http://deb.opera.com/opera/ lenny non-free
deb http://download.skype.com/linux/repos/debian/ stable non-free

I think I have removed some apps that I need to configure source packages.
when I try to do a sh ./configure now I get errors:
# sh ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... configure: error: in `/disk2/software/cheese-2.32.0':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.

configure:3086: checking for gcc
configure:3102: found /usr/bin/gcc
configure:3113: result: gcc
configure:3342: checking for C compiler version
configure:3351: gcc --version >&5
gcc-4.3.real (Debian 4.3.4-10) 4.3.4
gcc version 4.3.4 (Debian 4.3.4-10)
configure:3362: $? = 0
configure:3351: gcc -V >&5
gcc-4.3.real: '-V' option must have argument
configure:3362: $? = 1
configure:3351: gcc -qversion >&5
gcc-4.3.real: unrecognized option '-qversion'
gcc-4.3.real: no input files
configure:3362: $? = 1
configure:3382: checking whether the C compiler works
configure:3404: gcc    conftest.c >&5
configure:3408: $? = 0
configure:3457: result: yes
configure:3460: checking for C compiler default output file name
configure:3462: result: a.out
configure:3468: checking for suffix of executables
configure:3475: gcc -o conftest    conftest.c >&5
configure:3479: $? = 0
configure:3501: result:
configure:3523: checking whether we are cross compiling
configure:3531: gcc -o conftest    conftest.c >&5
configure:3535: $? = 0
configure:3542: ./conftest
./configure: line 3544: ./conftest: Permission denied
configure:3546: $? = 126
configure:3553: error: in `/disk2/software/cheese-2.32.0':
configure:3557: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.



--
Paul Cartwright


Reply to: