трабла с установкой dev-perl/Cflow-1.051-r1
*
На днях понадобился перловый модуль Cflow.
фигня, нашли, ставим.
emerge Cflow
бла-бла-бла
Making all in lib
make[1]: Entering directory `/var/tmp/portage/dev-perl/Cflow-1.051-r1/work/flow-tools-0.68/lib'
make all-am
make[2]: Entering directory `/var/tmp/portage/dev-perl/Cflow-1.051-r1/work/flow-tools-0.68/lib'
source='ftio.c' object='ftio.o' libtool=no \
depfile='.deps/ftio.Po' tmpdepfile='.deps/ftio.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
gcc -I. -I./lib -I. -I. -I. -g -Wall -g -Wall -c `test -f 'ftio.c' || echo './'`ftio.c
ftio.c: In function 'readn':
ftio.c:2270: error: lvalue required as left operand of assignment
ftio.c: In function 'writen':
ftio.c:2295: error: lvalue required as left operand of assignment
make[2]: *** [ftio.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/dev-perl/Cflow-1.051-r1/work/flow-tools-0.68/lib'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/dev-perl/Cflow-1.051-r1/work/flow-tools-0.68/lib'
make: *** [all-recursive] Error 1
>>> Unpacking Cflow-1.051.tar.gz to /var/tmp/portage/dev-perl/Cflow-1.051-r1/work/flow-tools-0.68/contrib
>>> Source unpacked in /var/tmp/portage/dev-perl/Cflow-1.051-r1/work
>>> Compiling source in /var/tmp/portage/dev-perl/Cflow-1.051-r1/work ...
* No Make or Build file detected...
>>> Source compiled.
>>> Test phase [not enabled]: dev-perl/Cflow-1.051-r1
>>> Install Cflow-1.051-r1 into /var/tmp/portage/dev-perl/Cflow-1.051-r1/image/ category dev-perl
Checking if your kit is complete...
Looks good
Found flow-tools... using "-DOSU -I../../lib -I../../lib/.. -L../../lib -lft -lz".
Warning: -L../../lib changed to -L/var/tmp/portage/dev-perl/Cflow-1.051-r1/work/flow-tools-0.68/contrib/Cflow-1.051/../../lib
Writing Makefile for Cflow
cp Cflow.pm blib/lib/Cflow.pm
AutoSplitting blib/lib/Cflow.pm (blib/lib/auto/Cflow)
/usr/bin/perl5.8.8 /usr/lib64/perl5/5.8.8/ExtUtils/xsubpp -typemap /usr/lib64/perl5/5.8.8/ExtUtils/typemap Cflow.xs > Cflow.xsc && mv Cflow.xsc Cflow.c
x86_64-pc-linux-gnu-gcc -c -I../../lib -I../../lib/.. -DOSU -march=core2 -mtune=core2 -O2 -pipe -mmmx -msse -msse2 -msse3 -fforce-addr -DVERSION=\"1.051\" -DXS_VERSION=\"1.051\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux/CORE" Cflow.c
Running Mkbootstrap for Cflow ()
chmod 644 Cflow.bs
rm -f blib/arch/auto/Cflow/Cflow.so
x86_64-pc-linux-gnu-gcc -shared -L/usr/local/lib64 Cflow.o -o blib/arch/auto/Cflow/Cflow.so \
-L/var/tmp/portage/dev-perl/Cflow-1.051-r1/work/flow-tools-0.68/contrib/Cflow-1.051/../../lib -lnsl -lft -lz \
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/../../../../lib64/libft.a(ftio.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/../../../../lib64/libft.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [blib/arch/auto/Cflow/Cflow.so] Error 1
поправил было сорцы (убрал кастинг в ftio.с (char*)), повалилось еще больше трабл, и т.п.
Если ставить из сорцов, та же хня.
Мож у кого есть готовый "бинарник", или советом мож кто поможет?
- Для комментирования войдите или зарегистрируйтесь