lihancong / tonyenc

高性能、跨平台的 PHP7 代码加密扩展 (A high performance and cross-platform encrypt extension for PHP source code)
725 stars 202 forks source link

PHP 7.0.8下编译安装失败 #2

Closed zhangya4548 closed 7 years ago

zhangya4548 commented 7 years ago

Libraries have been installed in: /home/vagrant/tonyenc/modules

If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the '-LLIBDIR' flag during linking and do at least one of the following:

See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages.

Build complete. Don't forget to run 'make test'.

vagrant@homestead:~/tonyenc$ make install Installing shared extensions: /usr/lib/php/20151012/ cp: cannot create regular file '/usr/lib/php/20151012/#INST@3820#': Permission denied Makefile:87: recipe for target 'install-modules' failed make: *** [install-modules] Error 1

lihancong commented 7 years ago

make: *** [install-modules] Error 1

仅 make 就行,不用 make install