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

make error #266

Open
sharpvik opened this issue Jul 18, 2021 · 2 comments
Open

make error #266

sharpvik opened this issue Jul 18, 2021 · 2 comments

Comments

@sharpvik
Copy link

My system:
OS: Manjaro Linux x86_64
Host: HP Spectre x360 Convertible 13-ac0XX
Kernel: 5.12.16-1-MANJARO
CPU: Intel i7-7500U (4) @ 3.500GHz
GPU: Intel HD Graphics 620

Error message after git clone; cd zimg; make:

In file included from /home/sharpvik/Dev/zimg/src/zcache.h:24,
                 from /home/sharpvik/Dev/zimg/src/zcache.c:21:
/home/sharpvik/Dev/zimg/src/zcommon.h:28:10: fatal error: libmemcached/memcached.h: No such file or directory
   28 | #include <libmemcached/memcached.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[3]: *** [CMakeFiles/zimg.dir/build.make:104: CMakeFiles/zimg.dir/zcache.c.o] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from /home/sharpvik/Dev/zimg/src/zlog.h:25,
                 from /home/sharpvik/Dev/zimg/src/zaccess.c:25:
/home/sharpvik/Dev/zimg/src/zcommon.h:28:10: fatal error: libmemcached/memcached.h: No such file or directory
   28 | #include <libmemcached/memcached.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[3]: *** [CMakeFiles/zimg.dir/build.make:90: CMakeFiles/zimg.dir/zaccess.c.o] Error 1
In file included from /home/sharpvik/Dev/zimg/src/main.c:39:
/home/sharpvik/Dev/zimg/src/zcommon.h:28:10: fatal error: libmemcached/memcached.h: No such file or directory
   28 | #include <libmemcached/memcached.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[3]: *** [CMakeFiles/zimg.dir/build.make:76: CMakeFiles/zimg.dir/main.c.o] Error 1
In file included from /home/sharpvik/Dev/zimg/src/zdb.h:24,
                 from /home/sharpvik/Dev/zimg/src/zdb.c:24:
/home/sharpvik/Dev/zimg/src/zcommon.h:28:10: fatal error: libmemcached/memcached.h: No such file or directory
   28 | #include <libmemcached/memcached.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[3]: *** [CMakeFiles/zimg.dir/build.make:118: CMakeFiles/zimg.dir/zdb.c.o] Error 1
make[3]: Leaving directory '/home/sharpvik/Dev/zimg/build/zimg'
make[2]: *** [CMakeFiles/Makefile2:83: CMakeFiles/zimg.dir/all] Error 2
make[2]: Leaving directory '/home/sharpvik/Dev/zimg/build/zimg'
make[1]: *** [Makefile:91: all] Error 2
make[1]: Leaving directory '/home/sharpvik/Dev/zimg/build/zimg'
cp: cannot stat 'zimg': No such file or directory
make: *** [Makefile:23: all] Error 1
@daidehu6831
Copy link

You may need to install these packages to build zimg

in CentOS you need install:

sudo yum install openssl-devel cmake libevent-devel libjpeg-devel giflib-devel libpng-devel libwebp-devel ImageMagick-devel libmemcached-devel

While in Ubuntu you need install these packages:

sudo apt-get install openssl cmake libevent-dev libjpeg-dev libgif-dev libpng-dev libwebp-dev libmagickcore5 libmagickwand5 libmemcached-dev

more information:
https://zimg.buaa.us/documents/install/

@ZhangPengchao
Copy link

ZhangPengchao commented Oct 11, 2022 via email

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

3 participants