-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 11/25/11 8:12 AM, Ryuji Fukaya wrote: > Hello Alex, > > Thank you for your response. The following is my log file: > > configure:18111: checking launch.h usability configure:18111: > gcc-4.2 -c -Os -g -I/sw/include conftest.c >&5 In file included > from /usr/include/mach/mach.h:69, from /usr/include/launch.h:23, > from conftest.c:96: /usr/include/mach/mach_init.h:62:20: error: > stdarg.h: No such file or directory configure:18111: $? = 1 > configure: failed program was: | /* confdefs.h */ | #define > PACKAGE_NAME "dbus" | #define PACKAGE_TARNAME "dbus" | #define > PACKAGE_VERSION "1.2.28" | #define PACKAGE_STRING "dbus 1.2.28" | > #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define > PACKAGE "dbus" | #define VERSION "1.2.28" | #define GETTEXT_PACKAGE > "dbus-1" | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | > #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define > HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define > HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H > 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define > DBUS_UNIX 1 | #define DBUS_DISABLE_ASSERT 1 | #define > G_DISABLE_ASSERT 1 | #define SIZEOF_CHAR 1 | #define SIZEOF_SHORT > 2 | #define SIZEOF_LONG 8 | #define SIZEOF_INT 4 | #define > SIZEOF_VOID_P 8 | #define SIZEOF_LONG_LONG 8 | #define > SIZEOF___INT64 0 | #define DBUS_INT64_PRINTF_MODIFIER "l" | #define > DBUS_VA_COPY_AS_ARRAY 1 | #define DBUS_USE_ATOMIC_INT_486_COND 0 | > #define DBUS_HAVE_ATOMIC_INT_COND 0 | #define HAVE_VSNPRINTF 1 | > #define HAVE_VASPRINTF 1 | #define HAVE_NANOSLEEP 1 | #define > HAVE_USLEEP 1 | #define HAVE_SETENV 1 | #define HAVE_UNSETENV 1 | > #define HAVE_SOCKETPAIR 1 | #define HAVE_GETGROUPLIST 1 | #define > HAVE_FPATHCONF 1 | #define HAVE_SETRLIMIT 1 | #define BROKEN_POLL > 1 | #define HAVE_DIRFD 1 | #define HAVE_EXECINFO_H 1 | #define > HAVE_BACKTRACE 1 | #define HAVE_ERRNO_H 1 | #define HAVE_UNISTD_H > 1 | #define HAVE_POSIX_GETPWNAM_R 1 | #define HAVE_SOCKLEN_T 1 | > #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define > HAVE_SYS_SYSLIMITS_H 1 | #define HAVE_ISO_VARARGS 1 | #define > HAVE_GNUC_VARARGS 1 | #define HAVE_GETPEEREID 1 | #define > HAVE_EXPAT_H 1 | #define DBUS_BUS_ENABLE_KQUEUE 1 | /* end > confdefs.h. */ | #include <stdio.h> | #ifdef HAVE_SYS_TYPES_H | # > include <sys/types.h> | #endif | #ifdef HAVE_SYS_STAT_H | # include > <sys/stat.h> | #endif | #ifdef STDC_HEADERS | # include <stdlib.h> > | # include <stddef.h> | #else | # ifdef HAVE_STDLIB_H | # include > <stdlib.h> | # endif | #endif | #ifdef HAVE_STRING_H | # if > !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include > <memory.h> | # endif | # include <string.h> | #endif | #ifdef > HAVE_STRINGS_H | # include <strings.h> | #endif | #ifdef > HAVE_INTTYPES_H | # include <inttypes.h> | #endif | #ifdef > HAVE_STDINT_H | # include <stdint.h> | #endif | #ifdef > HAVE_UNISTD_H | # include <unistd.h> | #endif | #include > <launch.h> configure:18111: result: no configure:18111: checking > launch.h presence configure:18111: cpp-4.2 -I/sw/include > conftest.c In file included from /usr/include/mach/mach.h:69, from > /usr/include/launch.h:23, from conftest.c:63: > /usr/include/mach/mach_init.h:62:20: error: stdarg.h: No such file > or directory configure:18111: $? = 1 configure: failed program > was: | /* confdefs.h */ | #define PACKAGE_NAME "dbus" | #define > PACKAGE_TARNAME "dbus" | #define PACKAGE_VERSION "1.2.28" | #define > PACKAGE_STRING "dbus 1.2.28" | #define PACKAGE_BUGREPORT "" | > #define PACKAGE_URL "" | #define PACKAGE "dbus" | #define VERSION > "1.2.28" | #define GETTEXT_PACKAGE "dbus-1" | #define > HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define > HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H > 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define > HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 > | #define LT_OBJDIR ".libs/" | #define DBUS_UNIX 1 | #define > DBUS_DISABLE_ASSERT 1 | #define G_DISABLE_ASSERT 1 | #define > SIZEOF_CHAR 1 | #define SIZEOF_SHORT 2 | #define SIZEOF_LONG 8 | > #define SIZEOF_INT 4 | #define SIZEOF_VOID_P 8 | #define > SIZEOF_LONG_LONG 8 | #define SIZEOF___INT64 0 | #define > DBUS_INT64_PRINTF_MODIFIER "l" | #define DBUS_VA_COPY_AS_ARRAY 1 | > #define DBUS_USE_ATOMIC_INT_486_COND 0 | #define > DBUS_HAVE_ATOMIC_INT_COND 0 | #define HAVE_VSNPRINTF 1 | #define > HAVE_VASPRINTF 1 | #define HAVE_NANOSLEEP 1 | #define HAVE_USLEEP > 1 | #define HAVE_SETENV 1 | #define HAVE_UNSETENV 1 | #define > HAVE_SOCKETPAIR 1 | #define HAVE_GETGROUPLIST 1 | #define > HAVE_FPATHCONF 1 | #define HAVE_SETRLIMIT 1 | #define BROKEN_POLL > 1 | #define HAVE_DIRFD 1 | #define HAVE_EXECINFO_H 1 | #define > HAVE_BACKTRACE 1 | #define HAVE_ERRNO_H 1 | #define HAVE_UNISTD_H > 1 | #define HAVE_POSIX_GETPWNAM_R 1 | #define HAVE_SOCKLEN_T 1 | > #define HAVE_SYS_UIO_H 1 | #define HAVE_WRITEV 1 | #define > HAVE_SYS_SYSLIMITS_H 1 | #define HAVE_ISO_VARARGS 1 | #define > HAVE_GNUC_VARARGS 1 | #define HAVE_GETPEEREID 1 | #define > HAVE_EXPAT_H 1 | #define DBUS_BUS_ENABLE_KQUEUE 1 | /* end > confdefs.h. */ | #include <launch.h> configure:18111: result: no > configure:18111: checking for launch.h configure:18111: result: no > configure:18121: checking for launchctl configure:18139: found > /bin/launchctl configure:18151: result: /bin/launchctl > configure:18164: error: launchd support explicitly enabled but not > available > > > Please let me know if I have to give more information. Thanks, > > Ryuji > >
(ccing the maintainer, since I thought packages in the 10.7 tree weren't supposed to be using gcc-4.2 anyway, and dbus tries to, if /usr/bin/gcc-4.2 is present) What the problem appears to be to me is that dbus is trying to use gcc-4.2, but that is supposed to be absent in Xcode 4.2. However, the Xcode 4.2 update didn't clean out your /usr/bin/gcc-4.2 executable, but did change the headers around in an incompatible way. To work around this problem, rename the gcc-4.2 executable, e.g. sudo mv /usr/bin/gcc-4.2 /usr/bin/gcc-4.2.moved After doing that, the dbus package will build with clang, which is what Fink builds are normally supposed to use on 10.7. For a cleaner solution, I'd recommend running /Developer/Library/uninstall-devtools to clean out your Xcode installation, and then reinstalling Xcode 4.2.1. That will help make sure that your compilers, headers, etc. are from Xcode 4.2.1 and not from older, possibly incompatible, versions. - -- Alexander Hansen, Ph.D. Fink User Liaison http://finkakh.wordpress.com/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk7PuLwACgkQB8UpO3rKjQ9jxgCfYvKTn+Y32cga4AXu58pXznnF S+kAoKgo/kq/CPbVhedRuCHuHH8LURb7 =muJo -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Fink-beginners mailing list [email protected] List archive: http://news.gmane.org/gmane.os.apple.fink.beginners Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-beginners
