LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Problems with allegro library packages (https://www.linuxquestions.org/questions/debian-26/problems-with-allegro-library-packages-419493/)

ale_ryu 02-25-2006 02:39 PM

Problems with allegro library packages
 
I'm having a little problem when trying to use my recently installed liballegro packages.
I installed everything I needed using apt-get and now I can't compile anything using gcc and allegro, I always put #include<allegro.h> in my sources but the compiler says it can't find it...
I think there's some previous configuration I'm not aware of, I checked the unix installation notes but I have no clue.
Has anyone installed it properly using .deb packages???
Thanks!

HappyTux 02-26-2006 10:08 AM

Quote:

Originally Posted by ale_ryu
I'm having a little problem when trying to use my recently installed liballegro packages.
I installed everything I needed using apt-get and now I can't compile anything using gcc and allegro, I always put #include<allegro.h> in my sources but the compiler says it can't find it...
I think there's some previous configuration I'm not aware of, I checked the unix installation notes but I have no clue.
Has anyone installed it properly using .deb packages???
Thanks!

It looks like you need either liballegro-dev or liballegro4.2-dev installed I would check for those. You may want to install apt-file yourself then use apt-file update as root then you can use apt-file search file/needed.? as normal user for any missing files when compiling so you can see which package to check to see if installed then if not install it.

Code:

apt-file search allegro.h
liballegro-dev: usr/include/allegro.h
liballegro-doc: usr/share/doc/liballegro-doc/html/allegro.html
liballegro4.2-dev: usr/include/allegro.h
libguichan0-dev: usr/include/guichan/allegro.hpp
lilypond-doc: usr/share/doc/lilypond/html/Documentation/user/out-www/music-glossary/allegro.html


ale_ryu 02-26-2006 02:14 PM

I get exactly the same results as you when I run apt-file, so I don't think there are any missing files, as I said before it's probably a configuration problem, I'm missing something important, I know...
But Thanks anyways!

HappyTux 02-26-2006 04:30 PM

Quote:

Originally Posted by ale_ryu
I get exactly the same results as you when I run apt-file, so I don't think there are any missing files, as I said before it's probably a configuration problem, I'm missing something important, I know...
But Thanks anyways!

Of course you get the same results it is telling you which packages contain the file did you use apt-cache policy package_name to see if you have it installed.


All times are GMT -5. The time now is 02:29 PM.