I tried gtkdatabox.

The C language version works fine on my machine, but the
perl module doesn't compile :(

I get this error:

Databox.xs: In function `gtk_databox_data_type_get_type':
Databox.xs:75: `GTK_DATABOX_NOT_DISPLAYED' undeclared (first use in this
function)
Databox.xs:75: (Each undeclared identifier is reported only once
Databox.xs:75: for each function it appears in.)
Databox.xs:75: initializer element is not constant
Databox.xs:75: (near initialization for `values[0].value')

Also, when I run perl Makefile,PL, I get this warning:

Note (probably harmless): No library found for -lgtkdatabox

Is this really harmless?

I have built the c version of gtkdatabox separately and have
set env vars CFLAGS and LD_LIBRARY_PATH accordingly.

CFLAGS="-I<gtkdatabox_install>/include -L<gtkdatabox_install>/lib"
LD_LIBRARY_PATH=<gtkdatabox_install>/lib:${LD_LIBRARY_PATH}

Can you pount out what I am missing?

Thanks


On Thu, Mar 27, 2008 at 4:48 PM, zentara <[EMAIL PROTECTED]> wrote:

> On Thu, 27 Mar 2008 14:00:42 +0530, [EMAIL PROTECTED] ("Gowtham
> M") wrote:
>
> >Zentara, gtkdatabox looks good for me. Can you please mention
> >which perl module in Gtk2::* should I use to use this from perl?
> >
> >Thanks!
>
> Google for "Gtk2-Databox" and you will find the links and discussion.
>
> The first link gives the location of muppet's alpha module
> http://asofyet.org/muppet/software/gtk2-perl/Gtk2-Databox-0.001.tar.gz
>
>
> The second link
> gtkdatabox version 3.0 xs problem
>
> says that it worked up until version  2.4.7 of gtkdatabox.
>
> Now the old versions are available at
> http://www.eudoxos.de/gtk/gtkdatabox/
>
>
> I tried to learn some xs, to make the module up to date, but
> it's beyond my meager brain power. :-)
> ###############################################
>
> Additionally, I came across the new Cairo based canvas,
> which has zoomable text now, so you can make zoomable
> graphs. It's called the Goo-Canvas. Check it out.
>
> To get the goocanvas-0.9 c library
> http://sourceforge.net/project/showfiles.php?group_id=173653
>
> Compatible Perl module:
> http://search.cpan.org/~yewenbin/Goo-Canvas-0.04/<http://search.cpan.org/%7Eyewenbin/Goo-Canvas-0.04/>
>
> zentara
>
>
> --
> I'm not really a human, but I play one on earth.
> http://zentara.net/japh.html
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> http://learn.perl.org/
>
>
>


-- 
Gowtham M

Reply via email to