From: Sergei S. <ser...@ya...> - 2006-10-24 21:33:17
|
--- Mattia Barbon <mat...@li...> wrote: > On Sat, 21 Oct 2006 03:55:57 -0700 (PDT) > Sergei Steshenko <ser...@ya...> wrote: > > Hi, > > > 'gl' library not found at inc/My/Build/Any_wx_config.pm line 141. > > 'animate' library not found at inc/My/Build/Any_wx_config.pm line 141. > > 'fl' library not found at inc/My/Build/Any_wx_config.pm line 141. > > 'stc' library not found at inc/My/Build/Any_wx_config.pm line 141. > ^^^^^ > This... > > > 'deprecated' library not found at inc/My/Build/Any_wx_config.pm line 141. > > 'gizmos' library not found at inc/My/Build/Any_wx_config.pm line 141. > > 'ogl' library not found at inc/My/Build/Any_wx_config.pm line 141. > > 'plot' library not found at inc/My/Build/Any_wx_config.pm line 141. > > 'mmedia' library not found at inc/My/Build/Any_wx_config.pm line 141. > > 'svg' library not found at inc/My/Build/Any_wx_config.pm line 141. > > > ERROR from evaluation of /maxtor5/sergei/AppsFromScratchWD/build/Wx-0.57/ext/Makefile.PL: > ERROR > > from evaluation of /maxtor5/sergei/AppsFromScratchWD/build/Wx-0.57/ext/stc/Makefile.PL: No > such > > 'link' library: 'stc' at > ^^^^^ > ...and this are the relevant messages. > > > messages mean my wxGtk is not good enough for Wx-0.57 ? It was OK for > > Wx-0.26. > > > > Or the build script simply can't find these libraries ? If the latter, > > how do I specify their locations and where should they be located ? > > You should only need: > > cd contrib/src/stc > make > make install > > in you wxGTK build script. This was needed for Wx-0.26 as well. > > HTH > Mattia > The point is wxGtk remains the same as it was for Wx-0.26. So I do not understand why now build script(s) for Wx-0.57 complain. There is apparently a bigger problem: " Checking if your kit is complete... Looks good # running Build.PL /usr/bin/perl5.8.7 -I_build/lib -I/maxtor5/sergei/AppsFromScratchWD/build/Wx-0.57/build -I/maxtor5/sergei/AppsFromScratchWD/install/Wx-0.57/lib/perl5/site_perl/5.8.7/i386-linux -I/maxtor5/sergei/AppsFromScratchWD/install/Module-Pluggable-3.1/lib/perl5/site_perl/5.8.7/i386-linux -I/maxtor5/sergei/AppsFromScratchWD/install/Module-Pluggable-3.1/lib/perl5/site_perl/5.8.7 -I/maxtor5/sergei/AppsFromScratchWD/build/Wx-0.57/Alien-wxWidgets-0.22/lib -I/maxtor5/sergei/AppsFromScratchWD/build/Wx-0.57 Build.PL Deleting _build Creating custom builder _build/lib/My/Build/new_from_context_is_broken.pm in _build/lib/My/Build Checking whether your kit is complete... Looks good Do you want to build wxWidgets? [no] no Deleting Build Removed previous script 'Build' Creating new 'Build' script for 'Alien-wxWidgets' version '0.22' Writing Makefile for Wx::Grid Attempt to free unreferenced scalar: SV 0x87609e8 at /usr/lib/perl5/5.8.7/ExtUtils/MakeMaker.pm line 183. ERROR from evaluation of /maxtor5/sergei/AppsFromScratchWD/build/Wx-0.57/ext/Makefile.PL: ERROR from evaluation of /maxtor5/sergei/AppsFromScratchWD/build/Wx-0.57/ext/stc/Makefile.PL: No such 'link' library: 'stc' at /maxtor5/sergei/AppsFromScratchWD/build/Wx-0.57/build/Wx/build/MakeMaker.pm line 202 # Looks like your test died before it could output anything. " - the line which particularly bothers me is Attempt to free unreferenced scalar: SV 0x87609e8 at /usr/lib/perl5/5.8.7/ExtUtils/MakeMaker.pm line 183. and here is the context in /usr/lib/perl5/5.8.7/ExtUtils/MakeMaker.pm: 175 sub eval_in_x { 176 my($self,$dir) = @_; 177 chdir $dir or Carp::carp("Couldn't change to directory $dir: $!"); 178 179 { 180 package main; 181 do './Makefile.PL'; 182 }; 183 if ($@) { 184 # if ($@ =~ /prerequisites/) { 185 # die "MakeMaker WARNING: $@"; 186 # } else { 187 # warn "WARNING from evaluation of $dir/Makefile.PL: $@"; 188 # } 189 die "ERROR from evaluation of $dir/Makefile.PL: $@"; 190 } 191 } . The Attempt to free unreferenced scalar: SV 0x87609e8 at /usr/lib/perl5/5.8.7/ExtUtils/MakeMaker.pm line 183. line bothers me very much because it looks like a problem in Perl's binary guts. Maybe I'll install newer ExtUtils::MakeMaker - currently the version is " 5 $VERSION = '6.17'; " and/or try it on a different machine - that other one has Perl v 5.8.8 and my attempts so far have been using Perl v 5.8.7. Unfortunately, building Wx-Perl has become more difficult, and after addition of Alien::<whatever> mechanism Makefile.PL is still needed, though the intent of Alien::<whatever> mechanism is to get rid of the whole ExtUtils::MakeMaker and Makefile.PL stuff altogether ... Thanks, Sergei. Applications From Scratch: http://appsfromscratch.berlios.de/ __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |