Allegro.cc - Online Community

Allegro.cc Forums » Installation, Setup & Configuration » install from source on rocky-linux (redhat 8)

This thread is locked; no one can reply to it. rss feed Print
install from source on rocky-linux (redhat 8)
Thomas tomas
Member #20,525
July 2021

Hello

I'm new to allegro 5, and I'm trying to install it and I have this issue.

Could you help me?

Performing Test ALLEGRO_HAVE_PROCFS_ARGCV
-- Performing Test ALLEGRO_HAVE_PROCFS_ARGCV - Failed
-- Performing Test ALLEGRO_HAVE_SV_PROCFS_H
-- Performing Test ALLEGRO_HAVE_SV_PROCFS_H - Failed
-- Performing Test ALLEGRO_HAVE_VA_COPY
-- Performing Test ALLEGRO_HAVE_VA_COPY - Success
-- Found OpenGL: /usr/lib64/libOpenGL.so
Using OpenGL
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found X11: /usr/include
-- Looking for XOpenDisplay in /usr/lib64/libX11.so
-- Looking for XOpenDisplay in /usr/lib64/libX11.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
-- Looking for XcursorImageCreate in Xcursor
-- Looking for XcursorImageCreate in Xcursor - not found
CMake Error at CMakeLists.txt:745 (message):

Regards

GullRaDriel
Member #3,861
September 2003
avatar

You are missing a lib.
We need more informations like what is your OS. If it's linux like, then apt-get install libxcursor or something like that should help.

"Code is like shit - it only smells if it is not yours"
Allegro Wiki, full of examples and articles !!

Peter Hull
Member #1,136
March 2001

Since it's a Red Hat based Linux, I think you may need libXcursor-devel - try

sudo dnf install libXcursor-devel

(I've never used Rocky but I have used Fedora)

Go to: