Date: Tue, 30 Aug 2011 18:01:51 +0200 From: Koop Mast <kwm@rainbow-runner.nl> To: Joseph Mingrone <jrm@ftfl.ca> Cc: freebsd-gnome@freebsd.org Subject: Re: problem with autoconf detecting gtk version on FreeBSD 8.2 Message-ID: <4E5D096F.7070007@rainbow-runner.nl> In-Reply-To: <CANRUcdDkxgrMzFS3iOyaZ8ef0pd8NXT-ZA69Y9tNL%2B_cUWYqFA@mail.gmail.com> References: <CANRUcdDkxgrMzFS3iOyaZ8ef0pd8NXT-ZA69Y9tNL%2B_cUWYqFA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 30-8-2011 17:15, Joseph Mingrone wrote: > Hello, > > I sent the message below to the autoconf bug list, but was told this > "looks like a gtk/pkg-config question". The ports autoconf-2.68 and > gtk-2.24.5_1 are installed with default options. > The contents of config.log following. If I've missed anything, please > let me know. configure:8447: result: yes configure:8457: checking for gtk_status_icon_new in -lgtk-x11-2.0 configure:8482: gcc -o conftest -g -O2 -I/usr/local/include conftest.c -lgtk-x11-2.0>&5 /usr/bin/ld: cannot find -lgtk-x11-2.0 configure:8482: $? = 1 configure: failed program was: I think that you should do the following: Now that you know pkg-config can find gtk 2.0. Use the pkg-config --libs and --cflags options, so the check above looks in all the right places. On the other hand you could just put a version check in the GTK check earlier :) Hope this gets you going. -Koop
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E5D096F.7070007>
