Re: gtkmm for Maemo



> On Mon, 2005-12-05 at 03:28, Murray Cumming wrote:
>> > Hi,
>> >
>> > has anyone attempted to build gtkmm in scratchbox for maemo?
>>
>> Yes, I did this so I could create the hildon-fmmm and hildon-widgetsmm
>> projects. I built them from cvs, in a separate prefix. I had to
>> installer
>> newer automake and autoconf versions in the prefix too, but that should
>> not be necessary when building from tarballs.
>>
>> Did you try this and have an actual problem
>
> Building hildon-fmmm choked off as follows:
>
> % configure && make
> ....
> checking for gtkmm-2.4 >= 2.6.0 hildon-fm >= 0.9.44... yes
>
> checking HILDON_FMMM_CFLAGS... -D_XOPEN_SOURCE=500 -DXTHREADS
> -DXUSE_MTSAFE_API -I/usr/local/include/gtkmm-2.4
> -I/usr/local/lib/gtkmm-2.4/include -I/usr/local/include/glibmm-2.4
> -I/usr/local/lib/glibmm-2.4/include -I/usr/local/include/gdkmm-2.4
> -I/usr/local/lib/gdkmm-2.4/include -I/usr/local/include/pangomm-1.4
> -I/usr/local/include/atkmm-1.6 -I/usr/local/include/sigc++-2.0
> -I/usr/local/lib/sigc++-2.0/include -I/usr/include/gtk-2.0
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
> -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/pango-1.0
> -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/include/hildon-fm
>
> checking HILDON_FMMM_LIBS... -L/usr/local/lib -lgtkmm-2.4 -lgdkmm-2.4
> -latkmm-1.6 -lpangomm-1.4 -lglibmm-2.4 -lsigc-2.0 -lhildonfm
> -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm
> -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl
> -lglib-2.0
>
> ....
>
> Making all in private
> make[4]: Entering directory
> `/home/vlg/hildon-fmmm/hildon-fm/hildon-fmmm/private'
> make[4]: *** No rule to make target `file-chooser-dialog_p.h', needed by
> `all-am'.  Stop.

It should be generated from file-chooser-dialog.hg/ccg

> I couldn't find file-chooser-dialog_p.h anywhere in
> prefix=/usr/local/include (that's where glibmm/gtkmm libs were
> installed) and that's generated file, although both glibmm and gtkmm
> reported as successfully compiled.
>
> Searching the web I stumbled upon this posting
>
> http://maemo.org/pipermail/maemo-developers/2005-December/002034.html
>
> The versions of my scratchbox' autotools are (default):
>
> automake (GNU automake) 1.8.5
> Autoconf version 2.13
> ltmain.sh (GNU libtool) 1.5.6
>
> and the versions of libraries I used are:
>
> glibmm-2.6.1.tar.bz2
> gtkmm-2.6.5.tar.bz2
>
> Should I try upgrading autconf to 2.59?

Yes, that's worth trying. I am surprised that you could build gtkmm
without it.


Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]