LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 02-20-2007, 02:28 AM   #1
bioe007
Member
 
Registered: Apr 2006
Location: lynnwood, wa - usa
Distribution: archlinux
Posts: 654

Rep: Reputation: 30
openAL > supertux --> .configure doesnt find openal lib


hiya- I am trying to install supertux, 0.3.0 from source.

My first attempt at ./configure errored out because I did not have openal installed.

So I googled openal and found openal-0.0.8-1.i586.rpm, after rpm2tgz > installpkg > ldconfig - I thought I had licked that problem.

Code:
perry@hrgrv:~/src/linux26$ slocate openal
/etc/openalrc
/opt/kde/share/apps/quanta/dtep/php/openal.tag
/var/log/packages/openal-0.0.8-1.i586
/usr/doc/packages/openal
/usr/doc/packages/openal/README
/usr/doc/packages/openal/AUTHORS
/usr/doc/packages/openal/ChangeLog
/usr/lib/libopenal.so.0
/usr/lib/libopenal.so.0.0.0
/usr/local/lib/libopenal.so.0
/usr/local/lib/libopenal.so.0.0.0
/usr/local/lib/libopenal.so.0real
/usr/local/src/openal-0.0.8-1.i586.tgz
/usr/local/src/supertux-0.3.0/src/audio/openal_sound_source.cpp
/usr/local/src/supertux-0.3.0/src/audio/openal_sound_source.hpp
/home/perry/downloads/openal-0.0.8-1.i586.rpm
/home/perry/downloads/openal-0.0.8.tar.gz
perry@hrgrv:~/src/linux26$ ls /var/log/packages | grep openal
openal-0.0.8-1.i586
perry@hrgrv:~/src/linux26$
however, when I run ./configure I still get the same error... ???

Code:
perry@hrgrv:/usr/local/src/supertux-0.3.0$ ./configure
<snip> truncated the first bit of checks <snip>
checking whether binary relocation support should be enabled... no
checking for ld used by GCC... /usr/i486-slackware-linux/bin/ld
checking if the linker (/usr/i486-slackware-linux/bin/ld) is GNU ld... yes
checking for shared library run path origin... /bin/sh: mk/autoconf/config.rpath: No such file or directory
done
checking for iconv... yes
checking for iconv declaration... 
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for sdl-config... /usr/bin/sdl-config
checking for SDL - version >= 1.2.4... yes
checking for Vorbis... yes
checking for Ogg... yes
checking for SDL_image >= 1.2... found
checking for physfs >= 1.0.0... found
checking for OpenAL... not found
configure: error: Please intall OpenAL
perry@hrgrv:/usr/local/src/supertux-0.3.0$
also, I had to install physfs too before openal. not sure if that helps.

many thanks!
 
Old 02-20-2007, 02:36 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,397

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
you need the headers to compile software against it, the openal-devel rpm if you're sticking with rpm2tgz
 
Old 02-20-2007, 02:49 AM   #3
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
I'd suggest you to either compile OpenAL yourself or get a Slackware package, that way it'll probably be compatible on the first try.
Some links:
A already compiled package: http://www.linuxpackages.net/pkg_details.php?id=10141
A slackbuild to compile it by yourself and make a package at the same time: http://www.slackbuilds.org/repository/libraries/OpenAL/
 
Old 02-20-2007, 03:05 AM   #4
bioe007
Member
 
Registered: Apr 2006
Location: lynnwood, wa - usa
Distribution: archlinux
Posts: 654

Original Poster
Rep: Reputation: 30
i'm not sticking with anything.. i don't know enough to have a preference. It was just the first thing I found

so i found:

openal-devel-0.0.9-0.9.20060204cvs.fc7.i386.rpm

then i removepkg openal before rpm2tgz and installing the -devel rpm. But still no headers? I found al.h and alc.h on the openal website, copied them to every */include place i could find but still same error.

??

i apologize for my incompetence...
 
Old 02-20-2007, 05:36 AM   #5
Ilgar
Member
 
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware 14.1, Slackware64 14.1
Posts: 923

Rep: Reputation: 93
Just search for a Slack package (for openAL), or compile yourself. Linuxpackages.net should have one. I think there was also one on the Flightgear website...
 
Old 02-20-2007, 09:12 AM   #6
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,755

Rep: Reputation: 466Reputation: 466Reputation: 466Reputation: 466Reputation: 466
That's the development(unstable version) you are trying to compile. The stable 0.1.3 version comiles just fine without any extra dependencies.
There Slack packages available on the developer site (berlios.de), or you can use my package or sources available here:
http://distro.ibiblio.org/pub/linux/...upertux-0.1.3/
 
Old 02-20-2007, 02:20 PM   #7
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
Don't use rpms !!! Slackware is not an rpm-based distro. Get your packages from Alien Bob or Linuxpackages or Slackbuilds. If none of those have it, then compile it yourself. As a last resort, you can use rpm2targz, but try not to do so too often. Remember that these rpms are designed for another distro, which is probably significantly unlike slackware.
 
Old 02-20-2007, 03:15 PM   #8
bird603568
Member
 
Registered: Aug 2004
Distribution: Slackware current
Posts: 250

Rep: Reputation: 30
why is everyone hell bent on lp.net? they DONT compile the packages in a "clean" system. meaning that there could and most likely linked to packages that arent on your system. I highly recommend www.slacky.it i cant read italian but can still find stuff. the packages are built in a clean system and if you dont want that they even have the .slackbuilds
 
Old 02-20-2007, 03:58 PM   #9
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
Quote:
Originally Posted by bird603568
why is everyone hell bent on lp.net? they DONT compile the packages in a "clean" system. meaning that there could and most likely linked to packages that arent on your system. I highly recommend www.slacky.it i cant read italian but can still find stuff. the packages are built in a clean system and if you dont want that they even have the .slackbuilds
That's fine too ... just not rpms ... only as a very last resort.
 
Old 02-20-2007, 04:28 PM   #10
tuxdev
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 2,012

Rep: Reputation: 111Reputation: 111
I'm a supertux developer, and have done slackware packages for 0.3.0 and dependencies, available from the official site (now supertux.lethargik.org).

Many thanks to gnashley for his painless packaging tools. I'd recommend his 0.1.3 package over what's on LP.

Last edited by tuxdev; 02-20-2007 at 04:29 PM.
 
Old 02-20-2007, 05:07 PM   #11
bioe007
Member
 
Registered: Apr 2006
Location: lynnwood, wa - usa
Distribution: archlinux
Posts: 654

Original Poster
Rep: Reputation: 30
so much help... thanks to all.

I wasn't going to respond until I got home and could try these suggestions out on my P3 box (picture editing and games for my son).

But I was compelled to insert a quick thank you?

I ended up using gnashley's packages on my another machine, which has none of my failed openAL installs on it - it worked like a charm!

When I get home tonight, I'll try your package again on my P3 box and be showing my 5y/o the light by introducing him to penguin computing

@tuxdev - thanks for supertux!

Many thanks!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help using OpenAL Hyakutake Programming 2 11-25-2006 08:00 AM
OpenAL and dmix Belegdol Linux - Software 0 11-01-2005 04:40 AM
OpenAL? hylke Programming 9 07-25-2005 05:49 PM
How to configure OpenAL to output to a different soundcard? Dracarys Linux - Software 0 01-20-2005 09:14 AM
OpenAL Problems. DarkestHour Linux - Games 1 12-01-2004 09:08 AM


All times are GMT -5. The time now is 11:04 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration