Re: Compilation error on AIX: make static library

---------

From: Daniel Stenberg (daniel@haxx.se)
Date: Thu Mar 21 2002 - 01:19:17 CST


On Wed, 20 Mar 2002, Eric Bessette wrote:

> First I get a error when configuring:
>
> >checking for gdbm_open in -lgdbm... no
> >checking for GDBM support... checking for gdbm_open in -lgdbm... (cached)
> no
> >checking gdbm library... none found
> >configure: warning: No gdbm library found - will limit a few features

This is pretty harmless. As you don't have the gdbm library, hypermail won't
build with it and then you can't use features based on it (surprise).

> Then when I 'make', it doesn't seem to make the staic library .o files, it
> only makes the shared library. But it still tries to link the static
> library. Does anyone have any suggestions?

The configure output has the clue:

checking whether to build static libraries... no

To work around this, run configure like this:

 $ ./configure --disable-shared

-- 
      Daniel Stenberg - http://daniel.haxx.se - +46-705-44 31 77
   ech`echo xiun|tr nu oc|sed 'sx\([sx]\)\([xoi]\)xo un\2\1 is xg'`ol

---------

This archive was generated by hypermail 2.1.5.