Ask Your Question
0

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 (https://github.com/naelstrof/maim) on fedora 23?

Instructions say:

Install using CMake (Requires CMake)

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

git clone https://github.com/naelstrof/maim
cd maim 
cmake ./ 
make && sudo make install

I got the following error

[root@eva02 ~]# git clone https://github.com/naelstrof/maim.git
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 cmdline.in
FindIMLIB2.cmake: imlib2-config not found. Please set it manually. IMLIB2_CONFIG=IMLIB2_CONFIG-NOTFOUND
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so - 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/libX11.so
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 (http://pastebin.com/v3jCWAs0) 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
3

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

Comments

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: https://github.com/naelstrof/maim : 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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

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

Seen: 368 times

Last updated: Mar 17 '16