User forums > Help
svn version fails during compile
Andy:
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.
thomas:
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.
moloh:
I have same problem.
Maybe src/tools/autorevision/Makefile.am is a problem?
--- Code: ---noinst_PROGRAMS = auto_revision
auto_revision_SOURCES = autorevision.cpp
all-local: auto_revision
./auto_revision +int +wx +t $(top_srcdir) $(srcdir)/../../sdk/autorevision.h
--- End code ---
TheTuxKeeper:
--- Quote from: moloh on May 05, 2006, 09:49:38 pm ---I have same problem.
Maybe src/tools/autorevision/Makefile.am is a problem?
--- Code: ---noinst_PROGRAMS = auto_revision
auto_revision_SOURCES = autorevision.cpp
all-local: auto_revision
./auto_revision +int +wx +t $(top_srcdir) $(srcdir)/../../sdk/autorevision.h
--- End code ---
--- End quote ---
For me it works as it should, so the Makefile.am shouldn't be the problem.
My log looks like this:
--- Code: ---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'
--- End code ---
Perhaps you use a too old version of subversion ? Can you post the first line (version) of
--- Code: ---svn --version
--- End code ---
moloh:
Sorry then for bad thought...
--- Code: ---# svn --version
svn, version 1.2.3 (r15833)
--- End code ---
Navigation
[0] Message Index
[#] Next page
Go to full version