autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

What promblem is in running configure script , using environment varialb


From: Jung-Ho Cha
Subject: What promblem is in running configure script , using environment varialbe like LIBS ?
Date: Wed, 2 Oct 2002 01:32:51 +0900

Hello 
I'm a newbie to Autoconf.
I make my project using Autoconf, Automake, and Libtool now.
To make it, I also studied the book GNU Autoconf, Automake, and Libtool
by Gary V. Vaughan .... 
I want to set LIBS variable in my project by setting it externally, but
I can't. 
The blow lines will show what happened.
-------------------------------------------------------------------
My system: Redhat 7.3 
>autoconf --version 
Autoconf version 2.13
>automake --version
automake (GNU automake) 1.4-p5

Copyright (C) 1999, 2001 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.

Written by Tom Tromey <address@hidden>
>libtool --version
ltmain.sh (GNU libtool) 1.4.2 (1.922.2.54 2001/09/11 03:33:37)
-------------------------------------------------------------------
The procedure is : 
>tar zxvf small-1.0.tar.gz 
>cd small-1.0
>./bootstrap
>./configure
...
OK
And then,
>export LIBS=-lposix
>./configure 
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... no
configure: error: installation or configuration problem: C compiler
cannot create executables.

Not OK.

What is the problem? 
I attached the book sample. If you want, you can test it.
I had a headache with this problem for days. 
Would some kind person help me? Please! 

Thank you. 

J.H. Cha

Attachment: small-1.0.tar.gz
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]