On 10/09/2012 16:21, patryk wrote: > Hello > > I tried to compile owfs on my Raspi with Raspbian but I get an error when > it comes to owperl compilation. When I disable owperl it compiles. I don't > need it so ma > > make[4]: Wejście do katalogu `/root/owfs-2.8p17/module/swig/perl5/OW' > rm -f blib/arch/auto/OW/OW.so > LD_RUN_PATH="/root/owfs-2.8p17/module/swig/perl5/OW/../../../owlib/src/c/.libs" > gcc-4.7 -shared -L../../../owlib/src/c/.libs -Wl,-rpath=/opt/owfs/lib > ow_wrap.o -o blib/arch/auto/OW/OW.so \ > -L/root/owfs-2.8p17/module/swig/perl5/OW/../../../owlib/src/c/.libs > -low -lm -ldl \ > > /bin/sh: 1: gcc-4.7: not found > make[4]: *** [blib/arch/auto/OW/OW.so] Błąd 127 > make[4]: Opuszczenie katalogu `/root/owfs-2.8p17/module/swig/perl5/OW' > make[3]: *** [OW/blib/lib/OW.pm] Błąd 2 > make[3]: Opuszczenie katalogu `/root/owfs-2.8p17/module/swig/perl5' > make[2]: *** [all-recursive] Błąd 1 > make[2]: Opuszczenie katalogu `/root/owfs-2.8p17/module/swig' > make[1]: *** [all-recursive] Błąd 1 > make[1]: Opuszczenie katalogu `/root/owfs-2.8p17/module' > make: *** [all-recursive] Błąd 1 > > There is no gcc 4.7 version > gcc version 4.6.3 (Debian 4.6.3-8+rpi1) > > But on my Laptop with Ubuntu with oldder gcc it compiles fine. >
In Rasbian, the default compiler is gcc-4.6 but PERL is built with gcc-4.7. You will either need to install gcc-4.7 by hand, or if it's not available for some reason, forgo building the perl module altogether. HTH, Chris -- Chris Boot [email protected] ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Owfs-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/owfs-developers
