Re: [blfs-support] portmidi on blfs javac problem
On Friday 25 April 2014 00:43:27 Bruce Dubbs wrote: 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 I did (but forgot to mention ) I did this export CLASSPATH=/opt/jdk/bin:$CLASSPATH but the problem persisted I wondered if this line javac : file not found pmdefaults/PmDefaults.java was telling us something. as pmdefaults is a subdirectory of pm_java in the source tree and the top CMakeLists.txt has this line include_directories(pm_common porttime ) I.E. no pm_java. I thought eureka so I amended this line to read include_directories(pm_common porttime pm_java ) ( the build still failed at 93% with the same error I thought I am using out-of-source-tree-build so I will set full path so the line becomes include_directories(${CMAKE_SOURCE_DIR}/{pm_common,porttime,pm_java} ) -same outcome I m stumped -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-support] portmidi on blfs javac problem
On Friday 25 April 2014 13:05:59 lux-integ wrote: I thought I am using out-of-source-tree-build so I will set full path so the line becomes include_directories(${CMAKE_SOURCE_DIR}/{pm_common,porttime,pm_java} ) -same outcome I m stumped UPDATE If one edits pm_java/CMakeLists.txt change pmdefaults/PmDefaults.java to ${CMAKE_SOURCE_DIR}/pm_java/pmdefaults/PmDefaults.java the build now reports [ 93%] Generating pmdefaults/PmDefaults.class cd /home/linteg/build-portmidiSVN080114_rv228/pm_java javac -classpath . /home/linteg/portmidiSVN080114_rv228/pm_java/pmdefaults/PmDefaults.java /home/linteg/portmidiSVN080114_rv228/pm_java/pmdefaults/PmDefaults.java:8: error: cannot find symbol new PmDefaultsFrame(PortMIDI Setup); ^ symbol: class PmDefaultsFrame location: class PmDefaults 1 error make[2]: *** [pm_java/pmdefaults/PmDefaults.class] Error 1 ( it gives the same error with suns jdk as well as openjdk ) ( which I interpret as progress ) However to make progress advice will be appreciated -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page