Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tried setup.py build but execute install #9

Closed
skyer9 opened this issue Aug 31, 2019 · 3 comments
Closed

tried setup.py build but execute install #9

skyer9 opened this issue Aug 31, 2019 · 3 comments

Comments

@skyer9
Copy link
Contributor

skyer9 commented Aug 31, 2019

i tried build source code but cmake attempt to install.

python3 setup.py build
......
[ 75%] Building CXX object CMakeFiles/cbuffalo.dir/lib/algo_impl/w2v/w2v.cc.o
[ 87%] Building CXX object CMakeFiles/cbuffalo.dir/lib/misc/log.cc.o
[100%] Linking CXX shared library ../lib.linux-x86_64-3.6/libcbuffalo.so
[100%] Built target cbuffalo
Install the project...
-- Install configuration: "Release"
-- Installing: /usr/local/lib/libcbuffalo.so.0.1.0
CMake Error at cmake_install.cmake:53 (file):
  file INSTALL cannot copy file
  "/home/skyer9/work/gitrepo/buffalo/build/lib.linux-x86_64-3.6/libcbuffalo.so.0.1.0"
  to "/usr/local/lib/libcbuffalo.so.0.1.0".


Makefile:117: recipe for target 'install' failed
make: *** [install] Error 1
error: command 'cmake' failed with exit status 2
@ita9naiwa
Copy link
Collaborator

It happend to me too. Copying .so file requires root permission.

@oakkim
Copy link

oakkim commented Sep 1, 2019

I've succeed after authorizing with 'sudo' but Is it the right solution to solve?
I don't know much so..

@ummae
Copy link
Contributor

ummae commented Sep 1, 2019

Yes. Writing on /usr/local/lib requires root permission.

@ummae ummae closed this as completed Sep 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants