Re: problems building linc



Michael Meeks wrote:

Hi Douglas,

On Sun, 27 May 2001, Douglas S. Keester wrote:

I have been attempting to build linc from CVS 'HEAD' using glib-1.3.5.

Configure is dying with the following error:
./configure: line 1925: syntax error near unexpected token
`AM_PATH_GLIB_2_0(1.3.2,,'
./configure: line 1925: `AM_PATH_GLIB_2_0(1.3.2,, { echo "configure:
error: *** GLIB 1.3.2 or better is  required. The latest version of

GLIB'
As the error would suggest, you need glib >= 1.3.2, you can get this from cvs by checking out the latest 'glib'. This includes the glib/m4macros/glib-2.0.m4 macro that includes this check.


Configure is looking for the macro AM_PATH_GLIB_2_0, which isn't define anywhere. Running autogen.sh from a freshly checked out version of linc causes a macro called AM_PATH_GLIB to be created rather than the proper macro.

This is probably due to having only the glib-1.2 installed. Regards, Michael.



Pardon my unfamiliarity with the GNU build tools and building from CVS. I DO have glib 1.3.5 installed. It is in /usr/local. I was assuming that the script that builds aclocal.m4 would be smart enough to look for /usr/local/share/aclocal by default, since /usr/local is a fairly standard location to install software. Obviously I assumed wrong. Adding the following line to autogen.sh solved my problem.

---snip---
ACLOCAL_FLAGS='-I /usr/local/share/aclocal'
---snip---

Thanks for the help, Micheal. :-)

-Doug





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