Ask Your Question

How to install maim on fedora?

asked 2016-03-17 22:08:29 -0500

murpholinox peligro gravatar image

Hi. Somebody knows how to install maim ( on fedora 23?

Instructions say:

Install using CMake (Requires CMake)

Note: Dependencies should be installed first: imlib2, libXrandr, and libXfixes.

git clone
cd maim 
cmake ./ 
make && sudo make install

I got the following error

[root@eva02 ~]# git clone
Cloning into 'maim'...
remote: Counting objects: 646, done.
remote: Total 646 (delta 0), reused 0 (delta 0), pack-reused 646
Receiving objects: 100% (646/646), 324.58 KiB | 349.00 KiB/s, done.
Resolving deltas: 100% (412/412), done.
Checking connectivity... done.
[root@eva02 ~]# cd maim/
[root@eva02 maim]# cmake ./
-- The C compiler identification is GNU 5.3.1
-- The CXX compiler identification is GNU 5.3.1
-- 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
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Regenerating
FindIMLIB2.cmake: imlib2-config not found. Please set it manually. IMLIB2_CONFIG=IMLIB2_CONFIG-NOTFOUND
-- Looking for XOpenDisplay in /usr/lib64/;/usr/lib64/
-- Looking for XOpenDisplay in /usr/lib64/;/usr/lib64/ - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Found X11: /usr/lib64/
CMake Error at CMakeLists.txt:110 (include_directories):
  include_directories given empty-string as include directory.

-- Configuring incomplete, errors occurred!
See also "/root/maim/CMakeFiles/CMakeOutput.log".

Here ( is the output of cat /root/maim/CMakeFiles/CMakeOutput.log

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2016-03-17 23:21:24 -0500

sergiomb gravatar image

it is correct, you just need install libX11-devel and the others devel packages

dnf install libX11-devel libXfixes-devel libXrandr-devel imlib2-devel
edit flag offensive delete link more


It works. I was missing imlib2-devel Thanks :)

murpholinox peligro gravatar imagemurpholinox peligro ( 2016-03-17 23:48:19 -0500 )edit

dnf copr search maim

aabatteries/maim : This repo is created to help Fedora users easily install maim by naelstrom. All credits go to the original : author. Github: : maim : : maim (Make Image) is a utility that takes screenshots of your desktop using imlib2. It's meant to overcome : shortcomings of scrot and performs better in several ways. : Features : : Allows you to take a screenshot of your desktop and save it in any

sergiomb gravatar imagesergiomb ( 2018-01-30 08:03:21 -0500 )edit

Question Tools

1 follower


Asked: 2016-03-17 22:08:29 -0500

Seen: 500 times

Last updated: Mar 17 '16