Skip to content. | Skip to navigation

Personal tools

Navigation

You are here: Home / Blog / Building Python with Subversion 1.7

Building Python with Subversion 1.7

by Ross Patterson last modified Mar 13, 2012 03:04 AM
I ran into a problem when trying to build Python from source after upgrading SVN.

In case anyone else runs into this error:

gcc -pthread -c -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude -I./Include   -DPy_BUILD_CORE -DSVNVERSION=\"`LC_ALL=C svnversion .`\" -o Modules/getbuildinfo.o ./Modules/getbuildinfo.c
gcc: error: directory": No such file or directory
make: *** [Modules/getbuildinfo.o] Error 1

What's happening here is that Python is using svnversion in it's build process but the 1.7 version has different output than previous versions. I ran into this problem with Python 2.5 but not with Python 2.4. I'm not sure about Python 2.6+ because I just downgraded subversion temporarily before I built the other versions of Python.

Navigation
OpenID Login

Contact

me@rpatterson.net

IRC: zenwryly@irc.freenode.net
plone.org: rossp
GTalk: mer@patterson.net
Yahoo IM: patterson_ross
AIM: rosspatters
MSN: me@rpatterson.net
Skype: merpattersonnet

PO Box 7775 #10587
San Francisco, CA
94120-7775

Phone
+1 (415) 894-5323