libvorbis can't be found during compile

Do you need help? Ask here!

Bug reporting belongs here: http://developer.wz2100.net/newticket
olcarman
New user
Posts: 2
Joined: 16 Jul 2009, 01:53

libvorbis can't be found during compile

Post by olcarman »

checking for OGGVORBIS... configure: error: Package requirements (vorbisfile >= 1.1) were not met:

No package 'vorbisfile' found

Currently installed version: 1.2.0-5mdv2009.1
My system is Mandriva One - spring 2009.
Any help will be appreciated, thanks.
stiv
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 876
Joined: 18 Jul 2008, 04:41
Location: 45N 86W

Re: libvorbis can't be found during compile

Post by stiv »

You need to install the ogg/vorbis stuff. The package manager pkg-config knows it as vorbisfile. Your linux distro may call it libvorbis or similar. Don't forget the -dev or -devel part!
olcarman
New user
Posts: 2
Joined: 16 Jul 2009, 01:53

Re: libvorbis can't be found during compile

Post by olcarman »

Thanks, I'll give that a try although there is a libvorbis installed now.
stiv
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 876
Joined: 18 Jul 2008, 04:41
Location: 45N 86W

Re: libvorbis can't be found during compile

Post by stiv »

As I said, you also need to install the development package. That is the part that contains the files that pkg-config is looking for along with the necessary header files.

This is a general rule on linux: To run an application you need package foo. To compile an application, you need the development package foo-dev or foo-devel (depending on the naming convention.) OR you need to compile and install the package from source.