gtkmm-2.4.pc

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

gtkmm-2.4.pc

Johan Kohler
If this is the wrong place to post I apologise.

I noticed recently with the Gentoo and Suse gtkmm-2.4 packages, that my program was
not compiling because gtkmm-2.0.pc could not be found.  To remedy this I renamed the
file gtkmm-2.4.pc to gtkmm-2.0.pc.  This file was originally:

prefix=/opt/gnome
exec_prefix=${prefix}
libdir=/opt/gnome/lib
includedir=${prefix}/include

Name: gtkmm
Description: C++ wrapper for GTK+
Requires: glibmm-2.4 gdkmm-2.4 pangomm-1.4 atkmm-1.6 gtk+-2.0
Version: 2.4.11
Libs: -L${libdir} -lgtkmm-2.4
Cflags: -I${includedir}/gtkmm-2.4 -I${libdir}/gtkmm-2.4/include

My question is, shouldn't  all the 2.4's mentioned here be 2.0's instead?  

I hope this question makes sense to someone...

Johan

--------------------------------------------------------------------
Please find our disclaimer at http://www.ukzn.ac.za/disclaimer
--------------------------------------------------------------------
<<<<gwavasig>>>>
_______________________________________________
gtkmm-list mailing list
[hidden email]
http://mail.gnome.org/mailman/listinfo/gtkmm-list
Reply | Threaded
Open this post in threaded view
|

Re: gtkmm-2.4.pc

Murray Cumming-5
On Tue, 2005-06-07 at 22:35 +0200, Johan Kohler wrote:
> If this is the wrong place to post I apologise.
>
> I noticed recently with the Gentoo and Suse gtkmm-2.4 packages, that my program was
> not compiling because gtkmm-2.0.pc could not be found.

gtkmm-2.4 and gtkmm-2.0 install in parallel. They are separate
libraries.

>   To remedy this I renamed the
> file gtkmm-2.4.pc to gtkmm-2.0.pc.

This was madness.

>   This file was originally:
>
> prefix=/opt/gnome
> exec_prefix=${prefix}
> libdir=/opt/gnome/lib
> includedir=${prefix}/include
>
> Name: gtkmm
> Description: C++ wrapper for GTK+
> Requires: glibmm-2.4 gdkmm-2.4 pangomm-1.4 atkmm-1.6 gtk+-2.0
> Version: 2.4.11
> Libs: -L${libdir} -lgtkmm-2.4
> Cflags: -I${includedir}/gtkmm-2.4 -I${libdir}/gtkmm-2.4/include
>
> My question is, shouldn't  all the 2.4's mentioned here be 2.0's instead?  
>
> I hope this question makes sense to someone...
>
> Johan
>
> --------------------------------------------------------------------
> Please find our disclaimer at http://www.ukzn.ac.za/disclaimer
> --------------------------------------------------------------------
> <<<<gwavasig>>>>
> _______________________________________________
> gtkmm-list mailing list
> [hidden email]
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
--
Murray Cumming
[hidden email]
www.murrayc.com
www.openismus.com

_______________________________________________
gtkmm-list mailing list
[hidden email]
http://mail.gnome.org/mailman/listinfo/gtkmm-list
Reply | Threaded
Open this post in threaded view
|

Re: gtkmm-2.4.pc

Denis Leroy
In reply to this post by Johan Kohler
Johan Kohler wrote:
> If this is the wrong place to post I apologise.
>
> I noticed recently with the Gentoo and Suse gtkmm-2.4 packages, that my program was
> not compiling because gtkmm-2.0.pc could not be found.  To remedy this I renamed the
> file gtkmm-2.4.pc to gtkmm-2.0.pc.  This file was originally:

As Murray said, that was madness. You need to either

- port your program to the newer 2.4 API of gtkmm. Most active gtkmm-based
apllications have done so long ago. It shouldn't be very difficult.

- see if your distribution still provides packages for the old 2.0 API version
of gtkmm (something like 'gtkmm20') and use those instead. They should install
alongside the 2.4 ones just fine.

-denis
_______________________________________________
gtkmm-list mailing list
[hidden email]
http://mail.gnome.org/mailman/listinfo/gtkmm-list