Saturday, May 4, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 1189  / 2 Years ago, thu, october 27, 2022, 1:50:18

for some reason I need to install Python2.5 on Ubuntu 13.04. I tried to install it from source. However the make operation is failed with the following 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


I googled about it but still don't know what happened. How could I fix this?



Thanks.


More From » python

 Answers
5

Seems to be a bug in the build scripts as they only test if subversion is installed but not if the source code is actually using subversion.



Running



SVNVERSION=not-found ./configure


instead of just



./configure


before you run make seems to be a workaround.


[#27727] Thursday, October 27, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
jokaned

Total Points: 315
Total Questions: 116
Total Answers: 119

Location: Somalia
Member since Mon, Feb 27, 2023
1 Year ago
;