i get the following error message when trying to compile the svn version on linux:
./auto_revision +int +wx +t ../../.. ./../../sdk/autorevision.h
svn: Path '../../..' ends in '..', which is unsupported for this operation
Error: could not open input file.
This does not seem to be a revision controlled project.
Error: failed retrieving version information.
i can post more info if necessary.
The path passed to autorevision is screwed up for some reason:
./auto_revision +int +wx +t ../../.. ./../../sdk/autorevision.h
The correct entry in SDK prebuild steps should read:
tools/autorevision/autorevision +wx +int +t . sdk/autorevision.h, so autorevision is called with . as the source directory and sdk/autorevision.h as the output file.
I don't know how this can happen, I checked my working copy of the sources, it is just fine here.
I have same problem.
Maybe src/tools/autorevision/Makefile.am is a problem?
noinst_PROGRAMS = auto_revision
auto_revision_SOURCES = autorevision.cpp
all-local: auto_revision
./auto_revision +int +wx +t $(top_srcdir) $(srcdir)/../../sdk/autorevision.h
Quote from: moloh on May 05, 2006, 09:49:38 PM
I have same problem.
Maybe src/tools/autorevision/Makefile.am is a problem?
noinst_PROGRAMS = auto_revision
auto_revision_SOURCES = autorevision.cpp
all-local: auto_revision
./auto_revision +int +wx +t $(top_srcdir) $(srcdir)/../../sdk/autorevision.h
For me it works as it should, so the Makefile.am shouldn't be the problem.
My log looks like this:
Making all in autorevision
make[3]: Entering directory `/usr/src/redhat/BUILD/codeblocks/src/tools/autorevision'
./auto_revision +int +wx +t ../../.. ./../../sdk/autorevision.h
make[3]: Leaving directory `/usr/src/redhat/BUILD/codeblocks/src/tools/autorevision'Perhaps you use a too old version of subversion ? Can you post the first line (version) of
svn --version
Sorry then for bad thought...
# svn --version
svn, version 1.2.3 (r15833)
No, it's not subversion. I've installed the same version on fedora and don't have any problem :?
I've no idea, what's going wrong :(
Quote from: daniel2000 on May 06, 2006, 10:58:37 AM
No, it's not subversion. I've installed the same version on fedora and don't have any problem :?
And I use on Ubuntu 5.10 without problems:
Quote
svn, version 1.2.0 (r14790)
Best wishes,
Michael
Ok, i located the problem.
I should write it before, but i didn't do this. The problem is gentoo ebuild.
In build process You use subversion information, by default ".svn/" directories aren't copied into build environment so that is why there is an error. To overcome this limitation i changed a little an ebuild for codeblocks. Now whole structure (with ".svn/" files) is synced into build environment.
Updated ebuild can be found on Gentoo Bugzilla: http://bugs.gentoo.org/show_bug.cgi?id=89533