Re: [gtk-osx-users] Setting module_extra_env['pkg-config'] discussion.
> On Jan 15, 2022, at 7:46 AM, Pascal wrote: > > Hello, > > JHbuildrc line 622 is: > module_extra_env['pkg-config'] = {'PYTHON':sys.executable} > (https://gitlab.gnome.org/GNOME/gtk-osx/-/blob/master/jhbuildrc-gtk-osx#L622) > > This overrides the previous line 364: > module_extra_env["pkg-config"] = {'CFLAGS': os.environ['CFLAGS'] + ' > -std=gnu89'} > (https://gitlab.gnome.org/GNOME/gtk-osx/-/blob/master/jhbuildrc-gtk-osx#L364) > > Shouldn't line 622 updates the value instead of overriding? Probably, but since pkg-config seems to build fine with the CFLAGS being overridden I suspect that line 364 can be removed. Regards, John Ralls ___ gtk-osx-users-list mailing list gtk-osx-users-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-osx-users-list
Re: pkg.m4 missing in pkg-config v0.28 tool download for GTK+ 3.x on win32
thanks:) but, I cannot find the Gtk3.10 version here http://www.tarnyko.net/repo/gtk3_build_system/ Le Dimanche 26 janvier 2014 7h49, Tarnyko tarn...@tarnyko.net a écrit : Hello Narcisse, narcisse doudieu siewe writes: Hello Tarnyko, Many thanks to your great work on making Gtk3 available on Windows. I need your help to build the 3.10 version of Gtk for a management software of a Optical fiber project for my campagny...it is very hard to compile glib2.38 could you help me please? some suggestion Although GTK+ 3.10.x has already been built, and you can find binaries of it by searching some of the links available here, it still has some problems. That's why the official downloage page only lists 3.6.4. For a more detailed view of what still needs to be done : https://mail.gnome.org/archives/gtk-devel-list/2013-December/msg6.html Please be aware or this if you decide to use the binaries. If you want to build it yourself, you may look at http://www.tarnyko.net/repo/gtk3_build_system/ . Regards, Tarnyko Le Jeudi 23 janvier 2014 15h12, Tarnyko tarn...@tarnyko.net a écrit : Thank you both for your explanations. A new pkg-config-dev package is now available on http://www.gtk.org/download/win32.php (and win64.php). It contains pkg.m4 and the man page, just as the previous version did. I will modify the buildenv to regenerate this package in the next builds. Regards, Tarnyko Legorol writes: On 23.01.2014 12:07, Tarnyko wrote: Legorol writes: On the Windows 32-bit download page (http://www.gtk.org/download/win32.php), under the GTK+ 3.x heading, various other third party software are listed. One of those is pkg-config version 0.28. Two download options are available: Tool or Sources. The Tool option links to pkg-config_0.28-1_win32.zip. This does not contain share/aclocal/pkg.m4, as it should in my opinion. The only way to obtain pkg.m4 is from the Sources link. In fact, the all-in-one bundle does contain pkg.m4. I never checked before, but is this file necessary (besides GLib and other dependencies) for pkg-config.exe to execute correctly ? If it is, I agree it should be in the package. pkg.m4 is needed if you regenerate the configure script from configure.ac by using autotools. Yes. pkg.m4 is not used to build pkg-config.exe. Instead, it's a system-wide macro file that provides the integration between pkg-config and Autotools. Typically software packages are distributed so that to build them, you just run ./configure then make etc. You don't need pkg.m4 for this. However, some packages are distributed such that as part of the build process, autoconf has to be run on part or all of the package. In this case, you need pkg.m4 to be present. Compare the contents of the pkg-config version 0.26 Dev download under GTK+ 2.x with the contents of the pkg-config version 0.28 Tool download under GTK+ 3.x. The former includes pkg.m4 and a man page, the latter does not. ___ gtk-list mailing list gtk-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-list ___ gtk-list mailing list gtk-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-list___ gtk-list mailing list gtk-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-list
Re: pkg.m4 missing in pkg-config v0.28 tool download for GTK+ 3.x on win32
You are right, 3.10 was missing. I just updated and uploaded it. You'll find it at the previously given URL. Regards, Tarnyko narcisse doudieu siewe writes: thanks:) but, I cannot find the Gtk3.10 version here http://www.tarnyko.net/repo/gtk3_build_system/ Le Dimanche 26 janvier 2014 7h49, Tarnyko tarn...@tarnyko.net a écrit : Hello Narcisse, narcisse doudieu siewe writes: Hello Tarnyko, Many thanks to your great work on making Gtk3 available on Windows. I need your help to build the 3.10 version of Gtk for a management software of a Optical fiber project for my campagny...it is very hard to compile glib2.38 could you help me please? some suggestion Although GTK+ 3.10.x has already been built, and you can find binaries of it by searching some of the links available here, it still has some problems. That's why the official downloage page only lists 3.6.4. For a more detailed view of what still needs to be done : https://mail.gnome.org/archives/gtk-devel-list/2013-December/msg6.html Please be aware or this if you decide to use the binaries. If you want to build it yourself, you may look at http://www.tarnyko.net/repo/gtk3_build_system/ . Regards, Tarnyko Le Jeudi 23 janvier 2014 15h12, Tarnyko tarn...@tarnyko.net a écrit : Thank you both for your explanations. A new pkg-config-dev package is now available on http://www.gtk.org/download/win32.php (and win64.php). It contains pkg.m4 and the man page, just as the previous version did. I will modify the buildenv to regenerate this package in the next builds. Regards, Tarnyko Legorol writes: On 23.01.2014 12:07, Tarnyko wrote: Legorol writes: On the Windows 32-bit download page (http://www.gtk.org/download/win32.php), under the GTK+ 3.x heading, various other third party software are listed. One of those is pkg-config version 0.28. Two download options are available: Tool or Sources. The Tool option links to pkg-config_0.28-1_win32.zip. This does not contain share/aclocal/pkg.m4, as it should in my opinion. The only way to obtain pkg.m4 is from the Sources link. In fact, the all-in-one bundle does contain pkg.m4. I never checked before, but is this file necessary (besides GLib and other dependencies) for pkg-config.exe to execute correctly ? If it is, I agree it should be in the package. pkg.m4 is needed if you regenerate the configure script from configure.ac by using autotools. Yes. pkg.m4 is not used to build pkg-config.exe. Instead, it's a system-wide macro file that provides the integration between pkg-config and Autotools. Typically software packages are distributed so that to build them, you just run ./configure then make etc. You don't need pkg.m4 for this. However, some packages are distributed such that as part of the build process, autoconf has to be run on part or all of the package. In this case, you need pkg.m4 to be present. Compare the contents of the pkg-config version 0.26 Dev download under GTK+ 2.x with the contents of the pkg-config version 0.28 Tool download under GTK+ 3.x. The former includes pkg.m4 and a man page, the latter does not. ___ gtk-list mailing list gtk-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-list ___ gtk-list mailing list gtk-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-list ___ gtk-list mailing list gtk-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-list
Re: pkg.m4 missing in pkg-config v0.28 tool download for GTK+ 3.x on win32
Hello Tarnyko, Many thanks to your great work on making Gtk3 available on Windows. I need your help to build the 3.10 version of Gtk for a management software of a Optical fiber project for my campagny...it is very hard to compile glib2.38 could you help me please? some suggestion Le Jeudi 23 janvier 2014 15h12, Tarnyko tarn...@tarnyko.net a écrit : Thank you both for your explanations. A new pkg-config-dev package is now available on http://www.gtk.org/download/win32.php (and win64.php). It contains pkg.m4 and the man page, just as the previous version did. I will modify the buildenv to regenerate this package in the next builds. Regards, Tarnyko Legorol writes: On 23.01.2014 12:07, Tarnyko wrote: Legorol writes: On the Windows 32-bit download page (http://www.gtk.org/download/win32.php), under the GTK+ 3.x heading, various other third party software are listed. One of those is pkg-config version 0.28. Two download options are available: Tool or Sources. The Tool option links to pkg-config_0.28-1_win32.zip. This does not contain share/aclocal/pkg.m4, as it should in my opinion. The only way to obtain pkg.m4 is from the Sources link. In fact, the all-in-one bundle does contain pkg.m4. I never checked before, but is this file necessary (besides GLib and other dependencies) for pkg-config.exe to execute correctly ? If it is, I agree it should be in the package. pkg.m4 is needed if you regenerate the configure script from configure.ac by using autotools. Yes. pkg.m4 is not used to build pkg-config.exe. Instead, it's a system-wide macro file that provides the integration between pkg-config and Autotools. Typically software packages are distributed so that to build them, you just run ./configure then make etc. You don't need pkg.m4 for this. However, some packages are distributed such that as part of the build process, autoconf has to be run on part or all of the package. In this case, you need pkg.m4 to be present. Compare the contents of the pkg-config version 0.26 Dev download under GTK+ 2.x with the contents of the pkg-config version 0.28 Tool download under GTK+ 3.x. The former includes pkg.m4 and a man page, the latter does not. ___ gtk-list mailing list gtk-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-list ___ gtk-list mailing list gtk-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-list___ gtk-list mailing list gtk-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-list
Re: pkg.m4 missing in pkg-config v0.28 tool download for GTK+ 3.x on win32
Legorol, Legorol writes: Two more issues on the win32 download page for GTK+ 3.x: The libpng 1.5.14 run-time download file from http://win32builder.gnome.org/packages/3.6/libpng_1.5.14-1_win32.zip is garbled. The contents of the zip file is nonsense when opened with Windows 7's built-in zip handler. The Dev and Sources downloads are fine. All three links for gettext-runtime 0.18.2.1 are incorrect. All three point to downloads for 0.18.1.1-2. The all-in-one bundle for 3.x seem to contain the correct files for libpng 1.5.14 and gettext-runtime 0.18.2.1. Thanks a lot for having reported all these problems ! A corrected version of the libpng runtime package has been regenerated. Links to gettext-runtime have been fixed. I have not checked the win64 page. In this respect, win64 page has been fixed, too. Regards, Tarnyko ___ gtk-list mailing list gtk-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-list
Re: pkg.m4 missing in pkg-config v0.28 tool download for GTK+ 3.x on win32
Hello Narcisse, narcisse doudieu siewe writes: Hello Tarnyko, Many thanks to your great work on making Gtk3 available on Windows. I need your help to build the 3.10 version of Gtk for a management software of a Optical fiber project for my campagny...it is very hard to compile glib2.38 could you help me please? some suggestion Although GTK+ 3.10.x has already been built, and you can find binaries of it by searching some of the links available here, it still has some problems. That's why the official downloage page only lists 3.6.4. For a more detailed view of what still needs to be done : https://mail.gnome.org/archives/gtk-devel-list/2013-December/msg6.html Please be aware or this if you decide to use the binaries. If you want to build it yourself, you may look at http://www.tarnyko.net/repo/gtk3_build_system/ . Regards, Tarnyko Le Jeudi 23 janvier 2014 15h12, Tarnyko tarn...@tarnyko.net a écrit : Thank you both for your explanations. A new pkg-config-dev package is now available on http://www.gtk.org/download/win32.php (and win64.php). It contains pkg.m4 and the man page, just as the previous version did. I will modify the buildenv to regenerate this package in the next builds. Regards, Tarnyko Legorol writes: On 23.01.2014 12:07, Tarnyko wrote: Legorol writes: On the Windows 32-bit download page (http://www.gtk.org/download/win32.php), under the GTK+ 3.x heading, various other third party software are listed. One of those is pkg-config version 0.28. Two download options are available: Tool or Sources. The Tool option links to pkg-config_0.28-1_win32.zip. This does not contain share/aclocal/pkg.m4, as it should in my opinion. The only way to obtain pkg.m4 is from the Sources link. In fact, the all-in-one bundle does contain pkg.m4. I never checked before, but is this file necessary (besides GLib and other dependencies) for pkg-config.exe to execute correctly ? If it is, I agree it should be in the package. pkg.m4 is needed if you regenerate the configure script from configure.ac by using autotools. Yes. pkg.m4 is not used to build pkg-config.exe. Instead, it's a system-wide macro file that provides the integration between pkg-config and Autotools. Typically software packages are distributed so that to build them, you just run ./configure then make etc. You don't need pkg.m4 for this. However, some packages are distributed such that as part of the build process, autoconf has to be run on part or all of the package. In this case, you need pkg.m4 to be present. Compare the contents of the pkg-config version 0.26 Dev download under GTK+ 2.x with the contents of the pkg-config version 0.28 Tool download under GTK+ 3.x. The former includes pkg.m4 and a man page, the latter does not. ___ gtk-list mailing list gtk-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-list ___ gtk-list mailing list gtk-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-list ___ gtk-list mailing list gtk-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-list
Re: pkg.m4 missing in pkg-config v0.28 tool download for GTK+ 3.x on win32
Hi Legorol, Legorol writes: On the Windows 32-bit download page (http://www.gtk.org/download/win32.php), under the GTK+ 3.x heading, various other third party software are listed. One of those is pkg-config version 0.28. Two download options are available: Tool or Sources. The Tool option links to pkg-config_0.28-1_win32.zip. This does not contain share/aclocal/pkg.m4, as it should in my opinion. The only way to obtain pkg.m4 is from the Sources link. In fact, the all-in-one bundle does contain pkg.m4. I never checked before, but is this file necessary (besides GLib and other dependencies) for pkg-config.exe to execute correctly ? If it is, I agree it should be in the package. An inexperienced user, who is just looking to install pkg-config on their system in order to use it to build some other package, will not expect to have to obtain the source. ___ gtk-list mailing list gtk-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-list Regards, Tarnyko ___ gtk-list mailing list gtk-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-list
Re: pkg.m4 missing in pkg-config v0.28 tool download for GTK+ 3.x on win32
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 23.01.2014 12:07, Tarnyko wrote: Legorol writes: On the Windows 32-bit download page (http://www.gtk.org/download/win32.php), under the GTK+ 3.x heading, various other third party software are listed. One of those is pkg-config version 0.28. Two download options are available: Tool or Sources. The Tool option links to pkg-config_0.28-1_win32.zip. This does not contain share/aclocal/pkg.m4, as it should in my opinion. The only way to obtain pkg.m4 is from the Sources link. In fact, the all-in-one bundle does contain pkg.m4. I never checked before, but is this file necessary (besides GLib and other dependencies) for pkg-config.exe to execute correctly ? If it is, I agree it should be in the package. pkg.m4 is needed if you regenerate the configure script from configure.ac by using autotools. - -- O ascii ribbon - stop html email! - www.asciiribbon.org -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (MingW32) iQEcBAEBAgAGBQJS4M6VAAoJEOs4Jb6SI2CwXNYIAJeV0tLu9TaBqThzi9eOyPm3 IOihC9urdLBLd5wZAezdFfWLC6nVtozUH0z7d/YqKEAAJDfpUmXj8Aw9N94QChUy LWDEUjM8zAWIwxchGRWuxgpomVLO7VqhM4VRbBv4xC05AEirSInRj+XIP7kShbGX 6NMTnl4AVcXo+RhbfUhcLFW7T7Ow+nP3MS3Nqr5Zz4EkoN+8McqDZPKsCo6iafU9 eLcIRJlDUUVR5e+5ODg2U+FVVLdFzxkTmNy61sj7Jnnop9cC6wqst8o0PooQMQ0o T5yFEFJIipDc1/Yrjd91/Q648YA1Gdq6GuApqxetFVAYrUCK7W4aGNOZ/r/0ocw= =6oRf -END PGP SIGNATURE- ___ gtk-list mailing list gtk-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-list
Re: pkg.m4 missing in pkg-config v0.28 tool download for GTK+ 3.x on win32
On 23.01.2014 12:07, Tarnyko wrote: Legorol writes: On the Windows 32-bit download page (http://www.gtk.org/download/win32.php), under the GTK+ 3.x heading, various other third party software are listed. One of those is pkg-config version 0.28. Two download options are available: Tool or Sources. The Tool option links to pkg-config_0.28-1_win32.zip. This does not contain share/aclocal/pkg.m4, as it should in my opinion. The only way to obtain pkg.m4 is from the Sources link. In fact, the all-in-one bundle does contain pkg.m4. I never checked before, but is this file necessary (besides GLib and other dependencies) for pkg-config.exe to execute correctly ? If it is, I agree it should be in the package. pkg.m4 is needed if you regenerate the configure script from configure.ac by using autotools. Yes. pkg.m4 is not used to build pkg-config.exe. Instead, it's a system-wide macro file that provides the integration between pkg-config and Autotools. Typically software packages are distributed so that to build them, you just run ./configure then make etc. You don't need pkg.m4 for this. However, some packages are distributed such that as part of the build process, autoconf has to be run on part or all of the package. In this case, you need pkg.m4 to be present. Compare the contents of the pkg-config version 0.26 Dev download under GTK+ 2.x with the contents of the pkg-config version 0.28 Tool download under GTK+ 3.x. The former includes pkg.m4 and a man page, the latter does not. ___ gtk-list mailing list gtk-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-list
Re: pkg.m4 missing in pkg-config v0.28 tool download for GTK+ 3.x on win32
Thank you both for your explanations. A new pkg-config-dev package is now available on http://www.gtk.org/download/win32.php (and win64.php). It contains pkg.m4 and the man page, just as the previous version did. I will modify the buildenv to regenerate this package in the next builds. Regards, Tarnyko Legorol writes: On 23.01.2014 12:07, Tarnyko wrote: Legorol writes: On the Windows 32-bit download page (http://www.gtk.org/download/win32.php), under the GTK+ 3.x heading, various other third party software are listed. One of those is pkg-config version 0.28. Two download options are available: Tool or Sources. The Tool option links to pkg-config_0.28-1_win32.zip. This does not contain share/aclocal/pkg.m4, as it should in my opinion. The only way to obtain pkg.m4 is from the Sources link. In fact, the all-in-one bundle does contain pkg.m4. I never checked before, but is this file necessary (besides GLib and other dependencies) for pkg-config.exe to execute correctly ? If it is, I agree it should be in the package. pkg.m4 is needed if you regenerate the configure script from configure.ac by using autotools. Yes. pkg.m4 is not used to build pkg-config.exe. Instead, it's a system-wide macro file that provides the integration between pkg-config and Autotools. Typically software packages are distributed so that to build them, you just run ./configure then make etc. You don't need pkg.m4 for this. However, some packages are distributed such that as part of the build process, autoconf has to be run on part or all of the package. In this case, you need pkg.m4 to be present. Compare the contents of the pkg-config version 0.26 Dev download under GTK+ 2.x with the contents of the pkg-config version 0.28 Tool download under GTK+ 3.x. The former includes pkg.m4 and a man page, the latter does not. ___ gtk-list mailing list gtk-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-list ___ gtk-list mailing list gtk-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-list
Re: pkg.m4 missing in pkg-config v0.28 tool download for GTK+ 3.x on win32
Two more issues on the win32 download page for GTK+ 3.x: The libpng 1.5.14 run-time download file from http://win32builder.gnome.org/packages/3.6/libpng_1.5.14-1_win32.zip is garbled. The contents of the zip file is nonsense when opened with Windows 7's built-in zip handler. The Dev and Sources downloads are fine. All three links for gettext-runtime 0.18.2.1 are incorrect. All three point to downloads for 0.18.1.1-2. The all-in-one bundle for 3.x seem to contain the correct files for libpng 1.5.14 and gettext-runtime 0.18.2.1. I have not checked the win64 page. ___ gtk-list mailing list gtk-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-list
pkg.m4 missing in pkg-config v0.28 tool download for GTK+ 3.x on win32
On the Windows 32-bit download page (http://www.gtk.org/download/win32.php), under the GTK+ 3.x heading, various other third party software are listed. One of those is pkg-config version 0.28. Two download options are available: Tool or Sources. The Tool option links to pkg-config_0.28-1_win32.zip. This does not contain share/aclocal/pkg.m4, as it should in my opinion. The only way to obtain pkg.m4 is from the Sources link. An inexperienced user, who is just looking to install pkg-config on their system in order to use it to build some other package, will not expect to have to obtain the source. ___ gtk-list mailing list gtk-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-list
Re: circular dependency between glib and pkg-config
Thanks, Allin. Glib's ./configure --help mentions environment variables PKG_CONFIG path to pkg-config utility PKG_CONFIG_PATH directories to add to pkg-config's search path PKG_CONFIG_LIBDIR path overriding pkg-config's built-in search path ZLIB_CFLAGS C compiler flags for ZLIB, overriding pkg-config ZLIB_LIBS linker flags for ZLIB, overriding pkg-config CXXCPP C++ preprocessor PCRE_CFLAGS C compiler flags for PCRE, overriding pkg-config PCRE_LIBS linker flags for PCRE, overriding pkg-config DBUS1_CFLAGS C compiler flags for DBUS1, overriding pkg-config DBUS1_LIBS linker flags for DBUS1, overriding pkg-config which could lead one to believe that ZLIB isn't the only thing that could matter; and it doesn't say that pkg-config is not needed if these variables are present. It does say pkg-config is required. I think it should be possible for someone unfamiliar with either package to build glib from source after reading INSTALL, before installing pkg-config. Either that, or to install pkg-config before installing glib - whichever way the maintainers of the two packages can agree on. INSTALL doesn't give instructions on this, and I think it should. I don't think it should be necessary to search the web or read what's in configure, Makefile, etc. I'm not posting these messages to get glib or pkg-config built; I managed to do that some days ago. According to my notes and a couple of experiments just now, once I got the various pieces of software other than pkg-config that glib wanted, built and installed, and set PATH, CPATH, and LIBRARY_PATH to their locations (which weren't in the former PATH or the places the compiler or linker normally look), it was possible to build glib without pkg-config. I installed glib, too, into those non-standard locations, having used --prefix= for ./configure. Then, after setting GLIB_CFLAGS and GLIB_LIBS (the latter with -L and -l options for the linker), it was possible to build pkg-config. I didn't need to do anything special about zlib, which was already on the system. However I had to discover this by trial and error, not by reading INSTALL. I've learned a number of interesting and useful things from the journey, which I don't regret at all, but don't think people should be required to to more than read INSTALL just in order to build from source. Thanks again. On Tue, 27 Sep 2011, Stuart Ambler wrote: It seems that the pkg-config README in [Ryan Lortie's] message tried to address that, but sorry, I didn't see what zlib had to do with the dependency of glib on pkg-config. (To build pkg-config, you need glib installed already. Note that glib build-depends on pkg-config, but you can just set the corresponding environment variables (ZLIB_LIBS, ZLIB_CFLAGS are the only needed ones when this is written) to build it.) Presumably the point is that zlib is the only prerequisite library that is handled by pkg-config in the glib build (as in pkg-config --libs zlib, pkg-config --cflags zlib). The effect of the calls to pkg-config is to define ZLIB_LIBS and ZLIB_CFLAGS, but these could equally well be set manually. Allin Cottrell ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list
Re: circular dependency between glib and pkg-config
On Wed, Sep 28, 2011 at 11:52:26PM -0700, stu...@zulazon.com wrote: I think it should be possible for someone unfamiliar with either package to build glib from source after reading INSTALL, before installing pkg-config. Either that, or to install pkg-config before installing glib I guess you figured out all the steps now right? If so: patch welcome :-) -- Regards, Olav ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list
Re: circular dependency between glib and pkg-config
On Wed, 28 Sep 2011 at 23:52:26 -0700, stu...@zulazon.com wrote: CXXCPP C++ preprocessor There are many more like this (CC, LD, CXXFLAGS etc.), but they're standard for all Autotools packages, and none are mandatory. PCRE_CFLAGS C compiler flags for PCRE, overriding pkg-config PCRE_LIBS linker flags for PCRE, overriding pkg-config If you're building with the internal libpcre you don't need these; only distributions who want to link everything against a shared libpcre need them. DBUS1_CFLAGS C compiler flags for DBUS1, overriding pkg-config DBUS1_LIBS linker flags for DBUS1, overriding pkg-config I happen to know that these are only needed for full regression tests. However I had to discover this by trial and error, not by reading INSTALL. I've learned a number of interesting and useful things from the journey, which I don't regret at all, but don't think people should be required to to more than read INSTALL just in order to build from source. To be fair, you were bootstrapping it from source on a platform with neither GLib nor pkg-config, which is pretty unusual. You have to start somewhere; you also need a libc, a C compiler, a POSIX shell, a Make implementation etc., and INSTALL doesn't explain how to get those. The other way to start the process is to cross-compile GLib and/or pkg-config for your host platform, on a build platform that already has them (you can use your build architecture's pkg-config binary to configure GLib) - that's how you'd typically start off for embedded development, for instance. See http://wiki.debian.org/DebianBootstrap for some thoughts on how bootstrapping an architecture works in general (pkg-config is nowhere near the most difficult case). S ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list
Re: circular dependency between glib and pkg-config
On Tue, 27 Sep 2011, Stuart Ambler wrote: It seems that the pkg-config README in [Ryan Lortie's] message tried to address that, but sorry, I didn't see what zlib had to do with the dependency of glib on pkg-config. (To build pkg-config, you need glib installed already. Note that glib build-depends on pkg-config, but you can just set the corresponding environment variables (ZLIB_LIBS, ZLIB_CFLAGS are the only needed ones when this is written) to build it.) Presumably the point is that zlib is the only prerequisite library that is handled by pkg-config in the glib build (as in pkg-config --libs zlib, pkg-config --cflags zlib). The effect of the calls to pkg-config is to define ZLIB_LIBS and ZLIB_CFLAGS, but these could equally well be set manually. Allin Cottrell ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list
circular dependency between glib and pkg-config
Hi. If no one here has looked into developments with pkg-config 0.26 (see http://comments.gmane.org/gmane.comp.package-management.pkg-config/620 ), I hope someone will. Apparently pkg-config used to contain within it an old version of glib, used mostly for strings, lists, hash tables, and a few other things, that the new version has removed and instead made itself depend on glib. glib documentation, on the other hand, says that glib is dependent on pkg-config. I wonder if it has been considered to break out the most stable portions of glib that could be thought of as C language extensions, into a package with no dependencies other than standard compiler and autotools, that can be used by glib as well as other packages written in C that may be unrelated to Gnome. Or perhaps there's another clean solution. Perhaps the glib and pkg-config developers would come up with a good solution if they communicated; if that hasn't already happened. Thanks. ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list
Re: circular dependency between glib and pkg-config
On Sun, Sep 25, 2011 at 3:45 PM, Stuart Ambler stu...@zulazon.com wrote: I wonder if it has been considered to break out the most stable portions of glib that could be thought of as C language extensions, into a package with no dependencies other than standard compiler and autotools, that can be used by glib as well as other packages written in C that may be unrelated to Gnome. Or perhaps there's another clean solution. Perhaps the glib and pkg-config developers would come up with a good solution if they communicated; if that hasn't already happened. GLib can be used very easily by modules unlated to GNOME, and in fact it is. As to the splitting, I don't think that is a very realistic proposition, and I don't think we consider the circular dependency to be an unsurmountable problem in practice. ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list
Re: circular dependency between glib and pkg-config
hi Stuart, On Sun, 2011-09-25 at 13:45 -0600, Stuart Ambler wrote: Apparently pkg-config used to contain within it an old version of glib, used mostly for strings, lists, hash tables, and a few other things, that the new version has removed and instead made itself depend on glib. glib documentation, on the other hand, says that glib is dependent on pkg-config. See the pkg-config README about this: http://cgit.freedesktop.org/pkg-config/tree/README#n33 Cheers ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list
Re: circular dependency between glib and pkg-config
Thanks Ryan, For those who want to read quickly, the last paragraph mentions what might be a bug in the glib make install, forgotten in my first post. Looking into glib more in response to replies from the list, the dependence of pkg-config on glib seems less like buying a car in order to listen to its radio, and more like buying a fancy stereo system to listen to a few favorite radio stations. The file size of the libglib dylibs at about 2.8 MB isn't too excessive on the Mac OS X system that got me into this. Glib now seems me like a reasonable possibility for C programs in some common environments to extend the standard C library, done enough that it's mentioned in http://en.wikipedia.org/wiki/C_standard_library. The main event loop might not be needed by most command line tools, but might be useful even to some of them. Thanks for your patience. However, is there something easy to find (maybe it should go in the tarballs for both packages) that says clearly how to build glib and pkg-config when neither are present to start with? It seems that the pkg-config README in your message tried to address that, but sorry, I didn't see what zlib had to do with the dependency of glib on pkg-config. (To build pkg-config, you need glib installed already. Note that glib build-depends on pkg-config, but you can just set the corresponding environment variables (ZLIB_LIBS, ZLIB_CFLAGS are the only needed ones when this is written) to build it.) Actually, though, my notes for the glib build from tarball don't say that the glib configure, make, or make install complained about lack of pkg-config; so maybe pkg-config is only needed if running autoconf? Also, http://developer.gnome.org/glib/2.28/glib-building.html refers the reader to ftp://ftp.gtk.org/pub/gtk/v2.2/dependencies for the version of pkg-config needed to build glib, version 0.14 available for download. I gather that this version of pkg-config didn't depend on glib. Can it be used to satisfy glib's dependency on pkg-config? After apparently successfully building glib 2.28.7, I built pkg-config. In addition to setting the GLIB_* environment variables mentioned in the README, apparently I needed manually to copy glib/glibconfig.h from the glib build directory to its install directory; it wasn't there where the rest of the glib header files were, as I recall copied by glib make install. After that, but not before, the pkg-config make worked. Thanks again. On 9/27/2011 1:35 PM, Ryan Lortie wrote: hi Stuart, On Sun, 2011-09-25 at 13:45 -0600, Stuart Ambler wrote: Apparently pkg-config used to contain within it an old version of glib, used mostly for strings, lists, hash tables, and a few other things, that the new version has removed and instead made itself depend on glib. glib documentation, on the other hand, says that glib is dependent on pkg-config. See the pkg-config README about this: http://cgit.freedesktop.org/pkg-config/tree/README#n33 Cheers ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list
pkg-config CFLAGS/LIBS ignored in GLIB 2.26.0 build
I am attempting to cross-compile GLIB 2.26.0, and it is complaining that it cannot find zlib.h. The configure script is properly finding the correct CFLAGS to include the path to zlib.h using pkg-config, and is storing them in ZLIB_CFLAGS. Now, the problem is that this variable is not used in any Makefile, only set. Therefore, these flags are not properly being passed to the compiler. Am I missing something? Thanks, Mike ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list
cmake and pkg-config are not good friends at all
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi I'm writting a FindGTK+.cmake module which should set the CFLAGS and LDFLAGS requiered by GTK+ using pkg-config. I have: ... IF(NOT __FIND_GTK_FOUND) MESSAGE( -- GTK+ version ${__FIND_GTK_VERSION_FOUND} found ) SET(FIND_GTK_FOUND TRUE) EXECUTE_PROCESS(COMMAND ${__FIND_GTK_PKG_CONFIG} --cflags ${__FIND_GTK_STRING} COMMAND xargs printf %s\ OUTPUT_VARIABLE FIND_GTK_CFLAGS ) EXECUTE_PROCESS(COMMAND ${__FIND_GTK_PKG_CONFIG} --libs ${__FIND_GTK_STRING} COMMAND xargs printf %s\ OUTPUT_VARIABLE FIND_GTK_LDFLAGS ) ENDIF(NOT __FIND_GTK_FOUND) where __FIND_GTK_FOUND is the the exit status of pkg-config --atleast-version=... --modversion gtk+[-2.0] The problem is the EXECUTE_PROCESS. If I only write EXECUTE_PROCESS(COMMAND ${__FIND_GTK_PKG_CONFIG} --cflags ${__FIND_GTK_STRING} OUTPUT_VARIABLE FIND_GTK_CFLAGS ) then FIND_GTK_CFLAGS will have a new-line (\n) character at the end of the string. This is a problem since SET_SOURCE_FILES_PROPERTIES(containers.c COMPILE_FLAGS ${FIND_GTK_CFLAGS}) leads to an incorrect Makefile. Why on earth is there a new-line character after all and how can I get rid of it? EXECUTE_PROCESS(COMMAND ${__FIND_GTK_PKG_CONFIG} --cflags ${__FIND_GTK_STRING} COMMAND sed -n 1p doesn't work, I don't know why, I still get two lines. The only way I could get rid of the new-line is with the xargs printf %s\ command, but I don't like this very much. How can I solve this problem? Is this pkg-config problem after all? Regards Pablo - -- Pablo Yánez Trujillo http://klingsor.informatik.uni-freiburg.de/ My public key: http://klingsor.informatik.uni-freiburg.de/gpg/supertux.asc -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkj+eNMACgkQDzf8xo+0xRU5hwCePl5y5rWU5dvKz7UTl1AqsX1l NRsAn27TH7UDFlUxM3W4fNE8yRGPiexK =B7Sd -END PGP SIGNATURE- ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list
configure:error - atk - pkg-config-glib-1.2.8
Hello ladies and gentle men. I configure --make--make installed the following packages in order successfully: zlib-1.2.3 libpng-1.2.18 libiconv-1.11.1 pkg-config-0.22 m4-1.4.11 --autoconf-2.63 --automake-1.10.1 --libtool-2.2.4 --fontconfig-2.4.2 --freetype-2.3.5 --pixman-0.10.0 --cairo-1.6.4 --glib-2.19.0 --pango-1.20.5 When When I go to install ATK it gives me the following error message: 'configure: error: ***GLLIB-2.0.0 or better is required. The latest version of GLIB is available from ftp://ftp.gtk.org/. If GLIB is ***installed but not in the same location as pkg-config add the location of the file glib-2.0.pc to the ***environment variable PKG_CONFIG_PATH.' I could see atleast that glib-2.19.0 is the latest version however I foung glib-1.2.8 in the pkg-config package directory and I cut it and replaced it with glib-2.19.0 and tried to configure pkg-config, it failed. What do you think of this problem. How could the old glib-1.2.8 happen to exist in pkg-config without myself(the programmer) installing that version og glib. Thanks, regards, Embiza __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
gtk-config pkg-config
I'm a newer to x-window, and it's my first time setup GUI for linux. Gnome is cool, but when i install some software, i got a lot of problems: run the configure script, it tell me cannot find gtk-config; I installed gtk1.2 and glibc1.2 from the FedoraCore8 disk, it still cannot find. and I run with the option -qpl, there's no information about where gtk-config is installed. Of couse, pkg-config works well. It is a good idea to write a perl script nammed gtk-config ,but I donnot know how to. May I do a link to pkg-config, or other? why not let the gtk2.0 compatible with the gtk1.2? Help me ,thank you.. ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list
Re: gtk-config pkg-config
Now, I installed glib-devel and gtk-devel, and no error occured. but i still want to ask why not let the gtk2.0 compatible with the gtk1.2? 2008/4/28 冯志胜 [EMAIL PROTECTED]: I'm a newer to x-window, and it's my first time setup GUI for linux. Gnome is cool, but when i install some software, i got a lot of problems: run the configure script, it tell me cannot find gtk-config; I installed gtk1.2 and glibc1.2 from the FedoraCore8 disk, it still cannot find. and I run with the option -qpl, there's no information about where gtk-config is installed. Of couse, pkg-config works well. It is a good idea to write a perl script nammed gtk-config ,but I donnot know how to. May I do a link to pkg-config, or other? why not let the gtk2.0 compatible with the gtk1.2? Help me ,thank you.. ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list
Package pixman-1 was not found in the pkg-config search path.
Hi,I have been trying to use GTK+ in MinGW with MSYS. when i input $ pkg-config --cflags gtk+-2.0 i get 'Package pixman-1 was not found in the pkg-config search path. Perhaps you should add the directory containing `pixman-1.pc' to the PKG_CONFIG_PATH environment variable Package 'pixman-1', required by 'cairo', not found' I searched the net, and it seems that installing libpixman1-dev would sove this problem. If so, where to find this file,and how to install it? since apt-get install doesn't work in MSYS. thanks very much! _ MSN 中文网,最新时尚生活资讯,白领聚集门户。 http://cn.msn.com___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list
Re: Package pixman-1 was not found in the pkg-config search path.
Already replied on the mingw-users list, and also to the cairo list, but OK, let's reply on this list, too: I think the correct thing is here for me to remove the requirement for pixman from the cairo.pc I distribute in the cairo-dev-1.6.4 package (zipfile). You don't really need anything pixman related to use cairo. cairo is built as a shared library (DLL). libpixman is built as a static archive and linked into cairo. Anybody who uses cairo need not know anything about libpixman. cairo's public headers do not include pixman headers. I wonder if something could be done upstream in cairo for this, like putting the pixman requirement in the .pc file only if a static cairo library is built? Or should I just add that editing of cairo.pc as one step in my build script for cairo from now on? --tml ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list
[WWW] Broken link to pkg-config
Hi, On http://www.gtk.org/download-windows.html the links to pkg-config are broken. Tor Lillqvist seems to only distribute version 0.20, not 0.23. regards, Bastiaan. ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list
Re: [WWW] Broken link to pkg-config
On http://www.gtk.org/download-windows.html the links to pkg-config are broken. Fixed now. --tml ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list
Re: pkg-config availability
On Tue, Oct 02, 2007 at 04:10:13PM +0200, Willem Ferguson wrote: Dunno where to find pkg-config in order to install GTK+. The dependencies folder in the GTK FTP site does not exist. Can anyone help, by any chance? Google, for instance? http://google.com/search?q=pkg-configbtnI Yeti -- http://gwyddion.net/ ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list
RE: Trouble getting pkg-config to work in Windows
The next steps are to figure out how to create projects from withing Dev-C++ that do not create console windows in addition to the window I create I do not want to work in a GUI -- I prefer to write code I sense an inconsistency here. If you don't want to work in a GUI, why do you keep using Dev-C++ then? The way to avoid console windows being created when starting an application from Explorer is to mark the application as a GUI one when linking. (Or after linking, if you have the tool for that, like editbin.exe from Microsoft's compilers.) Use the -mwindows option to gcc. This is not GTK+-related as such at all, but basic Windows programming stuff. Read up on the difference between console a GUI applications from the mailing list archives. This has been described time and time again on this and other GTK+ lists. Avoid reading misleading information, though... In particular, if somebody claims that whether your code has a main() or WinMain() function affects whether it is a console or gui application, he is oversimplifying. (The main() vs. WinMain() stuff is just an overridable convention implemented by Microsoft's compilers.) Despite the misleading names, nothing prevents console applications from having a GUI, and nothing forces GUI applications to have a GUI. The console vs. GUI header field can be toggled at will on existing executables without any relinking. Please note that if an application is marked as GUI, by default its standard input/output/error streams are not connected to anything upon start. Not even if you run it from a command interpreter in a console window! You must explicitly redirect stdout to a pipe or file to see output from printf() etc, for instance. This is how Windows works, it is not GTK+-related. --tml ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list
RE: Trouble getting pkg-config to work in Windows
I wrote Read up on the difference between console a GUI applications from the mailing list archives. This has been described time and time again on this and other GTK+ lists. See for instance: http://mail.gnome.org/archives/gtk-app-devel-list/2006-December/msg00042.html and http://mail.gnome.org/archives/gtk-app-devel-list/2006-December/msg00069.html --tml ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list
RE: Trouble getting pkg-config to work in Windows
Richard, What player did you use on Windows XP? -Original Message- From: Richard Gipps [mailto:[EMAIL PROTECTED] Sent: Monday, June 11, 2007 1:38 AM To: Stewart Weiss Cc: Yesudeep; gtk-list@gnome.org Subject: Re: Trouble getting pkg-config to work in Windows Stewart Weiss wrote: snip One last note -- I could not view the video in any browser (plugins failed), nor in any application on my Windows machine (Nero, Realplayer, WinDVD, WMP). I had to view it in my Linux video player. I could view it on my Windows XP box. Great idea doing a movie - well done. The soundtrack was not working on my machine though :) Richard Gipps. -Original Message- From: Yesudeep [mailto:[EMAIL PROTECTED] Sent: Sunday, June 10, 2007 7:42 AM To: Stewart Weiss Cc: gtk-list@gnome.org Subject: Re: Trouble getting pkg-config to work in Windows Greetings, On 6/9/07, Stewart Weiss [EMAIL PROTECTED] wrote: Thanks for the reply, but the problem is more complex than this. Yesudeep's two replies can be combined and summarized as follows: 1. Try installing using the installers from http://gladewin32.sourceforge.net 2. Make sure that the environment variable PKG_CONFIG_PATH is properly set by editing the bash configuration files and/or system environment variables. 3. Use the installation instructions from http://www.mingw.org/MinGWiki/index.php/GladeGuide ( written by Chris Lale, on how to use Glade with Win32) snip I seem to agree with the old Chinese proverb: A picture is worth a thousand words. I'd like to add a little more to it though: A movie is worth a million. Here's a screen-cast demonstrating installing GTK+ on Windows: http://www.jamesbooker.co.uk/~jburd/gtk/install/win32/ Note: I do not have Cygwin installed on my machine, and when I did I avoided adding Cygwin paths/executables to my PATH environment variable. That dramatically reduced the problems I was facing. The UNIX tools you see me using are from the GNUWin32 project. If installing this way does not solve your problem, do let us know. Regards, Yesudeep. -- येसुदीप मंगलािपल्ली Can't see the above text? http://unicode.org/help/display_problems.html Do not send me Word documents. I will bite. http://www.gnu.org/philosophy/sylvester-response.html ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list
RE: Trouble getting pkg-config to work in Windows
Both of the suggestions below worked. The command editbin /SUBSYSTEM:WINDOWS executable_file removed the switch in the executable that runs a console window, AND adding the compiler switch -mwindows to the make files created executables w/o console windows. I am new to this user group, and the experience so far has been very positive. Thank you to all. --Stewart The way to avoid console windows being created when starting an application from Explorer is to mark the application as a GUI one when linking. (Or after linking, if you have the tool for that, like editbin.exe from Microsoft's compilers.) Use the -mwindows option to gcc. This is not GTK+-related as such at all, but basic Windows programming stuff. Read up on the difference between console a GUI applications from the mailing list archives. This has been described time and time again on this and other GTK+ lists. Avoid reading misleading information, though... In particular, if somebody claims that whether your code has a main() or WinMain() function affects whether it is a console or gui application, he is oversimplifying. (The main() vs. WinMain() stuff is just an overridable convention implemented by Microsoft's compilers.) Despite the misleading names, nothing prevents console applications from having a GUI, and nothing forces GUI applications to have a GUI. The console vs. GUI header field can be toggled at will on existing executables without any relinking. Please note that if an application is marked as GUI, by default its standard input/output/error streams are not connected to anything upon start. Not even if you run it from a command interpreter in a console window! You must explicitly redirect stdout to a pipe or file to see output from printf() etc, for instance. This is how Windows works, it is not GTK+-related. --tml ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list
RE: Trouble getting pkg-config to work in Windows
Yesudeep: Thank you. Using the installers from the installation video to which you sent a link below , I was successful in creating a working GTK+ environment. So far, I have been able to compile successfully in MSys shells, Windows command line, and within Dev-C++. pkg-config finally works. The major difference between what did not work and what did work, was that before I was downloading the zip files from the Gimp download site, http://www.gimp.org/~tml/gimp/win32/downloads.html and unzipping them into the MinGW directory. I want to note that I was successful in creating a working GTK+ environment under Cygwin by installing GTK and then building pkg-config from source, from within a Cygwin shell, but it ONLY worked in Cygwin, rather limiting. The next steps are to figure out how to create projects from withing Dev-C++ that do not create console windows in addition to the window I create. I know I can use Glade to do this, but I do not want to work in a GUI -- I prefer to write code. One last note -- I could not view the video in any browser (plugins failed), nor in any application on my Windows machine (Nero, Realplayer, WinDVD, WMP). I had to view it in my Linux video player. Again, Thanks. Stewart -Original Message- From: Yesudeep [mailto:[EMAIL PROTECTED] Sent: Sunday, June 10, 2007 7:42 AM To: Stewart Weiss Cc: gtk-list@gnome.org Subject: Re: Trouble getting pkg-config to work in Windows Greetings, On 6/9/07, Stewart Weiss [EMAIL PROTECTED] wrote: Thanks for the reply, but the problem is more complex than this. Yesudeep's two replies can be combined and summarized as follows: 1. Try installing using the installers from http://gladewin32.sourceforge.net 2. Make sure that the environment variable PKG_CONFIG_PATH is properly set by editing the bash configuration files and/or system environment variables. 3. Use the installation instructions from http://www.mingw.org/MinGWiki/index.php/GladeGuide ( written by Chris Lale, on how to use Glade with Win32) snip I seem to agree with the old Chinese proverb: A picture is worth a thousand words. I'd like to add a little more to it though: A movie is worth a million. Here's a screen-cast demonstrating installing GTK+ on Windows: http://www.jamesbooker.co.uk/~jburd/gtk/install/win32/ Note: I do not have Cygwin installed on my machine, and when I did I avoided adding Cygwin paths/executables to my PATH environment variable. That dramatically reduced the problems I was facing. The UNIX tools you see me using are from the GNUWin32 project. If installing this way does not solve your problem, do let us know. Regards, Yesudeep. -- येसुदीप मंगलािपल्ली Can't see the above text? http://unicode.org/help/display_problems.html Do not send me Word documents. I will bite. http://www.gnu.org/philosophy/sylvester-response.html ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list
Re: Trouble getting pkg-config to work in Windows
Stewart Weiss wrote: Yesudeep: Thank you. Using the installers from the installation video to which you sent a link below , I was successful in creating a working GTK+ environment. So far, I have been able to compile successfully in MSys shells, Windows command line, and within Dev-C++. pkg-config finally works. The major difference between what did not work and what did work, was that before I was downloading the zip files from the Gimp download site, http://www.gimp.org/~tml/gimp/win32/downloads.html http://www.gimp.org/%7Etml/gimp/win32/downloads.html and unzipping them into the MinGW directory. I want to note that I was successful in creating a working GTK+ environment under Cygwin by installing GTK and then building pkg-config from source, from within a Cygwin shell, but it ONLY worked in Cygwin, rather limiting. The next steps are to figure out how to create projects from withing Dev-C++ that do not create console windows in addition to the window I create. I know I can use Glade to do this, but I do not want to work in a GUI -- I prefer to write code. One last note -- I could not view the video in any browser (plugins failed), nor in any application on my Windows machine (Nero, Realplayer, WinDVD, WMP). I had to view it in my Linux video player. I could view it on my Windows XP box. Great idea doing a movie - well done. The soundtrack was not working on my machine though :) Richard Gipps. Again, Thanks. Stewart -Original Message- *From:* Yesudeep [mailto:[EMAIL PROTECTED] *Sent:* Sunday, June 10, 2007 7:42 AM *To:* Stewart Weiss *Cc:* gtk-list@gnome.org *Subject:* Re: Trouble getting pkg-config to work in Windows Greetings, On 6/9/07, *Stewart Weiss* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Thanks for the reply, but the problem is more complex than this. Yesudeep's two replies can be combined and summarized as follows: 1. Try installing using the installers from http://gladewin32.sourceforge.net 2. Make sure that the environment variable PKG_CONFIG_PATH is properly set by editing the bash configuration files and/or system environment variables. 3. Use the installation instructions from http://www.mingw.org/MinGWiki/index.php/GladeGuide http://www.mingw.org/MinGWiki/index.php/GladeGuide ( written by Chris Lale, on how to use Glade with Win32) snip I seem to agree with the old Chinese proverb: A picture is worth a thousand words. I'd like to add a little more to it though: A movie is worth a million. Here's a screen-cast demonstrating installing GTK+ on Windows: http://www.jamesbooker.co.uk/~jburd/gtk/install/win32/ http://www.jamesbooker.co.uk/%7Ejburd/gtk/install/win32/ Note: I do not have Cygwin installed on my machine, and when I did I avoided adding Cygwin paths/executables to my PATH environment variable. That dramatically reduced the problems I was facing. The UNIX tools you see me using are from the GNUWin32 project. If installing this way does not solve your problem, do let us know. Regards, Yesudeep. -- येसुदीप मंगलािपल्ली Can't see the above text? http://unicode.org/help/display_problems.html Do not send me Word documents. I will bite. http://www.gnu.org/philosophy/sylvester-response.html ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list
RE: Trouble getting pkg-config to work in Windows
Thanks for the reply, but the problem is more complex than this. Yesudeep's two replies can be combined and summarized as follows: 1. Try installing using the installers from http://gladewin32.sourceforge.net 2. Make sure that the environment variable PKG_CONFIG_PATH is properly set by editing the bash configuration files and/or system environment variables. 3. Use the installation instructions from http://www.mingw.org/MinGWiki/index.php/GladeGuide ( written by Chris Lale, on how to use Glade with Win32) First, I did use the installer linked to on the GladeWin32 page referenced in (1) above. That is how I installed the gtk+ executable the first time I tried. When I did that, I got a working version of gtk+, but the pkg-config.exe file still did not work. It still failed to find the */lib/pkgconfig directory containing the .pc files, even if I manually set PKG_CONFIG_PATH in the command line, changed it in the bash config files, and created a registry entry as recommended. When you do this, you get *.pc files whose prefix is set to /target. I then uninstalled the gtk+ that I got from that website and tried a second method, first installing mingw into c:\mingw, as recommended in the http://www.mingw.org/. Using the second method, I installed mingw using the mingw installer, into c:/mingw, and then unzipped all of Tor Lillqvist's zip files into the c:/mingw directory tree. This method fails also. When I run pkg-config, it too fails to find the *.pc files. This method is more suspect to me, because the *.pc files that get unzipped into lib/pkgconfig have prefixes with the hard-coded path c:/devel/target/... such as c:/devel/target/atk-1.12.3 Anyway, it fails even when I make sure the PKG_CONFIG_PATH environment variable is properly set. Before I tried this second method, I should add that I tried to build from sources under Cygwin, and that came the closest to succeeding, but it still did not work. pkg-config.exe actually FOUND the .pc files, but its output always contained the hard-coded word target, as in -I/target/lib.. blah blah, as if the pkg-config executable was failing to replace target by the actual path to target dir. Also, in all cases, I have made sure that the pkg-config I am running is the correct one by using the absolute path to it in the shell. It seems to me that the pkg-config.exe in the zip file, pkg-config-0.20.zip, is insensitive to the value of the environment variables, and must be searching a hard-coded path for the pkgconfig files. I think that the pkg-config that I built using the pkg-config-0.20 source tarball probably worked, but because I built in wthin the Cygwin shell, it failed to run from command-prompt and from a MSys shell, and in any event, the *.pc files have this hard-coded prefix with /target that causes it to spew bad output. Any ideas? Stewart -Original Message- From: Yesudeep [mailto:[EMAIL PROTECTED] Sent: Saturday, June 09, 2007 1:29 AM To: Stewart Weiss Cc: gtk-list@gnome.org Subject: Re: Trouble getting pkg-config to work in Windows On 6/9/07, Stewart Weiss [EMAIL PROTECTED] wrote: I have spent many hours trying to get a version of pkg-config to work properly on my Windows XP system. I have installed GTK+ snip A simple search on Google gave me this as the first link: http://www.mingw.org/MinGWiki/index.php/GladeGuide Regards, Yesudeep. -- येसुदीप मंगलािपल्ली Can't see the above text? http://unicode.org/help/display_problems.html Do not send me Word documents. I will bite. http://www.gnu.org/philosophy/sylvester-response.html ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list
Trouble getting pkg-config to work in Windows
I have spent many hours trying to get a version of pkg-config to work properly on my Windows XP system. I have installed GTK+ following instructions in various webpages. In the last attempt, I used http://www.ibiblio.org/apollo/WinGtkHowto.html as my guide. I have downloaded a few versions of pkg-config binaries, the last of which is pkg-config-0.20 from the gimp.org download page. I also tried building from source, but I have the same problem. The problem is that when I run a command such as pkg-config --cflags gtk+-win32-2.0 I get the message Package gtk+-win32-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+-win32-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gtk+-win32-2.0' found This will happen regardless of which package name I use. All of the .pc files are in the top/lib/pkgconfig directory, where top is the name of the directory that contains bin/pkg-config.exe. I have tried setting the registry to create a key and values for PKG_CONFIG_PATH, but this does not work. I have tried manually setting the environment variable, to no avail. I get this message no matter what. Does anyone know what the problem is? Stewart ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list
Re: Trouble getting pkg-config to work in Windows
Greetings Stewart, On 6/9/07, Stewart Weiss [EMAIL PROTECTED] wrote: I have spent many hours trying to get a version of pkg-config to work properly on my Windows XP system. I have installed GTK+ following instructions in various webpages. In the last attempt, I used http://www.ibiblio.org/apollo/WinGtkHowto.html as my guide. I have downloaded a few versions of pkg-config binaries, the last of which is pkg-config-0.20 from the gimp.org download page. I also tried building from source, but I have the same problem. Someone has already done the majority of the work for you: http://gladewin32.sourceforge.net I have used gladewin32 successfully before. The problem is that when I run a command such as pkg-config --cflags gtk+-win32-2.0 I get the message Package gtk+-win32-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+-win32-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gtk+-win32-2.0' found After installing gladewin32 (including reading the README and INSTALL files that come with it and the FAQ at the Website), try using this command: pkg-config --cflags gtk+-2.0 This should work. `gtk+-win32-2.0` may not be a valid package configuration file. This will happen regardless of which package name I use. All of the .pc files are in the top/lib/pkgconfig directory, where top is the name of the directory that contains bin/pkg-config.exe. I have tried setting the registry to create a key and values for PKG_CONFIG_PATH, but this does not work. I have tried manually setting the environment variable, to no avail. I get this message no matter what. Creating a properly defined environment variable is a solution. You can edit the bash configuration files used by MSYS to add the PKG_CONFIG_PATH environment variable. AFAIK, setting a *system* environment variable in the System Properties dialog works as well. Does anyone know what the problem is? Stewart snip Hopefully, this will help. Regards, Yesudeep. -- येसुदीप मंगलािपल्ली Can't see the above text? http://unicode.org/help/display_problems.html Do not send me Word documents. I will bite. http://www.gnu.org/philosophy/sylvester-response.html ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list
Re: Trouble getting pkg-config to work in Windows
On 6/9/07, Stewart Weiss [EMAIL PROTECTED] wrote: I have spent many hours trying to get a version of pkg-config to work properly on my Windows XP system. I have installed GTK+ snip A simple search on Google gave me this as the first link: http://www.mingw.org/MinGWiki/index.php/GladeGuide Regards, Yesudeep. -- येसुदीप मंगलािपल्ली Can't see the above text? http://unicode.org/help/display_problems.html Do not send me Word documents. I will bite. http://www.gnu.org/philosophy/sylvester-response.html ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list
Re: Where is the PKG-config files for gtk on Red Hat 4?
I'm taking this back to the list, since I accidently neglected to include the list in my previous reply... On Fri, 2007-03-09 at 09:55 -0600, ying lcs wrote: On 3/9/07, Michael Ekstrand [EMAIL PROTECTED] wrote: On Thu, 2007-03-08 at 17:13 -0600, ying lcs wrote: Thanks for your help. But how this case: 1. I compile my program in a rhel 4with gtk 2.8.9 installed. but what will happen if i take my binary to another rhel 4 with other version of gtk installed? Will it run without problems? If you don't use any GTK+ 2.8x-specific features, probably. However, it is worth noting that RHEL4 ships GTK+ 2.4.x; if you really want RHEL4 compatibility, you should target that. Depending on anything higher is a recipe for nightmares (believe me). The gtk2-devel package is GTK +2.4.x (don't remember exact micro version) anyway. Thanks. Can you please tell me what is the command to find out which version of gtk is installed in the system? I tried 'rpm -q gtk*' i get 'package gtk* is not installed' I'm not very fluent in things of Red Hat, but rpm -q gtk2 may give you the version; I'm not sure how globs apply to packages. If you want to find out what version of GTK configure scripts will find (and therefore applications will attempt to build against), do: pkg-config --modversion gtk+-2.0 This will work on all Unix-ish GTK-supported platforms, provided that pkg-config and GTK+ devel files are installed. - Michael -- Michael Ekstrand Research Assistant, Scalable Computing Laboratory Goanna, compute cluster and InfiniBand network monitor tool: http://www.scl.ameslab.gov/Projects/Monitor/ ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list
Where is the PKG-config files for gtk on Red Hat 4?
Hi, I have set my PKG_CONFIG_PATH as follow: # echo $PKG_CONFIG_PATH /usr/local/lib/pkgconfig:/usr/local/share/pkgconfig/:/usr/share/pkgconfig But when I try to run 'configure' for a program, it can't find gtk+-2.0.pc. Can you please tell me what should I set the PKG_CONFIG_PATH to be for this to compile? checking for pkg-config... /usr/bin/pkg-config checking for gtk+-2.0 = 1.3.7... Package gtk+-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gtk+-2.0' found configure: error: Library requirements (gtk+-2.0 = 1.3.7) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them. ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list
Re: Where is the PKG-config files for gtk on Red Hat 4?
Hopefully you mean RedHat Enhanced Linux 4 (AKA RHEL4), not the ancient RedHat Linux 4... On Thu, Mar 08, 2007 at 02:33:44PM -0600, ying lcs wrote: Hi, I have set my PKG_CONFIG_PATH as follow: # echo $PKG_CONFIG_PATH /usr/local/lib/pkgconfig:/usr/local/share/pkgconfig/:/usr/share/pkgconfig But when I try to run 'configure' for a program, it can't find gtk+-2.0.pc. Can you please tell me what should I set the PKG_CONFIG_PATH to be for this to compile? checking for pkg-config... /usr/bin/pkg-config checking for gtk+-2.0 = 1.3.7... Package gtk+-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gtk+-2.0' found configure: error: Library requirements (gtk+-2.0 = 1.3.7) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them. Install gtk2-devel and everything it depends on (i.e., do the equivalent of `yum install gtk2-devel'). Then you should not need to set PKG_CONFIG_PATH to anything special (unless you have other required libraries in special locations). Yeti ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list
Re: Where is the PKG-config files for gtk on Red Hat 4?
On Thu, Mar 08, 2007 at 09:53:51PM +0100, David Nečas (Yeti) wrote: RedHat Enhanced Linux 4 (AKA RHEL4) s/Enhanced/Enterprise/ Yeti ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list
Re: Where is the PKG-config files for gtk on Red Hat 4?
On 3/8/07, David Nečas (Yeti) [EMAIL PROTECTED] wrote: Hopefully you mean RedHat Enhanced Linux 4 (AKA RHEL4), not the ancient RedHat Linux 4... On Thu, Mar 08, 2007 at 02:33:44PM -0600, ying lcs wrote: Hi, I have set my PKG_CONFIG_PATH as follow: # echo $PKG_CONFIG_PATH /usr/local/lib/pkgconfig:/usr/local/share/pkgconfig/:/usr/share/pkgconfig But when I try to run 'configure' for a program, it can't find gtk+-2.0.pc. Can you please tell me what should I set the PKG_CONFIG_PATH to be for this to compile? checking for pkg-config... /usr/bin/pkg-config checking for gtk+-2.0 = 1.3.7... Package gtk+-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gtk+-2.0' found configure: error: Library requirements (gtk+-2.0 = 1.3.7) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them. Install gtk2-devel and everything it depends on (i.e., do the equivalent of `yum install gtk2-devel'). Then you should not need to set PKG_CONFIG_PATH to anything special (unless you have other required libraries in special locations). Yeti Thank you for the help. Yes, i am using Red Hat Enterprise Linux 4. Let's say I did the step above and install my program correctly. Will the binary of my program (a program build in RHEL4 with 'gtk2-devel') run on a Red Hat Enterprise Linux 4 without 'gtk2-devel'? ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list
Re: Where is the PKG-config files for gtk on Red Hat 4?
On Thu, Mar 08, 2007 at 03:58:21PM -0600, ying lcs wrote: Let's say I did the step above and install my program correctly. Will the binary of my program (a program build in RHEL4 with 'gtk2-devel') run on a Red Hat Enterprise Linux 4 without 'gtk2-devel'? Yes, it will[*]. Devel mean development, i.e. things necessary for compilation of programs but not for running them. If you intend to distribute the program to other RHEL4 machines, create a rpm package from it. It's simple (or I think it is, YMMV) and among other advantages most of its run-time dependencies on other packages will be determined correctly automatically (in the typical case). Yeti [*] To prevent lawsuits, I should mention there's always a posibility to screw it up so badly that it won't run. ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list
Re: Where is the PKG-config files for gtk on Red Hat 4?
On 3/8/07, David Nečas (Yeti) [EMAIL PROTECTED] wrote: On Thu, Mar 08, 2007 at 03:58:21PM -0600, ying lcs wrote: Let's say I did the step above and install my program correctly. Will the binary of my program (a program build in RHEL4 with 'gtk2-devel') run on a Red Hat Enterprise Linux 4 without 'gtk2-devel'? Yes, it will[*]. Devel mean development, i.e. things necessary for compilation of programs but not for running them. If you intend to distribute the program to other RHEL4 machines, create a rpm package from it. It's simple (or I think it is, YMMV) and among other advantages most of its run-time dependencies on other packages will be determined correctly automatically (in the typical case). Yeti Thanks for your help. But how this case: 1. I compile my program in a rhel 4with gtk 2.8.9 installed. but what will happen if i take my binary to another rhel 4 with other version of gtk installed? Will it run without problems? [*] To prevent lawsuits, I should mention there's always a posibility to screw it up so badly that it won't run. ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list
Re: pkg-config output on the Windows platform?
Can anyone tell me what system pkg-config uses when some/all of the C Preprocessor paths contain spaces? How hard would it be to try yourself? ;) Well, quite hard :-). I would have to download and attempt to build all of GTK and whatever its dependencies are. Not keen for that. No need to (attempt to) build anything, it would have been enough to download pkg-config for Windows: http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/pkg-config-0.20.zip and for instance the GLib developer package for Windows: http://ftp.gnome.org/pub/gnome/binaries/win32/glib/2.12/glib-dev-2.12.4.zip , unzip them somewhere in a patch with spaces, set PKG_CONFIG_PATH if necessary (if you unzipped the pkg-config zipfile and developer package into different trees), and just try running pkg-config --cflags glib-2.0 . Based on Yevgen Muntyan's reply, pkg-config's problem with spaces in paths is cross-platform, not specific to Windows. I haven't read the pkg-config source code in a while, and can't say whether it is possible to fix it. Actually the reason I ask this question here is that you guys have got the 'pkg-config' tool and although I'm not sure that this 'standard' started here, that was my best guess. The '*-config' concept is a pretty good one when it comes to building packages that have dependencies on other ones, When you say *-config, do you mean pkg-config, or the older *-config shell scripts from each package (for instance, gtk-config) that were succeded by pkg-config and the package-specific .pc files? and that's what I'm trying to pick up on and use on the Windows platform... but this means that the *-config tool must support spaces, Well, I'm not that sure this is a problem. Several people have been using pkg-config on Windows, and nobody has noticed until now (well, nobody has complained) that paths with spaces cause a problem. Still, it would be nice to fix this indeed. My guess is that one should use flags in a form that could be pasted into the Bash command-line. Sure. (Or, if the --msvc-syntax flag has been passed to pkg-config, into a cmd.exe command line.) --tml ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list
Re: pkg-config output on the Windows platform?
Hi Tor, Tor Lillqvist wrote: Can anyone tell me what system pkg-config uses when some/all of the C Preprocessor paths contain spaces? How hard would it be to try yourself? ;) Well, quite hard :-). I would have to download and attempt to build all of GTK and whatever its dependencies are. Not keen for that. No need to (attempt to) build anything, it would have been enough to download pkg-config for Windows: http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/pkg-config-0.20.zip and for instance the GLib developer package for Windows: http://ftp.gnome.org/pub/gnome/binaries/win32/glib/2.12/glib-dev-2.12.4.zip , unzip them somewhere in a patch with spaces, set PKG_CONFIG_PATH if necessary (if you unzipped the pkg-config zipfile and developer package into different trees), and just try running pkg-config --cflags glib-2.0 . Based on Yevgen Muntyan's reply, pkg-config's problem with spaces in paths is cross-platform, not specific to Windows. I haven't read the pkg-config source code in a while, and can't say whether it is possible to fix it. OK, fair point Actually the reason I ask this question here is that you guys have got the 'pkg-config' tool and although I'm not sure that this 'standard' started here, that was my best guess. The '*-config' concept is a pretty good one when it comes to building packages that have dependencies on other ones, When you say *-config, do you mean pkg-config, or the older *-config shell scripts from each package (for instance, gtk-config) that were succeded by pkg-config and the package-specific .pc files? Well actually either, I guess. I don't know too much history of GTK, I guess. I have seen the *-config scripts used in other projects, like CppUnit and GiNaC from my particular experience. I guess this 'standard' use of a shell script to pull out compiler flags for already-installed libraries must have come from somewhere, right? For some reason I thought it had come from GTK. But perhaps not. and that's what I'm trying to pick up on and use on the Windows platform... but this means that the *-config tool must support spaces, Well, I'm not that sure this is a problem. Several people have been using pkg-config on Windows, and nobody has noticed until now (well, nobody has complained) that paths with spaces cause a problem. Still, it would be nice to fix this indeed. I think recall seeing a binary version of GTK that installed to c:\Program Files\GTK but I think it may not have included pkg-config. Or maybe it was just Inkscape or something like that, which includes its own copy of GTK. My guess is that one should use flags in a form that could be pasted into the Bash command-line. Sure. (Or, if the --msvc-syntax flag has been passed to pkg-config, into a cmd.exe command line.) Good thinking. Sounds right. Cheers JP ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list
pkg-config output on the Windows platform?
Hi all I am working on some cross-platform problems for the SCons build tool, relating to parsing the output of commands like 'pkg-config' as implemented in GTK and made available under windows as 'pkg-config.exe' in at least some of the binary packages. Can anyone tell me what system pkg-config uses when some/all of the C Preprocessor paths contain spaces? For example, is it -Lc:\Program Files\GTK\lib or -Lc:\Program Files\GTK\lib or -Lc:\\Program\ Files\\GTK\\lib Also, what is the rationale for choosing which of these is used here? Cheers JP -- John Pye Department of Mechanical and Manufacturing Engineering University of New South Wales, Sydney, Australia. john.pye AT student DOT unsw.edu.au ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list
Re: pkg-config output on the Windows platform?
John Pye writes: Can anyone tell me what system pkg-config uses when some/all of the C Preprocessor paths contain spaces? How hard would it be to try yourself? ;) For example, is it -Lc:\Program Files\GTK\lib or -Lc:\Program Files\GTK\lib or -Lc:\\Program\ Files\\GTK\\lib It turns out to be none of the above, but something completely bogus... I put glib-2.0.pc into c:\tmp\foo bar\lib\pkgconfig, set PKG_CONFIG_PATH, and...: pkg-config --cflags glib-2.0 bar/include/glib-2.0 bar/lib/glib-2.0/include -Ic:/tmp/foo So, don't install developer packages that come with .pc files in paths with spaces. --tml ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list
Re: pkg-config output on the Windows platform?
John Pye wrote: [snip] Can anyone tell me what system pkg-config uses when some/all of the C Preprocessor paths contain spaces? Apparently you just have to use bugzilla here. On linux, with pkg-config 0.21 the following pkg-config --define-variable=prefix=/foo blah --libs gtk+-2.0 produces blah/lib -L/foo -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 Note the blah/lib -L/foo part. Best regards, Yevgen ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list
Re: pkg-config --libs gtk+-2.0 omits -mwindows on Windows
Tor, I added a section in the README of my GTK+ application that instructs MSYS users to edit their copy of gtk+-2.0.pc, and add in the missing -mwindows option. After that change, the build process on MSYS is the same as it is on all other platforms. This solves my problem. If you write an FLTK application on Linux, and follow the FLTK documentation on how to write build files, the build process for your application is identical on all platforms. I believe we should strive to give GTK+ application developers the same experience. John ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list
Re: pkg-config --libs gtk+-2.0 omits -mwindows on Windows
John D. Ramsdell writes: If you write an FLTK application on Linux, and follow the FLTK documentation on how to write build files, the build process for your application is identical on all platforms. The build process might be identical, but the behaviour of apps certainly isn't. I believe we should strive to give GTK+ application developers the same experience. The fact is that Windows is not Unix, and Unix is not Windows. The behaviour of apps with respect to output to stdout and stderr is not the same. No way around that. If you use -mwindows, printf() calls don't show up even if you start the app from a command prompt. If you don't use -mwindows, the app opens a new console window if started from Explorer (even if it doesn't output anything to stdout or stderr). Neither case is the same experience as on Unix. The developer must choose which behavious he wants at which stage in the development. (IMHO the natural choice is to create console executables while developing, but windowing executables when building deliverables for end-users.) It's not GTK+'s business to force -mwindows all the time. (And if you say, well, the developer can use -mconsole while developing to override, well, where is the same experience you advertise then?) I won't bother discussing this any further. --tml ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list
pkg-config --libs gtk+-2.0 omits -mwindows on Windows
The GTK+ 2.0 Tutorial states that the command for compiling the hello world application is: $ gcc -Wall -g helloworld.c -o helloworld \ `pkg-config --cflags gtk+-2.0` `pkg-config --libs gtk+-2.0` but this gives the wrong result when compiling on MSYS with MinGW. The link command for GUI applications are normally given the -mwindows option, so that the application does not create a console window when run outside of MSYS, yet the output of pkg-config --libs gtk+-2.0 fails to include -mwindows. The purpose of pkg-config is to allow authors to easily write platform independent build scripts, so it should include this option in its output. For the unusual case in which authors want console input in a GUI application, they should add -mconsole option to the end of the link command line. Failure to include -mwindows in pkg-config output is a real pain in the neck for GNU autotools users. One possible fix is to ask those compiling the program to configure with: $ ./configure LDFLAGS=-mwindows This does not work for my application, GTK Sudoku. It builds a GUI program and a simple console only application. The console only application should not be linked with the -mwindows option. Users of FLTK and wxWidgets would be surprised by the behavior of pkg-config. On Windows, their configure scripts, fltk-config and wx-config, include -mwindows in their linker output, so it's easy to write platform independent build files. I attempted to submit a bug report on pkg-config at bugzilla.gnome.org, but I get the message: Sorry, entering bug reports into the product pkg-config has been disabled. John ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list
Re: pkg-config --libs gtk+-2.0 omits -mwindows on Windows
Is this really a big enough issue to be worth writing such a long message about? I mean, surely people who build GTK+ software on Windows quickly learn to use -mwindows when they eventually are done with debugging and want to build their exe as a ready to be deployed to end-users windowing app? I don't think we should force the building of windowing exes by putting -mwindows in the .pc file. During development it is nice to be able to just printf out tracing and debugging output, and if -mwindows was the default, we would instead have lots of newbies wondering why their debugging printfs don't show up anywhere. Sorry, entering bug reports into the product pkg-config has been disabled. Well, the .pc file in question is part of GTK+, not pkg-config. Anyway, now that the discussion is here on the list, no need to open a bug report against GTK+, I would just resolve it with WONTFIX anyway. --tml ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list
Re: pkg-config / glib-config and conflicts
On Mon, 2006-03-20 at 18:13 -0500, craig gtk wrote: Hello, In buildint a gnome from source, some packages expect glib version 1.2 (with the glib-config), and other packages expect to learn about glib 2.6 by calling pkg-config. What is the correct way to resolve the conflict here? There is no conflict. GTK+ 1.2 and GTK+ 2.x can be installed in parallel. However, applications that still require GTK+ 1.2 are rare and usually unmaintained anyway. [snip] -- Murray Cumming [EMAIL PROTECTED] www.murrayc.com www.openismus.com ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list
pkg-config / glib-config and conflicts
Hello,In buildint a gnome from source, some packages expect glib version 1.2 (with the glib-config), and other packages expect to learn about glib 2.6 by calling pkg-config. What is the correct way to resolve the conflict here? This seems inappropriate however, as some configure scripts complain that they link against one library set and use another set of include files? How is this intended to be resolved? Quite a number of packages still use the old glib-config script that probably shouldn't be around on a newer system that uses pkg-config? Thanks,Craig ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list
Re: pkg-config / glib-config and conflicts
* craig gtk [EMAIL PROTECTED] wrote: In buildint a gnome from source, some packages expect glib version 1.2 (with the glib-config), and other packages expect to learn about glib 2.6 by calling pkg-config. What is the correct way to resolve the conflict here? This seems inappropriate however, as some configure scripts complain that they link against one library set and use another set of include files? Yeah, many configure scripts in the gnome world are horribly broken. There are such funny things like asking pkg-config for glib, then wildly trying to compile/link against glib and then crying when versions do not match. This likes to break cross builds. I'm currently working on that. Please be patient for some days or join my OSS-QM-Project: http://nibiru.borg.metux.de:7000/wiki/index.php/OpenSource_QM_Project cu -- - Enrico Weigelt== metux IT service phone: +49 36207 519931 www: http://www.metux.de/ fax: +49 36207 519932 email: [EMAIL PROTECTED] cellphone: +49 174 7066481 - -- DSL ab 0 Euro. -- statische IP -- UUCP -- Hosting -- Webshops -- - ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list
pkg-config cross compilation
am trying to cross compile pkg-config.but all the way its ends up with the following error-checking whether we are using the GNU C compiler... (cached) yeschecking whether powerpc-405-linux-gnu-gcc accepts -g... (cached) yeschecking for powerpc-405-linux-gnu-gcc option to accept ANSI C... (cached) none neededchecking dependency style of powerpc-405-linux-gnu-gcc... (cached) gcc3checking for powerpc-405-linux-gnu-gcc option to accept ANSI C... none neededchecking for a BSD-compatible install... /usr/bin/install -cchecking for extra flags to get ANSI library prototypes... configure: error: cannot run test program while cross compilingSee `config.log' for more details.configure: error: /bin/sh './configure' failed for glib-1.2.8has anybody seen this error?please do reply with solutionmy configuration is ./configure --prefix=/root/destpkg/ --host=powerpc-405-linux-gnu(/root/destpkg/ is the destination for it)regardsRAKESH Yahoo! Mail Bring photos to life! New PhotoMail makes sharing a breeze. ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list
[PATH] pkg-config / $PKG_CONFIG fix
Hi folks, here's a little fix against configure to use always $PKG_CONFIG for calling pkg-config. I've got two versions, one against 2.6.4, another against 2.8.0. cu -- - Enrico Weigelt== metux IT service phone: +49 36207 519931 www: http://www.metux.de/ fax: +49 36207 519932 email: [EMAIL PROTECTED] cellphone: +49 174 7066481 - -- DSL ab 0 Euro. -- statische IP -- UUCP -- Hosting -- Webshops -- - diff -ruN gtk+-2.6.4.orig/configure gtk+-2.6.4/configure --- gtk+-2.6.4.orig/configure Tue Jun 14 21:50:04 2005 +++ gtk+-2.6.4/configureTue Jun 14 21:53:15 2005 @@ -28410,7 +28410,7 @@ if test $pango_omitted_x_deps = yes ; then # Old versions of Xft didn't necessarily include -lX11 in the output -x_libs=`pkg-config --libs xft` -lX11 $X_EXTRA_LIBS +x_libs=`$PKG_CONFIG --libs xft` -lX11 $X_EXTRA_LIBS fi ## Strip the .la files diff -ruN gtk+-2.6.4.orig/configure.in gtk+-2.6.4/configure.in --- gtk+-2.6.4.orig/configure.inTue Jun 14 21:50:01 2005 +++ gtk+-2.6.4/configure.in Tue Jun 14 21:57:02 2005 @@ -1075,7 +1075,7 @@ if test $pango_omitted_x_deps = yes ; then # Old versions of Xft didn't necessarily include -lX11 in the output -x_libs=`pkg-config --libs xft` -lX11 $X_EXTRA_LIBS +x_libs=`$PKG_CONFIG --libs xft` -lX11 $X_EXTRA_LIBS fi ## Strip the .la files diff -ruN gtk+-2.6.4.orig/m4macros/gtk-2.0.m4 gtk+-2.6.4/m4macros/gtk-2.0.m4 --- gtk+-2.6.4.orig/m4macros/gtk-2.0.m4 Tue Jun 14 21:50:04 2005 +++ gtk+-2.6.4/m4macros/gtk-2.0.m4 Tue Jun 14 21:58:27 2005 @@ -27,7 +27,7 @@ AC_PATH_PROG(PKG_CONFIG, pkg-config, no) if test x$PKG_CONFIG != xno ; then -if pkg-config --atleast-pkgconfig-version 0.7 ; then +if $PKG_CONFIG --atleast-pkgconfig-version 0.7 ; then : else echo *** pkg-config too old; version 0.7 or better required. diff -ruN gtk+-2.8.0.orig/configure gtk+-2.8.0/configure --- gtk+-2.8.0.orig/configure Wed Sep 21 23:17:07 2005 +++ gtk+-2.8.0/configureThu Sep 22 01:17:49 2005 @@ -27800,7 +27800,7 @@ if $PKG_CONFIG --exists x11 xext; then have_base_x_pc=true X_PACKAGES=x11 xext -x_libs=`pkg-config --libs x11 xext` +x_libs=`$PKG_CONFIG --libs x11 xext` # Strip out any .la files that pkg-config might give us (this happens # with -uninstalled.pc files) diff -ruN gtk+-2.8.0.orig/configure.in gtk+-2.8.0/configure.in --- gtk+-2.8.0.orig/configure.inWed Sep 21 23:14:27 2005 +++ gtk+-2.8.0/configure.in Thu Sep 22 01:18:28 2005 @@ -1039,7 +1039,7 @@ if $PKG_CONFIG --exists x11 xext; then have_base_x_pc=true X_PACKAGES=x11 xext -x_libs=`pkg-config --libs x11 xext` +x_libs=`$PKG_CONFIG --libs x11 xext` # Strip out any .la files that pkg-config might give us (this happens # with -uninstalled.pc files) ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list
pkg-config vs gnome-config
If this message if out of place or already answered, please point me to the right direction and I'll be more than happy to follow up there. I'm working on an app that uses gtk+-2.0 and a gdk_canvas. 'gnome-config' points to the gtk-1.2 installation and pkg-config leaves out the necessary include directories such that I get errors about gnome.h not being found. I'm not finding any .pc files in /usr/lib/pkgconfig that look like their for a standalone gnome app. Do I need to write one? Thanks. Here's what I have in my Makefile right now: $(CC) $(CFLAGS) $(DEBUGFLAGS) `pkg-config gdk-2.0 --libs --cflags` -o p p.c mark ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: pkg-config vs gnome-config
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark C. Smith wrote: If this message if out of place or already answered, please point me to the right direction and I'll be more than happy to follow up there. I'm working on an app that uses gtk+-2.0 and a gdk_canvas. 'gnome-config' points to the gtk-1.2 installation and pkg-config leaves out the necessary include directories such that I get errors about gnome.h not being found. I'm not finding any .pc files in /usr/lib/pkgconfig that look like their for a standalone gnome app. Do I need to write one? Thanks. Here's what I have in my Makefile right now: $(CC) $(CFLAGS) $(DEBUGFLAGS) `pkg-config gdk-2.0 --libs --cflags` -o p p.c GDK is a semi-internal backend support library for GTK. You want to be using 'gtk+-2.0' in your pkg-config line. If you are using gnome2 libraries, check out /usr/lib/pkgconfig/libgnome*.pc for things you might be using. You'll probably want 'libgnome-2.0' and perhaps 'libgnomeui-2.0'. IIRC, libgnomeui-2.0 will include cflags/libs parameters for GTK as well, so you can probably omit 'gtk+-2.0'. gnome-config is for gnome 1.x, I believe. -brian -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (MingW32) iD8DBQFC8AFm6XyW6VEeAnsRAoHGAJ9G53EYxU2KHrEHmzcp+LdInaZcfgCfdRCE S5o/GLw/RMgp/43hKFj+v1s= =PO0Q -END PGP SIGNATURE- ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
pkg-config problem
Hi there, I have installed GTK 2.4 and all of the required packages (pango, atk, etc.). The installation worked fine without any errors. But unfortunately there seems to be something wrong with pkg-config because when i compile a simple helloworld.c using pkg-config i get the folowing error: Package gdk-x11-2.0-uninstalled was not found in the pkg-config search path. I think this package should not be installed. So, how can i uninstall it so that pkg-config works fine? yes, i am quite new to linux ;) regards, Garvin -- +++ Sparen Sie mit GMX DSL +++ http://www.gmx.net/de/go/dsl AKTION für Wechsler: DSL-Tarife ab 3,99 EUR/Monat + Startguthaben ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list
Re: pkg-config problem
hi, Verify if you have the file gdk-x11-2.0.pc in your directory /usr/lib/pkg-config or /usr/local/lib/pkg-config. If no have, try install gtk devel version package. Renato Araujo Brasileiro, forgive me for my english On Mon, 3 Jan 2005 16:39:41 +0100 (MET), garvin riensche [EMAIL PROTECTED] wrote: Hi there, I have installed GTK 2.4 and all of the required packages (pango, atk, etc.). The installation worked fine without any errors. But unfortunately there seems to be something wrong with pkg-config because when i compile a simple helloworld.c using pkg-config i get the folowing error: Package gdk-x11-2.0-uninstalled was not found in the pkg-config search path. I think this package should not be installed. So, how can i uninstall it so that pkg-config works fine? yes, i am quite new to linux ;) regards, Garvin -- +++ Sparen Sie mit GMX DSL +++ http://www.gmx.net/de/go/dsl AKTION für Wechsler: DSL-Tarife ab 3,99 EUR/Monat + Startguthaben ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list
Re: pkg-config
Hi again using PATH=$PATH:/usr/local/bin instruction before building glib made me happy. thank you all for your help S..ATA [EMAIL PROTECTED] [EMAIL PROTECTED] Tel : 262 - 648 14 41 ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
pkg-config
Hi,as an inexperienced person on Linux platform, I try to build glib-2.2.3also gtk+-2.2.3 but I've received the error"pkg-config not found".for this purpose I've downloded these packages- pkgconfig-0.14.0.tar- glib-2.2.3.tar- gtk+-2.2.3.tarand also- atk-1.2.4.tar- pongo-1.2.5.tarin pkgconfig-0.14.0 directorywith./configuremakemake install sequence I build pkg-config then I can see that pkg-config iscreated in the directory "/usr/local/bin/" pluspkg-config.1 in "/usr/local/man/man1/"but I failed on trying to build glib+-2.2.3 because of "pkg-config notfound" error.also messages I saw are"aclocal-1.4 ... missing" and "automake-1.4 ... missing"one solution I found on the NET is to set PKG_CONFIG_PATH asexport PKG_CONFIG_PATH="/usr/local/bin/"but doesn't workplease help me...thanks a lot S..ATA[EMAIL PROTECTED][EMAIL PROTECTED]Tel : 262 - 648 14 41
Re: pkg-config
Serdar- The reason that setting PKG_CONFIG_PATH=/usr/local/bin isn't working for you is that you need to set PKG_CONFIG when you invoke the configure: sh PKG_CONFIG=/usr/local/bin/pkg-config ./configure The PKG_CONFIG_PATH variable, if you intend to use it, should be set before invoking configure as well. This variable, though, is not intended (from what I've observed) for telling the configure script how to locate pkg-config; rather, it is used for telling pkg-config where too look for the .pc files that pkg-config uses for storing data about toolchains. For an example of using PKG_CONFIG_PATH, when I build the gtk+ libraries, I have several libs that are installed in non-standard locations. For example, I keep my glib installations installed at /et/sw/opensource/glib/2.2.3, and the .pc files for the installation are kept in /et/sw/opensource/glib/2.2.3/lib/pkgconfig, so I invoke configure as: sh PKG_CONFIG=/usr/local/bin/pkg-config PKG_CONFIG_PATH=/et/sw/opensource/glib/2.2.3/lib/pkgconfig ./configure --prefix=... Hope this helps, Aaron On Thu, 2004-01-29 at 07:10, Serdar Ozgur ATA wrote: Hi, as an inexperienced person on Linux platform, I try to build glib-2.2.3 also gtk+-2.2.3 but I've received the error pkg-config not found. for this purpose I've downloded these packages - pkgconfig-0.14.0.tar - glib-2.2.3.tar - gtk+-2.2.3.tar and also - atk-1.2.4.tar - pongo-1.2.5.tar in pkgconfig-0.14.0 directory with ./configure make make install sequence I build pkg-config then I can see that pkg-config is created in the directory /usr/local/bin/ plus pkg-config.1 in /usr/local/man/man1/ but I failed on trying to build glib+-2.2.3 because of pkg-config not found error. also messages I saw are aclocal-1.4 ... missing and automake-1.4 ... missing one solution I found on the NET is to set PKG_CONFIG_PATH as export PKG_CONFIG_PATH=/usr/local/bin/ but doesn't work please help me... thanks a lot S..ATA [EMAIL PROTECTED] [EMAIL PROTECTED] Tel : 262 - 648 14 41 -- ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
Re: pkg-config
Hi. At this point you should use your distribution binary packages. It's a trivial trouble and if you don't know the answer you may think about waiting to get more experience before going further with your own compilation. pkg-config not found means that either you've not installed it correctly or you don't know how to add a path. Try to add: export PATH=$PATH:/usr/local/bin PKG_CONFIG_PATH is when pkg-config works but doesn't find the .pc file installed in its default directory. Setting correctly the library path is left as an exercice. Same applies for the automake/autoconf that you shouldn't need to use if your getting your sources from the tarballs. Again, you should really get your distribution binary packages and forget about compiling by yourself for now. Regards, Xavier Ordoquy. -- ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
Re: pkg-config
Hi, Serdar Ozgur ATA [EMAIL PROTECTED] writes: as an inexperienced person on Linux platform, I try to build glib-2.2.3 also gtk+-2.2.3 but I've received the error pkg-config not found. You need to make sure pkg-config is in your executable path. Since it was installed to /usr/local/bin, you need to add that directory to your PATH environment variable. I think you should either make yourself familiar with some basic UNIX concepts or stick with binary packages. This is not meant as an attempt to discourage you but I think you are not doing yourself a favor if you try to compile gtk+-2.2 without reading the first chapters of a good book about Linux or UNIX in general. Sven ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
Re: pkg-config
On Thursday 29 January 2004 10:49, Sven Neumann wrote: Hi, Serdar Ozgur ATA [EMAIL PROTECTED] writes: as an inexperienced person on Linux platform, I try to build glib-2.2.3 also gtk+-2.2.3 but I've received the error pkg-config not found. You need to make sure pkg-config is in your executable path. Since it was installed to /usr/local/bin, you need to add that directory to your PATH environment variable. I've had to go on search and destroy missions over pkg-config myself, seems the rpms put it in /usr/bin, but the tarball usually puts it in /usr/local/bin. Its a pita when you know you've just installed version 15, but it keeps finding version 13 anyway, even after you've done an rpm -e --nodeps `rpm -qa |grep pkg-config`, installed the newer one it wants and have run an ldconfig session... However, patience perserverence will usually get the job done. I think you should either make yourself familiar with some basic UNIX concepts or stick with binary packages. This is not meant as an attempt to discourage you but I think you are not doing yourself a favor if you try to compile gtk+-2.2 without reading the first chapters of a good book about Linux or UNIX in general. Sven ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list -- Cheers, Gene There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order. -Ed Howdershelt (Author) 99.22% setiathome rank, not too shabby for a WV hillbilly Yahoo.com attornies please note, additions to this message by Gene Heskett are: Copyright 2004 by Maurice Eugene Heskett, all rights reserved. ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
Re: pkg-config
On Thursday 29 January 2004 10:10, Serdar Ozgur ATA wrote: Hi, as an inexperienced person on Linux platform, I try to build glib-2.2.3 also gtk+-2.2.3 but I've received the error pkg-config not found. for this purpose I've downloded these packages - pkgconfig-0.14.0.tar - glib-2.2.3.tar - gtk+-2.2.3.tar and also - atk-1.2.4.tar - pongo-1.2.5.tar I *think* this pkgconfig is too old, and that you may need pkgconfig-0.15.0.tar.gz The error message isn't very explicite when it fails over versions found. in pkgconfig-0.14.0 directory with ./configure make make install sequence I build pkg-config then I can see that pkg-config is created in the directory /usr/local/bin/ plus pkg-config.1 in /usr/local/man/man1/ but I failed on trying to build glib+-2.2.3 because of pkg-config not found error. also messages I saw are aclocal-1.4 ... missing and automake-1.4 ... missing one solution I found on the NET is to set PKG_CONFIG_PATH as export PKG_CONFIG_PATH=/usr/local/bin/ but doesn't work please help me... thanks a lot S.Ö.ATA [EMAIL PROTECTED] [EMAIL PROTECTED] Tel : 262 - 648 14 41 -- Cheers, Gene There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order. -Ed Howdershelt (Author) 99.22% setiathome rank, not too shabby for a WV hillbilly Yahoo.com attornies please note, additions to this message by Gene Heskett are: Copyright 2004 by Maurice Eugene Heskett, all rights reserved. ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
Re: problem with pangox - and also with pkg-config !
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig ./configure Ok I'll try this in the future... But i haven't done it for the last dependencies.. Do you think it really matters ? If you have more than one lib/pkgconfig directory on your system, then it probably does. Find them all on your system and put the one with the latest packages in it first in the list, then the one with the second latest and so on. Ok, yes i have others : /usr/lib/pkgconfig/ and the latest : /usr/local/lib/pkgconfig/ But I'm sorry but i don't really understand how to put the which one in wich other one...??!! ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
Re: problem with pangox - and also with pkg-config !
Alain D'eurveilher wrote: Ok, yes i have others : /usr/lib/pkgconfig/ and the latest : /usr/local/lib/pkgconfig/ But I'm sorry but i don't really understand how to put the which one in wich other one...??!! If you only have these two, then you should probably put /usr/local/lib/pkgconfig first. You can just copy the example I wrote, only put the whole thing on the same line, like this: PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig ./configure or it won't work (I hope it doesn't fold in your mailer program). As you can see, the colon (the : sign) separates the members of the list. You should of course run this in the gtk+ source directory. You may also need to put /usr/local/lib on the first line of /etc/ld.so.conf (I may have misspellt the name, but you will find it) and run ldconfig before trying. busmanus Miert fizetsz az internetert? Korlatlan, ingyenes internet hozzaferes a FreeStarttol. Probald ki most! http://www.freestart.hu ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
Re: problem with pangox - and also with pkg-config !
Hi, You hav to compile pango with pangox support. was also facing this problem once i compiled pango with x it is not there now. hope this helps Thanks ramprasad Alain D'eurveilher wrote: Hi all, I'm trying to install GTK2.2.4 on my woody, and i already install the demendencies requiered, and glib, atk, pango. Now, running ./configure of gtk, I've got : - configure: error: pangox Pango backend is required for x11 target - I've made a google search on my problem, and i've found a post with : (...) Try running 'pkg-config --list-all' and see what pango packages it lists. but i have : - % pkg-config --list-all Package gtk+-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+-2.0.pc' to the PKG_CONFIG_PATH environment variable Package 'gtk+-2.0', required by 'gnome-window-settings-2.0', not found - ok, I'm trying to install gtk2.2.4, and i don't have the 2.0 verison. And where could I find the PKG_CONFIG_PATH ??? Thanks in advance... Alain. PS : You can answer in french if you want. ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
Re: problem with pangox - and also with pkg-config !
--- Hi, You hav to compile pango with pangox support. was also facing this problem once i compiled pango with x it is not there now. hope this helps Huu. What ?? I'm sorry but as a newbie, i don't really understand all the subtilities Thanks ramprasad Alain D'eurveilher wrote: Hi all, I'm trying to install GTK2.2.4 on my woody, and i already install the demendencies requiered, and glib, atk, pango. Now, running ./configure of gtk, I've got : - configure: error: pangox Pango backend is required for x11 target - I've made a google search on my problem, and i've found a post with : (...) Try running 'pkg-config --list-all' and see what pango packages it lists. but i have : - % pkg-config --list-all Package gtk+-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+-2.0.pc' to the PKG_CONFIG_PATH environment variable Package 'gtk+-2.0', required by 'gnome-window-settings-2.0', not found - ok, I'm trying to install gtk2.2.4, and i don't have the 2.0 verison. And where could I find the PKG_CONFIG_PATH ??? Thanks in advance... Alain. PS : You can answer in french if you want. ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
problem with pangox - and also with pkg-config !
Hi all, I'm trying to install GTK2.2.4 on my woody, and i already install the demendencies requiered, and glib, atk, pango. Now, running ./configure of gtk, I've got : - configure: error: pangox Pango backend is required for x11 target - I've made a google search on my problem, and i've found a post with : (...) Try running 'pkg-config --list-all' and see what pango packages it lists. but i have : - % pkg-config --list-all Package gtk+-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+-2.0.pc' to the PKG_CONFIG_PATH environment variable Package 'gtk+-2.0', required by 'gnome-window-settings-2.0', not found - ok, I'm trying to install gtk2.2.4, and i don't have the 2.0 verison. And where could I find the PKG_CONFIG_PATH ??? Thanks in advance... Alain. PS : You can answer in french if you want. ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
Re: problem with pangox - and also with pkg-config !
Alain D'eurveilher wrote: Hi all, I'm trying to install GTK2.2.4 on my woody, and i already install the demendencies requiered, and glib, atk, pango. Now, running ./configure of gtk, I've got : - configure: error: pangox Pango backend is required for x11 target - I've made a google search on my problem, and i've found a post with : (...) Try running 'pkg-config --list-all' and see what pango packages it lists. but i have : - % pkg-config --list-all Package gtk+-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+-2.0.pc' to the PKG_CONFIG_PATH environment variable Package 'gtk+-2.0', required by 'gnome-window-settings-2.0', not found - ok, I'm trying to install gtk2.2.4, and i don't have the 2.0 verison. And where could I find the PKG_CONFIG_PATH ??? apt-get install -t unstable libpango1.0-dev locate pango*.pc /usr/lib/pkgconfig/pango.pc /usr/lib/pkgconfig/pangoft2.pc /usr/lib/pkgconfig/pangox.pc /usr/lib/pkgconfig/pangoxft.pc ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
Re: problem with pangox - and also with pkg-config !
Alain D'eurveilher wrote: Did if find the rest of Pango otherwise? What do you mean find the rest of Pango ?? I wanted to know if the configure script found it, because pango consists of several components that the gtk configure script checks separately. And where could I find the PKG_CONFIG_PATH ??? PKG_CONFIG_PATH can be either in either /usr/lib/pkgconfig /usr/local/lib/pkgconfig etc., in short, it is a subdirectory in one or more of the lib/ directories on your system, at least if your have the corresponding files installed. You can add its value on the command line when you run configure like this: PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig ./configure Ok I'll try this in the future... But i haven't done it for the last dependencies.. Do you think it really matters ? If you have more than one lib/pkgconfig directory on your system, then it probably does. Find them all on your system and put the one with the latest packages in it first in the list, then the one with the second latest and so on. If you still have problems, you may want to have a look at this thread in the archive: gtk+-2.2.0 ./configure error about pango 1.2.0 It was closed about a week ago. I say this, because I have some (limited) experience with installing gtk+ on Woody, but I may be unable to answer any letters next week. busmanus Miert fizetsz az internetert? Korlatlan, ingyenes internet hozzaferes a FreeStarttol. Probald ki most! http://www.freestart.hu ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
[Fwd: Re: problem with pangox - and also with pkg-config !]
Original Message Subject: Re: problem with pangox - and also with pkg-config ! Date: Sun, 30 Nov 2003 05:00:10 +0100 From: busmanus [EMAIL PROTECTED] To: Alain D'eurveilher [EMAIL PROTECTED] References: [EMAIL PROTECTED] Alain D'eurveilher wrote: Hi all, I'm trying to install GTK2.2.4 on my woody, and i already install the demendencies requiered, and glib, atk, pango. Now, running ./configure of gtk, I've got : - configure: error: pangox Pango backend is required for x11 target - Did if find the rest of Pango otherwise? - % pkg-config --list-all Package gtk+-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+-2.0.pc' to the PKG_CONFIG_PATH environment variable Package 'gtk+-2.0', required by 'gnome-window-settings-2.0', not found - ok, I'm trying to install gtk2.2.4, and i don't have the 2.0 verison. gtk2.2.4 also belongs to the 2.0 line and it has its own gtk+-2.0.pc file, but it will only be installed as a part of the package so don't worry about that. And where could I find the PKG_CONFIG_PATH ??? PKG_CONFIG_PATH can be either in either /usr/lib/pkgconfig /usr/local/lib/pkgconfig etc., in short, it is a subdirectory in one or more of the lib/ directories on your system, at least if your have the corresponding files installed. You can add its value on the command line when you run configure like this: PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig ./configure Miert fizetsz az internetert? Korlatlan, ingyenes internet hozzaferes a FreeStarttol. Probald ki most! http://www.freestart.hu ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
problem in compiling pkg-config
ok...to compile gtk+-2.2.1, I have downloaded pkgconfig from freedesktop.org. But, when i try to run make for pkg-config, it gave me some errors (pasted below). Raheel. # pwd/downloads/pkgconfig-0.15.0 # makemake all-recursivemake[1]: Entering directory `/downloads/pkgconfig-0.15.0'Making all in glib-1.2.8make[2]: Entering directory `/downloads/pkgconfig-0.15.0/glib-1.2.8'make all-recursivemake[3]: Entering directory `/downloads/pkgconfig-0.15.0/glib-1.2.8'Making all in .make[4]: Entering directory `/downloads/pkgconfig-0.15.0/glib-1.2.8'/bin/sh ./libtool --mode=link gcc -g -O2 -Wall -D_REENTRANT -o libglib.la -version-info 0:8:0 -release 1.2 -export-dynamic garray.lo gcache.lo gcompletion.lo gdataset.lo gdate.lo gerror.lo ghash.lo ghook.lo giochannel.lo giounix.lo glist.lo gmain.lo gmem.lo gmessages.lo gmutex.lo gnode.lo gprimes.lo grel.lo gscanner.lo gslist.lo gstrfuncs.lo gstring.lo gtimer.lo gtree.lo gutils.lomkdir .libslibtool: link: warning: `-version-info' is ignored for convenience librarieslibtool: link: warning: `-release' is ignored for convenience librariesrm -fr .libs/libglib.la .libs/libglib.* .libs/libglib-1.2.*ar cru .libs/libglib.al garray.lo gcache.lo gcompletion.lo gdataset.lo gdate.lo gerror.lo ghash.lo ghook.lo giochannel.lo giounix.lo glist.lo gmain.lo gmem.lo gmessages.lo gmutex.lo gnode.lo gprimes.lo grel.lo gscanner.lo gslist.lo gstrfuncs.lo gstring.lo gtimer.lo gtree.lo gutils.lo./libtool: ar: not foundmake[4]: *** [libglib.la] Error 1make[4]: Leaving directory `/downloads/pkgconfig-0.15.0/glib-1.2.8'make[3]: *** [all-recursive] Error 1make[3]: Leaving directory `/downloads/pkgconfig-0.15.0/glib-1.2.8'make[2]: *** [all-recursive-am] Error 2make[2]: Leaving directory `/downloads/pkgconfig-0.15.0/glib-1.2.8'make[1]: *** [all-recursive] Error 1make[1]: Leaving directory `/downloads/pkgconfig-0.15.0'make: *** [all-recursive-am] Error 2 #
Re: Package gdk was not found in the pkg-config search path
Tom: On Wed, 2003-02-12 at 19:37, TomF wrote: On a Redhat 8.0 sytem, I ran pkg-config --list-all. At the end of the list, the following messages were displayed: Package gdk was not found in the pkg-config search path. Perhaps you should add the directory containing `gdk.pc' to the PKG_CONFIG_PATH environment variable Package 'gdk', required by 'ImlibGdk', not found I could not find a gdk package or gdk.pc on my system or on the Redhat distribution CDs, and I could not understand what I found in Google. However, gdk-pixbuf-xlib-2.0 and gdk-x11-2.0 are on my system. When I do this: rpm -qa | grep gdk I get this: gdk-pixbuf-0.18.0-4 gdk-pixbuf-devel-0.18.0-4 gdk-pixbuf-gnome-0.18.0-4 Make sure you get the same (especially the devel package). Neil ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
Re: Package gdk was not found in the pkg-config search path
On 12 Feb 2003 20:34:18 -0800 Neil Hodge [EMAIL PROTECTED] wrote: Tom: On Wed, 2003-02-12 at 20:19, TomF wrote: I get the same response from rpm -qa | grep gdk. What else might be wrong? Do you get imlib on the list but no error message? Sorry, my response was a bit hasty. I do get the same result as you. So, the first question should be: What problem are you having that would cause you to run pkg-config --list-all i.e., what error message are you getting or what other problem are you having? No error. I am getting ready to start porting gnucash from gnome1 to gnome2, and the porting guide, http://developer.gnome.org/dotplan/porting/ar01s05.html, recommended executing pkg-config. I wanted to verify that I had a clean installation of gnome2 before I started. FYI, I just installed gtk+-2.2.1, and the following does work (I checked:) ): [root@zeus root]# pkg-config --modversion gdk-2.0 2.2.1 Neil pkg-config --modversion gdk-2.0 returned 2.0.6 on my system. What does this mean? I would rather not upgrade, since we don't want to require a later version of gnome2 than that shipped with Redhat 8.0, unless necessary. Tom ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
Re: Package gdk was not found in the pkg-config search path
Tom: On Wed, 2003-02-12 at 21:00, TomF wrote: pkg-config --modversion gdk-2.0 returned 2.0.6 on my system. What does this mean? I would rather not upgrade, since we don't want to require a later version of gnome2 than that shipped with Redhat 8.0, unless necessary. I believe that that is the correct stock version of gtk2 for RH80. And assuming that gnucash is doable in gtk1 (which it does seem to be), then any version of gtk2 (even an early one) should be an improvement. Neil ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
configure: error: *** pkg-config too old; version 0.14 or better required.
checking for pkg-config... /usr/bin/pkg-config configure: error: *** pkg-config too old; version 0.14 or better required. this message i receve when i try to upgrade my gtk version cause of the problem i said last time of course i have installed the pkgconfig-0.14 tarball but my redhat 7.1 fails the same when i try to upgrade gtk what can i do? regards * Universe Creation and God wrote: tar -Uvh BigBeng.tar.gz #...unpacking..## * Mauro Venanzi linux ru250233 hall2001 athlon-xp rm 135009 on Suse 8.1 ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
Re: Problem with gtk and pkg-config
I forgot adding the pkg-config output: $ pkg-config gtk+-2.0 --cflags -I$(top_builddir)//usr/users/coul1358/local/lib/pkgconfig/. -I$(top_builddir)// usr/users/coul1358/local/lib/pkgconfig -I/usr/users/coul1358/local/include/atk-1 0 -I/usr/users/coul1358/local/include/pango-1.0 -I/usr/users/coul1358/local/inc lude/glib-2.0 -I/usr/users/coul1358/local/lib/glib-2.0/include Manuel ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
Re: Building Gtk+ (pkg-config not found)
Hi, Janos Blazi [EMAIL PROTECTED] writes: I downloaded pkg-config... and installed it with ./configure --prefix/opt/gtk make make install After this I tried to build glib 2.02 but received the configuration error pkg-config not found. I can see pkg-config in the directory /opt/gtk/bin and I also set tha variable PKG_CONFIG_PATH (by setting the variable I mean I entered this line into bash and then I entered export PKG_CONFIG_PATH though as I am a newbie I do not know exactly what this mean). try this: export PKG_CONFIG_PATH=/opt/gtk/bin Salut, Sven This does not help either. Now I have tried so many things... For example I set PKG_CONFIG instead of PKG_CONFIG_PATH and the I got the message my pkg-config was too old version 0.5 or greater was required. I should need the exct command I have to call to install GTK2 (and additionally Gnome2). The intructions on the site www.gtk.org are not clear for a newbie. The funny thing is, I am considering using Linux instead of MS-Win2K to be in a better position to develop own software and now I cannot even start! J.B. -- GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
Re: Building Gtk+ (pkg-config not found)
Hi, Janos Blazi [EMAIL PROTECTED] writes: export PKG_CONFIG_PATH=/opt/gtk/bin Salut, Sven This does not help either. Now I have tried so many things... For example I set PKG_CONFIG instead of PKG_CONFIG_PATH and the I got the message my pkg-config was too old version 0.5 or greater was required. oops, my fault. PKG_CONFIG_PATH of course points to the location of the .pc files, so you will want to use: export PKG_CONFIG_PATH=/opt/gtk/lib/pkgconfig the PKG_CONFIG environment variable can be used to specify the pkg-config executable to use. This might be necessary if you want to use a different version than the one in your PATH. Salut, Sven ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
Building Gtk+ (pkg-config not found)
I downloaded pkg-config... and installed it with ./configure --prefix/opt/gtk make make install After this I tried to build glib 2.02 but received the configuration error pkg-config not found. I can see pkg-config in the directory /opt/gtk/bin and I also set tha variable PKG_CONFIG_PATH (by setting the variable I mean I entered this line into bash and then I entered export PKG_CONFIG_PATH though as I am a newbie I do not know exactly what this mean). Can anybody help me? TIA, J.B. -- GMX - Die Kommunikationsplattform im Internet. http://www.gmx.net ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
Re: Building Gtk+ (pkg-config not found)
Hi, Janos Blazi [EMAIL PROTECTED] writes: I downloaded pkg-config... and installed it with ./configure --prefix/opt/gtk make make install After this I tried to build glib 2.02 but received the configuration error pkg-config not found. I can see pkg-config in the directory /opt/gtk/bin and I also set tha variable PKG_CONFIG_PATH (by setting the variable I mean I entered this line into bash and then I entered export PKG_CONFIG_PATH though as I am a newbie I do not know exactly what this mean). try this: export PKG_CONFIG_PATH=/opt/gtk/bin Salut, Sven ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
Help getting pkg-config working - GTK+ 2.0
Hi, I am having problems getting pkg-config to work. I tried pkg-config gtk+-2.0 --cflags --libs but I got this... sh: gnome-config: not found Package gtk+-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gtk+-2.0' found So I set the environment variable to setenv PKG_CONFIG_PATH /export/home/pjb/gtk2/gtk+-2.0.0 and tried again. this time I got this... sh: gnome-config: not found Package gdk-x11-2.0-uninstalled was not found in the pkg-config search path. Perhaps you should add the directory containing `gdk-x11-2.0-uninstalled.pc' to the PKG_CONFIG_PATH environment variable Package 'gdk-x11-2.0-uninstalled', required by 'GTK+ Uninstalled', not found I did a find and there is no such file anywhere. Is the gnome-config message a problem? I am running on Sparc Solaris 2.7. Could someone please tell me what I am doing wrong? I installed and configured GTK 1.2 a few months ago without any problems, but then I guess this *is* a brand-new release :-) -- Philip J. Bunce, Software Consultant -- MIPS Assembly, Embedded Systems, PMON, UNIX, C -- Ph: 831-659-5684 Fax: 501-325-6812 http://www.carmel.com ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
Re: Help getting pkg-config working - GTK+ 2.0
Hi, Philip Bunce [EMAIL PROTECTED] writes: I am having problems getting pkg-config to work. I tried pkg-config gtk+-2.0 --cflags --libs but I got this... sh: gnome-config: not found ignore that message. It's because pkg-config has some evil hacks to try to give some sort of backward compatibility mode. Package gtk+-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gtk+-2.0' found So I set the environment variable to setenv PKG_CONFIG_PATH /export/home/pjb/gtk2/gtk+-2.0.0 no, you don't want to use the uninstalled gtk+-2.0.pc file. Set your PKG_CONFIG_PATH to ${prefix}/lib/pkgconfig where ${prefix} is whatever prefix you installed gtk+-2.0 in. If you didn't specify a prefix at configure time, this is probably /usr/local, thus setenv PKG_CONFIG_PATH /usr/local/lib/pkgconfig Salut, Sven ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
Re: Help getting pkg-config working - GTK+ 2.0
Philip Bunce [EMAIL PROTECTED] writes: sh: gnome-config: not found This only appears because pkg-config is trying to fall back to gnome-config when gtk+-2.0 isn't found So I set the environment variable to setenv PKG_CONFIG_PATH /export/home/pjb/gtk2/gtk+-2.0.0 PKG_CONFIG_PATH needs to contain prefix/lib/pkgconfig. So for example /usr/lib/pkgconfig/ if you installed with --prefix=/usr. If you install pkg-config and GTK to the same prefix everything will just work. Havoc ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
Re: Help getting pkg-config working - GTK+ 2.0
Philip Bunce [EMAIL PROTECTED] writes: See... No gtk+-2.0.pc. It would seem as if the pkg-config install didn't happen properly? Well not pkg-config, but rather GTK didn't install its .pc files. What should I try next? Look at the output from configure and make install for GTK, and see what goes wrong when it tries to create and install the .pc files... configure creates *.pc from *.pc.in, make install copies them into place. Havoc ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
This pkg-config thing doesn't work for me
I have stable glib and gtk on my system in /usr. It's Debian GNU/Linux 2.3 woody i386. I downloaded glib and gtk+ from cvs. I compiled and installed glib to /home/taw/local/. I set ACLOCAL_FLAGS to '-I /home/taw/local/share/aclocal/'. Now I can't ./configure gtk, as it can only see old glib. I tried setting PKG_CONFIG_PATH and tried --with-glib=/home/taw/local. Both failed. Could you explain me how to use this pkg-config ? ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
Re: This pkg-config thing doesn't work for me
Tomasz Wegrzanowski [EMAIL PROTECTED] writes: I have stable glib and gtk on my system in /usr. It's Debian GNU/Linux 2.3 woody i386. I downloaded glib and gtk+ from cvs. I compiled and installed glib to /home/taw/local/. I set ACLOCAL_FLAGS to '-I /home/taw/local/share/aclocal/'. Now I can't ./configure gtk, as it can only see old glib. What do you mean by that, do you mean it finds the old headers? You have to upgrade to GTK 1.2.10, 1.2.9 can't coexist nicely with 1.3.x. Havoc ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
Re: This pkg-config thing doesn't work for me
Tomasz == Tomasz Wegrzanowski [EMAIL PROTECTED] writes: HI Tomasz, I had exactly the same problem as you have. In my case, upgrading to pkg-config version 0.5.0 (available at gtk+ ftp site), solved the problem. BTW, this is what pkgconfig returns on my system: [lsetia@milkyway]$ export PKG_CONFIG_PATH=/home/lsetia/slash/lib/pkgconfig/ [lsetia@milkyway]$ pkg-config --modversion glib-2.0 1.3.4 [lsetia@milkyway]$ Loki. Tomasz I have stable glib and gtk on my system in /usr. It's Tomasz Debian GNU/Linux 2.3 woody i386. Tomasz I downloaded glib and gtk+ from cvs. I compiled and Tomasz installed glib to /home/taw/local/. I set ACLOCAL_FLAGS Tomasz to '-I /home/taw/local/share/aclocal/'. Now I can't Tomasz ./configure gtk, as it can only see old glib. Tomasz I tried setting PKG_CONFIG_PATH and tried Tomasz --with-glib=/home/taw/local. Both failed. Tomasz Could you explain me how to use this pkg-config ? -- Cricket scoreboard for linux For more info, visit http://scoreboard.sourceforge.net ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
Re: how do I map pkg-config functionality to glib-config-2.0?
Owen We decided after the first few releases of GTK+ that the official Owen -config solution for GLib and GTK+ would be pkg-config. With that Owen in mind, there is no reason to install glib-config-2.0: Owen - Using pkg-config is as easy glib-config-2.0 is intentionally Unless you don't have the mettle to modify the automake/autoconf/ autowhatever stuff that insinuates glib-config-2.0 into configure and friends... ;-) Owen You shouldn't need fribidi (Pango defaults to compiling with the Owen included Fribidi, which is basically as good and tiney). The Pango download page (http://www.pango.org/download.shtml) needs to be updated. It reads, in part: In order to build GTK+-1.3, you'll first need to have the libtiff, libgiff, and libjpeg libraries on your system, then build and install GLib-1.3, FriBidi, Pango, and GTK+-1.3 in that order. This is where I noticed the FriBidi reference. Skip ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
pkg-config m4 macro
Hi, In the CVS version of pkg-config I've added this macro: PKG_CHECK_MODULES (MYSTUFF, glib-2.0 = 1.3.3 gtk+-2.0 = 1.3.3) this will define the MYSTUFF_CFLAGS and MYSTUFF_LIBS variables with cflags/libs for the modules listed (glib and gtk), and will abort if the version predicates don't match. You can also use =, , etc., as you might expect. Of course this example is kind of dumb since gtk drags in glib anyway, so specifying glib there is pointless, but you get the idea. On the command line, pkg-config also now accepts version predicates in the package list, so: pkg-config --cflags 'gtk+-2.0 = 1.3.3' will exit nonzero if the GTK version is not 1.3.3, and otherwise will return the cflags. You can also do stuff like: if pkg-config --exists 'gtk+-2.0 = 1.3.3 gnome-vfs = 1.0'; then GTK_CFLAGS=`pkg-config --cflags gtk+-2.0` VFS_CFLAGS=`pkg-config --cflags gnome-vfs` fi or whatever. Note the use of quotes, if you don't quote '=' and '=' and so on the shell will mangle them. So something along these lines will be in the next pkg-config release, should be convenient to use. Havoc ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
how do I map pkg-config functionality to glib-config-2.0?
Glib 1.3.3 contains an alert version of glib-config-2.0: #!/bin/sh echo glib-config-2.0 is no longer supported. Please use pkg-config instead 21 exit 1 Unfortunately, any tools that use glib-config-2.0 in the configure process (fribidi, for example) won't build. Not having built much stuff that uses glib before, I have no idea what glib-config-2.0 output would have looked like before it was terminated. Can someone suggest a working replacement for glib-config-2.0 that calls pkg-config under the covers? Thanks, -- Skip Montanaro ([EMAIL PROTECTED]) (847)971-7098 ___ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list