Code::Blocks Forums

User forums => Help => Topic started by: KirkD on January 04, 2007, 02:41:38 am

Title: Compile problem - autorevision and SVN
Post by: KirkD on January 04, 2007, 02:41:38 am
I'm upgrading my CodeBlocks installation on LINUX from 2599 to 3455 and things go OK until I hit the make step.  I have to compile from code for a whole variety of reasons not interesting here.  Anywho, the problem comes along with entering the build_tools/autorevious directory where I get:

sh:  svn: command not found

Well, I assume this means I don't have SVN installed on this LINUX box - no surprise there.  Is there any way I can disable this feature and compile the remainder??

-Kirk
Title: Re: Compile problem - autorevision and SVN
Post by: stahta01 on January 04, 2007, 02:56:19 am
I would try this

In file: src/build_tools/autorevision/autorevision.cpp
comment out line 92 or about that line. Line shown below.
Quote
QuerySvn(workingDir, revision, date) || ParseFile(docFile, revision, date) || ParseFile(docFile2, revision, date);

The autorevision command should run without erroring out then.
This should create a file like this below in src/sdk/autorevision.h
Code
/*0*/
#ifndef AUTOREVISION_H
#define AUTOREVISION_H



#define SVN_REVISION "0"

#define SVN_DATE     ""

namespace autorevision
{
const unsigned int svn_revision = 0;
}



#endif

Tim S
Title: Re: Compile problem - autorevision and SVN
Post by: KirkD on January 04, 2007, 06:46:17 pm
Thank you!  That appears to have worked - it is compiling now and all seems to be behaving normally.  If I have any other problems, I'll post back in this thread.

What feature does the autorevision enable?  Auto updates of CodeBlocks or a connection into SVN for CodeBlocks projects?

-Kirk
Title: Re: Compile problem - autorevision and SVN
Post by: stahta01 on January 04, 2007, 08:45:02 pm
Thank you!  That appears to have worked - it is compiling now and all seems to be behaving normally.  If I have any other problems, I'll post back in this thread.

What feature does the autorevision enable?  Auto updates of CodeBlocks or a connection into SVN for CodeBlocks projects?

-Kirk


I know of no feature it enables, but it helps support issues (user reporting problems) because in various places it reports the svn version that the user has. And, we can ask them for it.

Tim S