You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note that MapServer 7.4.4 built successfully with the same PHP version (which used -D_GNU_SOURCE).
This looks suspicious:
+# Set C++ version
+# Make CMAKE_CXX_STANDARD available as cache option overridable by user
+set(CMAKE_CXX_STANDARD 11
+ CACHE STRING "C++ standard version to use (default is 11)")
+message(STATUS "Requiring C++${CMAKE_CXX_STANDARD}")
+set(CMAKE_CXX_STANDARD_REQUIRED ON)
+set(CMAKE_CXX_EXTENSIONS OFF)
+message(STATUS "Requiring C++${CMAKE_CXX_STANDARD} - done")
+
+# Set C99 version
+# Make CMAKE_C_STANDARD available as cache option overridable by user
+set(CMAKE_C_STANDARD 99
+ CACHE STRING "C standard version to use (default is 99)")
+message(STATUS "Requiring C${CMAKE_C_STANDARD}")
+set(CMAKE_C_STANDARD_REQUIRED ON)
+set(CMAKE_C_EXTENSIONS OFF)
+message(STATUS "Requiring C${CMAKE_C_STANDARD} - done")
-D_POSIX_C_SOURCE=199309L is required for siginfo_t, that's likely one of the disabled extensions.
Adding -D_GNU_SOURCE resolves the issue.
The text was updated successfully, but these errors were encountered:
The Debian package build for MapServer 7.6.0-beta1 fails to build due to an issue with PHP MapScript NG:
Full buildlog
Note that MapServer 7.4.4 built successfully with the same PHP version (which used
-D_GNU_SOURCE
).This looks suspicious:
-D_POSIX_C_SOURCE=199309L
is required forsiginfo_t
, that's likely one of the disabled extensions.Adding
-D_GNU_SOURCE
resolves the issue.The text was updated successfully, but these errors were encountered: