Hi,
I have donwloaded the liberty_parse-2.6 package from the Liberty download page:
http://www.opensourceliberty.org/resources_ccs.html.
I have carefully read the README and INSTALL files and followed all the steps that executed without any issue.
Now I am interested by the liberty.so generation to be able to use this package in Perl.
I noticed there was a second README file in a "perl" directory coming along with the package. I tried to follow the (simple) instructions :
make perl/liberty.so
But this generates tons of errors.
So I would like to know if anyone has been able to use this package so far, and if yes, have you found how to fix below errors (only posting the first ones):
> make perl/liberty.so
(cd perl; gcc -c -fpic liberty_wrap.c -I`perl -v | grep perl\, | sed 's@This is perl, v\([^ ]\+\) built for \(.\+\)@/usr/lib/perl5/\1/\2/CORE@'` -I.. -D_GNU_SOURCE)
liberty_wrap.c:702:20: EXTERN.h: No such file or directory
liberty_wrap.c:703:18: perl.h: No such file or directory
liberty_wrap.c:704:18: XSUB.h: No such file or directory
liberty_wrap.c:712:28: patchlevel.h: No such file or directory
liberty_wrap.c:715:48: could_not_find_Perl_patchlevel.h: No such file or directory
liberty_wrap.c:958: error: syntax error before '*' token
liberty_wrap.c:963: error: syntax error before '*' token
liberty_wrap.c: In function `SWIG_croak_null':
liberty_wrap.c:992: error: `SV' undeclared use in this function
...Thanks, Alex.