#11 configure does not check for various essential packages

closed-fixed
nobody
None
5
2009-04-18
2009-04-04
Andrew Gorcester
No

Compile of March 29 release of PCSX-df 1.10 failed on Ubuntu 9.04 (prerelease) with following message:

alsaplay.c:22:28: error: alsa/asoundlib.h: No such file or directory

Problem was fixed by installing libasound2-dev.

Failed again with following message:

In file included from GPU.c:9:
gpu_i.h:5:20: error: GL/glx.h: No such file or directory
gpu_i.h:6:19: error: GL/gl.h: No such file or directory
gpu_i.h:7:22: error: GL/glext.h: No such file or directory

Problem was fixed by installing libgl1mesa-dev (which provides virtual package libgl-dev; other providers of this package might work too). libgl1mesa-dev might be required by libsdl-dev, which is required later in the build process.

Failed again with the following message:

GPU.c:14:38: error: X11/extensions/xf86vmode.h: No such file or directory

Problem was fixed by installing libxxf86vm-dev.

Failed again with the following message:

Package sdl was not found in the pkg-config search path.
Perhaps you should add the directory containing `sdl.pc'
to the PKG_CONFIG_PATH environment variable
No package 'sdl' found
Package vorbisfile was not found in the pkg-config search path.
Perhaps you should add the directory containing `vorbisfile.pc'
to the PKG_CONFIG_PATH environment variable
No package 'vorbisfile' found
g++ -DHAVE_CONFIG_H -I. -I../../include -DPACKAGE_DATA_DIR=\"/usr/local/share/pcsx/\" -DPIXMAPDIR=\"/usr/local/share/pixmaps/\" -DLOCALE_DIR=\"/usr/local/share/locale/\" -D__LINUX__ -DREVISION=3 -DBUILD=0 -DDATADIR=\"/usr/local/share/psemu/\" -g -O2 -MT About.lo -MD -MP -MF .deps/About.Tpo -c About.cpp -fPIC -DPIC -o .libs/About.o
In file included from About.cpp:54:
Utils.hpp:31:21: error: gtk/gtk.h: No such file or directory

Despite saying it was looking for gtk/gtk.h (which was installed), the problem was resolved by installing libsdl-dev and libvorbis-dev.

The build completed successfully after those packages were installed. I had a handful of dev packages already installed so this may not be an exhaustive list of required but not detected packages.

Discussion

  • Andrew Burton
    Andrew Burton
    2009-04-18

    • status: open --> closed-fixed
     
  • Andrew Burton
    Andrew Burton
    2009-04-18

    Fixed in CVS