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

Re: javahl patch - Mika - it won't go. Steps follow.

From: lamikr_mdk <lamikr_mdk_at_aragorn.kortex.jyu.fi>
Date: 2003-09-27 02:22:12 CEST

No I have sun JDK

[lamikr@aragorn lamikr]$ java -version
java version "1.4.2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-b28)
Java HotSpot(TM) Client VM (build 1.4.2-b28, mixed mode)

And the correct sequence for me requires that I am running automake-1.7,
aclocal-1.7 and autoconf-2.5.x. Here is the whole output starting from
the svn command and ending to the javahl build.

1) get subversion

- [lamikr@aragorn subversion]$ svn co
http://svn.collab.net/repos/svn/trunk subversion

2) build subversion
   - cd subversion
   - autogen.sh
   - ./configure
   - make

3) patch javahl
    cd subversion/bindings/java
    patch -p0 < patch.txt (patch downloaded from the subversion issue
attachment 1501)

4) build javahl
   - cd javahl
   - aclocal-1.7
   - autoconf-2.5x
   - libtoolize --automake --force
   - automake-1.7 -a
   - ./configure
   - make

Note! If I tried to configure javahl by calling things like
"aclocal-1.6, WANT_AUTOCONF_2_5=1 autoconf or ,,, then the generation of
makefiles did not work for me.

So the correct sequence is for me (It is important to run it into javahl
environment where you have not made any configuration changes or
commands earlies)

0. make sure that /usr/java/j2sdk1.4.2_03/bin is in your path. Test with
  "java -version"
1. New trunk co
2. cd trunk
3. ./autogen.sh
4. ./configure --prefix=/usr
5. make
5. cd subversion/bindings/java
6. patch -p0 < patches.txt
7. cd javahl
8. aclocal-1.7
9. autoconf-2.5x
10. libtoolize --automake --force
11. automake-1.7 -a
12. ./configure
13. make

Mika
the erronous (just one combination of many) is

        [lamikr@aragorn subversion]$ WANT_AUTOCONF_2_5=1 autoconf
        [lamikr@aragorn subversion]$ libtoolize --automake --force
        [lamikr@aragorn subversion]$ automake -a
        configure.in: 74: `automake requires `AM_CONFIG_HEADER', not
`AC_CONFIG_HEADER'
        automake: configure.in: `PACKAGE' not defined in `configure.in'
        automake: configure.in: installing `ac-helpers/mkinstalldirs'
        automake: configure.in: installing `ac-helpers/missing'
        automake: .am: `install.sh' is an anachronism; use `install-sh' instead
        automake: no `Makefile.am' found or specified

Mika

Florin Iucha wrote:
> On Fri, Sep 26, 2003 at 08:08:8. aclocal-1.7
9. autoconf-2.5x
10. libtoolize --automake --force
11. automake-1.7 -a
12. ./configure
13. make 36PM +0000, Files wrote:
>
>>1. New trunk co
>>2. cd trunk
>>3. ./configure --prefix=/usr
>>4. cd subversion/bindings/java
>>5. patch -p0 < patches.txt
>>6. cd javahl
>>7. aclocal
>>8. WANT_AUTOCONF_2_5=1 autoconf
>>9. libtoolize --automake --force
>>10. automake -a
>>11. ./configure --with-jdk=/usr/java/j2sdk1.4.2_03 --prefix=/usr
>>12. JDK=/usr/java/j2sdk1.4.2_03 make -e
>
> ^^
> Is this IBM JDK?
> I am asking because Sun's JDK is at 1.4.2_01.
>
> Could that be the problem?
>
> Cheers,
> florin
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Sep 27 02:22:53 2003

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

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