GnuCash-1.5.1 fails to compile on FreeBSD 4.1-RELEASE

Steve Davidson sdn@sprintlabs.com
Tue, 19 Sep 2000 09:07:08 -0700


Dave Peticolas wrote:

> Steve Davidson writes:
> > Dave Peticolas wrote:
> >
> > > Steve Davidson writes:
> > > > In src/engine/Makefile:
> > > > GLIB_CFLAGS =
> > >
> > > That's definitely the problem. Does your ./configure test
> > > for glib succeed or fail? What does
> > >
> > > glib-config --cflags
> >
> > glib-config: command not found
> >
> > >
> > >
> > > give you?
> > >
> > > thanks,
> > > dave
> >
> > >From ./configure:
> >
> > checking for glib-config... (cached) no
> > checking for GLIB - version >= 0.99.7... no
> > *** The glib-config script installed by GLIB could not be found
> > *** If GLIB was installed in PREFIX, make sure PREFIX/bin is in
> > *** your path, or set the GLIB_CONFIG environment variable to the
> > *** full path to glib-config.
> >
> > I only have:
> > glib-1.2.8
> > glib-1.3.1
> >
> > Where would I get 0.99.7?
>
> You don't need 0.99.7, as 1.2.8 will do. However, you also need
> the development files for glib, including the headers and the
> glib-config script. Is there a glib-devel or glib-dev package
> available?
>
> dave

The glib12 and glib13 software was loaded via the FreeBSD 4.1-RELEASE
ports collection.
Apparently, glib-config and other development related files were not
included.

How can I get a proper glib installation?

This is the output of www.freebsd.org/ports search on glib:



Category devel

glib-1.2.8
    Some useful routines of C programming
    Maintained by: vanilla@FreeBSD.org
    Requires: libtool-1.3.4
    Description : Sources : Package : Changes : Download

glib-1.3.1
    Some useful routines of C programming (unstable development version)

    Maintained by: vanilla@FreeBSD.org
    Requires: libtool-1.3.4
    Description : Sources : Package : Changes : Download

Category japanese

ja-linux_locale-13.0
    Linux glibc 2.0/2.1 locale definition for Japanese
    Maintained by: imura@FreeBSD.org
    Also listed in: emulators linux
    Requires: linux_base-6.1
    Description : Sources : Changes : Download

Category korean

ko-linux_locale-1.0
    Glibc 2.0 Korean locale for linux compatibility
    Maintained by: cjh@kr.freebsd.org
    Also listed in: emulators linux
    Requires: linux_base-6.1
    Description : Sources : Changes : Download

Category lang

glibstdc++-2.8.1.1
    ISO Standard C++ library (includes the STL) for G++ 2.8.0
    Maintained by: obrien@FreeBSD.org
    Requires: gcc-2.8.1, gettext-0.10.35, gmake-3.79.1
    Description : Sources : Package : Changes : Download

Category net

gnet-1.0.3
    A simple network library built upon Glib
    Maintained by: nakai@FreeBSD.org
    Requires: glib-1.2.8, libtool-1.3.4
    Description : Sources : Package : Changes : Download

Category www

glibwww2-0.1
    A library for people wanting to use libwww with gtk/gnome
    Maintained by: sobomax@FreeBSD.org
    Also listed in: gnome
    Requires: ORBit-0.5.3, XFree86-3.3.6, esound-0.2.19,
gettext-0.10.35, glib-1.2.8, gmake-3.79.1, gnomelibs-1.2.4, gtk-1.2.8,
    imlib-1.9.8.1, jpeg-6b, libaudiofile-0.1.9, libtool-1.3.4,
libungif-4.1.0b1, libwww-5.3.1, png-1.0.8, tiff-3.5.5, xpm-3.4k
    Description : Sources : Package : Changes : Download