Re: Best method to port an Unix application on Win32



On Sun, 2006-01-29 at 15:06 +0100, Francis BACQUE wrote:
> On Sun, 29 Jan 2006 11:31:45 +0100 (CET)
> Goth <oogothoo yahoo fr> wrote:
> > ./configure: line 23713: syntax error near unexpected
> > token `BASE,'
> > ./configure: line 23713: `PKG_CHECK_MODULES(BASE,
> > glibmm-2.4 >= 2.4.0)'
> 
> Try this:
> PKG_CHECK_MODULES(GTKMM, gtkmm-2.4 >= 2.4.0)
> AC_SUBST(GTKMM_CFLAGS)
> AC_SUBST(GTKMM_LIBS)

No, the BASE or GTKMM part can be anything that you like. It's just a
prefix for your _CFLAGS and _LIBS variables.

The problem here is more likely to be that autoconf can not find the
pkg-config m4 macros. You may need to set ACLOCAL_FLAGS. For instance,
env shows that mine (not win32) is
ACLOCAL_FLAGS=-I /opt/gnome214/share/aclocal

If you haven't set this then you may also have forgotten to set
LD_LIBRARY_PATH and one or two other things.

-- 
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com




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