I’m trying to extract a package, MilkyTracker, and when I run the command
./configure; make; make install
at the very end it says
The sdl-config script installed by SDL could not be found
*** If SDL was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the SDL_CONFIG environment variable to the
*** full path to sdl-config.
configure: error: Please install libSDL
I installed libSDL from the Opensuse repository, but it seems like I have to do something with the path or change a variable. I’m fairly new to these commands and I’m not sure how to do it.
I assume that you already have “extracted” the package, else you would not have the ./configure (and other files that are apparently used) available.
You say “at the end”, but do not explain at the end of what. You show three statements, which you should do one by one and not in one go. Specially because the first two should be done as a “normal” user and the last one as root.
So please explain which one goes wrong (and be syure that the steps before it are without flaws). And the best is to show a everything and not only the (part of) the output that you think is important. Other may see important things in the output that you guess as being useless. So please copy/paste the prompt, the command, the output and the next prompt. It is about the only way to show others what you see.
If you do not have *locate *installed
YaST > Software Manager {Select libsdl}, View, File List
will show which and where files are installed by the selected package.
my guess is that you are building something and you don’t have the include headers and link libraries you need to install libSDL2-devel to get those files try
zypper in libSDL2-devel
then re-run
./configure
and see what else you need to install
just keep in mind you’ll probobly need to install the devel packages as you’re building from source
I’d recommend you try https://software.opensuse.org/search
as it’s quite probable the package you are compiling has already been build by somebody else