Re: [glade--]how to install glademm on RHL9
Christof Petig <[email protected]> Fri, 12 Dec 2003 08:27:42 +0100
| Newsgroups | gmane.comp.gnome.glademm |
|---|---|
| Organization | Adolf Petig GmbH & Co. KG |
| Message-ID | <[email protected]> |
Susumu Yoshida schrieb:
> Hi, I am Susumu Yoshida.
> I have been trying to use glademm on Redhat Linux 9
> but I can't so far.
>
> I have already installed glademm-2.0.0 .
> And when I make a window with an empty callback and
> cd to ~/Project/project5 directory (which all the files
> created by glade are in) and type "./autogen.sh",
> I got an error message like this
>
> --- error starts here ---
> checking for gtkmm-2.0 >= 1.3.0... Package gtkmm-2.0 was not found in the pkg-config search path.
> Perhaps you should add the directory containing `gtkmm-2.0.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'gtkmm-2.0' found
>
> configure: error: Library requirements (gtkmm-2.0 >= 1.3.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
> --- end of error ---
>
> So I got gtkmm-2.0.4 package and tried to compile as below.
> But I got another error when I tyied to compile it.
>
> --- error starts here ---
> nana:~/SRC/gtkmm-2.0.4$ ./configure
>
> ........
>
> checking for sigc++-1.2 >= 1.2.0 glib-2.0 >= 2.0.4 gobject-2.0 >= 2.0.4 gmodule-2.0 >= 2.0.4... Package sigc++-1.2 was not found in the pkg-config search path.
> Perhaps you should add the directory containing `sigc++-1.2.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'sigc++-1.2' found
>
> configure: error: Library requirements (sigc++-1.2 >= 1.2.0 glib-2.0 >= 2.0.4 gobject-2.0 >= 2.0.4 gmodule-2.0 >= 2.0.4) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
> --- end of error ---
>
> So I got and installed "libsigc++ 1.2" package successfully.
> After that, I tyied to install gtkmm-2.0.4 again but I got exactly
> the same error.
>
> My questions are
> 1. Are sigc++-1.2 and libsigc++ 1.2 different?
No AFAIK (I don't know too much about RH), but you need the development
files too (not only the runtime). [You need the package which provides
the .pc file]
> 2. What should I do to use glademm?
Install [lib]sigc++-1.2-dev[el] and [lib]gtkmm-2.0-dev[el]. The exact
naming scheme varies between distributions.
Christof