LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 07-28-2003, 05:30 AM   #1
thejubster
LQ Newbie
 
Registered: Jul 2003
Location: Cambridge, UK
Distribution: Slackware
Posts: 2

Rep: Reputation: 0
Angry problems compiling


I am having problems compiling xmms crossfade plugin 0.3.2.

I have two machines both running slack 9 (both full installs). The crossfader installed no probs on my machine at home but when I try the same install at work I encounter a C compiler error: Compiler cannot create executables.

I have checked that the permissions are right. And that gcc, glibc gtk etc are installed.

Here is the output from my config.log

Any help would be most appreciated as I am sure I am just overlooking a small detail somewhere.

>>>>>>>>>>config.log

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.52. Invocation command line was

$ ./configure

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

hostname = f256-a
uname -m = i686
uname -r = 2.4.20
uname -s = Linux
uname -v = #2 Mon Mar 17 22:02:15 PST 2003

/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/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games:/opt/www/htdig/bin:/opt/kde/bin:/usr/lib/qt-3.1.2/bin:/usr/share/texmf/bin:.

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

configure:1098: PATH=".;."; conftest.sh
./configure: line 1099: conftest.sh: command not found
configure:1101: $? = 127
configure:1147: checking for a BSD compatible install
configure:1196: result: /usr/bin/ginstall -c
configure:1207: checking whether build environment is sane
configure:1250: result: yes
configure:1283: checking for mawk
configure:1309: result: no
configure:1283: checking for gawk
configure:1298: found /usr/bin/gawk
configure:1306: result: gawk
configure:1316: checking whether make sets ${MAKE}
configure:1336: result: yes
configure:1503: checking build system type
configure:1521: result: i686-pc-linuxoldld
configure:1531: checking host system type
configure:1545: result: i686-pc-linuxoldld
configure:1563: checking for style of include used by make
configure:1590: result: GNU
configure:1637: checking for gcc
configure:1652: found /usr/bin/gcc
configure:1660: result: gcc
configure:1888: checking for C compiler version
configure:1891: gcc --version </dev/null >&5
gcc (GCC) 3.2.2
Copyright (C) 2002 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:1894: $? = 0
configure:1896: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc-lib/i386-slackware-linux/3.2.2/specs
Configured with: ../gcc-3.2.2/configure --prefix=/usr --enable-shared --enable-threads=posix --enable-__cxa_atexit --disable-checking --with-gnu-ld --verbose --target=i386-slackware-linux --host=i386-slackware-linux
Thread model: posix
gcc version 3.2.2
configure:1899: $? = 0
configure:1901: gcc -V </dev/null >&5
gcc: argument to `-V' is missing
configure:1904: $? = 1
configure:1924: checking for C compiler default output
configure:1927: gcc conftest.c >&5
gcc: installation problem, cannot exec `as': No such file or directory
configure:1930: $? = 1
configure: failed program was:
#line 1908 "configure"
#include "confdefs.h"

int
main ()
{

;
return 0;
}
configure:1953: error: C compiler cannot create executables

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

ac_cv_build=i686-pc-linuxoldld
ac_cv_build_alias=i686-pc-linuxoldld
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_host=i686-pc-linuxoldld
ac_cv_host_alias=i686-pc-linuxoldld
ac_cv_path_install='/usr/bin/ginstall -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes
lt_cv_sys_path_separator=:

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

#define PACKAGE "xmms-crossfade"
#define VERSION "0.3.2"


configure: exit 77

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>.

Once again thanks in advance for any assistance.
 
Old 07-28-2003, 10:47 AM   #2
Corin
Member
 
Registered: Jul 2003
Location: Jette, Brussels Hoofstedelijk Gewest
Distribution: Debian sid, RedHat 9, Suse 8.2
Posts: 446

Rep: Reputation: 30
You must read what it is telling you! :+)

gcc: installation problem, cannot exec `as': No such file or directory

So the problem is, it cannot run a program called `as'.

as? as? Well that sounds a bit strange, but in fact `as' is a program

AS - the portable GNU assembler.

So for RedHat 9 if we do

$ which as
/usr/bin/as

and

$ rpm -qf /usr/bin/as
binutils-2.13.90.0.18-9

we see that you need to install the binutils package.

There will no doubt be a similar package for Slackware.

Last edited by Corin; 07-28-2003 at 10:48 AM.
 
Old 07-29-2003, 04:26 AM   #3
thejubster
LQ Newbie
 
Registered: Jul 2003
Location: Cambridge, UK
Distribution: Slackware
Posts: 2

Original Poster
Rep: Reputation: 0
Thank you so much for your help.

I couldn't see the wood for the trees!

ta!

 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Problems compiling gv wearetheborg Linux - Software 2 10-17-2005 07:42 AM
Problems Compiling Problems With GCC And C++ phnxbn Linux - Software 0 11-02-2004 05:49 PM
Problems installing amsn (TK compiling problems) JNewton Linux - Software 0 05-24-2004 12:07 PM
Compiling problems garf12 Linux - Software 4 03-06-2004 09:37 PM
compiling problems cameronknives Linux - General 31 02-10-2002 09:56 PM


All times are GMT -5. The time now is 03:13 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration