install wxgtk28 error (GTK+ is incorrectly installed?)

张杰 newbdez33 at gmail.com
Tue Feb 26 04:12:24 UTC 2008


Hi guys,

When i install wxgtk28 from ports, but get this error:

checking for GTK+ - version >= 2.0.0... no
> *** Could not run GTK+ test program, checking why...
> *** The test program failed to compile or link. See the file config.logfor the
> *** exact error that occured. This usually means GTK+ is incorrectly
> installed.
> configure: error:
> The development files for GTK+ were not found. For GTK+ 2, please
> ensure that pkg-config is in the path and that gtk+-2.0.pc is
> installed. For GTK+ 1.2 please check that gtk-config is in the path,
> and that the version is 1.2.3 or above. Also check that the
> libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
> --libs' are in the LD_LIBRARY_PATH or equivalent.
>
> ===>  Script "configure" failed unexpectedly.
> Please report the problem to fjoe at FreeBSD.org [maintainer] and attach the
> "/usr/ports/x11-toolkits/wxgtk28/work/wxGTK-2.8.5/config.log" including
> the
> output of the failure of your make command. Also, it might be a good idea
> to
> provide an overview of all packages installed on your system (e.g. an `ls
> /var/db/pkg`).
> *** Error code 1


and..

> #pkg-config gtk+-2.0 --libs
> -pthread -Wl,--rpath -Wl,/usr/local/lib -L/usr/local/lib -lgtk-x11-2.0 -
> lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lXext -lXrender
> -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lcairo -
> lpangoft2-1.0 -lfontconfig -lfreetype -lz -lpango-1.0 -lm -lX11 -lXfixes -
> lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -liconv
>
> #uname -a
> FreeBSD home.sexbaby 5.5-RELEASE FreeBSD 5.5-RELEASE #0: Tue May 23
> 14:58:27 UTC 2006     root at perseus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
> i386


i have installed gtk2 and glib, What can i do for it?
Thank you first!

Jacky.


More information about the freebsd-x11 mailing list