On Tue, 5 Sep 2000, Rob Coker wrote:
> I'm running Mandrake 7.1 installed for development. I'm failing
> configuration because it does not find map.h and then says that I'm missing
> C++ headers. I thought I had C++ development headers installed - I've
> compiled C++ programs - but I'm obviously missing something. Anybody know
> what it is?
>
> BTW, I used the rpm binary version and it works fine.
Hello,
it's my first posting to the ecasound list.
I'm not a ecasound user until now, but I build a Mandrake RPM based on the
original "default" spec by Mandrake and the spec by Kai Vehmanen.
I included my spec and a needed patch.
You have to use the patch to compile because on Linux Mandrake you can use
QT1 and QT2 simultaneously: The devel-files are separated in qt and qt2
(NOT qt version 2.x!).
Actually I can't say if my patch (and spec) can help to solve your problem
but IMHO it's worth a try. :-)
regards,
Frank Meurer
-------------------------------------------------------------------------
Sending unsolicited commercial email to this address may be a violation
of the Washington State Consumer Protection Act, chapter 19.86 RCW.
Das Verschicken unverlangter kommerzieller email an diese Adresse ist
verboten (LG Traunstein, 2 HK O 3755/97 vom 14.10.1997, CR 1998, 171f).
(Frank Meurer, <[EMAIL PROTECTED]>, PGP ID: 0x5E756DA8)
--- ecasound-1.7.9r13/configure.orig Fri Jun 23 15:17:34 2000
+++ ecasound-1.7.9r13/configure Wed Aug 30 08:43:53 2000
@@ -3064,7 +3064,7 @@
else
#try to guess qt locations
-qt_incdirs="$ac_qt_includes /usr/lib/qt/include /usr/local/qt/include /usr/include/qt
/usr/include /usr/X11R6/include/X11/qt $x_includes $QTINC"
+qt_incdirs="/usr/include/qt2"
test -n "$QTDIR" && qt_incdirs="$QTDIR/include $QTDIR $qt_incdirs"
qt_incdir=NO
@@ -3081,7 +3081,7 @@
ac_qt_includes=$qt_incdir
-qt_libdirs="$ac_qt_libraries /usr/lib/qt/lib /usr/local/qt/lib /usr/lib/qt
/usr/X11R6/lib /usr/lib $x_libraries $QTLIB"
+qt_libdirs="/usr/lib"
test -n "$QTDIR" && qt_libdirs="$QTDIR/lib $QTDIR $qt_libdirs"
qt_libdir=NO
--- ecasound-1.7.9r13/qtecasound/Makefile.in.orig Wed Aug 30 08:51:24 2000
+++ ecasound-1.7.9r13/qtecasound/Makefile.in Wed Aug 30 08:51:54 2000
@@ -104,11 +104,11 @@
@COMPILE_QTECASOUND_TRUE@qtecasound_SOURCES = $(ecasound_qt_src) $(ecasound_qt_mocs)
$(ecasound_qt_includes)
@COMPILE_QTECASOUND_TRUE@qtecasound_debug_SOURCES = $(ecasound_qt_src)
$(ecasound_qt_mocs) $(ecasound_qt_includes)
#qtecasound_LDFLAGS = -s -lstdc++
-@COMPILE_QTECASOUND_TRUE@qtecasound_LDADD = -L$(top_builddir)/kvutils
-L$(top_builddir)/kvutils/.libs -lkvutils
-L$(qt_libraries) -lqt
$(top_builddir)/libecasound/src/libecasound.la
$(top_builddir)/libqtecasound/libqtecasound.la
-@COMPILE_QTECASOUND_TRUE@qtecasound_debug_LDADD = -L$(top_builddir)/kvutils
-L$(top_builddir)/kvutils/.libs -lkvutils
-L$(qt_libraries) -lqt
$(top_builddir)/libecasound/src/libecasound_debug.la
$(top_builddir)/libqtecasound/libqtecasound_debug.la
+@COMPILE_QTECASOUND_TRUE@qtecasound_LDADD = -L$(top_builddir)/kvutils
+ -L$(top_builddir)/kvutils/.libs -lkvutils
+ -L$(qt_libraries) -lqt2
+$(top_builddir)/libecasound/src/libecasound.la
+$(top_builddir)/libqtecasound/libqtecasound.la
+@COMPILE_QTECASOUND_TRUE@qtecasound_debug_LDADD = -L$(top_builddir)/kvutils
+ -L$(top_builddir)/kvutils/.libs -lkvutils
+-L$(qt_libraries) -lqt2
+$(top_builddir)/libecasound/src/libecasound_debug.la
+$(top_builddir)/libqtecasound/libqtecasound_debug.la
@COMPILE_QTECASOUND_TRUE@qtecasound_LDFLAGS = $(all_libraries)
@COMPILE_QTECASOUND_TRUE@qtecasound_debug_LDFLAGS = $(qtecasound_LDFLAGS)
-#qtecasound_LDADD = -lm -lpthread -lqt $(top_srcdir)/libecasound/src/libecasound.la
+#qtecasound_LDADD = -lm -lpthread -lqt2
+$(top_srcdir)/libecasound/src/libecasound.la
#qtecasound_METASOURCES = USE_AUTOMOC
# qt-moc:
--- ecasound-1.7.9r13/Documentation/Makefile.in.orig Wed Aug 30 08:57:23 2000
+++ ecasound-1.7.9r13/Documentation/Makefile.in Wed Aug 30 08:57:45 2000
@@ -373,7 +373,7 @@
kdoc -f html -u "http://localhost/ecasound/Documentation/libqtecasound/" \
-d ../Documentation/libqtecasound/ -n libqtecasound \
-L ../Documentation/ *.h \
- -llibecasound -llibkvutils -lqt
+ -llibecasound -llibkvutils -lqt2
cd @top_srcdir@/ecasound ; \
kdoc -f html -u \
"http://localhost/ecasound/Documentation/ecasound/" \
@@ -383,7 +383,7 @@
kdoc -f html -u \
"http://localhost/ecasound/Documentation/qtecasound/" \
-d ../Documentation/qtecasound/ \
- -L ../Documentation/ *.h -llibecasound -lqt -llibkvutils
+ -L ../Documentation/ *.h -llibecasound -lqt2 -llibkvutils
cd @top_srcdir@/Documentation/qtecasound ; \
qt2kdoc -u "http://www.troll.no/qt/" -o . /usr/doc/qt/
cd @top_srcdir@/ecatools ; \
%define name ecasound
%define version 1.7.9r13
%define release 3mdk
%define _prefix /usr
Summary: ecasound - multitrack audio processing tool
Name: %{name}
Version: %{version}
Release: %{release}
Source: http://ecasound.seul.org/download/ecasound-%{version}.tar.bz2
Copyright: Kai Vehmanen <[EMAIL PROTECTED]>
URL: http://www.wakkanet.fi/~kaiv
Group: Applications/Sound
Patch: ecasound-qt2.patch
BuildRoot: %{_tmppath}/%{name}-buildroot
Prefix: %{_prefix}
Packager: Frank Meurer <[EMAIL PROTECTED]>
Requires: qt2
%description
Ecasound is a software package designed for multitrack audio
processing. It can be used for simple tasks like audio playback,
recording and format conversions, as well as for multitrack effect
processing, mixing, recording and signal recycling. Ecasound supports
a wide range of audio inputs, outputs and effect algorithms. Several
open-source audio packages, like for instance ALSA, OSS, mpg123, lame,
libaudiofile and MikMod, are directly supported. One of the advantages
of ecasound's chain-based design is that effects can easily be
combined both in series and in parallel. Oscillators and MIDI-CCs
can be used for controlling effect parameters. Included user-interfaces
are ecasound - a versatile console mode interface, qtecasound -
a Qt-based X-interface and various command-line utils suitable for
batch processing.
%package devel
Summary: Ecasound - Library header files
Group: Applications/Sound
Requires: ecasound
%description devel
Headers files needed for compiling other programs against
ecasound libraries. This is package is not required for installing
other ecasound RPMs.
%package qt
Summary: Qt-based user-interface to ecasound
Group: X11/Applications/Sound
Requires: ecasound
%description qt
Qt-based X-interface to ecasound.
%prep
%setup
%patch0 -p1 -b .orig
%build
./configure --prefix=/usr --disable-static
make CFLAGS="$RPM_OPT_FLAGS"
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/usr
make prefix=${RPM_BUILD_ROOT}/usr install
make prefix=${RPM_BUILD_ROOT}/usr delete-static-libs
make prefix=${RPM_BUILD_ROOT}/usr strip-shared-libs
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc README COPYING BUGS TODO FAQ INSTALL NEWS Documentation
/usr/man/man1/ecasound.1
/usr/man/man1/qtecasound.1
/usr/man/man1/ecatools.1
/usr/man/man1/ecasound-iam.1
/usr/man/man5/ecasoundrc.5
/usr/bin/ecasound
/usr/bin/ecafixdc
/usr/bin/ecanormalize
/usr/bin/ecaplay
/usr/lib/libecasound.*
/usr/lib/libkvutils.*
%config /usr/share/ecasound/generic_oscillators
%config /usr/share/ecasound/effect_presets
%files devel
%defattr(-, root, root)
/usr/include/ecasound
/usr/include/kvutils
%files qt
%defattr(-, root, root)
/usr/bin/qtecasound
/usr/lib/libqtecasound.*
%changelog
* Wed Aug 30 2000 Frank Meurer <[EMAIL PROTECTED]>
- first ecasound Mandrake spec
* Fri Jan 14 2000 Chmouel Boudjnah <[EMAIL PROTECTED]> 1.0-1mdk
- First spec file for Mandrake distribution.
# end of file