Joachim Herb
2001-Feb-12 15:38 UTC
[vorbis-dev] Configuring, compiling and installing ogg vorbis on Mandrake 7.2 (was Re: [vorbis] A Top Level README for the nightly CVS snapshot )
Hello, 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-2.0.1-2mdk kdelibs-sound-devel-2.0.1-2mdk **(this is new in 2.0.1 and was part of kdelibs-devel before)** kdelibs-devel-2.0.1-2mdk 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 libogg-devel libvorbis-devel libao-devel 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: /var/tmp/vorbis-tools-root/usr/share/man/man1/ogg123.1.gz File not found: /var/tmp/vorbis-tools-root/usr/share/man/man1/oggenc.1.gz Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.3899 + umask 022 + cd /usr/src/RPM/BUILD + cd vorbis-tools-1.0prebeta4 + DOCDIR=/var/tmp/vorbis-tools-root/usr/share/doc/vorbis-tools-1.0prebeta4 + export DOCDIR + rm -rf /var/tmp/vorbis-tools-root/usr/share/doc/vorbis-tools-1.0prebeta4 + /bin/mkdir -p /var/tmp/vorbis-tools-root/usr/share/doc/vorbis-tools-1.0prebeta4 + cp -pr COPYING /var/tmp/vorbis-tools-root/usr/share/doc/vorbis-tools-1.0prebeta4 + cp -pr README /var/tmp/vorbis-tools-root/usr/share/doc/vorbis-tools-1.0prebeta4 + cp -pr ogg123/ogg123rc-example /var/tmp/vorbis-tools-root/usr/share/doc/vorbis-tools-1.0prebeta4 + 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 /usr/bin/oggenc /usr/bin/ogg123 -/usr/share/man/man1/ogg123.1.gz -/usr/share/man/man1/oggenc.1.gz +/usr/share/man/man1/ogg123.1.bz2 +/usr/share/man/man1/oggenc.1.bz2 %clean [ "$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 respectively. 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 kdelibs-sound-devel-2.0.1-xxx.rpm Go to directory ao, ./autogen.sh 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, ./autogen.sh 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, ./autogen.sh 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, ./autogen.sh 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@xiph.org. I thought it is a development issue. Joachim -- Joachim Herb mailto:herb@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-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Maybe Matching Threads
- Configuring, compiling and installing ogg vorbis on Mandrake 7.2 (was Re: A Top Level README for the nightly CVS snapshot )
- A Top Level README for the nightly CVS snapshot
- patches to beta 4 spec files
- libao source build problems on Mandrake 8.2b4: artsc.h missing?
- patch to add device-option to ogg123 rc file