Skip to content
This repository has been archived by the owner on Apr 24, 2020. It is now read-only.

Build issues #11

Open
yang opened this issue Feb 2, 2012 · 0 comments
Open

Build issues #11

yang opened this issue Feb 2, 2012 · 0 comments

Comments

@yang
Copy link

yang commented Feb 2, 2012

test doesn't build. This should fix it:

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -60,7 +60,7 @@ ELSE(APPLE)
    TARGET_LINK_LIBRARIES(pfpd pfp boost_filesystem boost_thread boost_regex boost_system icuio icuuc)
    TARGET_LINK_LIBRARIES(pfpc pfp boost_filesystem boost_thread boost_regex boost_system icuio icuuc)
    TARGET_LINK_LIBRARIES(pfpc_token pfp boost_filesystem boost_thread boost_regex boost_system icuio icuuc)
-   TARGET_LINK_LIBRARIES(test pfp boost_thread boost_unit_test_framework boost_regex icuio icuuc)
+   TARGET_LINK_LIBRARIES(test pfp boost_filesystem boost_thread boost_unit_test_framework boost_regex boost_system icuio icuuc)
 ENDIF(APPLE)

 INSTALL(TARGETS pfpd DESTINATION bin)

Also, I can't seem to install pfp to anywhere but /usr. When I set -DCMAKE_INSTALL_PREFIX, I get:

Install the project...
/usr/bin/cmake -P cmake_install.cmake
-- Install configuration: ""
-- Installing: /usr/bin/pfpd
CMake Error at cmake_install.cmake:42 (FILE):
  file INSTALL cannot copy file "/tmp/pfp2/pfpd" to "/usr/bin/pfpd".


make: *** [install] Error 1
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant