Thanks Alex and Martin,
Here are the config.log output around 18712:
===============================

configure:18712: checking for rmdir
configure:18712: gcc -o conftest -g -O2 -I/sw/include -L/sw/lib conftest.c
>&5
error: unable to open executable '-o'
clang: error: dsymutil command failed with exit code 1 (use -v to see
invocation)
configure:18712: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "gzip"
| #define PACKAGE_TARNAME "gzip"
| #define PACKAGE_VERSION "1.4"
| #define PACKAGE_STRING "gzip 1.4"
| #define PACKAGE_BUGREPORT "bug-g...@gnu.org"
| #define PACKAGE_URL ""
| #define PACKAGE "gzip"
| #define VERSION "1.4"
| #define STDC_HEADERS 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 __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define HAVE_FSEEKO 1
| #define HAVE_ALLOCA_H 1
| #define HAVE_ALLOCA 1
| #define HAVE_UNISTD_H 1
| #define HAVE_CHOWN 1
| #define HAVE_CHOWN 1
| #define HAVE_FCHOWN 1
| #define HAVE_DUP2 1
| #define HAVE_FCHDIR 1
| #define HAVE_FCNTL 1
| #define HAVE_FPURGE 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_LCHMOD 1
| #define HAVE_LSTAT 1
| #define HAVE_MBSINIT 1
| #define HAVE_MBRTOWC 1
| #define HAVE_MPROTECT 1
| #define HAVE_PIPE 1
| #define HAVE_FUTIMES 1
| #define HAVE_LUTIMES 1
| #define HAVE_ISWCNTRL 1
| #define HAVE_FCHMOD 1
| #define HAVE_SIGINTERRUPT 1
| #define CHOWN_TRAILING_SLASH_BUG 1
| #define HAVE_DIRENT_H 1
| #define HAVE_ERRNO_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_FLOAT_H 1
| #define HAVE_GETOPT_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_MATH_H 1
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_STDDEF_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_STRING_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_TIME_H 1
| #define HAVE_UTIME_H 1
| #define HAVE_WCTYPE_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_MEMORY_H 1
| #define FILE_SYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0
| #define FILE_SYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0
| #define FILE_SYSTEM_DRIVE_PREFIX_CAN_BE_RELATIVE 0
| #define HAVE_DECL_STRERROR_R 1
| #define HAVE_STRERROR_R 1
| #define PROMOTED_MODE_T int
| #define HAVE_WORKING_O_NOATIME 0
| #define HAVE_WORKING_O_NOFOLLOW 1
| #define HAVE_STDINT_H_WITH_UINTMAX 1
| #define HAVE_INTTYPES_H_WITH_UINTMAX 1
| #define CHECK_PRINTF_SAFE 1
| #define HAVE_LONG_LONG_INT 1
| #define HAVE_WCHAR_T 1
| #define HAVE_WINT_T 1
| #define HAVE_INTMAX_T 1
| #define HAVE_SNPRINTF 1
| #define HAVE_STRNLEN 1
| #define HAVE_WCSLEN 1
| #define HAVE_WCSNLEN 1
| #define HAVE_MBRTOWC 1
| #define HAVE_WCRTOMB 1
| #define HAVE_DECL__SNPRINTF 0
| #define HAVE_DECL_GETCWD 1
| #define HAVE_GETOPT_H 1
| #define HAVE_GETOPT_LONG_ONLY 1
| #define HAVE_DECL_OPTRESET 1
| #define HAVE_DECL_GETENV 1
| #define __GETOPT_PREFIX rpl_
| #define restrict __restrict
| #define HAVE_DECL_GETC_UNLOCKED 1
| #define HAVE_MBSTATE_T 1
| #define HAVE_DECL_MEMRCHR 0
| #define NEED_PRINTF_INFINITE_LONG_DOUBLE 1
| #define NEED_PRINTF_DIRECTIVE_A 1
| #define REPLACE_VFPRINTF_POSIX 1
| #define HAVE__BOOL 1
| #define HAVE_DECL_STRDUP 1
| #define HAVE_DECL_STRERROR 1
| #define HAVE_STRUCT_UTIMBUF 1
| #define HAVE_ALLOCA 1
| #define HAVE_CALLOC 0
| #define calloc rpl_calloc
| #define HAVE_CALLOC_POSIX 1
| #define GNULIB_CLOSE_STREAM 1
| #define HAVE_DECL_DIRFD 1
| #define FCNTL_DUPFD_BUGGY 1
| #define GNULIB_FCNTL_SAFER 1
| #define HAVE_DECL___FPENDING 0
| #define PENDING_OUTPUT_N_BYTES fp->_p - fp->_bf._base
| #define NEED_PRINTF_INFINITE_LONG_DOUBLE 1
| #define NEED_PRINTF_DIRECTIVE_A 1
| #define REPLACE_FPRINTF_POSIX 1
| #define HAVE_DECL_FPURGE 1
| #define HAVE_PARTLY_WORKING_GETCWD 1
| #define GNULIB_GETOPT_GNU 1
| #define __GETOPT_PREFIX rpl_
| #define HAVE_SYS_TIMEB_H 1
| #define gmtime rpl_gmtime
| #define localtime rpl_localtime
| #define GETTIMEOFDAY_CLOBBERS_LOCALTIME 1
| #define HAVE_INLINE 1
| #define LSEEK_PIPE_BROKEN 1
| #define HAVE_STDLIB_H 1
| #define HAVE_MALLOC 0
| #define malloc rpl_malloc
| #define GNULIB_MALLOC_GNU 1
| #define HAVE_MALLOC_POSIX 1
| #define FUNC_MKDIR_DOT_BUG 1
| #define OPEN_TRAILING_SLASH_BUG 1
| #define GNULIB_OPEN 1
| #define REPLACE_PRINTF_POSIX 1
| #define HAVE_STDLIB_H 1
| #define HAVE_REALLOC 0
| #define realloc rpl_realloc
| #define GNULIB_REALLOC_GNU 1
| #define HAVE_REALLOC_POSIX 1
| /* end confdefs.h.  */
| /* Define rmdir to an innocuous variant, in case <limits.h> declares
rmdir.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define rmdir innocuous_rmdir
| 
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char rmdir (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
| 
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 
| #undef rmdir
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char rmdir ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined __stub_rmdir || defined __stub___rmdir
| choke me
| #endif
| 
| int
| main ()
| {
| return rmdir ();
|   ;
|   return 0;
| }
configure:18712: result: no

==============================





On 9/17/11 9:03 AM, "Martin Costabel" <costa...@wanadoo.fr> wrote:

> On 17/09/11 00:29, Fazl, Arash wrote:
>> Thanks Alexander,
>> which rmdir returns:
>> /bin/rmdir
> []
>> On 9/16/11 6:23 PM, "Alexander Hansen"<alexanderk.han...@gmail.com>  wrote:
> []
>>> If you don't have rmdir, you're not going to get very far.
>>> 
>>> What do you get from running "which rmdir" in a terminal window?
> 
> It's not the rmdir command that is not found, but the rmdir() function
> in the system library. Since this function is certainly there, something
> else is going on. Configure tries to compile a short program that uses
> the function, and apparently this fails. The reason for the failure can
> be something unrelated.
> 
> Please look in the file
>    /sw/src/fink.build/gzip-1.4-2/gzip-1.4/config.log
> for a line similar to
>    configure:18712: checking whether rmdir works
> and show the next lines after this, up to
>    configure:18712: result: no
> 
> If you don't find this file, then please show the output of
> 
>   grep "for rmdir" -A10 /sw/src/fink.build/gzip-1.4-2/gzip-1.4/config.log


------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2
_______________________________________________
Fink-beginners mailing list
Fink-beginners@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to