User forums > Help

Compiling CodeBlocks

<< < (2/3) > >>

killerbot:
you don't need that svn.exe to build !

--- Quote ---I get that error all the time. However Code::Blocks never stops building....
--- End quote ---

That's the strangest thing that for you it seems to stop building.

MortenMacFly:

--- Quote from: killerbot on August 09, 2006, 01:19:55 pm ---you don't need that svn.exe to build !

--- End quote ---
In fact, that's true (I don't have svn.exe, too). It could be he also hasn't the hidden .svn folder anymore. Thus the autorevision tool cannot retrieve this info from svn AND not from the local file... this *could* be another reason...?!

mdelfede:

--- Quote from: killerbot on August 09, 2006, 01:19:55 pm ---you don't need that svn.exe to build !

--- Quote ---I get that error all the time. However Code::Blocks never stops building....
--- End quote ---

That's the strangest thing that for you it seems to stop building.

--- End quote ---

I had the same problem about one month ago, then installed svn.exe ad all is ok.
Don't know why  :lol:

Btw, Tortoise svn don't have anymore the command line 'svn.exe' bundled; I think in the past it had it.

Ciao

Max

thomas:

--- Quote from: grandzebu on August 09, 2006, 01:13:51 am ---'svn' n'est pas reconnu en tant que commande interne ou externe, un programme executable ou un fichier de commandes.
--- End quote ---
Tout à fait normal :)

--- Quote ---Error: failed retrieving version information.
--- End quote ---
Dingue!

The solution to this riddle is easy: You are using the Windows-moronised form of TortoiseSVN ;) Unluckily, making it work for you requires you to install the commandline svn client for now.

To explain:
autorevision tries to get the revision information from svn (which is the canonical way of doing it). If that fails, it will open the file ./.svn/entries and parse that. It's a nasty thing, but it does the job.

TortoiseSVN does not come with svn.exe, so this will certainly fail. Strange enough, opening the entries file fails, too. You wonder why.
This problem is a good example why you should never do things like parsing something if you can use a canonical tool for it (and that's why autorevision first tries to query svn).

Now here is the problem: Some versions of Windows are too darn stupid to work with a directory called .svn. As a nasty workaround hack, TortoiseSVN released a special moronised version for Windows that would use _svn instead of .svn. Unluckily, this actually worked out so fine (apart from being non-standard) that it was made an official feature. Subversion can now store its files in either .svn or _svn, and you have no way of knowing which one, except if you manually parse the config file or if you test both locations...

I shall add a "fix" for this to autorevision one day (i.e. check both possible locations).
Until then, sorry for the inconvenience, but you have to install the commandline client too (and have to put it into PATH).

killerbot:
@Thomas : interesting story, oh you gotta to love the Winblows platform ...

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version