List Info

Thread: Linking problem when compiling under MinGW




Linking problem when compiling under MinGW
user name
2006-10-13 13:24:07
> I've got Glib-1.140, Cairo-1.01, and Gtk2-1.140
compiled with MinGW. I
> had to do some tricks:

I can't even get this far.

dmake was complaining with Glib-1.140 that it couldn't find
closing "'" until I removed them all (and then
where necessary escaped the " that were enclosed).

I then had to remove the copyright notice making
build/podindex because otherwise the line was too long.

Now I get:

C:Perlbinperl.exe -I bliblib -I blibarch -MGlib::GenPod
-MGlib -e "add_types ("doctypes"); 
$Glib::GenPod::MAIN_MOD="Glib"; 
xsdoc2pod("build/doc.pl",
"bliblib", "build/podindex");"
loaded 8 extra types from doctypes
Magic number checking on storable file failed at
....libStorable.pm (autosplit into
....libautoStorablefd_retrieve.al) line 349, at
build/doc.pl line 22

Compilation failed in require at bliblib/Glib/GenPod.pm
line 217.
dmake.exe:  Error code 9, while making 'build/podindex'

I've got ActivePerl 5.8.8.819.

Any ideas?

Jeff
_______________________________________________
gtk-perl-list mailing list
gtk-perl-listgnome.org

http://mail.gnome.org/mailman/listinfo/gtk-perl-list
Linking problem when compiling under MinGW
user name
2006-10-13 13:38:08
Ratcliffe, Jeffrey (Peters) kirjoitti:
>> I've got Glib-1.140, Cairo-1.01, and Gtk2-1.140
compiled with
>> MinGW. I had to do some tricks:
> 
> I can't even get this far.
> 
> dmake was complaining with Glib-1.140 that it couldn't
find closing
> "'" until I removed them all (and then where
necessary escaped the "
> that were enclosed).

Are you surely using latest dmake.exe in cmd.exe? (sounds a
bit like my
problems which I had when I used ming32-make...)

> 
> I then had to remove the copyright notice making
build/podindex
> because otherwise the line was too long.
> 
> Now I get:
> 
> C:Perlbinperl.exe -I bliblib -I blibarch
-MGlib::GenPod -MGlib
> -e "add_types ("doctypes"); 
$Glib::GenPod::MAIN_MOD="Glib";
> xsdoc2pod("build/doc.pl",
"bliblib", "build/podindex");"

> loaded 8 extra types from doctypes Magic number
checking on storable
> file failed at ....libStorable.pm (autosplit into
> ....libautoStorablefd_retrieve.al) line 349, at
build/doc.pl
> line 22
> 
> Compilation failed in require at
bliblib/Glib/GenPod.pm line 217. 
> dmake.exe:  Error code 9, while making 'build/podindex'
> 
> I've got ActivePerl 5.8.8.819.

My Perl is compiled with MinGW (that was easy) and the same
dmake.exe
(and C compiler) that I use for the modules. I'm not sure
which make and
compiler ActiveState uses. Are you stuck with ActivePerl?

Ari

> 
> Any ideas?
> 
> Jeff


-- 
Prof. Ari Jolma
Geoinformaatio- ja paikannustekniikka / Geoinformation and
positioning
Teknillinen Korkeakoulu / Helsinki University of Technology
tel: +358 9 451 3886 address: POBox 1200, 02015 TKK, Finland
Email: ari.jolma at tkk.fi URL: http://www.tkk.fi/~jolma
_______________________________________________
gtk-perl-list mailing list
gtk-perl-listgnome.org

http://mail.gnome.org/mailman/listinfo/gtk-perl-list
Linking problem when compiling under MinGW
user name
2006-10-13 13:49:59
On Fri, 2006-10-13 at 15:24 +0200, Ratcliffe, Jeffrey
(Peters) wrote:

> Magic number checking on storable file failed at
....libStorable.pm
> (autosplit into ....libautoStorablefd_retrieve.al)
line 349, at
> build/doc.pl line 22

Try

  set FORCE_DATA_DUMPER=1

to force Glib::ParseXSDoc to use Data:umper
instead of Storable.

-- 
Bye,
-Torsten

_______________________________________________
gtk-perl-list mailing list
gtk-perl-listgnome.org

http://mail.gnome.org/mailman/listinfo/gtk-perl-list
[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )