[EMAIL PROTECTED] wrote:
> Can anyone throw any light on the blow problem?  I have used mac ports to
> install GLib and Gtk+ but that hasn't helped. If I use mac ports to install
> gtk-gnutella it works fine, however, I wish to compile manually so that I can
> build the --topless version which I cannot figure out how to do with mac
> ports.
 
> this is from the end of the compile process:
> ERROR: Cannot compile against GLib. Library or header files might be missing.
> ERROR: Cannot compile against Gtk+. Library or header files might be missing.

Have you installed pkg-config? If not, you should install pkg-config using
mac ports. Otherwise, the directories where the libraries and header files
are installed to cannot be found. You could pass these paths manually though.

If you want to pass this information manually, you'll have to invoke build.sh
similar to this:

./build.sh --topless \
--cflags="-I$prefix/include/glib/glib-2.0 -I$prefix/lib/glib-2.0/include" \
--ldflags="-Wl,-R$prefix/lib -L$prefix/lib -lglib-2.0"

Note, you have to replace "$prefix" with the directory name used for the
installation of GLib. In case of mac ports, that might be /opt/local.

-- 
1000 octets   = 1 ko = 1 kilooctet; 1024 octets   = 1 Kio = 1 kibioctet
1000^2 octets = 1 Mo = 1 megaoctet; 1024^2 octets = 1 Mio = 1 mebioctet
1000^3 octets = 1 Go = 1 gigaoctet; 1024^3 octets = 1 Gio = 1 gibioctet

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
gtk-gnutella-devel mailing list
gtk-gnutella-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel

Reply via email to