Subject: Re: audio/sox PLIST too complete?
To: Michal Pasternak <michal@pasternak.w.lub.pl>
From: Hubert Feyrer <hubert@feyrer.de>
List: tech-pkg
Date: 03/08/2004 15:56:14
On Sun, 7 Mar 2004, Michal Pasternak wrote:
> on FreeBSD:
...
> Is it the same on nbsd?

No. Sounds like configure doesn't find something it'd finding on NetBSD
and thus sets PLAY_SUPPORT different. FWIW, I'll attach the output of
'make configure' below, maybe you can check what's different on FreeBSD.
(Looking in the FreeBSD ports doesn't show any obvious things that need
enabling/patching).


 - Hubert

===> *** No /home/cvs/pkgsrc/distfiles/pkg-vulnerabilities file found,
===> *** skipping vulnerability checks. To fix, install
===> *** the pkgsrc/security/audit-packages package and run
===> *** '/usr/pkg/sbin/download-vulnerability-list'.
=> Checksum OK for sox-12.17.4.tar.gz.
===> Extracting for sox-12.17.4nb2
===> Required installed package libvorbis>=1.0.1: libvorbis-1.0.1 found
===> Required installed package libogg>=1.1: libogg-1.1 found
===> Required installed package libmad>=0.15.0b: libmad-0.15.0bnb1 found
===> Required installed package ccache-[0-9]*: ccache-2.3nb1 found
===> Patching for sox-12.17.4nb2
===> Applying pkgsrc patches for sox-12.17.4nb2
===> Overriding tools for sox-12.17.4nb2
===> Buildlinking for sox-12.17.4nb2
===> Configuring for sox-12.17.4nb2
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking build system type... i386-unknown-netbsdelf1.6ZK
checking host system type... i386--netbsdelf
checking target system type... i386--netbsdelf
checking for i386--netbsdelf-gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for i386--netbsdelf-ranlib... no
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether ln -s works... yes
checking how to run the C preprocessor... gcc -E
checking whether byte ordering is bigendian... no
checking for gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for size_t... yes
checking for ANSI C header files... (cached) yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for unistd.h... (cached) yes
checking byteswap.h usability... no
checking byteswap.h presence... no
checking for byteswap.h... no
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
configure: checking if math library is required during link...
checking for pow... no
checking for pow in -lm... yes
checking for getopt... yes
checking for strerror... yes
checking for memmove... yes
checking for rand... yes
checking for strcasecmp... yes
checking vorbis/codec.h usability... yes
checking vorbis/codec.h presence... yes
checking for vorbis/codec.h... yes
checking for vorbis_analysis_init in -lvorbis... yes
checking mad.h usability... yes
checking mad.h presence... yes
checking for mad.h... yes
checking for mad_stream_buffer in -lmad... yes
checking lame/lame.h usability... no
checking lame/lame.h presence... no
checking for lame/lame.h... no
checking linux/asound.h usability... no
checking linux/asound.h presence... no
checking for linux/asound.h... no
checking sound/asound.h usability... no
checking sound/asound.h presence... no
checking for sound/asound.h... no
checking for ALSA ioctl API... not found
checking sys/audioio.h usability... yes
checking sys/audioio.h presence... yes
checking for sys/audioio.h... yes
checking sun/audioio.h usability... no
checking sun/audioio.h presence... no
checking for sun/audioio.h... no
checking for stdint-types....... "(putting them into ststdint.h)"
checking for uintptr_t... yes
checking for uint64_t... yes
... seen our uintptr_t in stdint.h (uint64_t too)
creating ststdint.h : _STSTDINT_H
..adding include stdint.h
... seen good stdint.h inttypes
... seen good uint64_t
... DONE ststdint.h
configure: creating ./config.status
config.status: creating libst-config
config.status: creating Makefile
config.status: creating gsm/Makefile
config.status: creating play
config.status: creating stconfig.h

Old Rate enabled..................   no
Fast ulaw enabled.................   yes
Fast alaw enabled.................   yes
GSM Support.......................   yes
ALSA Driver.......................   no
OSS Driver........................   no
SUN /dev/audio....................   yes
Ogg Vorbis support................   yes
MAD MP3 Decoder...................   yes
LAME MP3 Encoder..................   no

Configure finished.  Do 'make; make install' to compile and install SoX.

-- 
Hubert Feyrer <hubert@feyrer.de>