[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fwknop-discuss
Subject:    Re: [Fwknop-discuss] build error
From:       Michael Rash <mbr () cipherdyne ! org>
Date:       2008-06-03 3:23:56
Message-ID: 20080603032356.GC3338 () cipherdyne ! org
[Download RAW message or body]

On Jun 03, 2008, Rodney McKee wrote:

> Getting the following error while building the src on fedora 9. Is their
> any additional information I can provide to help with this?
> 
> cp lib/Class/MethodMaker/array.pm blib/lib/Class/MethodMaker/array.pm
> AutoSplitting blib/lib/Class/MethodMaker/array.pm
> (blib/lib/auto/Class/MethodMaker/array)
> cp lib/Class/MethodMaker/scalar.pm blib/lib/Class/MethodMaker/scalar.pm
> AutoSplitting blib/lib/Class/MethodMaker/scalar.pm
> (blib/lib/auto/Class/MethodMaker/scalar)
> /usr/bin/perl /usr/lib/perl5/5.10.0/ExtUtils/xsubpp
> -typemap /usr/lib/perl5/5.10.0/ExtUtils/typemap  MethodMaker.xs >
> MethodMaker.xsc && mv MethodMaker.xsc MethodMaker.c
> Please specify prototyping behavior for MethodMaker.xs (see perlxs
> manual)
> gcc -c   -D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing
> -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
> -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32
> -march=i386 -mtune=generic -fasynchronous-unwind-tables   -DVERSION=
> \"2.08\" -DXS_VERSION=\"2.08\" -fPIC
> "-I/usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE"   MethodMaker.c
> MethodMaker.xs: In function 'XS_Class__MethodMaker_set_sub_name':
> MethodMaker.xs:12: error: lvalue required as left operand of assignment
> MethodMaker.xs:13: error: lvalue required as left operand of assignment
> make: *** [MethodMaker.o] Error 1
> make: Leaving directory
> `/home/rmckee/rpmbuild/BUILD/fwknop-1.9.4/Class-MethodMaker'
> error: Bad exit status from /var/tmp/rpm-tmp.7794 (%build)
> 
> 
> RPM build errors:
>     Bad exit status from /var/tmp/rpm-tmp.7794 (%build)

I see that there is an updated version of Class::MethodMaker available
on CPAN (fwknop bundles version 2.08 whereas 2.11 is available).  On my
Fedora 8 system the fwknop rpm builds correctly, but I have not tried
Fedora 9 yet.  Which version of perl is distributed on Fedora 9?

I suspect that if you comment out the Class::MethodMaker install
statements from the fwknop.spec file and install version 2.11 from CPAN,
then things will work.  Or, I'll post a -pre release of fwknop-1.9.5
soon that will contain the updated version of the module.

Thanks,

--
Michael Rash
http://www.cipherdyne.org/
Key fingerprint = 53EA 13EA 472E 3771 894F  AC69 95D8 5D6B A742 839F


> 
> Rgds
> Rodney McKee



> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Fwknop-discuss mailing list
> Fwknop-discuss@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fwknop-discuss


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fwknop-discuss mailing list
Fwknop-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fwknop-discuss
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic