From owner-freebsd-multimedia@FreeBSD.ORG Sun Feb 15 10:41:04 2009 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E9BF8106566C for ; Sun, 15 Feb 2009 10:41:04 +0000 (UTC) (envelope-from me@janh.de) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.188]) by mx1.freebsd.org (Postfix) with ESMTP id 7A8F38FC0A for ; Sun, 15 Feb 2009 10:41:03 +0000 (UTC) (envelope-from me@janh.de) Received: from janh.freebsd (e177250122.adsl.alicedsl.de [85.177.250.122]) by mrelayeu.kundenserver.de (node=mrelayeu3) with ESMTP (Nemesis) id 0MKxQS-1LYeQo3wyW-0002QP; Sun, 15 Feb 2009 11:41:03 +0100 Message-ID: <4997F13A.8070500@janh.de> Date: Sun, 15 Feb 2009 11:40:58 +0100 From: Jan Henrik Sylvester User-Agent: Thunderbird 2.0.0.19 (X11/20090115) MIME-Version: 1.0 To: multimedia-list freebsd Content-Type: multipart/mixed; boundary="------------010706050408010703080809" X-Provags-ID: V01U2FsdGVkX1+J00EuPXzzz5txkkC+GC7/NePCpXDV7/BIraB i8MspvfOaqNERKYaD3VMwKYuC7+nH27Nxu09CpFtOmQ8xSJfeA thB/JXrUdgi95zbtqSVxg== Subject: libsndfile-1.0.18 build fails due to math/octave X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Feb 2009 10:41:05 -0000 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--