make em step is failing
Closed this issue · 2 comments
huco95 commented
Hi,
I'm trying to do the build but I have the following error on the 'make em' step. I was not able to fix it, any ideas?
Error log:
-- Requiring C++11
-- Requiring C++11 - done
-- Requiring C99
-- Requiring C99 - done
-- Configuring PROJ:
-- PROJ_VERSION = 9.3.1
-- Looking for localeconv
-- Looking for localeconv - found
-- Looking for strerror
-- Looking for strerror - found
-- Looking for exp in m
-- Looking for exp in m - found
-- nlohmann/json: internal
CMake Error at CMakeLists.txt:176 (message):
sqlite3 binary not found!
-- Found Sqlite3: /home/felix/spl.js/src/build/bc/lib/libsqlite3
-- Sqlite3 version: 3.44.2
CMake Warning at CMakeLists.txt:206 (message):
TIFF support is not enabled and will result in the inability to read some
grids
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Testing disabled
-- Configuring proj library:
-- ENABLE_IPO = OFF
-- PROJ_CORE_TARGET_OUTPUT_NAME = proj
-- BUILD_SHARED_LIBS = OFF
-- PROJ_LIBRARIES = proj
-- PROJ: Configured 'dist' target
-- Configuring incomplete, errors occurred!
See also "/home/felix/spl.js/src/build/proj-9.3.1/build/CMakeFiles/CMakeOutput.log".
emcmake: error: 'cmake "-DCMAKE_CXX_FLAGS=-s DISABLE_EXCEPTION_CATCHING=0 -Os -UHAVE_LIBDL" -DHAVE_LIBDL=OFF -DUSE_THREAD=OFF -DBUILD_CCT=OFF -DBUILD_PROJ=OFF -DBUILD_CS2CS=OFF -DBUILD_GEOD=OFF -DBUILD_GIE=OFF -DBUILD_PROJINFO=OFF -DBUILD_PROJSYNC=OFF -DBUILD_SHARED_LIBS=OFF -DBUILD_TESTING=OFF -DPROJ_NETWORK=OFF -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/home/felix/spl.js/src/build/bc -DENABLE_CURL=OFF -DENABLE_TIFF=OFF -DSQLITE3_LIBRARY=/home/felix/spl.js/src/build/bc/lib/libsqlite3 -DSQLITE3_INCLUDE_DIR=/home/felix/spl.js/src/build/bc/include -DPROJ_LIB=./proj .. -DCMAKE_TOOLCHAIN_FILE=/home/felix/emsdk/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake -DCMAKE_CROSSCOMPILING_EMULATOR=/home/felix/emsdk/node/16.20.0_64bit/bin/node' failed (returned 1)
make: make -j4
make[1]: Entering directory '/home/felix/spl.js/src/build/proj-9.3.1/build'
make[1]: *** No targets specified and no makefile found. Stop.
make[1]: Leaving directory '/home/felix/spl.js/src/build/proj-9.3.1/build'
emmake: error: 'make -j4' failed (returned 2)
make: make install
make[1]: Entering directory '/home/felix/spl.js/src/build/proj-9.3.1/build'
make[1]: *** No rule to make target 'install'. Stop.
make[1]: Leaving directory '/home/felix/spl.js/src/build/proj-9.3.1/build'
emmake: error: 'make install' failed (returned 2)
make: *** [Makefile:161: proj] Error 1
jvail commented
Hi, have you tried what the error sqlite3 binary not found!
suggests? To install the SQLite binary.
huco95 commented
I didn't see that 🤦♂️ Thanks!