LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Can't compile on SUSE 9.3 (https://www.linuxquestions.org/questions/linux-software-2/cant-compile-on-suse-9-3-a-350883/)

TallGuy 08-07-2005 02:17 PM

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

KimVette 08-07-2005 02:46 PM

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.

reddazz 08-07-2005 03:48 PM

Do you have gcc installed?

TallGuy 08-07-2005 04:12 PM

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.


All times are GMT -5. The time now is 11:04 AM.