emerging postgresql with java enabled fails in ant check: checking whether ant /usr/bin/ant works ... no and compilation fails checked aganist postgresql-7.2.1 to 7.3.2 Reproducible: Always Steps to Reproduce: 1. export USE="java" 2. emerge postgresql 3. That's it Actual Results: emerge failed Expected Results: emerge comletes may be dependendat on java version used. I tried with blackdown 1.4.1.
The solution is to include /opt/blackdown-jdk-1.3.1/lib/tools.jar in CLASSPATH via /etc/profile.env
I succeeded to emerge postgresql(7.3.2) after I set USE='java'.... Please show me your error log.
I found problem in my setup. I tried to emerge postgres with USE="java" and I had java set to blackdown-jre-1.4.1. This setup lacks a java compiler and developer tools. After changing java-config to blackdown-jdk-1.4.1 problem was gone
I fixed. It'll display error message in this case.