configure says GCC can't compile C programs...WTF?
I've never run into a situation where a configure script said gcc *couldn't* compile programs.. How would I fix this? BTW..I'm still running 7.1 checking whether the C compiler works... configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. zsh: 11668 exit 1 ./configure --with-kde-version=2 --prefix=/opt/kde2 --with-qt-dir=/usr/lib/qt Thanks, -- Ben Rosenberg mailto:ben@whack.org cat CE|ME|NT|XP > /dev/null
Look in the file config.log. That'll show you exactly what the configure script was trying to do, and what failed. regards Anders On Wednesday 22 August 2001 00:02, Ben Rosenberg wrote:
I've never run into a situation where a configure script said gcc *couldn't* compile programs.. How would I fix this?
BTW..I'm still running 7.1
checking whether the C compiler works... configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. zsh: 11668 exit 1 ./configure --with-kde-version=2 --prefix=/opt/kde2 --with-qt-dir=/usr/lib/qt
Thanks,
-- SuSE 7.2 on an Athlon Thunderbird 1GHz using KDE 2.2 and kernel 2.4.8 12:07am up 7:44, 1 user, load average: 1.95, 0.99, 0.67 Fortune: Encyclopedia Salesmen: Invite them all in. Nip out the back door. Phone the police and tell them your house is being burgled. -- Mike Harding, "The Armchair Anarchist's Almanac"
Well this is from the config.log. I'm not sure what it's doing. configure:1413: checking for gcc configure:1428: found /usr/bin/gcc configure:1436: result: gcc configure:1537: checking whether the C compiler works configure:1543: ./ ./configure: ./: is a directory configure:1546: $? = 126 configure:1553: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. * Anders Johansson (andjoh@cicada.linux-site.net) [010821 15:08]: ->Look in the file config.log. That'll show you exactly what the configure ->script was trying to do, and what failed. -> ->regards ->Anders -> ->On Wednesday 22 August 2001 00:02, Ben Rosenberg wrote: ->> I've never run into a situation where a configure script said gcc ->> *couldn't* compile programs.. How would I fix this? ->> ->> BTW..I'm still running 7.1 ->> ->> checking whether the C compiler works... configure: error: cannot run C ->> compiled programs. ->> If you meant to cross compile, use `--host'. ->> zsh: 11668 exit 1 ./configure --with-kde-version=2 --prefix=/opt/kde2 ->> --with-qt-dir=/usr/lib/qt ->> ->> Thanks, -> ->-- ->SuSE 7.2 on an Athlon Thunderbird 1GHz using KDE 2.2 and kernel 2.4.8 -> 12:07am up 7:44, 1 user, load average: 1.95, 0.99, 0.67 ->Fortune: Encyclopedia Salesmen: -> Invite them all in. Nip out the back door. Phone the police ->and tell them your house is being burgled. -> -- Mike Harding, "The Armchair Anarchist's Almanac" -> ->-- ->To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com ->For additional commands send e-mail to suse-linux-e-help@suse.com ->Also check the FAQ at http://www.suse.com/support/faq and the ->archives at http://lists.suse.com -> -- Ben Rosenberg mailto:ben@whack.org cat CE|ME|NT|XP > /dev/null
On Wednesday 22 August 2001 00:10, Ben Rosenberg wrote:
Well this is from the config.log. I'm not sure what it's doing.
configure:1413: checking for gcc configure:1428: found /usr/bin/gcc configure:1436: result: gcc configure:1537: checking whether the C compiler works configure:1543: ./
Well, to me this says the configure script is broken. This line should call the c-compiler. From one of my config.log:s configure:1307: checking for gcc configure:1420: checking whether the C compiler (gcc -g -O2 ) works configure:1436: gcc -o conftest -g -O2 conftest.c 1>&5
./configure: ./: is a directory configure:1546: $? = 126 configure:1553: error: cannot run C compiled programs. If you meant to cross compile, use `--host'.
Anders
On Tue, Aug 21, 2001 at 03:02:03PM -0700, Ben Rosenberg wrote:
I've never run into a situation where a configure script said gcc *couldn't* compile programs.. How would I fix this?
BTW..I'm still running 7.1
checking whether the C compiler works... configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. zsh: 11668 exit 1 ./configure --with-kde-version=2 --prefix=/opt/kde2 --with-qt-dir=/usr/lib/qt
What does the following report? which cc If that shows nothing, try which gcc If neither works, you will need to install gcc. If only the second works, make a soft link from gcc to cc. If both work, then the problem is somewhere else! -- ____________________________________________________________________ Robert Paulsen paulsen@texas.net
Both work. * Robert C. Paulsen Jr. (paulsen@texas.net) [010821 15:10]: ->On Tue, Aug 21, 2001 at 03:02:03PM -0700, Ben Rosenberg wrote: ->> I've never run into a situation where a configure script said gcc ->> *couldn't* compile programs.. How would I fix this? ->> ->> BTW..I'm still running 7.1 ->> ->> checking whether the C compiler works... configure: error: cannot run C ->> compiled programs. ->> If you meant to cross compile, use `--host'. ->> zsh: 11668 exit 1 ./configure --with-kde-version=2 --prefix=/opt/kde2 --with-qt-dir=/usr/lib/qt ->> -> ->What does the following report? -> -> which cc -> ->If that shows nothing, try -> -> which gcc -> ->If neither works, you will need to install gcc. If only the second ->works, make a soft link from gcc to cc. -> ->If both work, then the problem is somewhere else! -> ->-- ->____________________________________________________________________ ->Robert Paulsen paulsen@texas.net -- Ben Rosenberg mailto:ben@whack.org cat CE|ME|NT|XP > /dev/null
Hi fellows... is there any way using chroot to Jail a user since the beginning of the session ? I want to Jail my users to SSH, SFTP, the shell itself. thanks bye --ed
is a 7.2 SuSE Linux for Sparc ... specifically for Sun Blade 100 ? thanks bye --ed
participants (4)
-
Anders Johansson
-
Ben Rosenberg
-
Linux - User
-
Robert C. Paulsen Jr.