Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7567389
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T14:39:14+00:00 2026-05-30T14:39:14+00:00

I’m currently trying to build subversion 1.7.3 with Visual Studio 2010 SP1 on Windows

  • 0

I’m currently trying to build subversion 1.7.3 with Visual Studio 2010 SP1 on Windows 7 SP1.
I’m not really experienced in building open source software myself, but it’s not always easy to find a complete binary package where I can find the right modules for. Therefore I thought I try building it myself. Now I’m stuck at executing the gen-make.py and can’t find any solutions on the web.

The error is, I get an invalid syntax error:

File "gen-make.py", line 271
    except getopt.GetoptError, e:
                             ^
SyntaxError: invalid syntax

I don’t think it has to do with the dependencies I submitted, because the same error is shown when I open the gen-make.py in IDLE.
I’m not experienced with python or compiling open source software myself. So I’m stuck and can’t figure out what’s going wrong.

I’m using Python 3.2.2.

I’m calling python with the following line:

F:\Open Source\subversion-1.7.3>python gen-make.py -t vcproj --vsnet-version=2010 --with-berkeley-db=..\bdb --with-openssl=..\openssl-1.0.0g --with-httpd=..\httpd-2.4.1 --with-neon=..\neon --with-serf=..\serf --with-sqlite=..\sqlite --with-zlib=..\zlib

Has anyone some clues what I am missing here?

====
Update:
I’ve tried it with Python 2.7. And the syntax error is gone. But nothing is perfect. 😉
Now I’m facing another problem: It says it can’t find apr, I’ve downloaded apr yet having trouble getting it to work. I’m tired now and I think I’ll come back tomorrow, looking into it.
The exact error is as follows:

ERROR: '..\httpd-2.4.1\srclib\apr\include\apr_version.h' not found.
Use '--with-apr' option to configure APR location.

Greetings,
Skalli

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T14:39:16+00:00Added an answer on May 30, 2026 at 2:39 pm

    That’s Python 2 syntax, run it with Python 2 instead.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We're building an app, our first using Rails 3, and we're having to build
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I am trying to understand how to use SyndicationItem to display feed which is
Basically, what I'm trying to create is a page of div tags, each has
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I am currently running into a problem where an element is coming back from
I want use html5's new tag to play a wav file (currently only supported
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I need a function that will clean a strings' special characters. I do NOT
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.