[go: up one dir, main page]

Menu

#611 ./configure doesn't fail if dependencies missing (r13260)

SVN
pending-fixed
Klauss++
Crashes (68)
5
2012-01-07
2011-12-18
No

./configure finishes without error, but subsequent 'make' dies with:

src/aldrv/al_sound.cpp:483:52: error: ‘LoadSound’ was not declared in this scope
src/aldrv/al_sound.cpp: In function ‘float AUDGetCurrentPosition(int)’:
src/aldrv/al_sound.cpp:898:5: error: ‘ALfloat’ was not declared in this scope
src/aldrv/al_sound.cpp:898:13: error: expected ‘;’ before ‘rv’
src/aldrv/al_sound.cpp:899:42: error: ‘rv’ was not declared in this scope
src/aldrv/al_sound.cpp:899:45: error: ‘alGetSourcef’ was not declared in this scope
make[1]: *** [src/aldrv/al_sound.o] Error 1
make[1]: Leaving directory `/home/anna/opt/vs/vegastrike'
make: *** [all] Error 2

On fedora, I fixed this with:

yum -y install openal-soft-devel

then re-running ./configure and 'make'. But obviously, the configure script should throw an error when any library 'make' requires in order to complete is missing.

Discussion

  • Anna Wiggins

    Anna Wiggins - 2011-12-18

    Addendum:

    I get into similar trouble at the linker stage with several missing packages, most notably libvorbis-devel and libstdc++-devel (seems really surprising that we can get all the way through the compile without that omission being a problem... maybe I had the 32-bit but not the 64-bit, so the headers were present. Either way, seems like something configure should error about).

     
  • Klauss++

    Klauss++ - 2011-12-30
    • assigned_to: nobody --> klaussfreire
     
  • Klauss++

    Klauss++ - 2011-12-30

    It's not surprising, AL and vorbis should be optional, but there seems to be a few places where the ifdefs aren't correctly put in place.

    So it would be helpful to get all linker errors to effectively make all that code conditional.

     
  • Klauss++

    Klauss++ - 2012-01-07
    • status: open --> pending
     
  • Klauss++

    Klauss++ - 2012-01-07

    A fix for *those* is committed. If you get more, please post them up.

     
  • Klauss++

    Klauss++ - 2012-01-07
    • status: pending --> pending-fixed
     

Anonymous
Anonymous

Add attachments
Cancel