[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
Info: Found Python include in /usr/include/python2.2
Info: Found PyCXX include in
Info: Found SVN include in
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
../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
Info: Running svnversion -c ".." 2>&1
Info: revision exported
g++ -c -Wall -fPIC -fexceptions -frtti -I/usr/include/python2.2
-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
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
   within return type
/usr/include/python2.2/CXX/Objects.hxx:512: semicolon missing after
   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
/usr/include/python2.2/CXX/Objects.hxx:514: (Each undeclared identifier
   reported only once for each function it appears in.)
/usr/include/python2.2/CXX/Objects.hxx:515: `validate' undeclared (first
   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.

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.