[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [Subclipse-users] Problem with javahl libraries

From: Rune V. Sjøen <rvsjoen_at_gmail.com>
Date: Tue, 13 May 2008 16:10:25 +0200

On Tue, May 13, 2008 at 3:59 PM, Mark Phippard <markphip_at_gmail.com> wrote:

> On Tue, May 13, 2008 at 9:27 AM, Rune V. Sjøen <rvsjoen_at_gmail.com> wrote:
> > I downloaded the tarball for subversion-1.4.6 and deps.
> > Ran the following commands to build it
> >
> > ./configure --enable-javahl --with-jikes=no --with-jdk=<path to my jdk>
> > --with-junit=<path to junit jar file> --prefix/usr
> > make
> > make install
> >
> > Then I build javahl
> >
> > make javahl
> > make javahl install
>
> You need: make install-javahl
>

my mistake, make install-javahl was what I meant to type. the library is
located in /usr/lib so it is installed

>
> > When I run make check-javahl I get the following error
> >
> > make check-javahl
> > /opt/jdk1.6.0/bin/java
> >
> -Djava.library.path=subversion/bindings/java/javahl/native/.libs:/usr/local/lib
> > -classpath
> >
> subversion/bindings/java/javahl/classes:/root/subversion-1.4.6/junit-4.4.jar
> > org.tigris.subversion.javahl.tests.BasicTests
> > .E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E.E
> > Time: 0.044
> > There were 29 errors:
> > 1)
> >
> testVersion(org.tigris.subversion.javahl.tests.BasicTests)java.lang.UnsatisfiedLinkError:
> > no svnjavahl in java.library.path
>
> This would be because the library was not installed. Use the above
> command.
>

make check-javahl should still run as long as it uses
"subversion/bindings/java/javahl/native/.libs" in java.library.path ?

>
> --
> Thanks
>
> Mark Phippard
> http://markphip.blogspot.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_subclipse.tigris.org
> For additional commands, e-mail: users-help_at_subclipse.tigris.org
>
>

-- 
Rune V. Sjoen
You always pass failure on the way to success
Received on 2008-05-13 16:10:39 CEST

This is an archived mail posted to the Subclipse Users mailing list.