SDL_mixer not being recognized

NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Forum rules
NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Locked
Tylius
Posts: 28
Joined: Thu May 14, 2020 1:34 pm

SDL_mixer not being recognized

Post by Tylius »

Hrm. I'm trying to compile the CVS source code snapshot from Feb. 26th, I'm running SuSe 9.0 Professional.

I've got the required libs installed and everything, but for some reason ./configure isn't recognizing my SDL_mixer, I've installed it using the rpm version 1.2.5, yet I keep getting this error

checking for SDL - version >= 1.2.0... yes
checking for Mix_QuickLoad_RAW in -lSDL_mixer... no
configure: error: *** SDL_mixer version 1.2.4 or later not found!

Anyone have any suggestions? I've searched but it seems noone else has gotten this error recently, thanks in advance


---

Tylius Dragon
Tylius
Posts: 28
Joined: Thu May 14, 2020 1:34 pm

Re: SDL_mixer not being recognized

Post by Tylius »

*sigh*, Don't you just hate it when you make a simple mistake? I had installed SDL_mixer, not the developer libraries for it though, my apologies.

Now I'll try to make an rpm for it once it's compiled, never done this before, but if I figure it out, I'll upload it for other users. Anyone have any links to some good resources on rpm building?
fliptw
Posts: 29
Joined: Thu May 14, 2020 1:34 pm

Re: SDL_mixer not being recognized

Post by fliptw »

there are already daily snapshot builds of the cvs in rpm format.
Tylius
Posts: 28
Joined: Thu May 14, 2020 1:34 pm

Re: SDL_mixer not being recognized

Post by Tylius »

Hmm, where would I find those?
wjp
Site Admin
Posts: 1708
Joined: Thu May 14, 2020 1:34 pm

Re: SDL_mixer not being recognized

Post by wjp »

The easiest way to build an rpm from cvs is probably the following:

./autogen.sh
./configure
make dist
rpmbuild -ta exult-[version].tar.gz

Btw, the spec file in exult's CVS is currently broken; I committed a fixed version, but it might take a few hours up to a day to reach the anonymous CVS servers.

Note that currently, it might be even easier to get exult-1.1.10rc2-1.src.rpm, and run
rpmbuild --rebuild exult-1.1.10rc2-1.src.rpm

(Since current CVS hasn't changed since the 1.1.10rc2 release.)
Tylius
Posts: 28
Joined: Thu May 14, 2020 1:34 pm

Re: SDL_mixer not being recognized

Post by Tylius »

*nods*, I realized after that Fedora was a Linux distro, I had thought it was something else, I tried using the source rpm, but for some reason or another it wouldn't install it properly (at least the gui-installer wouldn't, I didn't bother trying the console).

Thanks for the information about building it
Locked