[gamin] Building Gamin 0.1.9 on OSX



I am trying to get gamin to build on OSX. On searching the mail archives I found that patches to build on OSX as described in:
http://mail.gnome.org/archives/gamin-list/2007-May/msg00002.html
have been applied in 0.1.9 as stated in:
http://mail.gnome.org/archives/gamin-list/2007-July/msg00005.html

However, I am unable to build on OSX (10.6.6)
The following is a transcript of the configure script's output and make output.
Can someone please take a look and see what is going wrong?

NightWing:gamin-0.1.9 balajeerc$ ls
AUTHORS        NEWS        config.sub    gamin.spec.in    python
COPYING        README        configure    install-sh    server
ChangeLog    TODO        configure.in    lib        tests
Copyright    acinclude.m4    depcomp        libgamin
INSTALL        aclocal.m4    doc        ltmain.sh
Makefile.am    config.guess    gamin.pc.in    missing
Makefile.in    config.h.in    gamin.spec    mkinstalldirs
NightWing:gamin-0.1.9 balajeerc$ mkdir build
NightWing:gamin-0.1.9 balajeerc$ ./configure
checking build system type... i686-apple-darwin10.6.0
checking host system type... i686-apple-darwin10.6.0
checking target system type... i686-apple-darwin10.6.0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
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 ANSI C... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /opt/local/bin/gsed
checking for egrep... grep -E
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 /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
rm: conftest.dSYM: is a directory
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 196608
checking command to parse /usr/bin/nm output from gcc object... rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
checking if gcc supports -fno-rtti -fno-exceptions... rm: conftest.dSYM: is a directory
no
checking for gcc option to produce PIC... -fno-common
checking if gcc PIC flag -fno-common works... rm: conftest.dSYM: is a directory
yes
checking if gcc static flag -static works... rm: conftest.dSYM: is a directory
no
checking if gcc supports -c -o file.o... rm: conftest.dSYM: is a directory
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... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
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
checking if g++ PIC flag -fno-common works... rm: conftest.dSYM: is a directory
yes
checking if g++ static flag -static works... rm: conftest.dSYM: is a directory
no
checking if g++ supports -c -o file.o... rm: conftest.dSYM: is a directory
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
appending configuration tag "F77" to libtool
checking for strerror in -lcposix... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for ANSI C header files... (cached) yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking gtk-doc version >= 1.0... yes
checking for usleep... yes
checking for setsid... yes
checking for setenv... yes
checking for putenv... yes
checking for getlogin_r... yes
checking for nanoseconds field of struct stat.st_mtim... no
checking for pkg-config... /opt/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for DAEMON... yes
checking for LIBGAMIN... yes
checking for TEST... yes
checking for kevent... yes
checking sys/event.h usability... yes
checking sys/event.h presence... yes
checking for sys/event.h... yes
Enabling multithreaded support
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_mutexattr_settype in -lpthread... yes
checking for ISO C99 varargs macros in C... yes
checking for GNUC varargs macros... yes
checking for struct cmsgcred... no
checking abstract socket namespace... no
checking for python... /usr/bin/python
Found Python version 2.6
checking for more compiler warnings... yes
checking whether gcc understands -Wno-sign-compare... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating lib/Makefile
config.status: creating libgamin/Makefile
config.status: creating server/Makefile
config.status: creating tests/Makefile
config.status: creating python/Makefile
config.status: creating python/tests/Makefile
config.status: creating doc/Makefile
config.status: creating gamin.pc
config.status: creating gamin.spec
config.status: creating config.h
config.status: executing depfiles commands

gamin-0.1.9:

        prefix:                   /usr/local
        source code location:     .
        compiler:                 gcc
compiler flags: -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -g

    backends:                 polling, kqueue
    build documentation:      no
    debug support:            yes

NightWing:gamin-0.1.9 balajeerc$ make
make  all-recursive
Making all in lib
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -DGAM_DEBUG_ENABLED -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -g -MT gam_event.o -MD -MP -MF ".deps/gam_event.Tpo" -c -o gam_event.o gam_event.c; \ then mv -f ".deps/gam_event.Tpo" ".deps/gam_event.Po"; else rm -f ".deps/gam_event.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -DGAM_DEBUG_ENABLED -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -g -MT gam_error.o -MD -MP -MF ".deps/gam_error.Tpo" -c -o gam_error.o gam_error.c; \ then mv -f ".deps/gam_error.Tpo" ".deps/gam_error.Po"; else rm -f ".deps/gam_error.Tpo"; exit 1; fi
rm -f libgamin_shared.a
ar cru libgamin_shared.a gam_event.o gam_error.o
ranlib libgamin_shared.a
Making all in libgamin
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -DBINDIR=\""/usr/local/libexec"\" -DBUILDDIR=\"".."\" -DGAM_DEBUG_ENABLED -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -g -MT gam_api.lo -MD -MP -MF ".deps/gam_api.Tpo" -c -o gam_api.lo gam_api.c; \ then mv -f ".deps/gam_api.Tpo" ".deps/gam_api.Plo"; else rm -f ".deps/gam_api.Tpo"; exit 1; fi
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -DBINDIR=\"/usr/local/libexec\" -DBUILDDIR=\"..\" -DGAM_DEBUG_ENABLED -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -g -MT gam_api.lo -MD -MP -MF .deps/gam_api.Tpo -c gam_api.c -fno-common -DPIC -o .libs/gam_api.o
gam_api.c: In function 'gamin_get_user_name':
gam_api.c:123: warning: implicit declaration of function 'strncpy'
gam_api.c:123: warning: incompatible implicit declaration of built-in function 'strncpy'
gam_api.c: In function 'gamin_get_socket_path':
gam_api.c:164: warning: implicit declaration of function 'strdup'
gam_api.c:164: warning: incompatible implicit declaration of built-in function 'strdup'
gam_api.c: In function 'gamin_get_socket_dir':
gam_api.c:191: warning: incompatible implicit declaration of built-in function 'strdup'
gam_api.c: In function 'gamin_connect_unix_socket':
gam_api.c:366: warning: implicit declaration of function 'memset'
gam_api.c:366: warning: incompatible implicit declaration of built-in function 'memset' gam_api.c:380: warning: incompatible implicit declaration of built-in function 'strncpy'
gam_api.c: In function 'gamin_write_byte':
gam_api.c:541: warning: implicit declaration of function 'strerror'
gam_api.c:541: warning: nested extern declaration of 'strerror'
gam_api.c: In function 'gamin_send_request':
gam_api.c:591: warning: implicit declaration of function 'strlen'
gam_api.c:591: warning: incompatible implicit declaration of built-in function 'strlen' gam_api.c:603: warning: incompatible implicit declaration of built-in function 'strlen'
gam_api.c:627: warning: implicit declaration of function 'memcpy'
gam_api.c:627: warning: incompatible implicit declaration of built-in function 'memcpy'
gam_api.c: In function 'gamin_check_cred':
gam_api.c:680: warning: incompatible implicit declaration of built-in function 'memset'
gam_api.c: In function 'gamin_resend_request':
gam_api.c:844: warning: incompatible implicit declaration of built-in function 'strlen' gam_api.c:856: warning: incompatible implicit declaration of built-in function 'memcpy'
gam_api.c: In function 'FAMMonitorDirectory':
gam_api.c:1082: warning: incompatible implicit declaration of built-in function 'strlen'
gam_api.c: In function 'FAMMonitorDirectory2':
gam_api.c:1124: warning: incompatible implicit declaration of built-in function 'strlen'
gam_api.c: In function 'FAMMonitorFile':
gam_api.c:1166: warning: incompatible implicit declaration of built-in function 'strlen'
gam_api.c: In function 'FAMMonitorFile2':
gam_api.c:1206: warning: incompatible implicit declaration of built-in function 'strlen'
gam_api.c: At top level:
gam_api.c:41: warning: 'FAMError' defined but not used
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -DBINDIR=\"/usr/local/libexec\" -DBUILDDIR=\"..\" -DGAM_DEBUG_ENABLED -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -g -MT gam_api.lo -MD -MP -MF .deps/gam_api.Tpo -c gam_api.c -o gam_api.o >/dev/null 2>&1 if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -DBINDIR=\""/usr/local/libexec"\" -DBUILDDIR=\"".."\" -DGAM_DEBUG_ENABLED -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -g -MT gam_data.lo -MD -MP -MF ".deps/gam_data.Tpo" -c -o gam_data.lo gam_data.c; \ then mv -f ".deps/gam_data.Tpo" ".deps/gam_data.Plo"; else rm -f ".deps/gam_data.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -DBINDIR=\"/usr/local/libexec\" -DBUILDDIR=\"..\" -DGAM_DEBUG_ENABLED -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -g -MT gam_data.lo -MD -MP -MF .deps/gam_data.Tpo -c gam_data.c -fno-common -DPIC -o .libs/gam_data.o gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -DBINDIR=\"/usr/local/libexec\" -DBUILDDIR=\"..\" -DGAM_DEBUG_ENABLED -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -g -MT gam_data.lo -MD -MP -MF .deps/gam_data.Tpo -c gam_data.c -o gam_data.o >/dev/null 2>&1 if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -DBINDIR=\""/usr/local/libexec"\" -DBUILDDIR=\"".."\" -DGAM_DEBUG_ENABLED -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -g -MT gam_fork.lo -MD -MP -MF ".deps/gam_fork.Tpo" -c -o gam_fork.lo gam_fork.c; \ then mv -f ".deps/gam_fork.Tpo" ".deps/gam_fork.Plo"; else rm -f ".deps/gam_fork.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -DBINDIR=\"/usr/local/libexec\" -DBUILDDIR=\"..\" -DGAM_DEBUG_ENABLED -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -g -MT gam_fork.lo -MD -MP -MF .deps/gam_fork.Tpo -c gam_fork.c -fno-common -DPIC -o .libs/gam_fork.o gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -DBINDIR=\"/usr/local/libexec\" -DBUILDDIR=\"..\" -DGAM_DEBUG_ENABLED -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -g -MT gam_fork.lo -MD -MP -MF .deps/gam_fork.Tpo -c gam_fork.c -o gam_fork.o >/dev/null 2>&1 if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -DBINDIR=\""/usr/local/libexec"\" -DBUILDDIR=\"".."\" -DGAM_DEBUG_ENABLED -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -g -MT gam_error.lo -MD -MP -MF ".deps/gam_error.Tpo" -c -o gam_error.lo gam_error.c; \ then mv -f ".deps/gam_error.Tpo" ".deps/gam_error.Plo"; else rm -f ".deps/gam_error.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -DBINDIR=\"/usr/local/libexec\" -DBUILDDIR=\"..\" -DGAM_DEBUG_ENABLED -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -g -MT gam_error.lo -MD -MP -MF .deps/gam_error.Tpo -c gam_error.c -fno-common -DPIC -o .libs/gam_error.o gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -DBINDIR=\"/usr/local/libexec\" -DBUILDDIR=\"..\" -DGAM_DEBUG_ENABLED -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -g -MT gam_error.lo -MD -MP -MF .deps/gam_error.Tpo -c gam_error.c -o gam_error.o >/dev/null 2>&1 if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -DBINDIR=\""/usr/local/libexec"\" -DBUILDDIR=\"".."\" -DGAM_DEBUG_ENABLED -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -g -MT gam_event.lo -MD -MP -MF ".deps/gam_event.Tpo" -c -o gam_event.lo gam_event.c; \ then mv -f ".deps/gam_event.Tpo" ".deps/gam_event.Plo"; else rm -f ".deps/gam_event.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -DBINDIR=\"/usr/local/libexec\" -DBUILDDIR=\"..\" -DGAM_DEBUG_ENABLED -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -g -MT gam_event.lo -MD -MP -MF .deps/gam_event.Tpo -c gam_event.c -fno-common -DPIC -o .libs/gam_event.o gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -DBINDIR=\"/usr/local/libexec\" -DBUILDDIR=\"..\" -DGAM_DEBUG_ENABLED -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -g -MT gam_event.lo -MD -MP -MF .deps/gam_event.Tpo -c gam_event.c -o gam_event.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=link gcc -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wsign-compare -Wno-sign-compare -g -o libgamin-1.la -rpath /usr/local/lib -Wl,--version-script=./gamin_sym.version -version-info 1:9:1 -lpthread gam_api.lo gam_data.lo gam_fork.lo gam_error.lo gam_event.lo gcc -dynamiclib ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o .libs/libgamin-1.0.1.9.dylib .libs/gam_api.o .libs/gam_data.o .libs/gam_fork.o .libs/gam_error.o .libs/gam_event.o -lpthread -Wl,--version-script=./gamin_sym.version -install_name /usr/local/lib/libgamin-1.0.dylib -Wl,-compatibility_version -Wl,2 -Wl,-current_version -Wl,2.9
ld: unknown option: --version-script=./gamin_sym.version
collect2: ld returned 1 exit status
make[2]: *** [libgamin-1.la] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
NightWing:gamin-0.1.9 balajeerc$


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]