Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
trunk
-
Linux
Description
The Perl Bindings cannot compile on Mandriva 2007. I'm getting the following errors: (I'll shortly attach the entire dump). <<<<<<<<<<<<<<<<<< if test "/home/shlomi/progs/svn/SVN-From-Repos/vanilla/trunk/subversion/bindings/swig/perl" != "/home/shlomi/progs/svn/SVN-From-Repos/vanilla/trunk/subversion/bindings/swig/perl"; then \ ln -sf /home/shlomi/progs/svn/SVN-From-Repos/vanilla/trunk/subversion/bindings/swig/perl/native/*.c /home/shlomi/progs/svn/SVN-From-Repos/vanilla/trunk/subversion/bindings/swig/perl/native; \ fi cd /home/shlomi/progs/svn/SVN-From-Repos/vanilla/trunk/subversion/bindings/swig/perl/native; make make[1]: Entering directory `/home/shlomi/progs/svn/SVN-From-Repos/vanilla/trunk/subversion/bindings/swig/perl/native' gcc -c -I/usr/local/apps/apache2/include -I/usr/local/apps/apache2/include -I/usr/local/apps/db-4.2//include -I../../../../../subversion/bindings/swig/perl/libsvn_swig_perl -I../../../../../subversion/include -I../../../../..//subversion -I../../../../../subversion/bindings/swig -g -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fomit-frame-pointer -march=i586 -mtune=pentiumpro -fasynchronous-unwind-tables -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC "-I/usr/lib/perl5/5.8.8/i386-linux/CORE" core.c In file included from /usr/local/apps/apache2/include/apr_pools.h:37, from ../../../../../subversion/include/svn_time.h:25, from core.c:1146: /usr/local/apps/apache2/include/apr.h:270: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘apr_off_t’ In file included from ../../../../../subversion/include/svn_string.h:71, from ../../../../../subversion/include/svn_props.h:30, from ../../../../../subversion/include/svn_error_codes.h:48, from ../../../../../subversion/include/svn_error.h:48, from ../../../../../subversion/include/svn_time.h:28, from core.c:1146: /usr/local/apps/apache2/include/apr_strings.h:297: error: expected declaration specifiers or ‘...’ before ‘apr_off_t’ /usr/local/apps/apache2/include/apr_strings.h:313: error: expected ‘)’ before ‘*’ token /usr/local/apps/apache2/include/apr_strings.h:349: error: expected ‘)’ before ‘size’ In file included from /usr/local/apps/apache2/include/apr_file_io.h:29, from ../../../../../subversion/include/svn_io.h:30, from ../../../../../subversion/include/svn_delta.h:35, from ../../../../../subversion/bindings/swig/perl/libsvn_swig_perl/swigutil_pl.h:35, from core.c:1150: /usr/local/apps/apache2/include/apr_file_info.h:204: error: expected specifier-qualifier-list before ‘apr_off_t’ In file included from ../../../../../subversion/include/svn_io.h:30, from ../../../../../subversion/include/svn_delta.h:35, from ../../../../../subversion/bindings/swig/perl/libsvn_swig_perl/swigutil_pl.h:35, from core.c:1150: /usr/local/apps/apache2/include/apr_file_io.h:548: error: expected declaration specifiers or ‘...’ before ‘apr_off_t’ /usr/local/apps/apache2/include/apr_file_io.h:740: error: expected declaration specifiers or ‘...’ before ‘apr_off_t’ >>>>>>>>>>>>>>> I compile Subversion like that: <<<<<<<<<<<<<<<< apache_path=/usr/local/apps/apache2/ args="--with-apr=$apache_path --with-apr-util=$apache_path --without-apxs --disable-neon-version-check --without-sasl " ./configure --prefix=/usr/local/apps/svn-repos --enable-maintainer-mode $args >>>>>>>>>>>>>>>>
Attachments
Attachments
Issue Links
- is duplicated by
-
SVN-3165 Perl Bindings Fail to Compile with Apache 2.2 + apr1 + Perl 5.10
- Closed