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
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,
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",
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
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
> 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
_