You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Arkadiusz Miskiewicz <ar...@pld-linux.org> on 2003/11/16 01:23:53 UTC
perl bindings
Does this (proposed) change in build/ac-macros/swig.m4 look right
- SWIG_PL_INCLUDES="`$PERL -MExtUtils::Embed -e ccopts`"
+ SWIG_PL_INCLUDES="`$PERL -MExtUtils::Embed -e perl_inc`"
?
For me ccopts returns:
[misiek@arm ~]$ perl -MExtUtils::Embed -e ccopts
-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64
-I/usr/lib/perl5/5.8.0/athlon-pld-linux-thread-multi/CORE
and then swig complains about -fno-strict-aliasing option.
Anyway ccopts are not to be used as INCLUDES.
Also...
With this change + Makefile.in changes
-SWIG_PL_INCLUDES = @SWIG_PL_INCLUDES@
+SWIG_PL_INCLUDES = @SWIG_PL_INCLUDES@
-I$(abs_srcdir)/subversion/bindings/swig/perl
SWIG_PL_COMPILE = @SWIG_PL_COMPILE@
-SWIG_PL_LINK = @SWIG_PL_LINK@
+SWIG_PL_LINK = @SWIG_PL_LINK@ -L$(top_builddir)/../.libs
and using:
(cd subversion/bindings/swig/perl && env APR_CONFIG="%{_bindir}/apr-config"
%{__perl} Makefile.PL)
%{__make} -C subversion/bindings/swig/perl ra_plugin.hi ra_reporter.hi
delta_editor.hi
%{__make} swig-pl
I'm able to get perl bindings built but of course make install-swig-pl fails
about libtool relinking issues.
--
Arkadiusz MiĆkiewicz CS at FoE, Wroclaw University of Technology
arekm.pld-linux.org AM2-6BONE, 1024/3DB19BBD, arekm(at)ircnet, PLD/Linux
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org