LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   problems compiling (https://www.linuxquestions.org/questions/linux-software-2/problems-compiling-76550/)

thejubster 07-28-2003 05:30 AM

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.

Corin 07-28-2003 10:47 AM

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.

thejubster 07-29-2003 04:26 AM

Thank you so much for your help.

I couldn't see the wood for the trees!

ta!

:study: :study: :rolleyes: :D


All times are GMT -5. The time now is 07:54 PM.