LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-17-2003, 07:28 PM   #1
ludeKing
Member
 
Registered: Jul 2003
Location: NSW. Australia
Distribution: Ubuntu, Fedora, Slackware
Posts: 181

Rep: Reputation: 30
Cannot install ANYTHING!


Hi all,

After a fresh FULL reinstall of Slackware 9.0, I am still having troubles installing drivers and programs.
I have attempted to install the Alsa Drivers for my VIA 8233 AC97 audio chip, and I am following the instructions given.

Code:
 In a shell type these commands:

 Make a directory to store the alsa source code in.

        cd /usr/src
        mkdir alsa
        cd alsa
        cp /downloads/alsa-* .

 Now unzip and install the alsa-driver package:

       bunzip2 alsa-driver-xxx
        tar -xf alsa-driver-xxx
        cd alsa-driver-xxx
        ./configure --with-cards=via82xx --with-sequencer=yes;make;make install
and when I get to the ./configure part, I get this output.

Code:
root@stevo:/usr/src/alsa/alsa-driver-0.9.6# ./configure --with-cards=via82xx --with-sequencer=yes;make;make install
checking for gcc... gcc
checking for C compiler default output... configure: error: C compiler cannot create executables
make all-deps
make[1]: Entering directory `/usr/src/alsa/alsa-driver-0.9.6'
make[1]: Nothing to be done for `all-deps'.
make[1]: Leaving directory `/usr/src/alsa/alsa-driver-0.9.6'

Please, run the configure script as first...

rm -f /snd*.o /persist.o /isapnp.o
make[1]: Entering directory `/usr/src/alsa/alsa-driver-0.9.6/support'
Makefile:9: ../Makefile.conf: No such file or directory
Makefile:27: /Rules.make: No such file or directory
make[1]: *** No rule to make target `/Rules.make'.  Stop.
make[1]: Leaving directory `/usr/src/alsa/alsa-driver-0.9.6/support'
make: *** [install-modules] Error 1
So I try running the ./configure line a diff way and I get this:

Code:
root@stevo:/usr/src/alsa/alsa-driver-0.9.6# ./configure --with-cards=via82xx --with-sequencer=yes && make && make install
checking for gcc... gcc
checking for C compiler default output... configure: error: C compiler cannot create executables
Then I try running the configure script on its own, and here is what I get:

Code:
root@stevo:/usr/src/alsa/alsa-driver-0.9.6# ./configure --with-cards=via82xx --with-sequencer=yes
checking for gcc... gcc
checking for C compiler default output... configure: error: C compiler cannot create executables
root@stevo:/usr/src/alsa/alsa-driver-0.9.6#
How do I install programs! What must I be missing?
Any help greatly appreciated.

Steve.
 
Old 08-17-2003, 08:20 PM   #2
tearinox
Member
 
Registered: Aug 2003
Location: you dont want to know
Distribution: Gentoo 2004.2, Slackware 10, Windows XP, Windows 2003 Server
Posts: 348

Rep: Reputation: 30
These following commands should fix it right up
Be in the directory where you unzipped the files and type one of the following commands:

#make

or

#make install
 
Old 08-17-2003, 09:42 PM   #3
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
what is the output of errors from the config.log file?
it looks like a case of missing C Library: Development Libraries and Header Files.
make sure you have the glibc-devel package installed matching your glibc version...this is the most common reason for this error..

oh and tearinox, that will not solve his problem....
 
Old 08-18-2003, 09:10 AM   #4
ludeKing
Member
 
Registered: Jul 2003
Location: NSW. Australia
Distribution: Ubuntu, Fedora, Slackware
Posts: 181

Original Poster
Rep: Reputation: 30
Here is the output from my 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 configure, which was
generated by GNU Autoconf 2.52.  Invocation command line was

  $ ./configure 

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

hostname = h4x0r
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/sbin:/usr/local/bin:/sbin:/usr/sbin:/bin:/usr/bin

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

configure:949: PATH=".;."; conftest.sh
./configure: line 950: conftest.sh: command not found
configure:952: $? = 127
configure:1006: checking for gcc
configure:1021: found /usr/bin/gcc
configure:1029: result: gcc
configure:1257: checking for C compiler version
configure:1260: 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:1263: $? = 0
configure:1265: 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:1268: $? = 0
configure:1270: gcc -V </dev/null >&5
gcc: argument to `-V' is missing
configure:1273: $? = 1
configure:1293: checking for C compiler default output
configure:1296: gcc    conftest.c  >&5
gcc: installation problem, cannot exec `as': No such file or directory
configure:1299: $? = 1
configure: failed program was:
#line 1277 "configure"
#include "confdefs.h"

int
main ()
{

  ;
  return 0;
}
configure:1322: 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_prog_ac_ct_CC=gcc


configure: exit 77
 
Old 08-18-2003, 09:13 AM   #5
ludeKing
Member
 
Registered: Jul 2003
Location: NSW. Australia
Distribution: Ubuntu, Fedora, Slackware
Posts: 181

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by DrOzz

make sure you have the glibc-devel package installed matching your glibc version...this is the most common reason for this error..
what would the glibc dev package look like, ie, what would its version number be. ie glibc-dev-2.3.1 etc......
I have glibc-2.3.1-i386-3 and a few glib packages associated with it.
 
Old 08-18-2003, 10:11 PM   #6
ludeKing
Member
 
Registered: Jul 2003
Location: NSW. Australia
Distribution: Ubuntu, Fedora, Slackware
Posts: 181

Original Poster
Rep: Reputation: 30
bump, anyone?
 
  


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
fc3 install doesnt install grub properly onto sata drive sabo Linux - Newbie 4 02-03-2007 05:04 PM
make install does not install daemons (clamd snortd). Is this a feature of tarball? Emmanuel_uk Linux - Newbie 3 11-15-2005 02:29 AM
Error: Unable to boot /install/2.6/linux when starting Etch Install BuckRogers01 Debian 4 08-06-2005 07:40 PM
How do I re-install an operatingsystem? Corrupted install. Yast wont load. URGENT.thx CrewXp SUSE / openSUSE 5 05-09-2005 01:07 AM
Ok, dumb question. If I install a Mandrake kernel RPM, where does it install to? Kramer Linux - General 6 01-13-2004 10:39 PM


All times are GMT -5. The time now is 10:33 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration