project-navigation
Personal tools

Author Topic: ./configure can't find sdl mixer under debian testing 64 bit  (Read 7184 times)

Offline McB

  • Cannon Fodder
  • **
  • Posts: 7
    • View Profile
./configure can't find sdl mixer under debian testing 64 bit
« on: August 21, 2010, 08:21:46 pm »
Hi.
I try to compile the game from svn but ./configure can't find sdlmixer.
All dev-packages are installed as written on http://ufoai.ninex.info/wiki/index.php/Debian. I checked one by one.
Attach 2 file. One is the output from ./configure and the other the output from locate libSDL_mixer.

Sorry for my english.  :P

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: ./configure can't find sdl mixer under debian testing 64 bit
« Reply #1 on: August 22, 2010, 07:51:36 am »
please retry with trunk >= r31716

Offline McB

  • Cannon Fodder
  • **
  • Posts: 7
    • View Profile
Re: ./configure can't find sdl mixer under debian testing 64 bit
« Reply #2 on: August 22, 2010, 11:09:27 am »
I tried to retry to older trunk and the latest stable branch but error remains. Seems to be a debian problem with linking at least I think so and i don't know how to solve them.

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: ./configure can't find sdl mixer under debian testing 64 bit
« Reply #3 on: August 22, 2010, 11:36:54 am »
I tried to retry to older trunk and the latest stable branch but error remains. Seems to be a debian problem with linking at least I think so and i don't know how to solve them.

Older trunk? The (possible) fix was committed to trunk, you should test the latest trunk.

-geever

Offline McB

  • Cannon Fodder
  • **
  • Posts: 7
    • View Profile
Re: ./configure can't find sdl mixer under debian testing 64 bit
« Reply #4 on: August 22, 2010, 12:18:36 pm »
I tried with the following trunk. 31710, 31716, 31720 and 31722 and no one can find sdlmixer. :(

Offline McB

  • Cannon Fodder
  • **
  • Posts: 7
    • View Profile
Re: ./configure can't find sdl mixer under debian testing 64 bit
« Reply #5 on: August 24, 2010, 12:22:27 pm »
I did another test on my old PC with a testing installed 1.5 years ago and on this pc the game compile fine. So i tried to install the same package but on this pc will not work. I don't understand what's wrong.  :(

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: ./configure can't find sdl mixer under debian testing 64 bit
« Reply #6 on: August 24, 2010, 12:52:26 pm »
type
Code: [Select]
dpkg -l | grep sdl and attach the output - there should be a package named libsdl-mixer1.2-dev

please also attach config.log

Offline McB

  • Cannon Fodder
  • **
  • Posts: 7
    • View Profile
Re: ./configure can't find sdl mixer under debian testing 64 bit
« Reply #7 on: August 24, 2010, 01:14:31 pm »
Here the 2 file.

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: ./configure can't find sdl mixer under debian testing 64 bit
« Reply #8 on: August 24, 2010, 01:20:51 pm »
Quote
configure:6183: gcc -o conftest -g -O2 -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL   -lSDL   conftest.c -lSDL_mixer   >&5
/usr/lib64/libsmpeg-0.4.so.0: undefined reference to `operator delete(void*)@GLIBCXX_3.4'
/usr/lib64/libsmpeg-0.4.so.0: undefined reference to `operator delete[](void*)@GLIBCXX_3.4'
/usr/lib64/libsmpeg-0.4.so.0: undefined reference to `operator new(unsigned long)@GLIBCXX_3.4'
/usr/lib64/libsmpeg-0.4.so.0: undefined reference to `__cxa_pure_virtual@CXXABI_1.3'
/usr/lib64/libsmpeg-0.4.so.0: undefined reference to `operator new[](unsigned long)@GLIBCXX_3.4'
collect2: ld returned 1 exit status

this is the problem - but this looks more like a bug in debian to me

Offline McB

  • Cannon Fodder
  • **
  • Posts: 7
    • View Profile
Re: ./configure can't find sdl mixer under debian testing 64 bit
« Reply #9 on: August 24, 2010, 01:29:44 pm »
I'll try to do a fresh install in another partition to see if the error is only on my pc or is Debian that has a bug. Thanks for help.

Offline McB

  • Cannon Fodder
  • **
  • Posts: 7
    • View Profile
Re: ./configure can't find sdl mixer under debian testing 64 bit
« Reply #10 on: August 24, 2010, 07:26:24 pm »
With a new installation of Debian the game is compiled regularly.