You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Jens Seidel <je...@users.sourceforge.net> on 2008/08/27 09:04:19 UTC

make install doesn't install

Hi,

I have a little problem with the automake build system which I hit
already multiple times in the past. Sorry, I was not able to analyse it
but maybe you know nevertheless how to fix it.

The build of Subclipse is not always easy. Especially related to java
stuff and bindings. So it is well possible that I did something wrong
or incomplete.

Normally I expect that I can install a program using
./configure <parameters>
make
make install

Subversion is a lot different and this causes always trouble. Why does
also a "make javahl" and a "make install-javahl" exists? It's useless.
If one doesn't want it, it should be handled by the configure script
(--disable* flags). You probably know all the stories in the net about
possible problems (often you need to install parts of Subversion until
a further make step works).

Currently I updated my working copy of the 1.5.x branch (this time it
worked).

I did the following parts of my notes:

$ export JAVA_HOME=/home/jens/local/jdk1.6.0_01/
make
make javahl
make install
export LD_LIBRARY_PATH=/home/jens/local/subversion1.5/lib:$LD_LIBRARY_PATH

Re: make install doesn't install

Posted by Arfrever Frehtes Taifersar Arahesis <ar...@gmail.com>.
2008-08-28 11:43:03 Jens Seidel napisaƂ(a):
> On Wed, Aug 27, 2008 at 01:13:25PM -0500, Hyrum K. Wright wrote:
> > Jens Seidel wrote:
> > > Another error during make -j1 install: It is assumed that Subversion is
> > > already installed or that the lib/ path into which svn is installed is part of
> > > $LD_LIBRARY_PATH or similar. That's of course not always true:
> 
> What about not installing include/subversion-1/svn-revision.txt? Is this
> file used/suggested/documented?
> 
> Removing it would avoid this error. See the simple attached patch (untested).

You can use 'make local-install' instead of 'make install'.

-- 
Arfrever Frehtes Taifersar Arahesis

Re: make install doesn't install

Posted by Jens Seidel <je...@users.sourceforge.net>.
On Thu, Aug 28, 2008 at 11:43:03AM +0200, Jens Seidel wrote:
> On Wed, Aug 27, 2008 at 01:13:25PM -0500, Hyrum K. Wright wrote:
> > Jens Seidel wrote:
> > > On Wed, Aug 27, 2008 at 11:04:19AM +0200, Jens Seidel wrote:
> > 'make clean' doesn't like j<1 either, at least not on my OS X system.
> 
> Maybe I will find the time to check it but I cannot promise it.

I would be much more motivated if people would reply to my mails ...

> > > Another error during make -j1 install: It is assumed that Subversion is
> > > already installed or that the lib/ path into which svn is installed is part of
> > > $LD_LIBRARY_PATH or similar. That's of course not always true:
> 
> What about not installing include/subversion-1/svn-revision.txt? Is this
> file used/suggested/documented?

And? Is this a bad idea or not?
I'm only a partial committer so I need feedback!

> Removing it would avoid this error. See the simple attached patch (untested).
> Another solution would be the same code snippet as for creation of
> version.xml (VERSION_SOURCE) in doc/tools/Makefile.base-rules (use
> svnversion if it works otherwise use a default value).
> 
> PS: Please don't forget updating svn:ignore for javahl.

I did so in r33002 but it needs also merged in 1.5.x.

There are more build system related problems open (e.g. why the user has
to explicitely call make javahl instead of javahl beeing part of the
default make target) so please comment.

Jens

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: make install doesn't install

Posted by Jens Seidel <je...@users.sourceforge.net>.
On Wed, Aug 27, 2008 at 01:13:25PM -0500, Hyrum K. Wright wrote:
> Jens Seidel wrote:
> > On Wed, Aug 27, 2008 at 11:04:19AM +0200, Jens Seidel wrote:
> 'make clean' doesn't like j<1 either, at least not on my OS X system.

Oh, OK, so the problem is confirmed, thanks.

Maybe I will find the time to check it but I cannot promise it.

> > Another error during make -j1 install: It is assumed that Subversion is
> > already installed or that the lib/ path into which svn is installed is part of
> > $LD_LIBRARY_PATH or similar. That's of course not always true:

What about not installing include/subversion-1/svn-revision.txt? Is this
file used/suggested/documented?

Removing it would avoid this error. See the simple attached patch (untested).
Another solution would be the same code snippet as for creation of
version.xml (VERSION_SOURCE) in doc/tools/Makefile.base-rules (use
svnversion if it works otherwise use a default value).

PS: Please don't forget updating svn:ignore for javahl.

Jens

Re: make install doesn't install

Posted by "Hyrum K. Wright" <hy...@mail.utexas.edu>.
Jens Seidel wrote:
> On Wed, Aug 27, 2008 at 11:04:19AM +0200, Jens Seidel wrote:
>> But install no longer installs:
>> Why does a simple install step not work? I didn't get an error.
>>
>> Could it be related to the fact that I build in parallel?
>> $ echo $MAKEFLAGS 
>> j8
> 
> Yep, it seems so. Calling
> $ make -j1 install
> worked. So Subversions make system seems not to be clean related to
> parallel calls.

'make clean' doesn't like j<1 either, at least not on my OS X system.

> Probably a
> MAKEFLAGS=j1
> in the top-level makefile will be a workaround until it is fixed.

Or I big red warning if somebody invokes 'make install' with j<1.  I'm hesitant
to enforce j1 by fiat, since the problem doesn't affect builds, only installs.
I personally use parallel make *a lot*, and it decreases my development time
significantly.  I'd be -1 on seeing it go.

> Another error during make -j1 install: It is assumed that Subversion is
> already installed or that the lib/ path into which svn is installed is part of
> $LD_LIBRARY_PATH or similar. That's of course not always true:
> 
> cd subversion/po ; /usr/bin/install -c -m 644 zh_TW.mo /home/jens/local/subversion1.5/share/locale/zh_TW/LC_MESSAGES/subversion.mo
> subversion/svnversion/svnversion . /repos/svn/trunk > /home/jens/local/subversion1.5/include/subversion-1/svn-revision.txt
> subversion/libsvn_subr/version.c:73: (apr_err=200019)
> svnversion: Version mismatch in 'svn_wc': found 1.6.0-dev, expected 1.5.2-dev
> subversion/libsvn_subr/version.c:73: (apr_err=200019)
> svnversion: Version mismatch in 'svn_subr': found 1.6.0-dev, expected 1.5.2-dev
> make: *** [revision-install] Error 1


Re: make install doesn't install

Posted by Jens Seidel <je...@users.sourceforge.net>.
On Wed, Aug 27, 2008 at 11:04:19AM +0200, Jens Seidel wrote:
> But install no longer installs:
> Why does a simple install step not work? I didn't get an error.
> 
> Could it be related to the fact that I build in parallel?
> $ echo $MAKEFLAGS 
> j8

Yep, it seems so. Calling
$ make -j1 install
worked. So Subversions make system seems not to be clean related to
parallel calls.

Probably a
MAKEFLAGS=j1
in the top-level makefile will be a workaround until it is fixed.

Another error during make -j1 install: It is assumed that Subversion is
already installed or that the lib/ path into which svn is installed is part of
$LD_LIBRARY_PATH or similar. That's of course not always true:

cd subversion/po ; /usr/bin/install -c -m 644 zh_TW.mo /home/jens/local/subversion1.5/share/locale/zh_TW/LC_MESSAGES/subversion.mo
subversion/svnversion/svnversion . /repos/svn/trunk > /home/jens/local/subversion1.5/include/subversion-1/svn-revision.txt
subversion/libsvn_subr/version.c:73: (apr_err=200019)
svnversion: Version mismatch in 'svn_wc': found 1.6.0-dev, expected 1.5.2-dev
subversion/libsvn_subr/version.c:73: (apr_err=200019)
svnversion: Version mismatch in 'svn_subr': found 1.6.0-dev, expected 1.5.2-dev
make: *** [revision-install] Error 1

Jens

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org