<p>I got the same thing on an AWS EC2 Instance:</p>
<pre><code>[ec2-user@ip-xxx-xxx-xxx-xxx osm2pgsql]$ mkdir build && cd build
[ec2-user@ip-xxx-xxx-xxx-xxx build]$ cmake ..
-- The C compiler identification is GNU 4.8.5
-- The CXX compiler identification is GNU 4.8.5
-- 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
-- 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
-- Building osm2pgsql 0.96.0
-- Looking for include file termios.h
-- Looking for include file termios.h - found
-- Looking for include file libgen.h
-- Looking for include file libgen.h - found
-- Looking for include file unistd.h
-- Looking for include file unistd.h - found
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.8")
-- Looking for include file pthread.h
-- Looking for include file 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
-- Found Protozero: /osm2postgis_cache/osm2pgsql/contrib/protozero/include (found suitable version "1.6.3", minimum required is "1.5.1")
-- Found EXPAT: /usr/lib64/libexpat.so (found version "2.1.0")
-- Found BZip2: /usr/lib64/libbz2.so (found version "1.0.6")
-- Looking for BZ2_bzCompressInit in /usr/lib64/libbz2.so
-- Looking for BZ2_bzCompressInit in /usr/lib64/libbz2.so - found
CMake Warning at cmake/FindOsmium.cmake:209 (message):
Osmium: PROJ.4 library is required but not found, please install it or
configure the paths.
Call Stack (most recent call first):
CMakeLists.txt:94 (find_package)
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
Could NOT find Osmium (missing: PROJ_INCLUDE_DIR PROJ_LIBRARY) (found
suitable version "2.14.2", minimum required is "2.14")
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE)
cmake/FindOsmium.cmake:278 (find_package_handle_standard_args)
CMakeLists.txt:94 (find_package)
-- Configuring incomplete, errors occurred!
See also "/osm2postgis_cache/osm2pgsql/build/CMakeFiles/CMakeOutput.log".
See also "/osm2postgis_cache/osm2pgsql/build/CMakeFiles/CMakeError.log".
</code></pre>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/osm2pgsql/issues/864#issuecomment-419105851">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AD2-7gAbAkK_8FnyCtZRLyPvNXKP_mE8ks5uYSvWgaJpZM4WPGRA">mute the thread</a>.<img src="https://github.com/notifications/beacon/AD2-7jy_9Vt-qlpiv0C1zHEVN1BCx1dqks5uYSvWgaJpZM4WPGRA.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/openstreetmap/osm2pgsql","title":"openstreetmap/osm2pgsql","subtitle":"GitHub repository","main_image_url":"https://assets-cdn.github.com/images/email/message_cards/header.png","avatar_image_url":"https://assets-cdn.github.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/openstreetmap/osm2pgsql"}},"updates":{"snippets":[{"icon":"PERSON","message":"@bjacog in #864: I got the same thing on an AWS EC2 Instance:\r\n\r\n```\r\n[ec2-user@ip-xxx-xxx-xxx-xxx osm2pgsql]$ mkdir build \u0026\u0026 cd build\r\n[ec2-user@ip-xxx-xxx-xxx-xxx build]$ cmake ..\r\n-- The C compiler identification is GNU 4.8.5\r\n-- The CXX compiler identification is GNU 4.8.5\r\n-- Check for working C compiler: /usr/bin/cc\r\n-- Check for working C compiler: /usr/bin/cc -- works\r\n-- Detecting C compiler ABI info\r\n-- Detecting C compiler ABI info - done\r\n-- Check for working CXX compiler: /usr/bin/c++\r\n-- Check for working CXX compiler: /usr/bin/c++ -- works\r\n-- Detecting CXX compiler ABI info\r\n-- Detecting CXX compiler ABI info - done\r\n-- Building osm2pgsql 0.96.0\r\n-- Looking for include file termios.h\r\n-- Looking for include file termios.h - found\r\n-- Looking for include file libgen.h\r\n-- Looking for include file libgen.h - found\r\n-- Looking for include file unistd.h\r\n-- Looking for include file unistd.h - found\r\n-- Found ZLIB: /usr/lib64/libz.so (found version \"1.2.8\") \r\n-- Looking for include file pthread.h\r\n-- Looking for include file pthread.h - found\r\n-- Looking for pthread_create\r\n-- Looking for pthread_create - not found\r\n-- Looking for pthread_create in pthreads\r\n-- Looking for pthread_create in pthreads - not found\r\n-- Looking for pthread_create in pthread\r\n-- Looking for pthread_create in pthread - found\r\n-- Found Threads: TRUE \r\n-- Found Protozero: /osm2postgis_cache/osm2pgsql/contrib/protozero/include (found suitable version \"1.6.3\", minimum required is \"1.5.1\") \r\n-- Found EXPAT: /usr/lib64/libexpat.so (found version \"2.1.0\") \r\n-- Found BZip2: /usr/lib64/libbz2.so (found version \"1.0.6\") \r\n-- Looking for BZ2_bzCompressInit in /usr/lib64/libbz2.so\r\n-- Looking for BZ2_bzCompressInit in /usr/lib64/libbz2.so - found\r\nCMake Warning at cmake/FindOsmium.cmake:209 (message):\r\n Osmium: PROJ.4 library is required but not found, please install it or\r\n configure the paths.\r\nCall Stack (most recent call first):\r\n CMakeLists.txt:94 (find_package)\r\n\r\n\r\nCMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:108 (message):\r\n Could NOT find Osmium (missing: PROJ_INCLUDE_DIR PROJ_LIBRARY) (found\r\n suitable version \"2.14.2\", minimum required is \"2.14\")\r\nCall Stack (most recent call first):\r\n /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE)\r\n cmake/FindOsmium.cmake:278 (find_package_handle_standard_args)\r\n CMakeLists.txt:94 (find_package)\r\n\r\n\r\n-- Configuring incomplete, errors occurred!\r\nSee also \"/osm2postgis_cache/osm2pgsql/build/CMakeFiles/CMakeOutput.log\".\r\nSee also \"/osm2postgis_cache/osm2pgsql/build/CMakeFiles/CMakeError.log\".\r\n```"}],"action":{"name":"View Issue","url":"https://github.com/openstreetmap/osm2pgsql/issues/864#issuecomment-419105851"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/osm2pgsql/issues/864#issuecomment-419105851",
"url": "https://github.com/openstreetmap/osm2pgsql/issues/864#issuecomment-419105851",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
},
{
"@type": "MessageCard",
"@context": "http://schema.org/extensions",
"hideOriginalBody": "false",
"originator": "AF6C5A86-E920-430C-9C59-A73278B5EFEB",
"title": "Re: [openstreetmap/osm2pgsql] New dependency on osmium (#864)",
"sections": [
{
"text": "",
"activityTitle": "**Jaco Groenewald**",
"activityImage": "https://assets-cdn.github.com/images/email/message_cards/avatar.png",
"activitySubtitle": "@bjacog",
"facts": [
]
}
],
"potentialAction": [
{
"name": "Add a comment",
"@type": "ActionCard",
"inputs": [
{
"isMultiLine": true,
"@type": "TextInput",
"id": "IssueComment",
"isRequired": false
}
],
"actions": [
{
"name": "Comment",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"IssueComment\",\n\"repositoryFullName\": \"openstreetmap/osm2pgsql\",\n\"issueId\": 864,\n\"IssueComment\": \"{{IssueComment.value}}\"\n}"
}
]
},
{
"name": "Close issue",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"IssueClose\",\n\"repositoryFullName\": \"openstreetmap/osm2pgsql\",\n\"issueId\": 864\n}"
},
{
"targets": [
{
"os": "default",
"uri": "https://github.com/openstreetmap/osm2pgsql/issues/864#issuecomment-419105851"
}
],
"@type": "OpenUri",
"name": "View on GitHub"
},
{
"name": "Unsubscribe",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"MuteNotification\",\n\"threadId\": 373056576\n}"
}
],
"themeColor": "26292E"
}
]</script>