LinuxQuestions.org
Visit Jeremy's Blog.
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 08-07-2005, 03:17 PM   #1
TallGuy
LQ Newbie
 
Registered: Jul 2003
Posts: 14

Rep: Reputation: 0
Unhappy Can't compile on SUSE 9.3


Here's what I get if I try to compile an app from source on my brand new install of Suse 9.3

linux:/home/geo/Downloads/Gzipped/audacity-src-1.2.3 # sh configure
checking for gcc... gcc
checking for C compiler default output file name... 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.

The log isn't very helpful (to me anyway)

configure:1669: $? = 0
configure:1671: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc-lib/i586-suse-linux/3.3.5/specs
Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --enable-languages=c,c++,f77,objc,java,ada --disable-checking --libdir=/usr/lib --enable-libgcj --with-slibdir=/lib --with-system-zlib --enable-shared --enable-__cxa_atexit i586-suse-linux
Thread model: posix
gcc version 3.3.5 20050117 (prerelease) (SUSE Linux)
configure:1674: $? = 0
configure:1676: gcc -V </dev/null >&5
gcc: `-V' option must have argument
configure:1679: $? = 1
configure:1702: checking for C compiler default output file name
configure:1705: gcc conftest.c >&5
configure:1708: $? = 0
configure:1754: result: a.out
configure:1759: checking whether the C compiler works
configure:1765: ./a.out
configure: line 1766: ./a.out: Permission denied
configure:1768: $? = 126
configure:1777: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.

So,does anybody know wtf is this? thanx
 
Old 08-07-2005, 03:46 PM   #2
KimVette
Senior Member
 
Registered: Dec 2004
Location: Lee, NH
Distribution: OpenSUSE, CentOS, RHEL
Posts: 1,794

Rep: Reputation: 46
You are getting "permission denied" so what happens if you su to root first? Start there, and if it works then, you have permission issues.
 
Old 08-07-2005, 04:48 PM   #3
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Do you have gcc installed?
 
Old 08-07-2005, 05:12 PM   #4
TallGuy
LQ Newbie
 
Registered: Jul 2003
Posts: 14

Original Poster
Rep: Reputation: 0
solved

Thanx all for the prompt replies. It was a permissions problem or something like it because I had kept my previous settings when updating to 9.3 and it was a bit of a mess..just being lazy really.
 
  


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
How do I compile packages for use in Suse? sdat1333 Linux - Newbie 1 12-11-2004 11:18 PM
how to compile kernel-2.6.8.1 in suse-9.1? greythorne Linux - Distributions 4 10-30-2004 11:15 PM
Compile from source under SuSE 9.1 Travers Linux - Software 3 09-03-2004 11:00 PM
Can't compile Gaim in Suse 9.1 Guitarist88 Linux - Software 12 08-04-2004 04:32 AM
SuSE 8.2, can't compile a new kernel! Help! Thermodynamic Linux - Software 2 07-24-2003 10:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:44 AM.

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