配置 libgraph:SDL_Image 即使已安装也未找到

Configuring libgraph : SDL_Image not found even though it is installed

我必须在我的 Crunchbang (Debian/7.7) 系统中安装 libgraph (1.0.1)。
当然,在此之前你有一些依赖关系。 SDL_Image 已成功从源下载并安装。我用 SDL 头编译了一个 C++ 程序来测试它..运行 完美.
然而,虽然 运行 ./configure 它仍然抛出:

checking SDL  ==>  SDL_image library... configure: error: *** 
: *** SDL_image not found

SDL 和 SDL_image 软件包已安装。

devesh@crunchbang:~/downloads/libgraph-1.0.1$ dpkg --get-selections | grep sdl
libsdl-image1.2:amd64               install
libsdl1.2-dev                       install
libsdl1.2debian:amd64               install
libsdl1.2debian:i386                install  

从其他问题来看,可能是 SDL_image 文件可能位于不同目录中,而不是 'default' 文件。但是检测到 SDL,并且它们安装在同一个地方。 有什么问题?

只要看一眼 libgraph 目录中的 README 文件,我就会得到:

You need to have the following installed : 
SDL-x.x.x.rpm               -- the main SDL library
SDL-devel-x.x.x.rpm         -- the developer package
SDL_image-x.x.x.rpm         -- image library for fonts
SDL_image-devel-x.x.x.rpm   -- image library developer 

我安装了 libsdl1.2-devvoila!
SDL_Image 检测到。
只是偶然发现了另一批未安装的软件包 :-P。 (诡计 什么都不是) 但是遇到了问题! 谢谢