From: gnome-perl (bugzilla.gnome.org) <bug...@bu...> - 2006-05-08 23:08:46
|
Do not reply to this via email (we are currently unable to handle email responses and they get discarded). You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=3D341090 gnome-perl | Gtk2 | Ver: unspecified Summary: Building of Gtk2 Perl module (Makefile.PL) depends on existence of Gtk2 Perl module Product: gnome-perl Version: unspecified Platform: Other OS/Version: All Status: UNCONFIRMED Severity: critical Priority: Normal Component: Gtk2 AssignedTo: gtk...@li... ReportedBy: ser...@ya... QAContact: gtk...@li... GNOME version: 2.11/2.12 GNOME milestone: Unspecified Steps to reproduce: 1. Try to build the module without it being installed on the system 2.=20 3.=20 Stack trace: Other information: I am developing a script which builds and installs a lot of things locall= y, i.e. without root permission. My script fails when I run 'perl Makefile.PL' for Gtk2-1.121. The exact command line is (it doesn't matter): cd /mnt/removable4/sergei/build_work/build/Gtk2-1.121; PATH=3D/mnt/removable4/sergei/build_work/install/Glib-1.120/bin:/mnt/remo= vable4/sergei/build_work/install/atk-1.10.3/bin:/mnt/removable4/sergei/bu= ild_work/install/cairo-1.0.4/bin:/mnt/removable4/sergei/build_work/instal= l/glib-2.10.1/bin:/mnt/removable4/sergei/build_work/install/gtk+-2.8.17/b= in:/mnt/removable4/sergei/build_work/install/pango-1.12.1/bin:/usr/sbin:/= sbin:/usr/local/bin:/usr/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin/= :/usr/games:/ibm/home/sergei/bin:/usr/lib/ssh; export PATH; LD_LIBRARY_PATH=3D/mnt/removable4/sergei/build_work/install/atk-1.10.3/li= b:/mnt/removable4/sergei/build_work/install/cairo-1.0.4/lib:/mnt/removabl= e4/sergei/build_work/install/glib-2.10.1/lib:/mnt/removable4/sergei/build= _work/install/gtk+-2.8.17/lib:/mnt/removable4/sergei/build_work/install/p= ango-1.12.1/lib:/usr/X11R6/lib; export LD_LIBRARY_PATH; PKG_CONFIG_PATH=3D/mnt/removable4/sergei/build_work/install/Glib-1.120/li= b/pkgconfig:/mnt/removable4/sergei/build_work/install/atk-1.10.3/lib/pkgc= onfig:/mnt/removable4/sergei/build_work/install/cairo-1.0.4/lib/pkgconfig= :/mnt/removable4/sergei/build_work/install/glib-2.10.1/lib/pkgconfig:/mnt= /removable4/sergei/build_work/install/gtk+-2.8.17/lib/pkgconfig:/mnt/remo= vable4/sergei/build_work/install/pango-1.12.1/lib/pkgconfig; export PKG_CONFIG_PATH; /usr/bin/perl5.8.7 -w -I /mnt/removable4/sergei/build_work/install/Glib-1.120/lib/perl5/site_perl/= 5.8.7/i386-linux -I /mnt/removable4/sergei/build_work/install/Glib-1.120/lib/perl5/site_perl/= 5.8.7/i386-linux/Glib -I /mnt/removable4/sergei/build_work/install/Glib-1.120/lib/perl5/site_perl/= 5.8.7/i386-linux/Glib/Install -I /mnt/removable4/sergei/build_work/install/Glib-1.120/lib/perl5/site_perl/= 5.8.7/i386-linux/Glib/Object Makefile.PL --debug PREFIX=3D/mnt/removable4/sergei/build_work/install/Gt= k2-1.121 1>Makefile.PL.log 2>&1 . The (error) messages: " Loaded 143 xs files from xs_files-2.0 Loaded 4 xs files from xs_files-2.2 Loaded 23 xs files from xs_files-2.4 Loaded 8 xs files from xs_files-2.6 Loaded 1 xs files from xs_files-2.8 Including ApiDoc pod... Can't locate object method "parse_maps" via package "Gtk2::CodeGen" (perh= aps you forgot to load "Gtk2::CodeGen"?) at Makefile.PL line 180. ". Indeed, here is the context of Makefile.PL: 170 # autogeneration 171 # 172 # we have a whole lot of types which need cast macros, typemap en= tries, 173 # and package mapping registration; instead of writing this by ha= nd, we 174 # use a set of map files which define how things are laid out, an= d then use 175 # some boilerplate code to convert those mappings into a header, typemap, 176 # and xsh file. see the docs for Gtk2::CodeGen for more info. 177 # 178 # all possible maps must be available at xsubpp time, as xsubpp processes 179 # all code, even inside #ifdefs. 180 Gtk2::CodeGen->parse_maps ('gtk2perl', input =3D> [<maps-[0-9]\.[= 0-9]*>, 181 =20 <maps_pango-[0-9]\.[0-9]*>]); 182 # but for enums.pod, we only want to document the stuff we can ac= tually 183 # query from this target library. 184 our @used_maps =3D Glib::MakeHelper->select_files_by_version ("ma= ps", @gtk_version); 185 our @used_maps_pango =3D Glib::MakeHelper->select_files_by_versio= n ("maps_pango", @pango_version); 186 187 # one more command generates code to boot all the various extra X= S modules. 188 # we need this because we have lots of XS files without correspon= ding PMs to 189 # bootstrap them. 190 Gtk2::CodeGen->write_boot (xs_files =3D> \@xs_files); 191 - pay attention to line #180, which uses a method from Gtk2 package which is supposed to be using this Makefile.PL. That is, building of Gtk2 depends on availability of Gtk2 which doesn't exist yet. --=20 Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=3Demail ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. |