Subject: | Can't locate object method "need_prelink_c" |
Distribution: Device::Cdio-v0.2.3
Perl: 5.8.8 build for x86_64-linux
OS: Linux hotbox 2.6.16-gentoo-r9 #1 SMP PREEMPT Mon Jun 26 23:12:40 EST
2006 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ GNU/Linux
libcdio version: 0.77
swig version: 1.3.25
I'm not sure if this is something missing on my distro or not.
I'm also not sure if the code is required, but commenting it out seems
not to break anything.
hotbox Device-Cdio-v0.2.3-org # perl Build.PL
Good, I found libcdio version 0.77 installed.
Checking for SWIG...ok
Checking if x86_64-pc-linux-gnu-gcc supports "-Wno-strict-aliasing"...yes
Checking if x86_64-pc-linux-gnu-gcc supports "-Wno-unused-function"...yes
Checking if x86_64-pc-linux-gnu-gcc supports "-Wno-unused-value"...yes
Checking if x86_64-pc-linux-gnu-gcc supports "-Wno-unused-function"...yes
Checking if x86_64-pc-linux-gnu-gcc supports "-Wno-unused-variable"...yes
Creating custom builder _build/lib/MyModuleBuilder.pm in _build/lib
Checking whether your kit is complete...
Looks good
Checking prerequisites...
Looks good
Creating new 'Build' script for 'Device-Cdio' version 'v0.2.3'
hotbox Device-Cdio-v0.2.3-org # ./Build
lib/perlcdio.pm -> blib/lib/perlcdio.pm
lib/Device/Cdio/ISO9660/FS.pm -> blib/lib/Device/Cdio/ISO9660/FS.pm
lib/Device/Cdio/Track.pm -> blib/lib/Device/Cdio/Track.pm
lib/Device/Cdio/Util.pm -> blib/lib/Device/Cdio/Util.pm
lib/Device/Cdio/Device.pm -> blib/lib/Device/Cdio/Device.pm
lib/Device/Cdio.pm -> blib/lib/Device/Cdio.pm
lib/perliso9660.pm -> blib/lib/perliso9660.pm
lib/Device/Cdio/ISO9660.pm -> blib/lib/Device/Cdio/ISO9660.pm
lib/Device/Cdio/ISO9660/IFS.pm -> blib/lib/Device/Cdio/ISO9660/IFS.pm
x86_64-pc-linux-gnu-gcc -I/usr/lib64/perl5/5.8.8/x86_64-linux/CORE -fPIC
-c -fno-strict-aliasing -pipe -Wdeclaration-after-statement
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wno-strict-aliasing
-Wno-unused-function -Wno-unused-value -Wno-unused-function
-Wno-unused-variable -o perlcdio_wrap.o perlcdio_wrap.c
Can't locate object method "need_prelink_c" via package
"MyModuleBuilder" at
/root/cdio/moo/Device-Cdio-v0.2.3-org/_build/lib/MyModuleBuilder.pm line
113.
Subject: | Device-Cdio-build.patch |
--- Device-Cdio-v0.2.3-org/Build.PL 2006-03-23 14:02:35.000000000 +1000
+++ Device-Cdio-v0.2.3-new/Build.PL 2006-08-05 17:59:03.000000000 +1000
@@ -131,7 +131,7 @@
my $objects = $p->{objects} || [];
unless ($self->up_to_date([$obj_file, @$objects], $lib_file)) {
- $self->prelink_c($to, $file_base) if $self->need_prelink_c;
+# $self->prelink_c($to, $file_base) if $self->need_prelink_c;
my @linker_flags = $self->split_like_shell($p->{extra_linker_flags});
my @lddlflags = $self->split_like_shell($cf->{lddlflags});