Re: [ecasound] re: qtecasound not compiling

New Message Reply Date view Thread view Subject view Author view Other groups

Subject: Re: [ecasound] re: qtecasound not compiling
From: Kai Vehmanen (kaiv@wakkanet.fi)
Date: Sun Jan 02 2000 - 19:02:59 EET


On Sat, 1 Jan 2000, Vadim Tkachenko wrote:

> Well, first of all, are you sure that you want main() in libqt for
> ecasound to compile? I haven't actually *run* the resulting qtecasound

AC_CHECK_LIB(qt,main,qt_support=yes,qt_support=no)

...this just checks whether libqt exists (normal library paths). But
I admit that this is not the best way to check for qt...

> binary successfully ("Unable to open envelope
> file/etc/ecasound/generic_oscillators"), but I'll get to that,

Check your ~/.ecasoundrc ... nowadays defaults to /usr/local/share/ecasound ...

> Second, the --enable-qt/--disable-qt clause in the configure.in is not
> correct. The proper (implies: convenient, as everyone does it) usage is
> --enable-Z switches it on, --disable-Z switches it off. The way you did
> it is both --enable-qt and --disable-qt switch it OFF. Moreover, even

This is true. Currently qtecasound is compiled if proper qt libraries
and header files are found and --disable-qt is not specified.
--enable-qt doesn't work as expected. Normally there's no need for it.

> though configure says that qtecasound *is* normally enabled, it doesn't
> give away any warning, neither it terminates, if the conditions for
> qtecasound compilation aren't met.

I added a warning.

> there in the library), but something else is wrong with the libraries
> setup, and configure doesn't properly register the location of libqt
> (even though I specify --with-qt-libraries), so if I override the
> $qt_support to yes, and then 'make LIBS="-L/where/qt/is"', that does

I've now made a few changes to configure.in. QTDIR, with-qt-libraries,
etc now work as expected.

--cut from ./configure.in --
dnl ---
dnl Check for qt
dnl ---
AC_PATH_QT_2
qt_support=yes
if test x$qt_includes = x; then
        qt_support=no
fi
if test x$qt_libraries = x; then
        qt_support=no
fi
AC_ARG_ENABLE(qt,
[ --disable-qt Don't build qtecasound (normally compiled)],
qt_support=no)
AM_CONDITIONAL(COMPILE_QTECASOUND, test x$qt_support = xyes)
if test x$qt_support = xyes; then
        AC_DEFINE(COMPILE_QTECASOUND)
fi
--cut--

> while ago) I ask you to reconsider and put the code into the CVS
> repository, which could boost the development speed in order of
> magnitude.

Well, I really want to do this, but unfortunately I just haven't had
the time. Currently most of my free time goes to developing ecawave
(= simple wave editor based on libecasound). But I'll try to work on
this....

-- 
Kai Vehmanen <kaiv@wakkanet.fi> -------- CS, University of Turku, Finland
 . http://www.wakkanet.fi/ecasound/ - linux audio processing
 . http://www.wakkanet.fi/sculpscape/ - ambient-idm-rock-... mp3/ra/wav


New Message Reply Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2a24 : Tue Jan 04 2000 - 09:45:22 EET