LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-05-2006, 03:43 AM   #1
jaisol
LQ Newbie
 
Registered: Mar 2006
Posts: 9

Rep: Reputation: 0
gcc: installation problem, cannot exec `as': No such file or directory ERROR


I'm newb gay using Slackware 10.1.0

I'm having problem installing IKE-SCAN (any version) from nta-monitor.com/tools/ike-scan/


Once I get as far as "./configure", I get error:
C compiler cannot create executables


"Config.log" show next error:
gcc: installation problem, cannot exec `as': No such file or
directory


After reading several posts about it maybe I have problems with
packages missing and path wrong but I don't know how to fix it.


Maybe you'll try to figure it out my problem/solution with next info:

1. Output of 'which as':
Code:
which: no as in (/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games)
2. Output of 'ls /var/log/packages':
Code:
aaa_base-10.1.0-noarch-2          less-382-i486-1
aaa_elflibs-10.1.0-i486-1         libmcrypt-2.5.7-i486-1rob
autorespond-2.0.4-i686-1alf       libtermcap-1.2.3-i486-6
bash-3.0-i486-2                   libtool-1.5.10-i486-1
bin-9.2.0-i486-2                  lilo-22.5.9-i486-2
bzip2-1.0.2-i486-5                links-2.1pre15-i486-1
coreutils-5.2.1-i486-1            lsof-4.72-i486-1
cxxlibs-5.0.6-i486-1              lvm2-2.01.03-i486-1
db3-3.3.11-i486-4                 lynx-2.8.5rel.1-i486-2
db4-4.2.52-i486-2                 m4-1.4.2-i486-1
dcron-2.3.3-i386-1alf             make-3.80-i386-1
device-mapper-1.01.00-i486-1      mdadm-1.8.0-i486-1
devs-2.3.1-noarch-22              module-init-tools-3.1-i486-1
dhcpcd-2.0.0-i486-1alf            most-4.9.5-i486-1
diffutils-2.8.1-i386-1            ncurses-5.4-i486-2
djbdns-1.05-i686-2alf             nmap-3.75-i486-1
e2fsprogs-1.38-i686-1alf          openssh-4.2p1-i486-2taco
elvis-2.2_0-i486-2                openssl-0.9.7g-i486-1
etc-5.1-noarch-1alf               openssl-solibs-0.9.7g-i486-1
ezmlm-0.53-i686-1alf              pciutils-2.1.11-i486-5
findutils-4.1.7-i386-1            pine-4.64-i486-1alf
gawk-3.1.4-i486-1                 pkgconfig-0.15.0-i486-1
gcc-3.3.4-i486-1                  pkgtools-10.1.0-i486-4
gcc-g++-3.3.4-i486-1              procps-3.2.3-i486-1
gcc-g77-3.3.4-i486-1              readline-4.3-i486-3
gcc-gnat-3.3.4-i486-2             reiserfsprogs-3.6.18-i486-1
gcc-java-3.3.4-i486-1             runit-1.3.1-i686-1alf
gcc-objc-3.3.4-i486-1             samba-3.0.14a-i486-1
gettext-0.14.1-i486-1             screen-4.0.2-i486-1
gettext-tools-0.14.1-i486-2       sed-4.0.9-i486-2
glibc-solibs-2.3.4-i486-1         shadow-4.0.3-i486-11
glibc-zoneinfo-2.3.4-noarch-1     slocate-2.7-i386-1
grep-2.5-i386-2                   smartmontools-5.30-i486-1
gzip-1.3.3-i386-2                 socklog-2.0.2-i686-1alf
hdparm-5.8-i486-1                 squid-2.5.STABLE12-i686-1alf
hotplug-2004_09_23-noarch-1       tar-1.15.1-i486-1
infozip-5.51-i486-1               tcpip-0.17-i486-1alf
iproute2-2.6.11_050330-i486-3alf  udev-064-i486-2
ipsvd-0.11.0-i686-1alf            utempter-1.1.1-i486-1
iptables-1.3.2-i486-1alf          util-linux-2.12q-i486-1alf
iptraf-2.7.0-i386-1               vim-6.3.007-i486-1
joe-3.1-i486-1                    wget-1.9.1-i486-1
kbd-1.12-i486-2                   whois-4.6.16-i486-1
kernel-ide-2.4.29-i486-1          zlib-1.2.2-i486-1
kernel-ss-2.6.15.4-pIV-cata
3. Output of config.log file:
Code:
This file contains any messages produced by compilers while 
running configure, to aid debugging if configure makes a mistake. 

It was created by ike-scan configure 1.6, which was 
generated by GNU Autoconf 2.53.  Invocation command line was 

  $ ./configure 

## --------- ## 
## Platform. ## 
## --------- ## 

hostname = fenix.cnc.co.cr 
uname -m = i686 
uname -r = 2.6.15.4 
uname -s = Linux 
uname -v = #2 SMP Fri Feb 17 14:00:07 CST 2006 

/usr/bin/uname -p = unknown 
/bin/uname -X     = unknown 

/bin/arch              = i686 
/usr/bin/arch -k       = unknown 
/usr/convex/getsysinfo = unknown 
hostinfo               = unknown 
/bin/machine           = unknown 
/usr/bin/oslevel       = unknown 
/bin/universe          = unknown 

PATH: /usr/local/sbin 
PATH: /usr/sbin 
PATH: /sbin 
PATH: /usr/local/bin 
PATH: /usr/bin 
PATH: /bin 
PATH: /usr/X11R6/bin 
PATH: /usr/games 

## ----------- ## 
## Core tests. ## 
## ----------- ## 

configure:1237: checking for a BSD-compatible install 
configure:1291: result: /usr/bin/ginstall -c 
configure:1302: checking whether build environment is sane 
configure:1345: result: yes 
configure:1360: checking whether make sets ${MAKE} 
configure:1380: result: yes 
configure:1412: checking for working aclocal 
configure:1423: result: missing 
configure:1427: checking for working autoconf 
configure:1438: result: missing 
configure:1442: checking for working automake 
configure:1453: result: missing 
configure:1457: checking for working autoheader 
configure:1468: result: missing 
configure:1472: checking for working makeinfo 
configure:1483: result: missing 
configure:1541: checking for gcc 
configure:1557: found /usr/bin/gcc 
configure:1567: result: gcc 
configure:1811: checking for C compiler version 
configure:1814: gcc --version </dev/null >&5 
gcc (GCC) 3.3.4 
Copyright (C) 2003 Free Software Foundation, Inc. 
This is free software; see the source for copying conditions.  There is 
NO 
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR 
PURPOSE. 

configure:1817: $? = 0 
configure:1819: gcc -v </dev/null >&5 
Reading specs from /usr/lib/gcc-lib/i486-slackware-linux/3.3.4/specs 
Configured with: ../gcc-3.3.4/configure --prefix=/usr --enable-shared 
--enable-threads=posix --enable-__cxa_atexit --disable-checking 
--with-gnu-ld --verbose --target=i486-slackware-linux 
--host=i486-slackware-linux 
Thread model: posix 
gcc version 3.3.4 
configure:1822: $? = 0 
configure:1824: gcc -V </dev/null >&5 
gcc: `-V' option must have argument 
configure:1827: $? = 1 
configure:1853: checking for C compiler default output 
configure:1856: gcc    conftest.c  >&5 
gcc: installation problem, cannot exec `as': No such file or directory 
configure:1859: $? = 1 
configure: failed program was: 
#line 1830 "configure" 
#include "confdefs.h" 

#ifdef F77_DUMMY_MAIN 
#  ifdef __cplusplus 
     extern "C" 
#  endif 
   int F77_DUMMY_MAIN() { return 1; } 
#endif 
int 
main () 
{ 

  ; 
  return 0; 

} 

configure:1886: error: C compiler cannot create executables 

## ---------------- ## 
## Cache variables. ## 
## ---------------- ## 

ac_cv_env_CC_set= 
ac_cv_env_CC_value= 
ac_cv_env_CFLAGS_set= 
ac_cv_env_CFLAGS_value= 
ac_cv_env_CPPFLAGS_set= 
ac_cv_env_CPPFLAGS_value= 
ac_cv_env_CPP_set= 
ac_cv_env_CPP_value= 
ac_cv_env_LDFLAGS_set= 
ac_cv_env_LDFLAGS_value= 
ac_cv_env_build_alias_set= 
ac_cv_env_build_alias_value= 
ac_cv_env_host_alias_set= 
ac_cv_env_host_alias_value= 
ac_cv_env_target_alias_set= 
ac_cv_env_target_alias_value= 
ac_cv_path_install='/usr/bin/ginstall -c' 
ac_cv_prog_ac_ct_CC=gcc 
ac_cv_prog_make_make_set=yes 

## ----------- ## 
## confdefs.h. ## 
## ----------- ## 

#define PACKAGE_NAME "ike-scan" 
#define PACKAGE_TARNAME "ike-scan" 
#define PACKAGE_VERSION "1.6" 
#define PACKAGE_STRING "ike-scan 1.6" 
#define PACKAGE_BUGREPORT "ike-s...@nta-monitor.com" 
#define PACKAGE "ike-scan" 
#define VERSION "1.6" 

configure: exit 77

Any response will be appreciated.

THANKS!
 
Old 08-05-2006, 08:42 AM   #2
simcox1
Member
 
Registered: Mar 2005
Location: UK
Distribution: Slackware
Posts: 794
Blog Entries: 2

Rep: Reputation: 30
You are missing glibc itself.
 
Old 08-05-2006, 08:43 AM   #3
simcox1
Member
 
Registered: Mar 2005
Location: UK
Distribution: Slackware
Posts: 794
Blog Entries: 2

Rep: Reputation: 30
And binutils by the looks of it.
 
Old 08-05-2006, 10:03 AM   #4
jaisol
LQ Newbie
 
Registered: Mar 2006
Posts: 9

Original Poster
Rep: Reputation: 0
Installation was inherited then I prefer to install packages missed.

Is that possible?

What are the name of packages? and where can I download them?


THANKS again!
 
Old 08-05-2006, 10:17 AM   #5
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
You can get them from any Slackware mirror (see this page and click on your country, or one near you to see a list of mirrors). glibc-<version>.tgz will be in the slackware-10.1/slackware/a directory on any mirror and binutils-<version>.tgz will be in slackware-10.1/slackware/d.
 
Old 08-05-2006, 10:59 AM   #6
jaisol
LQ Newbie
 
Registered: Mar 2006
Posts: 9

Original Poster
Rep: Reputation: 0
After reviewing Slackware mirror I found glibc-solibs-<version>.tgz but not glibc-<version>.tgz (without solibs) package.

Are them equivalent packages?
Should I install glibc-solibs-<version>.tgz or not?

I got binutils package.

THANKS again!
 
Old 08-05-2006, 11:10 AM   #7
jaisol
LQ Newbie
 
Registered: Mar 2006
Posts: 9

Original Poster
Rep: Reputation: 0
I found glibc at ftp://slackware.mirrors.tds.net/pub/...0.1/slackware/l/ directory but I see several versions.

It glibc-2.3.4-i486-1.tgz package should I install?

THKS!
 
Old 08-05-2006, 11:12 AM   #8
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Ah yes, that would be it. Sorry, that's the right package . You don't need to install glibc-solibs as you've already got that installed.
 
Old 08-05-2006, 12:01 PM   #9
jaisol
LQ Newbie
 
Registered: Mar 2006
Posts: 9

Original Poster
Rep: Reputation: 0
Thanks to all.

Packages were downloded and I'll try to install them.
If I can't install successfully I will post new thread about it.

THANKS TO ALL AGAIN.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
gcc: installation problem, cannot exec `cc1': No such file or directory Error Message 08h Programming 2 07-20-2006 11:44 AM
exec: No such file or directory GUIPenguin Linux - General 1 03-31-2006 07:56 AM
FC5-test1-binary-i386-exec of anaconda failed: no such file or directory, any ideas? frankj Fedora 1 01-02-2006 12:30 AM
gcc: installation problem, cannot exec `cc1': No such file or directory natsirc Linux - General 3 11-11-2004 09:26 AM
gcc: installation problem, cannot exec `cc1': No such file or directory Error Message 08h Linux - Newbie 1 06-01-2004 04:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration