lux-integ wrote: > Greetings, > > I am trying to build portmidi > ( http://portmedia.sourceforge.net/portmidi/ ) > on a machine with these:- > --os BLFS linux-3.10.37, openjdk-1.7 > --cpu amd64 gcc-4.8.1
linux-3.10.37? Typo? 3.10.7? > It uses cmake and reaches 93 percent and ends with this > #----------- > javac : file not found pmdefaults/PmDefaults.java > #----------- I think you need to set CLASSPATH > It is not a PATH issue the problem persists if I do > export PATH=$JAVA_HOME/bin:$PATH > > And if I test with 'bash javac' and 'which javac' this results:- > > linteg [ ~ ]# bash javac > /opt/jdk/bin/javac: /opt/jdk/bin/javac: cannot execute binary file Just call javac. Or bash -c javac > linteg [ ~ ]# which javac > /opt/jdk/bin/javac > linteg [ ~ ]# > > > I am unsure if /opt/jdk/bin/javac: cannot execute binary file > means there is a file permissions problem. No, it's not a script. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page