News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

svn version fails during compile

Started by Andy, April 30, 2006, 08:21:46 AM

Previous topic - Next topic

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.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

moloh

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


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?


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
Nightly builds for openSUSE

moloh

Sorry then for bad thought...


# svn --version
svn, version 1.2.3 (r15833)

TheTuxKeeper

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  :(
Nightly builds for openSUSE

Michael

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
[url="http://img207.imageshack.us/img207/9728/411948picture4em.png"]http://img207.imageshack.us/img207/9728/411948picture4em.png[/url]

moloh

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