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

Re: SDK Problems Compiling JavaHL

From: David Land <david.k.land_at_gmail.com>
Date: 2007-09-18 05:34:46 CEST

Well, I didn't state it in my original post, but I have the subversion
server set up on a Windows box using Apache as the network server. We wanted
to use our windows usernames and passwords so we wouldn't have to maintain a
separate set for subversion. I used the mod_auth_sspi authentication module
(http://sourceforge.net/projects/mod-auth-sspi) to achieve this.

The problem we're having is that under CentOS, Subclipse constantly prompts
for username and password multiple times whenever you perform any action
that communicates with the server.

I had initially thought that the problem was with SVNKit because when I ran
eclipse on Windows the passwords were being stored correctly under JavaHL
but not under SVNKit. In fact, SVNKit constantly asked for credentials under
Windows like it did under CentOS. However, I tried turning off the Windows
authentication in Apache and SVNKit worked correctly (that is, it saved the
passwords) under CentOS. So maybe the problem isn't SVNKit, but rather
Windows authentication.

I'm not sure if this is the right place to be asking for help because I
don't know what the problem is, but I thought I'd throw it out there in case
anyone had any ideas.

Getting JavaHL to build now may still be a good idea just to see if it
helps, but now I'm leaning towards the idea that it's some sort of
Windows/Linux/Apache thing.


On 9/17/07, David Land <david.k.land@gmail.com> wrote:
> Mark,
> I ran the following commands in order, per the subclipse FAQ:
> ./configure --enable-ssl --enable-javahl --with-jdk=/usr/java/jdk1.5.0_11
> --with-jikes=/usr/java/jdk1.5.0_11/bin/javac
> make
> make javahl
> make install
> make install-javahl
> It does seem to be putting the javahl libraries in the /usr/local/lib
> directory so I think it's building and installing them correctly. make check
> is telling me that it can't find the svnjavahl folder in java.library.path,
> but as soon as I figure out how to fix that I'll run the unit tests.
> I'm using CentOS 4.4. I do see Subversion in the Add/Remove program list,
> but I don't see JavaHL. Executing "yum install subversion-javahl" gave me
> "no match for argument 'subversion-javahl'".
> Dave
> On 9/17/07, Mark Phippard <markphip@gmail.com> wrote:
> >
> > On 9/17/07, David Land <david.k.land@gmail.com> wrote:
> > > Sorry for the confusion regarding the author(s) of Subclipse and the
> > reasons
> > > why it isn't easier to install on Linux. I totally agree that the
> > likely
> > > culprit here is me and that I don't have something configured right.
> > I'd
> > > just like to get through this so I can actually get some work done. :)
> > >
> > > I downloaded the dependencies package (APR, neon, zlib, etc.) from
> > tigris
> > > using the URL I mentioned previously. I simply extracted the
> > dependencies
> > > tar file into the same file that I extracted the subversion source
> > into
> > > before I compiled everything. That seemed to allow subversion to
> > compile. Do
> > > the dependencies not get copied into the appropriate places by the
> > make
> > > install command? Do I need to include some path to the dependencies
> > > somewhere in eclipse? Is there a log file somewhere that will tell me
> > which
> > > dependencies aren't being found?
> >
> > Subversion would not compile without the dependencies. But did you do
> > make install etc.. so that they are all installed. Also, even though
> > they built, it does not mean they work. Did you run make check?
> >
> > > I don't know much about how this instantiation of CentOS was built. I
> > do
> > > know that Subclipse was not on it when I got it though, if that
> > answers your
> > > question.
> >
> > Which version of CentOS are you running? I have CentOS 5 available
> > and Subversion and JavaHL are both available in its packaging system,
> > you just need to install them. I think the same is true for CentOS 4.
> > For example, if I open Add/Remove programs and click the Search tab
> > and type "subversion" I can see Subversion and JavaHL packages already
> > to just install. Likewise from the command line I could just run:
> >
> > yum install subversion
> > yum install subversion-javahl
> >
> > --
> > Thanks
> >
> > Mark Phippard
> > http://markphip.blogspot.com/
> >
Received on Tue Sep 18 05:35:07 2007

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.