Date: Sun, 15 Feb 2009 11:40:58 +0100 From: Jan Henrik Sylvester <me@janh.de> To: multimedia-list freebsd <freebsd-multimedia@freebsd.org> Subject: libsndfile-1.0.18 build fails due to math/octave Message-ID: <4997F13A.8070500@janh.de>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------010706050408010703080809 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit After USE_GMAKE was added, the libsndfile build dies at a different point: gmake[1]: Entering directory `/usr/ports/audio/libsndfile/work/libsndfile-1.0.18/Octave' mkoctfile -v -I../src -c sndfile.cc -o ./sndfile.o c++ -c -I/usr/local/include -I/usr/local/include/metis -I/usr/local/include -fPIC -I/usr/local/include/octave-3.0.3 -I/usr/local/include/octave-3.0.3/octave -I/usr/local/include -mieee-fp -O2 -fno-strict-aliasing -pipe -Wall -Wextra -Wcast-align -Wcast-qual -Wshadow -Wwrite-strings -Wctor-dtor-privacy -Wnon-virtual-dtor -Woverloaded-virtual -Wreorder -Wsign-promo -I../src sndfile.cc -o ./sndfile.o sndfile.cc: In function 'int major_format_of_hash(const std::string&)': sndfile.cc:275: error: 'SF_FORMAT_WVE' was not declared in this scope sndfile.cc: In function 'const char* string_of_major_format(int)': sndfile.cc:341: error: 'SF_FORMAT_WVE' was not declared in this scope gmake[1]: *** [sndfile.o] Error 1 It obviously picked up math/octave installed. Configure got: checking for octave... yes checking for OCTAVE_VERSION in octave... 3.0.3 checking for mkoctfile... yes checking for version of mkoctfile... 3.0.3 checking for octave-config... yes checking for version of octave-config... 3.0.3 building octave libsndfile module... yes Assuming that the octave module is not supposed to be build in the FreeBSD port, disabling it fixes the build: diff -u audio/libsndfile/Makefile~ audio/libsndfile/Makefile --- audio/libsndfile/Makefile~ 2009-02-15 05:39:01.000000000 +0100 +++ audio/libsndfile/Makefile 2009-02-15 11:30:50.000000000 +0100 @@ -17,7 +17,8 @@ GNU_CONFIGURE= yes USE_GMAKE= yes CONFIGURE_ARGS= --disable-gcc-pipe \ - --disable-sqlite + --disable-sqlite \ + --disable-octave CONFIGURE_ENV= CPPFLAGS="-isystem /usr/include -isystem ${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" USE_LDCONFIG= yes (I do not know if the multimedia list accepts attachments.) Cheers, Jan Henrik --------------010706050408010703080809 Content-Type: text/plain; name="libsndfile-disable-octave" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="libsndfile-disable-octave" diff -u audio/libsndfile/Makefile~ audio/libsndfile/Makefile --- audio/libsndfile/Makefile~ 2009-02-15 05:39:01.000000000 +0100 +++ audio/libsndfile/Makefile 2009-02-15 11:30:50.000000000 +0100 @@ -17,7 +17,8 @@ GNU_CONFIGURE= yes USE_GMAKE= yes CONFIGURE_ARGS= --disable-gcc-pipe \ - --disable-sqlite + --disable-sqlite \ + --disable-octave CONFIGURE_ENV= CPPFLAGS="-isystem /usr/include -isystem ${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" USE_LDCONFIG= yes --------------010706050408010703080809--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4997F13A.8070500>