On 16.8.2013 16:31, lux-integ wrote:
> Greetings
>
> I am attempting to build ant-1.9.2 on a machine with an amd64 cpu.
>
> I am using the recipe given here:-
>
>
> http://www.linuxfromscratch.org/blfs/view/svn/general/apache-ant.html
>
> ( I do not hae junit4.11 and I decided to break the junit:ant circular
> dependency by installing ant frst .I  edited  builsxml as per the sed in the
> blfs link namely:-
> sed -i 's/jars,test-jar/jars/' build.xml
>
> On my first go I had jdk1.7.0 (downloaded fro the sun/oracle) installed   and
> I got this when I run
>
> ./build.sh -Ddist.dir=/opt/ant-1.9.2 dist
>
>
> #-------------------------------------------------
> ..Bootstrapping Ant Distribution
> ../bootstrap.sh:  line 128:  /opt/jdk1.7/bin/javac no such file ro directory
> --failed compiling of ant classes !
> Bootstrap failed
>
> #-------------------------------------------------
>
>
> I checked and the /opt/jdk1.7/bin/javac does exist.
>
> I then tried annther java 'distribution:
> OpenJDK-1.7.0.40-x86_64-bin.tar.xz
> ( http://www.linuxfromscratch.org/blfs/view/svn/general/java.html#java-bin )
> and obtained the same result
>
> advice would be appreciated
>
> sincerely
> luxInteg
>

Is /lib64 symlink to /lib and did you 100% download 64bit OpenJDK binary?

Such error when file is present can only mean one of the two mentioned.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to