[vorbis] Configuring, compiling and installing ogg vorbis on Mandrake 7.2 (was Re: [vorbis] A Top Level README for the nightly CVS snapshot )

Joachim Herb herb at leo.org
Mon Feb 12 15:38:47 PST 2001


i had nearly the same problem when compiling libao (of nightly snapshot
of 2001/02/10)

>checking for artsc-config... /usr/bin/artsc-config

>I don't know enough about KDE to know if this file is supposed to be
>there without any of the kde-devel packages installed (if not, then I
>have a Mandrake bug). If I move this file so it can't be found, make
>and make install work. If not, I get the following output from make:

For this to work on Mandrake you need the following packets installed:

kdelibs-sound-devel-2.0.1-2mdk **(this is new in 2.0.1 and was part of
kdelibs-devel before)**

The /usr/bin/artsc-config is part of kdelibs-sound-2.0.1-2mdk but the
header file
artsc.h is in kdelibs-sound-devel-2.0.1-2mdk. Would it be possible to
include this dependency in the configure check?

When running the configure script of libvorbis I get the error messages:
configure: error: must have Ogg installed!
I had the libvorbis installed. The problem was that also the
libvorbis-devel has to installed. Would it be possible to given an
clearer error message?

Also when configuring vorbis-tools the same kind of error messages
appear and the packages
have to be installed.

If you start rpm -ta vorbis-tools-1.0prebeta4.tar.gz the packing process
suddenly stops. The last messages are:
Clean perl...done
Processing files: vorbis-tools-1.0prebeta4-1
File not found:
File not found:
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.3899
+ umask 022
+ cd /usr/src/RPM/BUILD
+ cd vorbis-tools-1.0prebeta4
+ export DOCDIR
+ rm -rf
+ /bin/mkdir -p
+ cp -pr COPYING
+ cp -pr README
+ cp -pr ogg123/ogg123rc-example
+ exit 0
PreReq: /bin/sh
Requires: libogg >= 1.0prebeta4 libvorbis >= 1.0prebeta4 libao >= 0.6.0

After some searching I found the reason:
Mandrake is using the bzip2 for compressing man pages, but the
vorbis-tools.spec says that the manpages in the packet should be
ogg123.1.gz and oggenc.1.gz. 

The solution (for Mandrake 7.2):
--- vorbis-tools.spec   Mon Jan 22 23:48:31 2001
+++ /usr/src/oggvorbis/vorbis-tools/vorbis-tools.spec   Sat Feb 10
22:45:51 2001
@@ -41,8 +41,8 @@
 %doc ogg123/ogg123rc-example
 [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT

A more general solution would be to get the COMPRESS_EXT variable from
the script /usr/lib/rpm/brp-compress and change the spec file

So the a summary for compiling / installing ogg vorbis + tools on
Mandrake (7.2) is (XXX e.g. 686):
If kdelib-sound-2.0.1-xxx.rpm is installed, you also need
Go to directory ao, 
make dist
rpm -ta libao-0.6.0.tar.gz
rpm -i /usr/src/RPM/RPMS/iXXX/libao-0.6.0-1.rpm
rpm -i /usr/src/RPM/RPMS/iXXX/libao-devel-0.6.0-1.rpm

Go to directory ogg,
make dist
rpm -ta libogg-1.0prebeta4.tar.gz
rpm -i /usr/src/RPM/RPMS/iXXX/libogg-1.0prebeta4-1.rpm
rpm -i /usr/src/RPM/RPMS/iXXX/libogg-devel-1.0prebeta4-1.rpm

Go to directory vorbis,
make dist
rpm -ta libvorbis-1.0prebeta4.tar.gz
rpm -i /usr/src/RPM/RPMS/iXXX/libvorbis-1.0prebeta4-1.rpm
rpm -i /usr/src/RPM/RPMS/iXXX/libvorbis-devel-1.0prebeta4-1.rpm

Go to directory vorbis-tools,
Change vorbis-tool.spec (before make dist!)
make dist
rpm -ta vorbis-tools-1.0prebeta4.tar.gz
rpm -i /usr/src/RPM/RPMS/iXXX/vorbis-tools-1.0prebeta4-1.rpm

Sorry for posting this to both mailing list, but the original mails were
on vorbis at xiph.org. I thought it is a development issue.


Joachim Herb
mailto:herb at leo.org

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.

More information about the Vorbis mailing list