[blfs-dev] Problem trying to build apache-ant-1.9.2
Fernando de Oliveira
famobr at yahoo.com.br
Sun Aug 25 11:16:48 PDT 2013
Em 25-08-2013 14:02, Bruce Dubbs escreveu:
> Fernando de Oliveira wrote:
>> Bruce, I am having trouble with this. Arch is i686. Log attached (big
>> lines, pasting here would break)
>> Perhaps I am not setting the appropriate envvars?
>> Have tried with two different OJDK binaries, with the proprietary jdk.
>> About the envvars, I am inclined to think they are not the problem, as
>> ISTR having tested these instructions a couple of weeks ago and had the
>> same problem. And older ant is there, JAVA_HME, etc., all have been
>> tested in other OJDK builds. On the occasion, did not try further, was
>> just testing...
>> Have tested also to install older ant, but problem repeated. Is there
>> any possibility the jUNIT binaries are archtecture dependent?
>> I am trying this in order to build OJDK and update the tag to 7.4. Would
>> it be appropriate, if in the meantime I use a binary ant to build OJDK?
> Hmm. I have /opt as a separate partition and have a previously built
> version of both java and apache-ant there. What I did was fairly simple:
> tar -xf apache-ant-1.9.2-src.tar.bz2
> cd apache-ant-1.9.2
> sed -i 's/jars,test-jar/jars/' build.xml
> sudo ./build.sh -Ddist.dir=/opt/ant-1.9.x dist
> using ant-1.9.x to prevent overwriting the earlier version. Everything
> seems OK.
> If yours fails, I'd suspect a problem with java. I have:
> $ which javac
> Are you doing this on a virtual system?
> -- Bruce
Yes, running under vmplayer (VMware).
I really have no clue. All day until now with just this problem. I am
starting to think in giving up, at least for the moment, and try
building OJDK with the binary ant, just for the book. What do you think?
/opt is in the same partition as is root.
I am running everything as root.
For my binaries:
# which javac
# which javac
Attached log with both.
# ls -ld /opt/*
lrwxrwxrwx 1 root root 20 Ago 25 12:35 /opt/ant -> apache-ant-1.9.2-bin
drwxr-xr-x 6 root root 4096 Jul 8 15:19 /opt/apache-ant-1.9.2-bin
drwxr-xr-x 8 10 143 4096 Jun 6 01:23 /opt/jdk1.7.0_25
lrwxrwxrwx 1 root root 11 Ago 25 13:05 /opt/jdk1.7.0_25-bin ->
drwxr-xr-x 9 root root 4096 Ago 25 11:38
lrwxrwxrwx 1 root root 36 Ago 25 13:08 /opt/openjdk-bin ->
lrwxrwxrwx 1 root root 8 Ago 24 02:06 /opt/qt -> qt-4.8.5
drwxrwxr-x 14 root root 4096 Ago 24 00:59 /opt/qt-4.8.5
More information about the blfs-dev