Re: [proaudio] Psychosynth-0.1.1 eautoreconf/aclocal error

[ Thread Index | Date Index | More lists.tuxfamily.org/proaudio Archives ]


Hi,
and thank you for your ebuild, but psychosynth is always looking for soundtouch and doesn't find it while libsoundtouch is emerged :



checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBLO... yes
checking for LIBXML... yes
checking for SNDFILE... yes
checking for SOUNDTOUCH... no
checking for VORBIS... yes
checking for ALSA... yes
checking for JACK... yes
checking for OGRE... yes
checking for CEGUI... yes
checking for CEGUIOGRE... yes
checking for OIS... yes
configure: error:

***
*** You need libSoundTouch to compile the program.
*** Install it and run this script again.
***


!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/media-sound/psychosynth-0.1.1/work/psychosynth-0.1.1/config..log
 *
 * ERROR: media-sound/psychosynth-0.1.1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line  154:  Called econf '--enable-alsa' '--enable-jack' '--enable-psynth3d' '--enable-sndfile' '--enable-vorbis' '--enable-xml' '--disable-oss'
 *               ebuild.sh, line  526:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 *  The die message:
 *   econf failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/media-sound/psychosynth-0.1.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-sound/psychosynth-0.1.1/temp/environment'.







2008/7/7 Jouni Rinne <jouni.rinne@xxxxxxxxxx>:
Psychosynth-0.1.1 ebuild fails with strange aclocal error, a similar one as Mysth-R reported some time ago. I don't know autotools well enough to know what's wrong, maybe it needs some specific version of autotools.

Anyway, I made a modified version of psychosynth ebuild, which addresses the libsoundtouch problem without needing eautoreconf. It saves some compilation time, too.

JR

--
| me@home ~$whoami            ^ ^  | "Trust me, I know what I'm doing!" |
| Jouni 'Mad Max' Rinne      ('x') | - Sledge Hammer                    |
| me@home ~$man woman       C " "  | -------[ph34r t3h p3Ngu1n]-------- |
| Segmentation fault (core dumped) | ::   Last.fm user ID: l33tmmx   :: |

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit autotools
RESTRICT="nomirror"
DESCRIPTION="Free software synthesizer inspired by the ideas of the Reactable"
HOMEPAGE="http://www.psychosynth.com/"
SRC_URI="http://forja.rediris.es/frs/download.php/707/${P}.tar.gz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="alsa jack psynth3d oss sndfile vorbis xml osc"

DEPEND="osc? ( >=media-libs/liblo-0.24 )
       >=media-libs/libsoundtouch-1.3.1-r1
       alsa? ( >=media-libs/alsa-lib-1.0.14a-r1 )
       jack? ( >=media-sound/jack-audio-connection-kit-0.103.0 )
       psynth3d? ( >=dev-games/cegui-0.5.0b-r3
                               >=dev-games/ois-1.2.0
                               >=dev-games/ogre-1.4.7 )
       sndfile? ( >=media-libs/libsndfile-1.0.17-r1 )
       vorbis? ( >=media-libs/libvorbis-1.2.0 )
       xml? ( >=dev-libs/libxml2-2.6.31 )"


pkg_setup() {
       if use psynth3d; then
               if ! built_with_use dev-games/ogre cegui devil; then
                       eerror "You need to compile dev-games/ogre with"
                       eerror "USE=\"cegui devil\"!"
                       die "Deps missing"
               fi
       fi
}

src_compile() {
       econf \
               SOUNDTOUCH_CFLAGS="-I/usr/include/soundtouch" \
               SOUNDTOUCH_LIBS="-L/usr/lib -lSoundTouch" \
               $(use_enable alsa) \
               $(use_enable jack) \
               $(use_enable psynth3d) \
               $(use_enable sndfile) \
               $(use_enable vorbis) \
               $(use_enable xml) \
               $(use_enable oss) || die "configure failed"
       emake || die "make failed"
}

src_install() {
       make DESTDIR="${D}" install || die "install failed"
}





--
* ***************************************************************************************
* {^_^} Mysth-R {^_^}
* <= Aide Auditive =>
*
* http://myspace.com/mysthr
* http://myspace.com/aideauditive
* http://mysthr.free.fr/Joomla => Site dédié à l'audio sous Fedora/PlanetCCRMA.
* ***************************************************************************************

Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/