[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Pysvn-1.5.2 compile on Red Hat Linux 3.2.3-53

From: Frode Svendsen <frode.svendsen_at_nsa.no>
Date: 2007-11-06 09:31:05 CET

Hi everyone,

I've been trying for a while now to compile pysvn to get wievcvs to work
with subversion, I've found no-one who've come across the same problem:
I'm configuring pysvn like this:

[Source]# python setup.py configure
--svn-inc-dir=/usr/local/subversion-1.4.5/include/subversion-1/
--apr-inc-dir=/usr/local/subversion-1.4.5/include/apr-0/
--svn-lib-dir=/usr/local/subversion-1.4.5/lib/
--apr-lib-dir=/usr/local/subversion-1.4.5/lib/
Info: Found Python include in /usr/include/python2.2
Info: Found PyCXX include in
/usr/local/src/pysvn-1.5.2/Import/pycxx-5.4.0
Info: Found SVN include in
/usr/local/subversion-1.4.5/include/subversion-1
Info: Found APR include in /usr/local/subversion-1.4.5/include/apr-0
Info: Found SVN library in /usr/local/subversion-1.4.5/lib
Info: Found APR library in /usr/local/subversion-1.4.5/lib
Info: Creating Makefile for Source
Info: Creating Makefile for Tests

And almost imidiately I get the following result from the make:

[Source]# make
/usr/bin/python ../Docs/generate_cpp_docs_from_html_docs.py
/usr/local/src/subversion-1.4.5/subversion/include
../Docs/pysvn_prog_ref.html pysvn_docs.hpp pysvn_docs.cpp
svn_include /usr/local/src/subversion-1.4.5/subversion/include
html_doc ../Docs/pysvn_prog_ref.html
cpp_header_filename pysvn_docs.hpp
cpp_module_filename pysvn_docs.cpp
Info: Building against SVN 1.4.5 code 1004005
touch pysvn_docs.hpp
/usr/bin/python ../Builder/brand_version.py ../Builder/version.info
pysvn_version.hpp.template
Info: Running svnversion -c ".." 2>&1
Info: revision exported
g++ -c -Wall -fPIC -fexceptions -frtti -I/usr/include/python2.2
-I/usr/local/src/pysvn-1.5.2/Import/pycxx-5.4.0
-I/usr/local/subversion-1.4.5/include/subversion-1
-I/usr/local/subversion-1.4.5/include/apr-0 -I. -DNDEBUG -D_GNU_SOURCE
-Dinit_pysvn=init_pysvn_2_2 -Dinit_pysvn_d=init_pysvn_2_2_d -o pysvn.o
pysvn.cpp
In file included from pysvn.hpp:11,
                 from pysvn.cpp:20:
/usr/include/python2.2/CXX/Objects.hxx:504: syntax error before `v'
/usr/include/python2.2/CXX/Objects.hxx:512: ISO C++ forbids defining
types
   within return type
/usr/include/python2.2/CXX/Objects.hxx:512: semicolon missing after
declaration
   of `class Py::Int'
/usr/include/python2.2/CXX/Objects.hxx: In function `int Py::Int(int)':
/usr/include/python2.2/CXX/Objects.hxx:514: `set' undeclared (first use
this
   function)
/usr/include/python2.2/CXX/Objects.hxx:514: (Each undeclared identifier
is
   reported only once for each function it appears in.)
/usr/include/python2.2/CXX/Objects.hxx:515: `validate' undeclared (first
use
   this function)
/usr/include/python2.2/CXX/Objects.hxx: At global scope:
/usr/include/python2.2/CXX/Objects.hxx:520: ISO C++ forbids declaration
of `Int
   ' with no type
<snip very long list of errors>

Have anyone of you come across something like this? Gcc is version
3.2.3, if that is of interrest and I'm using the PyCXX-src that came
with the pysvn-source. To me it seems like gcc doesn't recognize the
source as C++ code? Any idea why?

I hope I'm using the correct list for this, many apologies if not.

Regards,
Frode Svendsen

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Nov 6 09:31:31 2007

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.