CMake Warning at CMakeLists.txt:60 (message):
Avoid building inside the source tree!
CMake Warning at CMakeLists.txt:61 (message):
Create a separate build directory instead (i.e. 'sgbuild') and call CMake
from there:
CMake Warning at CMakeLists.txt:62 (message):
mkdir ../sgbuild && cd ../sgbuild && cmake /var/pisi/simgear-2024.1.2-4/work/simgear-2024.1.2
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:227 (message):
Could NOT find CURL (missing: CURL_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:591 (_FPHSA_FAILURE_MESSAGE)
CMakeModules/FindCURL.cmake:169 (find_package_handle_standard_args)
CMakeLists.txt:197 (find_package)
Traceback (most recent call last):
File "/var/pisi/simgear/actions.py", line 14, in setup
-DSIMGEAR_SHARED=ONN")
File "/usr/lib/pisilinux/pisi/actionsapi/cmaketools.py", line 65, in configure
if system(args):
File "/usr/lib/pisilinux/pisi/actionsapi/shelltools.py", line 255, in system
error(_("Command \"%s\" failed, return value was %d.") % (command, retValue))
File "/usr/lib/pisilinux/pisi/actionsapi/__init__.py", line 27, in error
raise Error(msg)
pisi.actionsapi.Error: Command "cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_C_FLAGS="-mtune=generic -march=x86-64 -O2 -pipe -fstack-protector -D_FORTIFY_SOURCE=2 -g -fPIC" -DCMAKE_CXX_FLAGS="-mtune=generic -march=x86-64 -O2 -pipe -fstack-protector -D_FORTIFY_SOURCE=2 -g -fPIC" -DCMAKE_LD_FLAGS="-Wl,-O1 -Wl,-z,relro -Wl,--hash-style=gnu -Wl,--as-needed -Wl,--sort-common" -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DSIMGEAR_SHARED=ONN ." failed, return value was 1.
[01;31mAction script error caught.
[0m[01;33m*** 1 error(s), 0 warning(s)
[0m[01;31mProgram terminated.
[0m