make
:
***
No
rule
to
make
target
'libperl_c.so'
,
needed
by
'subdirs'
.
Stop
.
A
problem
was
encountered
while
attempting
to
compile
and
install
your
Inline
C
code
.
The
command
that
failed
was
:
"make > out.make 2>&1"
with
error
code
2
The
build
directory
was
:
/
work
/
study
/
perl
/
_Inline
/
build
/
perl_pl_7e84
To
debug
the
problem
,
cd
to
the
build
directory
,
and
inspect
the
output
files
.
Environment
PATH
=
'/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/opt/jdk1.7.0_55/bin:/usr/local/mysql/bin:/work/RASP/tools/arm-bcm2708/arm-bcm2708hardfp-linux-gnueabi/bin'
at
./
perl
.
pl
line
0.
..
.propagated
at
/
usr
/
local
/
share
/
perl
/
5.20.2
/
Inline
/
C
.
pm
line
869.
INIT
failed
--
call
queue
aborted
.
而且LIBS => '-L.'指定library路径的方式也不生效,必须将库放到系统目录。更夸张的是perl里面的#include必须用<>,如果写成#include "libperl_c.h"会出错。