Ok, that patch got things building on Mac OS X 10.5.8. Here's what I submitted to Fink, including a reformatted version of this patch: https://sourceforge.net/tracker/?func=detail&atid=414256&aid=3033709&group_id=17203
Now I'm trying gmerlin-avdecoder1-1.0.2 and it barfs on ./configure: ./autogen.sh -n doing aclocal... done -n doing libtoolize... done -n doing autoheader... done -n doing autoconf... done -n doing automake... done You can now run ./configure LIBRARY_PATH="/sw/lib:$LIBRARY_PATH" ./configure --prefix=/sw -- disable-gmerlin --enable-libavcodec --enable-libpostproc --enable- libswscale --enable-libavformat --enable-theora --enable-speex -- disable-mjpegtools --enable-vorbis --disable-libmpeg2 --enable-libtiff --enable-openjpeg --disable-samba --enable-libpng --enable-faad2 -- enable-dvdread --enable-flac --enable-musepack --enable-mad --enable- liba52 --enable-libdca --enable-libcdio --disable-win32 --with- avcodec=/sw --with-avformat=/sw --with-vorbis=/sw --with-faad2-prefix=/ sw configure: WARNING: unrecognized options: --enable-theora, --enable- libdca checking for a BSD-compatible install... /sw/bin/ginstall -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /sw/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking for gcc... gcc checking for C compiler default output file name... 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 gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -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 minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking dependency style of gcc... gcc3 checking build system type... i386-apple-darwin9.8.0 checking host system type... i386-apple-darwin9.8.0 checking for a sed that does not truncate output... /sw/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/libexec/gcc/i686-apple- darwin9/4.0.1/ld checking if the linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) is GNU ld... no checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -p checking the name lister (/usr/bin/nm -p) 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-darwin9/4.0.1/ld option to reload object files... -r checking for objdump... no 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 -p 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 for dlfcn.h... yes 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- darwin9/4.0.1/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin9.8.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 byteswap.h usability... no checking byteswap.h presence... no checking for byteswap.h... no checking whether byte ordering is bigendian... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for _LARGEFILE_SOURCE value needed for large files... no checking for ftello... yes checking for vasprintf... yes checking whether MSG_NOSIGNAL is declared... no checking whether SO_NOSIGPIPE is declared... yes checking for POSIX unnamed semaphores... no checking whether NLS is requested... yes checking for msgfmt... /sw/bin/msgfmt checking for gmsgfmt... /sw/bin/msgfmt checking for xgettext... /sw/bin/xgettext checking for msgmerge... /sw/bin/msgmerge checking for ld used by GCC... /usr/libexec/gcc/i686-apple- darwin9/4.0.1/ld checking if the linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) is GNU ld... no checking for shared library run path origin... done checking for CFPreferencesCopyAppValue... yes checking for CFLocaleCopyCurrent... yes checking for GNU gettext in libc... no checking for iconv... yes checking how to link with libiconv... -liconv checking for GNU gettext in libintl... yes checking whether to use NLS... yes checking where the gettext function comes from... external libintl checking how to link with libintl... -lintl -Wl,-framework - Wl,CoreFoundation checking for pthread_mutex_lock in -lpthread... yes checking for doxygen... doxygen checking for pkg-config... /sw/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for GAVL... no configure: error: "gavl not found" ### execution of LIBRARY_PATH="/sw/lib:$LIBRARY_PATH" failed, exit code 1 ### execution of /var/tmp/tmp.2.O8XlTB failed, exit code 1 .hc On Jul 23, 2010, at 1:03 PM, august wrote: > ----- Forwarded message from Burkhard Plaum <[email protected] > > ----- > > Date: Fri, 23 Jul 2010 18:57:02 +0200 > From: Burkhard Plaum <[email protected]> > To: [email protected] > Subject: Re: [Gmerlin-general] [updating libgavl 1.1.2 on Mac OS X] > > Hi, > > Am 23.07.2010 16:57, schrieb august: >> >> >> a colleague is trying to update the fink packages we made for the >> mac. >> gavl can't compile and stops here: >> >> ------------------- >> >> libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include/gavl -I../ >> include >> -I../include/gavl -I../include -I/sw/include -D__GAVL__ -march=nocona >> -mtune=nocona -O3 -funroll-all-loops -fomit-frame-pointer -ffast- >> math -Wall >> -Wmissing-declarations -Wdeclaration-after-statement -mfpmath=387 >> -fvisibility=hidden -MT timer.lo -MD -MP -MF .deps/timer.Tpo -c >> timer.c >> -fno-common -DPIC -o .libs/timer.o >> timer.c: In function 'gavl_benchmark_get_time': >> timer.c:129: error: 'GAVL_ACCEL_MMX' undeclared (first use in this >> function) >> timer.c:129: error: (Each undeclared identifier is reported only once >> timer.c:129: error: for each function it appears in.) >> timer.c: In function 'gavl_benchmark_get_desc': >> timer.c:149: error: 'config_flags' undeclared (first use in this >> function) >> timer.c:149: error: 'GAVL_ACCEL_MMX' undeclared (first use in this >> function) >> timer.c:158: error: syntax error before '}' token >> timer.c:147: warning: unused variable 'x' >> make[2]: *** [timer.lo] Error 1 >> >> ------------------ >> >> any idea? > > Could reproduce this after disabling clock_gettime() (which seems to > be > absent on mac). > >> I can't see what is going on. GAVL_ACCEL_MMX is defined in gavl.h >> which >> it should see, I think. > > Seeing the header doesn't help if it's not #included by the C file :) > > Attached patch (also in CVS) fixes the problems. > >> >> attached is his config.log > > Pressing CTRL+C while configure runs is also not the best idea: > > configure: caught signal 2 > configure: exit 1 > > Burkhard > > Index: gavl/timer.c > =================================================================== > RCS file: /cvsroot/gmerlin/gavl/gavl/timer.c,v > retrieving revision 1.8 > diff -r1.8 timer.c > 33c33 > < #include <gavltime.h> > --- >> #include <gavl.h> > 144c144 > < const char * gavl_benchmark_get_desc(int flags) > --- >> const char * gavl_benchmark_get_desc(int config_flags) > 147d146 > < uint64_t x; > 156c155 > < return "microseconds returned by gettimeofday" > --- >> return "microseconds returned by gettimeofday"; > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > Gmerlin-general mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/gmerlin-general > > > ----- End forwarded message ----- > > -- > ------------------- > http://aug.ment.org > > <patch.txt> ---------------------------------------------------------------------------- Mistrust authority - promote decentralization. - the hacker ethic ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Gmerlin-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gmerlin-general
