Menu

#25 Can't install fuppes on OS X 10.6

open
nobody
5
2015-02-20
2011-01-27
No

I have been trying to install fuppes for about two days. I'm on an intel macbook core 2 duo running Snow Leopard.

When I ./configure I get this:

"checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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 gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking build system type... i386-apple-darwin10.6.0
checking host system type... i386-apple-darwin10.6.0
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld
checking if the linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm
checking the name lister (/usr/bin/nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm output from gcc object... ok
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking how to run the C preprocessor... gcc -E
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 dlfcn.h... yes
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking how to run the C++ preprocessor... g++ -E
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fno-common -DPIC
checking if gcc PIC flag -fno-common -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin10.6.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for ld used by g++... /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld
checking if the linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) is GNU ld... no
checking whether the g++ linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fno-common -DPIC
checking if g++ PIC flag -fno-common -DPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin10.6.0 dyld
checking how to hardcode library paths into programs... immediate
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for off_t... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking whether byte ordering is bigendian... no
checking for pkg-config... /opt/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether we are building with mingw... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for string.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for unistd.h... (cached) yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for select... yes
checking size of off_t... 8
checking size of long long int... 8
checking size of unsigned long long int... 8
checking size of long int... 8
checking size of unsigned long int... 8
checking size of int... 4
checking size of unsigned int... 4
checking size of short... 2
checking size of unsigned short... 2

check minimum dependencies

checking for PCRE... yes
checking for LIBXML... yes
checking for SQLITE3... yes
checking for pthread_create in -lpthread... yes
checking for clock_gettime in -lrt... no

check recommended dependencies

checking for UUID... no
checking for ld used by GCC... /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld
checking if the linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) is GNU ld... no
checking for shared library run path origin... done
checking for iconv... yes
checking for working iconv... yes
checking how to link with libiconv... -liconv
checking for iconv declaration... install-shextern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);

check optional stuff

checking for taglib-config... no
checking for FFMPEGTHUMBNAILER... no
checking for IMAGEMAGICK_WAND... yes
checking for EXIV2... no
checking for LIBAVFORMAT... yes
checking libavformat/avformat.h usability... no
checking libavformat/avformat.h presence... no
checking for libavformat/avformat.h... no
checking for LIBSWSCALE... yes
checking ffmpeg/avstring.h usability... no
checking ffmpeg/avstring.h presence... no
checking for ffmpeg/avstring.h... no
checking for LIBAVCODEC... yes
checking for LIBAVUTIL... yes
checking for mpeg4ip-config... no
configure: *** mpeg4ip/libmp4v2 support disabled ***
checking for VORBISFILE... yes
checking mpcdec/config_types.h usability... no
checking mpcdec/config_types.h presence... no
checking for mpcdec/config_types.h... no
checking FLAC/file_decoder.h usability... no
checking FLAC/file_decoder.h presence... no
checking for FLAC/file_decoder.h... no
checking FLAC/stream_decoder.h usability... no
checking FLAC/stream_decoder.h presence... no
checking for FLAC/stream_decoder.h... no
checking for simage-config... no
checking for mysql_config... no
checking sys/inotify.h usability... no
checking sys/inotify.h presence... no
checking for sys/inotify.h... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating m4/Makefile
config.status: creating src/Makefile
config.status: creating src/plugins/Makefile
config.status: creating src/windows/Makefile
config.status: creating include/Makefile
config.status: creating src/config.h
config.status: src/config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands

CONFIGURATION SUMMARY

audio transcoding plugins
encoder:
lame : no
twolame : no
pcm/wav : yes
decoder:
vorbis : yes (libvorbisfile)
mpc : no
flac : no
faad : no (aac/mp4/m4a)
mad : no (mpeg Layer I, II & III)

video transcoding plugins
ffmpeg : disabled

image conversion/rescaling plugins
ImageMagick : enabled (Wand C-API)

audio metadata extraction plugins
taglib : disabled (mp3, ogg, flac & mpc)
mpeg4ip/mp4v2 : disabled (mp4/m4a)

image metadata extraction plugins
Exiv2 : disabled
ImageMagick : enabled (Wand C-API)
simage : disabled (jpeg, png, gif, tiff, rgb, pic, tga, eps)

video metadata extraction plugins
libavformat : enabled
ffmpegthumbnailer : disabled

miscellaneous
iconv : enabled (charset conversion)
uuid : disabled
inotify : disabled

Thanks for using fuppes
please report bugs"

I'm assuming that the this line in the dependencies is the problem : "checking for clock_gettime in -lrt... no". But I can't figure out how to fix this. I installed glibc because I read on another forum that is where clock_gettime is. But this didn't solve the problem.

If I run "make" I get this:

"Making all in m4
make[1]: Nothing to be done for `all'.
Making all in include
make[1]: Nothing to be done for `all'.
Making all in src
make all-am
Making all in src/plugins
/bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../src -I/opt/local/include -DOLD_INCLUDES_PATH -DFFMPEG_VERSION=52 -I/opt/local/include -I/opt/local/include -g -O2 -MT libmetadata_libavformat_la-metadata_libavformat.lo -MD -MP -MF .deps/libmetadata_libavformat_la-metadata_libavformat.Tpo -c -o libmetadata_libavformat_la-metadata_libavformat.lo `test -f 'metadata_libavformat.c' || echo './'`metadata_libavformat.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../src -I/opt/local/include -DOLD_INCLUDES_PATH -DFFMPEG_VERSION=52 -I/opt/local/include -I/opt/local/include -g -O2 -MT libmetadata_libavformat_la-metadata_libavformat.lo -MD -MP -MF .deps/libmetadata_libavformat_la-metadata_libavformat.Tpo -c metadata_libavformat.c -fno-common -DPIC -o .libs/libmetadata_libavformat_la-metadata_libavformat.o
metadata_libavformat.c:36:22: error: avformat.h: No such file or directory
metadata_libavformat.c:37:21: error: avcodec.h: No such file or directory
metadata_libavformat.c: In function ‘register_fuppes_plugin’:
metadata_libavformat.c:55: error: ‘AV_LOG_QUIET’ undeclared (first use in this function)
metadata_libavformat.c:55: error: (Each undeclared identifier is reported only once
metadata_libavformat.c:55: error: for each function it appears in.)
metadata_libavformat.c: In function ‘fuppes_metadata_file_open’:
metadata_libavformat.c:67: error: ‘AVFormatContext’ undeclared (first use in this function)
metadata_libavformat.c:67: error: expected expression before ‘)’ token
metadata_libavformat.c:68: error: expected expression before ‘)’ token
metadata_libavformat.c: In function ‘fuppes_metadata_read’:
metadata_libavformat.c:78: error: ‘AVFormatContext’ undeclared (first use in this function)
metadata_libavformat.c:78: error: expected expression before ‘)’ token
metadata_libavformat.c:78: error: ‘AV_NOPTS_VALUE’ undeclared (first use in this function)
metadata_libavformat.c:81: error: expected expression before ‘)’ token
metadata_libavformat.c:81: error: ‘AV_TIME_BASE’ undeclared (first use in this function)
metadata_libavformat.c:82: error: expected expression before ‘)’ token
metadata_libavformat.c:96: error: expected expression before ‘)’ token
metadata_libavformat.c:97: error: expected expression before ‘)’ token
metadata_libavformat.c:105: error: expected expression before ‘)’ token
metadata_libavformat.c:107: error: ‘AVStream’ undeclared (first use in this function)
metadata_libavformat.c:107: error: ‘pStream’ undeclared (first use in this function)
metadata_libavformat.c:107: error: expected expression before ‘)’ token
metadata_libavformat.c:108: error: ‘AVCodec’ undeclared (first use in this function)
metadata_libavformat.c:108: error: ‘pCodec’ undeclared (first use in this function)
metadata_libavformat.c:152: error: ‘CODEC_TYPE_VIDEO’ undeclared (first use in this function)
metadata_libavformat.c:158: error: ‘CODEC_TYPE_AUDIO’ undeclared (first use in this function)
metadata_libavformat.c:164: error: ‘CODEC_TYPE_DATA’ undeclared (first use in this function)
metadata_libavformat.c:166: error: ‘CODEC_TYPE_SUBTITLE’ undeclared (first use in this function)
make[1]: *** [libmetadata_libavformat_la-metadata_libavformat.lo] Error 1
make: *** [all-recursive] Error 1"

Thanks for any assistance.

Discussion


Log in to post a comment.