Em 10-05-2014 10:50, Fernando de Oliveira escreveu: > Em 05-05-2014 21:56, Marcos Pansani escreveu: >> I'm having problems compiling apache-ant 1.9.3. >> >> Esta dando o seguinte error: >> >> ./build.sh -Ddist.dir=/opt/ant-1.9.3 dist
>> Any solution? > Did you follow the recommendation at the end of > > http://www.linuxfromscratch.org/blfs/view/svn/general/java.html#java-bin > > about setting CLASSPATH, JAVA_HOME, PATH and setting again, after > reboot? remembre that those must be modified to be in accordance to the > place and name of the directory where you installed the binary java. > > There is a big Note at the end of ant's page that JAVA_HOME is needed > also for root. Just to be safe, I would also set CLASSPATH and PATH as > above for root. > > Boa sorte! > Just to report that I have received a post from Marcos telling me that it was a problem with wrong value of one of the above env variables, and problem is now solved. -- []s, Fernando -- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
