Re: development

From: Don Seiler <don_at_seiler.us>
Date: Mon, 18 Nov 2002 10:45:29 -0600 (CST)

Alright I installed sqlite and that callbacks.c problem has gone away.
I'm stil getting the xml2 messages, but those are apparently just
warnings.

I'm not familiar with pkg-config, but apparently it is expecting an
xml2.pc file to be in /usr/lib/pkgconfig, where I do have a bunch of pc
files, but none for xml or xml2. I ran `find / -name "xml2.pc"`, but it
found nothing.

What might I need to do to have it recognize my xml2 install?

btw, I'm now getting this:

don_at_wopr gpe-contacts $ GTK2=yes make
make -C src all PREFIX=/usr/local DESTDIR=
make[1]: Entering directory `/home/don/cvs/gpe/base/gpe-contacts/src'
cc `pkg-config --cflags gtk+-2.0` -DGTK_ENABLE_BROKEN -g
-I../../libgpewidget -Wall `pkg-config --cflags xml2`
-DPACKAGE=\"gpe-contacts\" -DPREFIX=\"/usr/local\"
-DPACKAGE_LOCALE_DIR=\"/usr/local/share/locale\" -MD -D_GNU_SOURCE -c -o
structure.o structure.c
Package xml2 was not found in the pkg-config search path.
Perhaps you should add the directory containing `xml2.pc'
to the PKG_CONFIG_PATH environment variable
No package 'xml2' found
structure.c:15: parser.h: No such file or directory
make[1]: *** [structure.o] Error 1
make[1]: Leaving directory `/home/don/cvs/gpe/base/gpe-contacts/src'
make: *** [all] Error 2

Don.

On 18 Nov 2002, Philip Blundell wrote:

> On Mon, 2002-11-18 at 14:52, Don Seiler wrote:
> > don_at_wopr gpe-contacts $ make
> > make -C src all PREFIX=/usr/local DESTDIR=
> > make[1]: Entering directory `/home/don/cvs/gpe/base/gpe-contacts/src'
> > cc `gtk-config --cflags` `gdk-pixbuf-config --cflags` -g
> > -I../../libgpewidget -Wall `pkg-config --cflags xml2`
> > -DPACKAGE=\"gpe-contacts\" -DPREFIX=\"/usr/local\"
> > -DPACKAGE_LOCALE_DIR=\"/usr/local/share/locale\" -MD -D_GNU_SOURCE -c -o
> > callbacks.o callbacks.c
> > /bin/sh: gtk-config: command not found
> > /bin/sh: gdk-pixbuf-config: command not found
>
> These indicate that gpe-contacts is trying to compile for GTK 1. If you
> built gpe-icons successfully without gtk-config, you are probably using
> GTK 2. Pass "GTK2=yes" on the make command line.
>
> > callbacks.c:2: sqlite.h: No such file or directory
>
> Looks like you need to install the sqlite headers. This would be
> libsqlite-dev, or the Gentoo equivalent.
>
> > My machine is a gentoo box. I have installed the gentoo xml packages. My
> > PKG_CONFIG_PATH environment var isn't defined. Nor can I find an
> > "xml2.pc" file. What might I be doing wrong or need to further set up?
>
> Make sure that you have installed libxml2, not libxml1 or any other
> version. If all else fails, you could get the source from gnome.org and
> build it yourself.
>
> p.
>
>
>
>
>
Received on Mon Nov 18 2002 - 16:46:14 EST

This archive was generated by hypermail 2.2.0 : Mon Jul 25 2005 - 17:19:02 EDT