[ https://issues.apache.org/jira/browse/PROTON-405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13743839#comment-13743839 ]
Chuck Rolke commented on PROTON-405: ------------------------------------ Code that handles jave==present and bouncycastle==absent is the issue. A system that has no java at all [log1] works much better than one with java but no bouncycastle [log2]. [log1] This built a system that installs OK S:\Users\chug\svn\Proton\build>cmake -DCMAKE_INSTALL_PREFIX=S:/users/chug/svn/proton/install .. -- Building for: Visual Studio 10 -- Check for working C compiler using: Visual Studio 10 -- Check for working C compiler using: Visual Studio 10 -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler using: Visual Studio 10 -- Check for working CXX compiler using: Visual Studio 10 -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- PN_VERSION: 0.5 -- Could NOT find Java (missing: Java_JAR_EXECUTABLE Java_JAVAC_EXECUTABLE Java_JAVAH_EXECUTABLE Java_JAVADOC_EXECUTABLE) -- Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_LIBRARIES OPENSSL_INCLUDE_DIR) -- Looking for clock_gettime -- Looking for clock_gettime - not found. -- Looking for clock_gettime in rt -- Looking for clock_gettime in rt - not found -- Looking for GetSystemTimeAsFileTime -- Looking for GetSystemTimeAsFileTime - found -- Looking for uuid_generate -- Looking for uuid_generate - not found. -- Looking for uuid_generate in uuid -- Looking for uuid_generate in uuid - not found -- Looking for uuid_create -- Looking for uuid_create - not found. -- Looking for UuidToString -- Looking for UuidToString - found -- Looking for strerror_s -- Looking for strerror_s - found -- Looking for atoll -- Looking for atoll - not found. -- Looking for _atoi64 -- Looking for _atoi64 - found -- Could NOT find SWIG (missing: SWIG_EXECUTABLE SWIG_DIR) -- Found Doxygen: C:/Program Files (x86)/doxygen/bin/doxygen.exe -- Looking for include files INTTYPES_AVAILABLE -- Looking for include files INTTYPES_AVAILABLE - not found. -- Can't locate the valgrind command; no run-time error detection -- Cannot find rspec, skipping rspec tests -- Cannot find both Java and Maven: testing disabled for Proton-J and JNI Bindings -- Configuring done -- Generating done -- Build files have been written to: S:/Users/chug/svn/Proton/build [log2] This is the system that produces the original issue. D:\Users\crolke\svn\proton\build>cmake -DCMAKE_INSTALL_PREFIX=d:/users/crolke/svn/proton/install .. -- Building for: Visual Studio 10 -- Check for working C compiler using: Visual Studio 10 -- Check for working C compiler using: Visual Studio 10 -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler using: Visual Studio 10 -- Check for working CXX compiler using: Visual Studio 10 -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- PN_VERSION: 0.5 -- Found Java: C:/Program Files/Java/jdk1.6.0_21/bin/java.exe -- Java version: 1.6.0.21. javac is at: C:/Program Files/Java/jdk1.6.0_21/bin/javac.exe Loading Proton's UseJava module -- Locations of Bouncycastle 1.47 jars: BOUNCYCASTLE_BCPROV_JAR-NOTFOUND BOUNCYCASTLE_BCPKIX_JAR-NOTFOUND -- Won't build proton-j-impl because one or more Bouncycastle jars were not found. PROTON_JAR_DEPEND_DIR was: /usr/share/java -- Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_LIBRARIES OPENSSL_INCLUDE_DIR) -- Looking for clock_gettime -- Looking for clock_gettime - not found. -- Looking for clock_gettime in rt -- Looking for clock_gettime in rt - not found -- Looking for GetSystemTimeAsFileTime -- Looking for GetSystemTimeAsFileTime - found -- Looking for uuid_generate -- Looking for uuid_generate - not found. -- Looking for uuid_generate in uuid -- Looking for uuid_generate in uuid - not found -- Looking for uuid_create -- Looking for uuid_create - not found. -- Looking for UuidToString -- Looking for UuidToString - found -- Looking for strerror_s -- Looking for strerror_s - found -- Looking for atoll -- Looking for atoll - not found. -- Looking for _atoi64 -- Looking for _atoi64 - found -- Could NOT find SWIG (missing: SWIG_EXECUTABLE SWIG_DIR) -- Found Doxygen: C:/Program Files (x86)/doxygen/bin/doxygen.exe -- Looking for include files INTTYPES_AVAILABLE -- Looking for include files INTTYPES_AVAILABLE - not found. -- Can't locate the valgrind command; no run-time error detection -- Cannot find rspec, skipping rspec tests -- Cannot find both Java and Maven: testing disabled for Proton-J and JNI Bindings -- Configuring done -- Generating done -- Build files have been written to: D:/Users/crolke/svn/proton/build > [proton-c] Windows install fails to find proton-api.jar file > ------------------------------------------------------------ > > Key: PROTON-405 > URL: https://issues.apache.org/jira/browse/PROTON-405 > Project: Qpid Proton > Issue Type: Bug > Components: proton-c > Affects Versions: 0.4 > Environment: Windows install > Reporter: Chuck Rolke > > The install script is looking for file > 4> CMake Error at proton-j/proton-api/cmake_install.cmake:31 (FILE): > 4> file INSTALL cannot find > 4> "D:/Users/crolke/svn/proton/build/proton-j/proton-api/proton-api.jar". > but the actual file is versioned > Directory of D:\Users\chug\svn\proton\build\proton-j\proton-api > 08/17/2013 10:04 AM 120,690 proton-api-0.5.jar -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira