LinuxQuestions.org
Visit Jeremy's Blog.
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 07-12-2003, 08:33 PM   #1
bersl2
LQ Newbie
 
Registered: May 2003
Location: New Orleans, LA
Distribution: Slackware
Posts: 5

Rep: Reputation: 0
Question Broken ./configure


OK, I've got a weird one. (What I was trying to install in this case was the latest snapshot of Wine, but the same thing happens for all configure runs.)

bersl2@cx15455-a:/usr/src/wine-20030709$ ./configure --enable-opengl
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.

bersl2@cx15455-a:/usr/src/20030709$ cat 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 Wine configure 20030709, which was
generated by GNU Autoconf 2.57. Invocation command line was

$ ./configure

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

hostname = cx15455-a
uname -m = i686
uname -r = 2.4.21
uname -s = Linux
uname -v = #1 Thu Jun 19 18:37:21 CDT 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
PATH: /usr/bin
PATH: /bin
PATH: /usr/X11R6/bin
PATH: /usr/games
PATH: /opt/www/htdig/bin
PATH: /opt/kde/bin
PATH: /usr/lib/qt-3.1.2/bin
PATH: /usr/share/texmf/bin
PATH: .


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

configure:1404: checking build system type
configure:1422: result: i686-pc-linux-gnu
configure:1430: checking host system type
configure:1444: result: i686-pc-linux-gnu
configure:1452: checking whether make sets $(MAKE)
configure:1472: result: yes
configure:1527: checking for gcc
configure:1543: found /usr/bin/gcc
configure:1553: result: gcc
configure:1797: checking for C compiler version
configure:1800: 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:1803: $? = 0
configure:1805: 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:1808: $? = 0
configure:1810: gcc -V </dev/null >&5
gcc: argument to `-V' is missing
configure:1813: $? = 1
configure:1837: checking for C compiler default output
configure:1840: gcc conftest.c >&5
configure:1843: $? = 0
configure:1889: result: a.out
configure:1894: checking whether the C compiler works
configure:1900: ./a.out
./configure: line 1: ./a.out: Permission denied
configure:1903: $? = 126
configure:1912: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.

and a whole lot of empty environment variables left out for sanity's sake.

Hmm... there is no conftest.c... fun...
 
Old 07-12-2003, 08:41 PM   #2
fancypiper
Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 57
Is kernel-source installed? I don't know if wine needs it or not, it's just a shot in the dark.
 
Old 07-13-2003, 11:20 AM   #3
bersl2
LQ Newbie
 
Registered: May 2003
Location: New Orleans, LA
Distribution: Slackware
Posts: 5

Original Poster
Rep: Reputation: 0
It's not a Wine issue. I have the same problem with every attempt to run configure.

I'm thinking I might want to remove and install again the whole D series of packages. Can't hurt too much...

(later)

...doesn't help too much, either.

Last edited by bersl2; 07-13-2003 at 11:28 AM.
 
Old 07-13-2003, 11:26 AM   #4
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
Quote:
configure:1894: checking whether the C compiler works
configure:1900: ./a.out
./configure: line 1: ./a.out: Permission denied
configure:1903: $? = 126
configure:1912: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
Have you changed security policies recently, or changed the permissions of any compiler/important apps? You are loggin in as root right?
 
Old 07-13-2003, 11:32 AM   #5
fancypiper
Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 57
Your prompt is showing user account ( $ ) and not root ( # ).

Try this command first and answer the prompt with the root password
Code:
fancy@uilleann $ su -
Password: 
root@uilleann #
 
Old 07-13-2003, 11:39 AM   #6
bersl2
LQ Newbie
 
Registered: May 2003
Location: New Orleans, LA
Distribution: Slackware
Posts: 5

Original Poster
Rep: Reputation: 0
I usually do the whole compile process as root, yes. (Looks at first post. Oops.)

As for security policies, I'll go look at the permissions of the executables, but...

Could a strange umask have anything to do with this? Such as umask 133...

Last edited by bersl2; 07-13-2003 at 11:41 AM.
 
Old 07-13-2003, 11:43 AM   #7
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
umask 133 gives permissions 744, which seems an ok set of permissions. Just logging in as root should fix it, and as long as you havent been playing with the security or permissions, nothing should be wrong.
 
Old 07-13-2003, 11:44 AM   #8
bersl2
LQ Newbie
 
Registered: May 2003
Location: New Orleans, LA
Distribution: Slackware
Posts: 5

Original Poster
Rep: Reputation: 0
I'm gonna cry. Thanks for putting up with my brain cramps.
 
Old 07-13-2003, 11:46 AM   #9
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
Still not working?
 
  


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
Configure dhcpd (Configure DHCP Server) hanserver2004 LinuxQuestions.org Member Success Stories 3 10-23-2006 06:39 AM
Configure dhcpd (Configure DHCP Server) hanserver2004 General 1 08-16-2004 01:39 PM
How to use GNU autoconf to generate a new configure from configure.in ?? vanhelsing Programming 5 08-05-2004 10:02 AM
configure: error: when trying to install / configure new software ? met tomfer007 Linux - Software 1 07-25-2004 03:52 PM
Debian Unstable: mozilla-firefox configure broken? willistg Linux - Software 4 03-17-2004 02:18 PM


All times are GMT -5. The time now is 06:49 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