GtkHtml module with libgtkhtml 0.11
- From: Raul Dias <chaos swi com br>
- To: gtk-perl-list gnome org
- Subject: GtkHtml module with libgtkhtml 0.11
- Date: Wed, 12 Sep 2001 19:28:44 -0300
Hi,
I am trying to compile the GtkHtml module with libgtkhmtl 0.11.
I have a Conectiva Linux 7.0 system with glibc 2.2.3, perl 5.6.1 and
gcc 2.95.3.
I get the following errors:
(warning: full log below)
--------------8<-----------------------------------------------------
$ perl Makefile.PL
maUsing ../blib
keFound Gtk::Install::Files in /chaos/rpm/BUILD/Gtk-Perl-0.7008/GtkHTML/../blib/arch/Gtk/Install/
GOT gtkhtml-0.11.1
Loading pkg.defs
Dir ||
Exporting enum: GtkHTMLCommandType
Exporting enum: GtkHTMLCursorSkipType
Exporting enum: GtkHTMLParagraphAlignment
Exporting enum: GtkHTMLParagraphStyle
Exporting enum: GtkHTMLStreamStatus
Exporting flags: GtkHTMLFontStyle
Creating reference documentation
Using ../blib
No parent info for package Gtk/HTML/Types
No parent info for package Gtk/GLArea/Types
No parent info for package Gtk/GladeXML/Types
Writing Makefile for Gtk::HTML
[chaos speedy GtkHTML]$ make
/usr/bin/perl ../tools/genext.pl GtkHTML </dev/null
cp Simple.pm blib/arch/Gtk/HTML/Simple.pm
cp /chaos/rpm/BUILD/Gtk-Perl-0.7008/GtkHTML/pkg.typemap blib/arch/Gtk/HTML/Install/pkg.typemap
cp build/PerlGtkHTMLInt.h blib/arch/Gtk/HTML/Install/PerlGtkHTMLInt.h
cp GtkHTML.pm blib/arch/Gtk/HTML.pm
cp /chaos/rpm/BUILD/Gtk-Perl-0.7008/GtkHTML/build/GtkHTMLTypemap blib/arch/Gtk/HTML/Install/GtkHTMLTypemap
cp build/GtkHTMLDefs.h blib/arch/Gtk/HTML/Install/GtkHTMLDefs.h
cp build/GtkHTMLTypes.pm blib/arch/Gtk/HTML/Types.pm
cp build/Files.pm blib/arch/Gtk/HTML/Install/Files.pm
/usr/bin/perl -I/usr/lib/perl5/5.6.1/i386-linux -I/usr/lib/perl5/5.6.1 /usr/lib/perl5/5.6.1/ExtUtils/xsubpp
-noversioncheck -typemap /usr/lib/perl5/5.6.1/ExtUtils/typemap -typemap
/chaos/rpm/BUILD/Gtk-Perl-0.7008/GtkHTML/../blib/arch/Gtk/Install//GtkTypemap -typemap
/chaos/rpm/BUILD/Gtk-Perl-0.7008/GtkHTML/../blib/arch/Gtk/Install//gtk-0.99.typemap -typemap
/chaos/rpm/BUILD/Gtk-Perl-0.7008/GtkHTML/../blib/arch/Gtk/Install//gtk-1.2.typemap -typemap
/chaos/rpm/BUILD/Gtk-Perl-0.7008/GtkHTML/pkg.typemap -typemap
/chaos/rpm/BUILD/Gtk-Perl-0.7008/GtkHTML/build/GtkHTMLTypemap xs/GtkHTMLEmbedded.xs > xs/GtkHTMLEmbedded.xsc
&& mv xs/GtkHTMLEmbedded.xsc xs/GtkHTMLEmbedded.c
Please specify prototyping behavior for GtkHTMLEmbedded.xs (see perlxs manual)
gcc -c -I/chaos/rpm/BUILD/Gtk-Perl-0.7008/GtkHTML/../blib/arch/Gtk/Install/ -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I. -I./build -I/usr/include
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include
-DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/gnome-xml -fno-strict-aliasing
-I/usr/include/db1 -I/usr/local/include -O2 -mpentium -fno-strength-reduce -march=i386 -DVERSION=\"0.7008\"
-DXS_VERSION=\"0.7008\" -fPIC -I/usr/include/gdbm -I/usr/include/db1 -I/usr/lib/perl5/5.6.1/i386-linux/CORE
-DPERL_POLLUTE -DLAZY_LOAD -DGTK_HVER=0x01020a -DGTKHTML_HVER=0x000b01 xs/GtkHTMLEmbedded.c
/usr/bin/perl -I/usr/lib/perl5/5.6.1/i386-linux -I/usr/lib/perl5/5.6.1 /usr/lib/perl5/5.6.1/ExtUtils/xsubpp
-noversioncheck -typemap /usr/lib/perl5/5.6.1/ExtUtils/typemap -typemap
/chaos/rpm/BUILD/Gtk-Perl-0.7008/GtkHTML/../blib/arch/Gtk/Install//GtkTypemap -typemap
/chaos/rpm/BUILD/Gtk-Perl-0.7008/GtkHTML/../blib/arch/Gtk/Install//gtk-0.99.typemap -typemap
/chaos/rpm/BUILD/Gtk-Perl-0.7008/GtkHTML/../blib/arch/Gtk/Install//gtk-1.2.typemap -typemap
/chaos/rpm/BUILD/Gtk-Perl-0.7008/GtkHTML/pkg.typemap -typemap
/chaos/rpm/BUILD/Gtk-Perl-0.7008/GtkHTML/build/GtkHTMLTypemap xs/GtkHTML.xs > xs/GtkHTML.xsc && mv
xs/GtkHTML.xsc xs/GtkHTML.c
Please specify prototyping behavior for GtkHTML.xs (see perlxs manual)
gcc -c -I/chaos/rpm/BUILD/Gtk-Perl-0.7008/GtkHTML/../blib/arch/Gtk/Install/ -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I. -I./build -I/usr/include
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include
-DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/gnome-xml -fno-strict-aliasing
-I/usr/include/db1 -I/usr/local/include -O2 -mpentium -fno-strength-reduce -march=i386 -DVERSION=\"0.7008\"
-DXS_VERSION=\"0.7008\" -fPIC -I/usr/include/gdbm -I/usr/include/db1 -I/usr/lib/perl5/5.6.1/i386-linux/CORE
-DPERL_POLLUTE -DLAZY_LOAD -DGTK_HVER=0x01020a -DGTKHTML_HVER=0x000b01 xs/GtkHTML.c
GtkHTML.c: In function `XS_Gtk__HTML_set_iframe_parent':
GtkHTML.c:180: too few arguments to function `gtk_html_set_iframe_parent'
GtkHTML.c: In function `XS_Gtk__HTML_begin':
GtkHTML.c:203: warning: assignment makes integer from pointer without a cast
GtkHTML.xs: In function `XS_Gtk__HTML_write':
GtkHTML.xs:142: warning: passing arg 2 of `gtk_html_write' makes pointer from integer without a cast
GtkHTML.c: In function `XS_Gtk__HTML_end':
GtkHTML.c:261: warning: passing arg 2 of `gtk_html_end' makes pointer from integer without a cast
GtkHTML.c: In function `XS_Gtk__HTML_request_paste':
GtkHTML.c:376: too few arguments to function `gtk_html_request_paste'
GtkHTML.c: In function `XS_Gtk__HTML_get_title':
GtkHTML.c:697: warning: assignment discards qualifiers from pointer target type
GtkHTML.xs: In function `XS_Gtk__HTML_save':
GtkHTML.xs:250: warning: passing arg 2 of `gtk_html_save' from incompatible pointer type
GtkHTML.xs: In function `XS_Gtk__HTML_export':
GtkHTML.xs:268: warning: passing arg 3 of `gtk_html_export' from incompatible pointer type
make: *** [xs/GtkHTML.o] Error 1
------------------------>8-------------------------------------------
It seems that the API has changed in lingtkhtml, but some people told me that it could be compiled
with Mandrake 7.2.
Any ideas (or patches)?
Regards,
Raul Dias
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]