fletch
fletch copied to clipboard
Not able to build libkml
I have encounter below error while building libkml. Dependecy is install at: ls /lib/x86_64-linux-gnu/expat /lib/x86_64-linux-gnu/libexpat.so.1 /lib/x86_64-linux-gnu/libexpat.so.1.6.0 echo $LD_LIBRARY_PATH /lib/x86_64-linux-gnu
Scanning dependencies of target libkml
[ 42%] Creating directories for 'libkml'
[ 44%] Performing download step (download, verify and extract) for 'libkml'
-- downloading...
src='https://github.com/kitware/libkml/archive/79b3eb066eacd8fb117b10dc990b53b4cd11f33d.zip'
dst='??/??/??/??/??/fletch/src/Downloads/79b3eb066eacd8fb117b10dc990b53b4cd11f33d.zip'
timeout='none'
-- downloading... done
-- verifying file...
file='??/??/??/??/??/fletch/src/Downloads/79b3eb066eacd8fb117b10dc990b53b4cd11f33d.zip'
-- verifying file... done
-- extracting...
src='??/??/??/??/??/fletch/src/Downloads/79b3eb066eacd8fb117b10dc990b53b4cd11f33d.zip'
dst='??/??/??/??/??/fletch/build/src/libkml'
-- extracting... [tar xfz]
-- extracting... [analysis]
-- extracting... [rename]
-- extracting... [clean up]
-- extracting... done
[ 44%] Performing patch step for 'libkml'
Patching libkml in ??/??/??/??/??/fletch/build/src/libkml
[ 44%] No update step for 'libkml'
[ 44%] Performing configure step for 'libkml'
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Boost version: 1.55.0
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Boost version: 1.55.0
-- Could NOT find EXPAT (missing: EXPAT_LIBRARY EXPAT_INCLUDE_DIR)
CMake Warning (dev) at CMakeLists.txt:389 (INSTALL):
Policy CMP0062 is not set: Disallow install() of export() result. Run
"cmake --help-policy CMP0062" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.
The file
??/??/??/??/??/fletch/build/src/libkml-build/KMLTargets.cmake
was generated by the export() command. It should not be installed with the install() command. Use the install(EXPORT) mechanism instead. See the cmake-packages(7) manual for more.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project:
CMAKE_CONFIGURATION_TYPES
CMAKE_INSTALL_LIBDIR
-- Build files have been written to: ??/??/??/??/??/fletch/build/src/libkml-build [ 44%] Performing build step for 'libkml' Scanning dependencies of target kml [ 0%] Building CXX object CMakeFiles/kml.dir/src/kml/base/attributes.cc.o [ 1%] Building CXX object CMakeFiles/kml.dir/src/kml/base/csv_splitter.cc.o [ 2%] Building CXX object CMakeFiles/kml.dir/src/kml/base/date_time.cc.o [ 3%] Building CXX object CMakeFiles/kml.dir/src/kml/base/expat_parser.cc.o In file included from ??/??/??/??/??/fletch/build/src/libkml/src/kml/base/expat_parser.cc:28:0: ??/??/??/??/??/fletch/build/src/libkml/src/kml/base/expat_parser.h:37:19: fatal error: expat.h: No such file or directory compilation terminated. CMakeFiles/kml.dir/build.make:134: recipe for target 'CMakeFiles/kml.dir/src/kml/base/expat_parser.cc.o' failed make[5]: *** [CMakeFiles/kml.dir/src/kml/base/expat_parser.cc.o] Error 1 CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/kml.dir/all' failed make[4]: *** [CMakeFiles/kml.dir/all] Error 2 Makefile:127: recipe for target 'all' failed make[3]: *** [all] Error 2 CMakeFiles/libkml.dir/build.make:114: recipe for target 'build/src/libkml-stamp/libkml-build' failed make[2]: *** [build/src/libkml-stamp/libkml-build] Error 2 CMakeFiles/Makefile2:987: recipe for target 'CMakeFiles/libkml.dir/all' failed make[1]: *** [CMakeFiles/libkml.dir/all] Error 2 Makefile:127: recipe for target 'all' failed make: *** [all] Error 2
expact.h locations: .??/??/??/??/??/fletch/build/src/libkml/third_party/expat.src/lib/expat.h .??/??/??/??/??/fletch/build/src/libkml/third_party/expat.src/amiga/include/proto/expat.h .??/??/??/??/??/fletch/build/src/libkml/third_party/expat.src/amiga/include/interfaces/expat.h .??/??/??/??/??/fletch/build/src/libkml/third_party/expat.src/amiga/include/inline4/expat.h .??/??/??/??/??/fletch/build/src/libkml/third_party/expat.src/amiga/include/libraries/expat.h .??/??/??/??/??/fletch/build/src/libkml/third_party/expat.win32/expat.h
You need to install libexpat-dev, or similar package.
I have a branch which will alert the user if that package isn't found. I will refresh it and push it for review.
On Tue, Sep 12, 2017 at 3:30 PM, deepak sharma [email protected] wrote:
I have encounter below error while building libkml. Dependecy is install at: ls /lib/x86_64-linux-gnu/expat /lib/x86_64-linux-gnu/libexpat.so.1 /lib/x86_64-linux-gnu/ libexpat.so.1.6.0 echo $LD_LIBRARY_PATH /lib/x86_64-linux-gnu
Scanning dependencies of target libkml [ 42%] Creating directories for 'libkml' [ 44%] Performing download step (download, verify and extract) for 'libkml' -- downloading... src='https://github.com/kitware/libkml/archive/ 79b3eb066eacd8fb117b10dc990b53b4cd11f33d.zip' dst='??/??/??/??/??/fletch/src/Downloads/79b3eb066eacd8fb117b10dc990b53 b4cd11f33d.zip' timeout='none' -- downloading... done -- verifying file... file='??/??/??/??/??/fletch/src/Downloads/79b3eb066eacd8fb117b10dc990b53 b4cd11f33d.zip' -- verifying file... done -- extracting... src='??/??/??/??/??/fletch/src/Downloads/79b3eb066eacd8fb117b10dc990b53 b4cd11f33d.zip' dst='??/??/??/??/??/fletch/build/src/libkml' -- extracting... [tar xfz] -- extracting... [analysis] -- extracting... [rename] -- extracting... [clean up] -- extracting... done [ 44%] Performing patch step for 'libkml' Patching libkml in ??/??/??/??/??/fletch/build/src/libkml [ 44%] No update step for 'libkml' [ 44%] Performing configure step for 'libkml' -- The C compiler identification is GNU 5.4.0 -- The CXX compiler identification is GNU 5.4.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Boost version: 1.55.0 -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Boost version: 1.55.0 -- Could NOT find EXPAT (missing: EXPAT_LIBRARY EXPAT_INCLUDE_DIR) CMake Warning (dev) at CMakeLists.txt:389 (INSTALL): Policy CMP0062 is not set: Disallow install() of export() result. Run "cmake --help-policy CMP0062" for policy details. Use the cmake_policy command to set the policy and suppress this warning.
The file
??/??/??/??/??/fletch/build/src/libkml-build/KMLTargets.cmake
was generated by the export() command. It should not be installed with the install() command. Use the install(EXPORT) mechanism instead. See the cmake-packages(7) manual for more.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project:
CMAKE_CONFIGURATION_TYPES CMAKE_INSTALL_LIBDIR
-- Build files have been written to: ??/??/??/??/??/fletch/build/ src/libkml-build [ 44%] Performing build step for 'libkml' Scanning dependencies of target kml [ 0%] Building CXX object CMakeFiles/kml.dir/src/kml/base/attributes.cc.o [ 1%] Building CXX object CMakeFiles/kml.dir/src/kml/ base/csv_splitter.cc.o [ 2%] Building CXX object CMakeFiles/kml.dir/src/kml/base/date_time.cc.o [ 3%] Building CXX object CMakeFiles/kml.dir/src/kml/ base/expat_parser.cc.o In file included from ??/??/??/??/??/fletch/build/ src/libkml/src/kml/base/expat_parser.cc:28:0: ??/??/??/??/??/fletch/build/src/libkml/src/kml/base/expat_parser.h:37:19: fatal error: expat.h: No such file or directory compilation terminated. CMakeFiles/kml.dir/build.make:134: recipe for target 'CMakeFiles/kml.dir/src/kml/base/expat_parser.cc.o' failed make[5]: *** [CMakeFiles/kml.dir/src/kml/base/expat_parser.cc.o] Error 1 CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/kml.dir/all' failed make[4]: *** [CMakeFiles/kml.dir/all] Error 2 Makefile:127: recipe for target 'all' failed make[3]: *** [all] Error 2 CMakeFiles/libkml.dir/build.make:114: recipe for target 'build/src/libkml-stamp/libkml-build' failed make[2]: *** [build/src/libkml-stamp/libkml-build] Error 2 CMakeFiles/Makefile2:987: recipe for target 'CMakeFiles/libkml.dir/all' failed make[1]: *** [CMakeFiles/libkml.dir/all] Error 2 Makefile:127: recipe for target 'all' failed make: *** [all] Error 2
expact.h locations: .??/??/??/??/??/fletch/build/src/libkml/third_party/expat.src/lib/expat.h .??/??/??/??/??/fletch/build/src/libkml/third_party/expat. src/amiga/include/proto/expat.h .??/??/??/??/??/fletch/build/src/libkml/third_party/expat. src/amiga/include/interfaces/expat.h .??/??/??/??/??/fletch/build/src/libkml/third_party/expat. src/amiga/include/inline4/expat.h .??/??/??/??/??/fletch/build/src/libkml/third_party/expat. src/amiga/include/libraries/expat.h .??/??/??/??/??/fletch/build/src/libkml/third_party/expat.win32/expat.h
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Kitware/fletch/issues/214, or mute the thread https://github.com/notifications/unsubscribe-auth/AFRAWh-QZmgFte216usv3owaVLV_8YtEks5shtvxgaJpZM4PVIpj .
-- David Stoup Staff R&D Engineer
Kitware, Inc. 28 Corporate Drive Clifton Park, NY. 12065 518-881-4949 (W) 518-312-3946 (M) 518-371-4573 (F)
Sorry, I see that you did, small print on the log, didn't notice. Standby...
On Tue, Sep 12, 2017 at 4:21 PM, David Stoup [email protected] wrote:
You need to install libexpat-dev, or similar package.
I have a branch which will alert the user if that package isn't found. I will refresh it and push it for review.
On Tue, Sep 12, 2017 at 3:30 PM, deepak sharma [email protected] wrote:
I have encounter below error while building libkml. Dependecy is install at: ls /lib/x86_64-linux-gnu/expat /lib/x86_64-linux-gnu/libexpat.so.1 /lib/x86_64-linux-gnu/libexpat .so.1.6.0 echo $LD_LIBRARY_PATH /lib/x86_64-linux-gnu
Scanning dependencies of target libkml [ 42%] Creating directories for 'libkml' [ 44%] Performing download step (download, verify and extract) for 'libkml' -- downloading... src='https://github.com/kitware/libkml/archive/79b3eb066eacd 8fb117b10dc990b53b4cd11f33d.zip' dst='??/??/??/??/??/fletch/src/Downloads/79b3eb066eacd8fb117 b10dc990b53b4cd11f33d.zip' timeout='none' -- downloading... done -- verifying file... file='??/??/??/??/??/fletch/src/Downloads/79b3eb066eacd8fb11 7b10dc990b53b4cd11f33d.zip' -- verifying file... done -- extracting... src='??/??/??/??/??/fletch/src/Downloads/79b3eb066eacd8fb117 b10dc990b53b4cd11f33d.zip' dst='??/??/??/??/??/fletch/build/src/libkml' -- extracting... [tar xfz] -- extracting... [analysis] -- extracting... [rename] -- extracting... [clean up] -- extracting... done [ 44%] Performing patch step for 'libkml' Patching libkml in ??/??/??/??/??/fletch/build/src/libkml [ 44%] No update step for 'libkml' [ 44%] Performing configure step for 'libkml' -- The C compiler identification is GNU 5.4.0 -- The CXX compiler identification is GNU 5.4.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Boost version: 1.55.0 -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Boost version: 1.55.0 -- Could NOT find EXPAT (missing: EXPAT_LIBRARY EXPAT_INCLUDE_DIR) CMake Warning (dev) at CMakeLists.txt:389 (INSTALL): Policy CMP0062 is not set: Disallow install() of export() result. Run "cmake --help-policy CMP0062" for policy details. Use the cmake_policy command to set the policy and suppress this warning.
The file
??/??/??/??/??/fletch/build/src/libkml-build/KMLTargets.cmake
was generated by the export() command. It should not be installed with the install() command. Use the install(EXPORT) mechanism instead. See the cmake-packages(7) manual for more.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project:
CMAKE_CONFIGURATION_TYPES CMAKE_INSTALL_LIBDIR
-- Build files have been written to: ??/??/??/??/??/fletch/build/sr c/libkml-build [ 44%] Performing build step for 'libkml' Scanning dependencies of target kml [ 0%] Building CXX object CMakeFiles/kml.dir/src/kml/base/attributes.cc.o [ 1%] Building CXX object CMakeFiles/kml.dir/src/kml/bas e/csv_splitter.cc.o [ 2%] Building CXX object CMakeFiles/kml.dir/src/kml/base/date_time.cc.o [ 3%] Building CXX object CMakeFiles/kml.dir/src/kml/bas e/expat_parser.cc.o In file included from ??/??/??/??/??/fletch/build/sr c/libkml/src/kml/base/expat_parser.cc:28:0: ??/??/??/??/??/fletch/build/src/libkml/src/kml/base/expat_parser.h:37:19: fatal error: expat.h: No such file or directory compilation terminated. CMakeFiles/kml.dir/build.make:134: recipe for target 'CMakeFiles/kml.dir/src/kml/base/expat_parser.cc.o' failed make[5]: *** [CMakeFiles/kml.dir/src/kml/base/expat_parser.cc.o] Error 1 CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/kml.dir/all' failed make[4]: *** [CMakeFiles/kml.dir/all] Error 2 Makefile:127: recipe for target 'all' failed make[3]: *** [all] Error 2 CMakeFiles/libkml.dir/build.make:114: recipe for target 'build/src/libkml-stamp/libkml-build' failed make[2]: *** [build/src/libkml-stamp/libkml-build] Error 2 CMakeFiles/Makefile2:987: recipe for target 'CMakeFiles/libkml.dir/all' failed make[1]: *** [CMakeFiles/libkml.dir/all] Error 2 Makefile:127: recipe for target 'all' failed make: *** [all] Error 2
expact.h locations: .??/??/??/??/??/fletch/build/src/libkml/third_party/expat.src/lib/expat.h .??/??/??/??/??/fletch/build/src/libkml/third_party/expat.sr c/amiga/include/proto/expat.h .??/??/??/??/??/fletch/build/src/libkml/third_party/expat.sr c/amiga/include/interfaces/expat.h .??/??/??/??/??/fletch/build/src/libkml/third_party/expat.sr c/amiga/include/inline4/expat.h .??/??/??/??/??/fletch/build/src/libkml/third_party/expat.sr c/amiga/include/libraries/expat.h .??/??/??/??/??/fletch/build/src/libkml/third_party/expat.win32/expat.h
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Kitware/fletch/issues/214, or mute the thread https://github.com/notifications/unsubscribe-auth/AFRAWh-QZmgFte216usv3owaVLV_8YtEks5shtvxgaJpZM4PVIpj .
-- David Stoup Staff R&D Engineer
Kitware, Inc. 28 Corporate Drive Clifton Park, NY. 12065 518-881-4949 (W) 518-312-3946 <(518)%20312-3946> (M) 518-371-4573 <(518)%20371-4573> (F)
-- David Stoup Staff R&D Engineer
Kitware, Inc. 28 Corporate Drive Clifton Park, NY. 12065 518-881-4949 (W) 518-312-3946 (M) 518-371-4573 (F)