Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to build allegro on 12.04 but it continues to give me error, I've downloaded the tar.gz folder of version 5.0.7 and installed cmake, what else do I need? And how do I proceed?

share|improve this question
what is the error? – Web-E Jul 6 '12 at 7:54
I created a new directory under allegro file, called it buid, cd build from terminal and typed cmake .. this is the reponse after some lines of processing 'X11 support requires Xcursor library'. – Temitope Jul 6 '12 at 8:05 That might help. You could answer it yourself if it works. – Joshua Siret Jul 6 '12 at 8:18
All ok now, I'm not sure how I did it, cause I had already installed before, and deleted the buil folder more than once, but maybe I didn't remove the folder-or-the cache txt after xcursor. Thanks – Temitope Jul 6 '12 at 8:33
I had this error now, on the final stage, when I used 'make install' 'Install the project... -- Install configuration: "RelWithDebInfo" -- Installing: /usr/local/lib/ CMake Error at cmake_install.cmake:48 (FILE): file INSTALL cannot copy file "/home/imagination3/.allegro/Build/lib/" to "/usr/local/lib/". make: *** [install] Error 1 – Temitope Jul 6 '12 at 8:36

From the top-level folder:

sudo apt-get install libxcursor-dev
cd build
rm -rf *
cmake ..

In the end, run sudo make install

share|improve this answer
Reading the error I understood myself i needed to use sudo, thinking twice before posting would be better, haha. Thank you all, now time to figure how to use allegro. – Temitope Jul 6 '12 at 8:42
@Temitope Since this post answers the question, I recommend marking it as the accepted answer (by clicking the green check mark to the left of it). This will help others who are searching help with this problem (or similar problems). – Eliah Kagan Jul 6 '12 at 16:55

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.