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

Install Error #128

Closed
birdxiao opened this issue Oct 23, 2015 · 6 comments
Closed

Install Error #128

birdxiao opened this issue Oct 23, 2015 · 6 comments
Labels

Comments

@birdxiao
Copy link

安装环境:ubuntu 14.04 LTS
按文档要求安装并成功安装了以下依赖:openssl cmake libevent-dev libjpeg-dev libgif-dev libpng-dev libwebp-dev libmagickcore5 libmagickwand5 libmemcached-dev,版本要求也正确。

但还是报以下错误,多次尝试无果

来自:build/zimg/CMakeFiles/CMakeError.log

  1 Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
  2 Compiler: CMAKE_CXX_COMPILER-NOTFOUND
  3 Build flags:
  4 Id flags:
  5 
  6 The output was:
  7 No such file or directory
  8 
  9 
 10 Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
 11 Compiler: CMAKE_CXX_COMPILER-NOTFOUND
 12 Build flags:
 13 Id flags: -c
 14 
 15 The output was:
 16 No such file or directory
 17 
 18 
 19 Checking whether the CXX compiler is IAR using "" did not match "IAR .+ Compiler":

来之make 构建时

make[2]: Leaving directory `/home/xsmallbird/Sites/zimg/deps/LuaJIT-2.0.3/src'
==== Successfully built LuaJIT 2.0.3 ====
make[1]: Leaving directory `/home/xsmallbird/Sites/zimg/deps/LuaJIT-2.0.3'
mkdir -p build/zimg
cd build/zimg; cmake /home/xsmallbird/Sites/zimg/src; make; cp zimg /home/xsmallbird/Sites/zimg/bin
-- The C compiler identification is GNU 4.8.4
-- The CXX compiler identification is unknown
-- 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
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found.   Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
-- Found LibEvent: /usr/lib/x86_64-linux-gnu/libevent.so  
-- Found LibEventPthreads: /usr/lib/x86_64-linux-gnu/libevent_pthreads.so  
-- Found LibEventCore: /usr/lib/x86_64-linux-gnu/libevent_core.so  
-- Found LibEventExtra: /usr/lib/x86_64-linux-gnu/libevent_extra.so  
-- Found LibEventOpenssl: /usr/lib/x86_64-linux-gnu/libevent_openssl.so  
-- Found Libmemcached: /usr/lib/x86_64-linux-gnu/libmemcached.so  
CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
  Could NOT find ImageMagick (missing: ImageMagick_MagickCore_LIBRARY)
Call Stack (most recent call first):
  /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake-2.8/Modules/FindImageMagick.cmake:208 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:70 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/xsmallbird/Sites/zimg/build/zimg/CMakeFiles/CMakeOutput.log".
See also "/home/xsmallbird/Sites/zimg/build/zimg/CMakeFiles/CMakeError.log".
make[1]: Entering directory `/home/xsmallbird/Sites/zimg/build/zimg'
make[1]: *** No targets specified and no makefile found.  Stop.
make[1]: Leaving directory `/home/xsmallbird/Sites/zimg/build/zimg'
cp: cannot stat ‘zimg’: No such file or directory
make: *** [all] Error 1

实在找不出问题所在,故而求之help me。thx

@buaazp buaazp added the build label Oct 23, 2015
@buaazp
Copy link
Owner

buaazp commented Oct 23, 2015

系统apt里带的imagemagick套件改名了,文档还没来得及更新,你试试这个命令安装依赖:

sudo apt-get install -y build-essential openssl cmake libevent-dev libjpeg-dev libgif-dev libpng-dev libwebp-dev libmagickwand-dev libmemcached-dev libssl-dev

@birdxiao
Copy link
Author

恩恩,问题解决了!不知是否需要个界面,我可以做?

@buaazp
Copy link
Owner

buaazp commented Oct 26, 2015

什么界面?

@birdxiao
Copy link
Author

上传图片的界面啊

@buaazp
Copy link
Owner

buaazp commented Oct 27, 2015

这个可以有!

@birdxiao
Copy link
Author

好好好,那我搞一个!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants