Re: Configure can't find library but g++ can

2007-07-07 Thread Baurzhan Ismagulov
On Sat, Jul 07, 2007 at 12:19:20AM -0700, astro9672 wrote: > So I think the library is installed and I think I have > the syntax right but configure still says it cannot > find the library. config.log contains the information how configure tries to use the library. configure may fail to build the

Configure can't find library but g++ can

2007-07-07 Thread astro9672
Hi, I am attempting to use autotools to create a program that uses two shared libraries: libcsv and libical. I was able to get everything working up to the point of detecting the first library. The relevant part of my configure.ac script is here: - # check for libcsv AC_CHECK_LIB(csv,

Re: Configure can't find library but g++ can

2007-07-07 Thread Andreas Schwab
astro9672 <[EMAIL PROTECTED]> writes: > # check for libcsv > AC_CHECK_LIB(csv, > main, > LIBS="$LIBS -lcsv", > AC_MSG_ERROR([*** libcsv library not found!]) > ) You should always quote nested macro invocations. AC_CHECK_LIB(csv, main, LIBS="$LIBS -lcsv",

Re: newby question: to use or not to use ?

2007-07-07 Thread Baurzhan Ismagulov
On Thu, Jul 05, 2007 at 03:30:31PM +0100, Joao Miguel Ferreira wrote: > The code is some kind of communications middleware in C/C++. From it we > build some shared libs which are loaded by our client's application > developers. > > I've used Autoconf/Automake and Libtool before but it was a very s

Re: newby question: to use or not to use ?

2007-07-07 Thread Benoit SIGOURE
On Jul 7, 2007, at 10:11 AM, Baurzhan Ismagulov wrote: I like the following features the most: * Cross-compilation support * Building in another directory * Targets like clean, distclean, etc. * Ease of adding new binaries and libraries (both internal and external) * Testing framework integr

Re: Configure can't find library but g++ can

2007-07-07 Thread astro9672
> config.log contains the information how configure >tries to use the library. That solved it for me. Turns out that libical requires libpthread. Once I added a check for that the whole thing worked great. Thanks so much! Andy _