Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm trying to install python bindings for subversion:

# cd /usr/ports/devel/py-subversion
# make
===>  Patching for py26-subversion-1.6.15
===>  Applying extra patch /usr/ports/devel/py-subversion/../../devel/subversion/files /bindings-patch-subversion--bindings--swig--perl--native--Makefile.PL.in
cannot open /usr/ports/devel/py-subversion/../../devel/subversion/files/bindings-patch-subversion--bindings--swig--perl--native--Makefile.PL.in: No such file or directory
*** Error code 2

Yes, there is no such file in subversion/files, but there is file patch-subversion::bindings::swig::perl::natives::Makefle.PL.in (with colons instead of hyphens).
After renaming and rerunning make I got another error:

# make
===>  Patching for py26-subversion-1.6.15
===>  Applying extra patch /usr/ports/devel/py-subversion/../../devel/subversion/files/bindings-patch-subversion--bindings--swig--perl--native--Makefile.PL.in
cannot open /usr/ports/devel/py-subversion/../../devel/subversion/files/bindings-patch-subversion--bindings--swig--perl--native--Makefile.PL.in: No such file or directory
*** Error code 2

But now there is nothing like bindings-* in subversion/files.

So, the question is why is it so and how can I install py-subversion?

PS: FreeBSD is running on virtual private server, so I think it is somehow patched.

# uname -a
FreeBSD mskhug.ru 8.2-PRERELEASE FreeBSD 8.2-PRERELEASE #0 r50: Thu Feb 24 10:15:34 IRKT 2011 root@freebsd8-amd64.ispsystem.net:/root/src/sys/amd64/compile/DEBUG  amd64
share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

First things to try:

Erase entire ports tree

Get new up-to-date ports tree

# rm -rf /usr/ports
# portsnap fetch
# portsnap extract

Then try making the port again.

share|improve this answer
    
thanks, worked like a charm –  max taldykin Mar 1 '11 at 18:34
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.