Re: Wrapping GChecksum?



Hi,

I tried by setting the perl module path to the path where these module exist in sources as:
export PERL5LIB=/home/naveen/test/trunk/tools/pm/:$PERL5LIB

Then it fails at another place:
make[5]: Entering directory `/home/naveen/test/trunk/gio/giomm'
/bin/bash ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"giomm\"   -I../../gio -I../../gio -I../../glib -I../../glib -I../.. -I../../gio -I../../gio -I/home/naveen/extra//include/glib- 2.0 -I/home/naveen/extra//lib/glib-2.0/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -pthread -I/home/naveen/extra//include/glib-2.0 -I/home/naveen/extra//lib/glib-2.0/include      -g -O2 -Wall -Wno-long-long -MT appinfo.lo -MD -MP -MF .deps/appinfo.Tpo -c -o appinfo.lo appinfo.cc
mkdir .libs
 g++ -DHAVE_CONFIG_H -DG_LOG_DOMAIN=\"giomm\" -I../../gio -I../../gio -I../../glib -I../../glib -I../.. -I../../gio -I../../gio -I/home/naveen/extra//include/glib- 2.0 -I/home/naveen/extra//lib/glib-2.0/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -pthread -I/home/naveen/extra//include/glib-2.0 -I/home/naveen/extra//lib/glib-2.0/include -g -O2 -Wall -Wno-long-long -MT appinfo.lo -MD -MP -MF .deps/appinfo.Tpo -c appinfo.cc  -fPIC -DPIC -o .libs/appinfo.o
appinfo.cc: In member function 'bool Gio::AppInfo::supports_files() const':
appinfo.cc:400: error: 'g_app_info_supports_files' was not declared in this scope
/home/naveen/extra//include/glib-2.0/gio/gappinfo.h: In member function 'bool Gio::AppInfo::should_show() const':
/home/naveen/extra//include/glib-2.0/gio/gappinfo.h:164: error: too few arguments to function 'gboolean g_app_info_should_show(GAppInfo*, const char*)'
appinfo.cc:425: error: at this point in file
make[5]: *** [appinfo.lo] Error 1
make[5]: Leaving directory `/home/naveen/test/trunk/gio/giomm'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/naveen/test/trunk/gio/giomm'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/naveen/test/trunk/gio'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/naveen/test/trunk/gio'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/naveen/test/trunk'
make: *** [all] Error 2

Any clue what I am missing?

-Br
Naveen
On Jan 13, 2008 3:58 PM, Naveen Verma < ernaveenverma gmail com> wrote:
Hi,

Earlier I have installed glibmm using apt-get utility. I found it installs all these modules in /usr/lib/glibmm- 2.4/proc/pm, while in the error message the search path is /usr/local/lib/glibmm-2.4/proc/pm. I think this is one reason.

But this means we need to install glibmm before compiling the glibmm sources.

 should we set the reference path of these modules during compilation of glibmm sources, because these modules are always in the source?

-Br
Naveen



On Jan 13, 2008 3:36 PM, Naveen Verma < ernaveenverma gmail com> wrote:


On Jan 13, 2008 2:25 PM, Murray Cumming <murrayc murrayc com> wrote:

On Sun, 2008-01-13 at 14:16 +0200, Naveen Verma wrote:
> Hi,
>
> I am trying to add gchecksum in glibmm.
>
> According to given document I tried to regenerate the
> glib-function.defs and glib-enum.defs to add gchecksum because
> gchecksum is in glib.
>
> But during compilation

compilation of glibmm before even making any changes?

   Yes first I tried to compile with changes, but now I am trying to compile without changes in another checkout.

These are the error message:
Output.pmmake[4]: Entering directory `/home/naveen/test/trunk/glib/src'
/usr/bin/perl ../../tools/gmmproc -I ../../tools/m4 --defs . convert . ./../glibmm
Can't locate Util.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl . /usr/local/lib/glibmm-2.4/proc/pm) at /usr/share/perl/5.8/WrapParser.pm line 22.
BEGIN failed--compilation aborted at /usr/share/perl/5.8/WrapParser.pm line 22.
Compilation failed in require at ../../tools/gmmproc line 58.
BEGIN failed--compilation aborted at ../../tools/gmmproc line 58.
make[4]: *** [.stamps/stamp-convert] Error 2
make[4]: Leaving directory `/home/naveen/test/trunk/glib/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/naveen/test/trunk/glib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/naveen/test/trunk/glib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/naveen/test/trunk'
make: *** [all] Error 2
,

similarly it was giving error for modules Output.pm and WrapPraser.pm which I have downloaded and copied in /usr/share/perl/5.8 folder.
 

-Br
Naveen

> WrapParser.pm, Util.pm the first two I have download but then Util.pm
> is missing.

These are all in glibmm itself. Could you show us the actual error?

 

> Do I need to install some specific perl module package which include
> all the above modules? From where I can find these modules?
>
> -Br
> Naveen
>
> On Jan 11, 2008 6:20 PM, Murray Cumming <murrayc murrayc com > wrote:
>
>         On Fri, 2008-01-11 at 17:57 +0200, Naveen Verma wrote:
>         > Hi,
>         >
>         > Just for clarification. should I take trunk checkout or the
>         latest
>         > branch(2.14) checkout ?
>
>
>         GChecksum is in trunk of glib and Glib::Checksum needs to go
>         in trunk of
>         glibmm.
>
>         --
>
>         murrayc murrayc com
>         www.murrayc.com
>         www.openismus.com
>
>
>
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
--





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