have_library: checking for main() in -licui18n... -------------------- yes

"cc -o conftest -I/usr/local/include/ruby-1.9//amd64-freebsd8 -I/usr/local/include/ruby-1.9//ruby/backward -I/usr/local/include/ruby-1.9/ -I. -I/usr/local/include   -I/usr/local/include -O2 -pipe  -fno-strict-aliasing -fPIC conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L.  -Wl,-rpath=/usr/lib:/usr/local/lib -pthread -L/usr/local/lib -rdynamic     -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19  -lexecinfo -lpthread -lcrypt -lm -L/usr/local/lib  -Wl,-rpath=/usr/lib:/usr/local/lib -pthread  -lc"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: int main(int argc, char **argv)
4: {
5:   return 0;
6: }
/* end */

"cc -o conftest -I/usr/local/include/ruby-1.9//amd64-freebsd8 -I/usr/local/include/ruby-1.9//ruby/backward -I/usr/local/include/ruby-1.9/ -I. -I/usr/local/include   -I/usr/local/include -O2 -pipe  -fno-strict-aliasing -fPIC conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L.  -Wl,-rpath=/usr/lib:/usr/local/lib -pthread -L/usr/local/lib -rdynamic     -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19 -licui18n  -lexecinfo -lpthread -lcrypt -lm -L/usr/local/lib  -Wl,-rpath=/usr/lib:/usr/local/lib -pthread  -lc"
conftest.c: In function 't':
conftest.c:4: error: 'main' undeclared (first use in this function)
conftest.c:4: error: (Each undeclared identifier is reported only once
conftest.c:4: error: for each function it appears in.)
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: int t() { void ((*volatile p)()); p = (void ((*)()))main; return 0; }
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     printf("%p", &t);
 9:   }
10: 
11:   return 0;
12: }
/* end */

"cc -o conftest -I/usr/local/include/ruby-1.9//amd64-freebsd8 -I/usr/local/include/ruby-1.9//ruby/backward -I/usr/local/include/ruby-1.9/ -I. -I/usr/local/include   -I/usr/local/include -O2 -pipe  -fno-strict-aliasing -fPIC conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L.  -Wl,-rpath=/usr/lib:/usr/local/lib -pthread -L/usr/local/lib -rdynamic     -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19 -licui18n  -lexecinfo -lpthread -lcrypt -lm -L/usr/local/lib  -Wl,-rpath=/usr/lib:/usr/local/lib -pthread  -lc"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: int t() { main(); return 0; }
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     printf("%p", &t);
 9:   }
10: 
11:   return 0;
12: }
/* end */

--------------------

have_library: checking for main() in -licui18n... -------------------- yes

"cc -o conftest -I/usr/local/include/ruby-1.9//amd64-freebsd8 -I/usr/local/include/ruby-1.9//ruby/backward -I/usr/local/include/ruby-1.9/ -I. -I/usr/local/include   -I/usr/local/include -O2 -pipe  -fno-strict-aliasing -fPIC conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L.  -Wl,-rpath=/usr/lib:/usr/local/lib -pthread -L/usr/local/lib -rdynamic    -licui18n  -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19 -licui18n -licui18n  -lexecinfo -lpthread -lcrypt -lm -L/usr/local/lib  -Wl,-rpath=/usr/lib:/usr/local/lib -pthread  -lc"
conftest.c: In function 't':
conftest.c:4: error: 'main' undeclared (first use in this function)
conftest.c:4: error: (Each undeclared identifier is reported only once
conftest.c:4: error: for each function it appears in.)
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: int t() { void ((*volatile p)()); p = (void ((*)()))main; return 0; }
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     printf("%p", &t);
 9:   }
10: 
11:   return 0;
12: }
/* end */

"cc -o conftest -I/usr/local/include/ruby-1.9//amd64-freebsd8 -I/usr/local/include/ruby-1.9//ruby/backward -I/usr/local/include/ruby-1.9/ -I. -I/usr/local/include   -I/usr/local/include -O2 -pipe  -fno-strict-aliasing -fPIC conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L.  -Wl,-rpath=/usr/lib:/usr/local/lib -pthread -L/usr/local/lib -rdynamic    -licui18n  -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19 -licui18n -licui18n  -lexecinfo -lpthread -lcrypt -lm -L/usr/local/lib  -Wl,-rpath=/usr/lib:/usr/local/lib -pthread  -lc"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: int t() { main(); return 0; }
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     printf("%p", &t);
 9:   }
10: 
11:   return 0;
12: }
/* end */

--------------------

have_header: checking for unicode/ucnv.h... -------------------- yes

"cpp -I/usr/local/include/ruby-1.9//amd64-freebsd8 -I/usr/local/include/ruby-1.9//ruby/backward -I/usr/local/include/ruby-1.9/ -I. -I/usr/local/include   -I/usr/local/include -O2 -pipe  -fno-strict-aliasing -fPIC  conftest.c -o conftest.i"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <unicode/ucnv.h>
/* end */

--------------------

"tar zxvf file-5.08.tar.gz"
x file-5.08/m4/libtool.m4
x file-5.08/m4/ltoptions.m4
x file-5.08/m4/ltsugar.m4
x file-5.08/m4/ltversion.m4
x file-5.08/m4/lt~obsolete.m4
x file-5.08/README
x file-5.08/acinclude.m4
x file-5.08/configure.ac
x file-5.08/aclocal.m4
x file-5.08/Makefile.am
x file-5.08/Makefile.in
x file-5.08/config.h.in
x file-5.08/configure
x file-5.08/AUTHORS
x file-5.08/COPYING
x file-5.08/ChangeLog
x file-5.08/INSTALL
x file-5.08/NEWS
x file-5.08/TODO
x file-5.08/compile
x file-5.08/config.guess
x file-5.08/config.sub
x file-5.08/depcomp
x file-5.08/install-sh
x file-5.08/ltmain.sh
x file-5.08/missing
x file-5.08/MAINT
x file-5.08/src/magic.h
x file-5.08/src/Makefile.am
x file-5.08/src/Makefile.in
x file-5.08/src/asprintf.c
x file-5.08/src/getline.c
x file-5.08/src/getopt_long.c
x file-5.08/src/strlcat.c
x file-5.08/src/strlcpy.c
x file-5.08/src/vasprintf.c
x file-5.08/src/magic.c
x file-5.08/src/apprentice.c
x file-5.08/src/softmagic.c
x file-5.08/src/ascmagic.c
x file-5.08/src/encoding.c
x file-5.08/src/compress.c
x file-5.08/src/is_tar.c
x file-5.08/src/readelf.c
x file-5.08/src/print.c
x file-5.08/src/fsmagic.c
x file-5.08/src/funcs.c
x file-5.08/src/file.h
x file-5.08/src/names.h
x file-5.08/src/readelf.h
x file-5.08/src/tar.h
x file-5.08/src/apptype.c
x file-5.08/src/file_opts.h
x file-5.08/src/elfclass.h
x file-5.08/src/mygetopt.h
x file-5.08/src/cdf.c
x file-5.08/src/cdf_time.c
x file-5.08/src/readcdf.c
x file-5.08/src/cdf.h
x file-5.08/src/file.c
x file-5.08/magic/Magdir/acorn
x file-5.08/magic/Magdir/adi
x file-5.08/magic/Magdir/adventure
x file-5.08/magic/Magdir/allegro
x file-5.08/magic/Magdir/alliant
x file-5.08/magic/Magdir/amanda
x file-5.08/magic/Magdir/amigaos
x file-5.08/magic/Magdir/animation
x file-5.08/magic/Magdir/apl
x file-5.08/magic/Magdir/apple
x file-5.08/magic/Magdir/applix
x file-5.08/magic/Magdir/archive
x file-5.08/magic/Magdir/asterix
x file-5.08/magic/Magdir/att3b
x file-5.08/magic/Magdir/audio
x file-5.08/magic/Magdir/basis
x file-5.08/magic/Magdir/bflt
x file-5.08/magic/Magdir/blcr
x file-5.08/magic/Magdir/blender
x file-5.08/magic/Magdir/blit
x file-5.08/magic/Magdir/bout
x file-5.08/magic/Magdir/bsdi
x file-5.08/magic/Magdir/bsi
x file-5.08/magic/Magdir/btsnoop
x file-5.08/magic/Magdir/c-lang
x file-5.08/magic/Magdir/c64
x file-5.08/magic/Magdir/cad
x file-5.08/magic/Magdir/cafebabe
x file-5.08/magic/Magdir/cddb
x file-5.08/magic/Magdir/chord
x file-5.08/magic/Magdir/cisco
x file-5.08/magic/Magdir/citrus
x file-5.08/magic/Magdir/clarion
x file-5.08/magic/Magdir/claris
x file-5.08/magic/Magdir/clipper
x file-5.08/magic/Magdir/commands
x file-5.08/magic/Magdir/communications
x file-5.08/magic/Magdir/compress
x file-5.08/magic/Magdir/console
x file-5.08/magic/Magdir/convex
x file-5.08/magic/Magdir/cracklib
x file-5.08/magic/Magdir/ctags
x file-5.08/magic/Magdir/dact
x file-5.08/magic/Magdir/database
x file-5.08/magic/Magdir/diamond
x file-5.08/magic/Magdir/diff
x file-5.08/magic/Magdir/digital
x file-5.08/magic/Magdir/dolby
x file-5.08/magic/Magdir/dump
x file-5.08/magic/Magdir/dyadic
x file-5.08/magic/Magdir/ebml
x file-5.08/magic/Magdir/editors
x file-5.08/magic/Magdir/efi
x file-5.08/magic/Magdir/elf
x file-5.08/magic/Magdir/encore
x file-5.08/magic/Magdir/epoc
x file-5.08/magic/Magdir/erlang
x file-5.08/magic/Magdir/esri
x file-5.08/magic/Magdir/fcs
x file-5.08/magic/Magdir/filesystems
x file-5.08/magic/Magdir/flash
x file-5.08/magic/Magdir/fonts
x file-5.08/magic/Magdir/fortran
x file-5.08/magic/Magdir/frame
x file-5.08/magic/Magdir/freebsd
x file-5.08/magic/Magdir/fsav
x file-5.08/magic/Magdir/games
x file-5.08/magic/Magdir/gcc
x file-5.08/magic/Magdir/geo
x file-5.08/magic/Magdir/geos
x file-5.08/magic/Magdir/gimp
x file-5.08/magic/Magdir/gnome-keyring
x file-5.08/magic/Magdir/gnu
x file-5.08/magic/Magdir/gnumeric
x file-5.08/magic/Magdir/grace
x file-5.08/magic/Magdir/graphviz
x file-5.08/magic/Magdir/gringotts
x file-5.08/magic/Magdir/hitachi-sh
x file-5.08/magic/Magdir/hp
x file-5.08/magic/Magdir/human68k
x file-5.08/magic/Magdir/ibm370
x file-5.08/magic/Magdir/ibm6000
x file-5.08/magic/Magdir/iff
x file-5.08/magic/Magdir/images
x file-5.08/magic/Magdir/inform
x file-5.08/magic/Magdir/intel
x file-5.08/magic/Magdir/interleaf
x file-5.08/magic/Magdir/island
x file-5.08/magic/Magdir/ispell
x file-5.08/magic/Magdir/isz
x file-5.08/magic/Magdir/java
x file-5.08/magic/Magdir/jpeg
x file-5.08/magic/Magdir/karma
x file-5.08/magic/Magdir/kde
x file-5.08/magic/Magdir/kml
x file-5.08/magic/Magdir/lecter
x file-5.08/magic/Magdir/lex
x file-5.08/magic/Magdir/lif
x file-5.08/magic/Magdir/linux
x file-5.08/magic/Magdir/lisp
x file-5.08/magic/Magdir/llvm
x file-5.08/magic/Magdir/lua
x file-5.08/magic/Magdir/luks
x file-5.08/magic/Magdir/mach
x file-5.08/magic/Magdir/macintosh
x file-5.08/magic/Magdir/magic
x file-5.08/magic/Magdir/mail.news
x file-5.08/magic/Magdir/maple
x file-5.08/magic/Magdir/mathcad
x file-5.08/magic/Magdir/mathematica
x file-5.08/magic/Magdir/matroska
x file-5.08/magic/Magdir/mcrypt
x file-5.08/magic/Magdir/mercurial
x file-5.08/magic/Magdir/metastore
x file-5.08/magic/Magdir/mime
x file-5.08/magic/Magdir/mips
x file-5.08/magic/Magdir/mirage
x file-5.08/magic/Magdir/misctools
x file-5.08/magic/Magdir/mkid
x file-5.08/magic/Magdir/mlssa
x file-5.08/magic/Magdir/mmdf
x file-5.08/magic/Magdir/modem
x file-5.08/magic/Magdir/motorola
x file-5.08/magic/Magdir/mozilla
x file-5.08/magic/Magdir/msdos
x file-5.08/magic/Magdir/msooxml
x file-5.08/magic/Magdir/msvc
x file-5.08/magic/Magdir/mup
x file-5.08/magic/Magdir/natinst
x file-5.08/magic/Magdir/ncr
x file-5.08/magic/Magdir/netbsd
x file-5.08/magic/Magdir/netscape
x file-5.08/magic/Magdir/netware
x file-5.08/magic/Magdir/news
x file-5.08/magic/Magdir/nitpicker
x file-5.08/magic/Magdir/oasis
x file-5.08/magic/Magdir/ocaml
x file-5.08/magic/Magdir/octave
x file-5.08/magic/Magdir/ole2compounddocs
x file-5.08/magic/Magdir/olf
x file-5.08/magic/Magdir/os2
x file-5.08/magic/Magdir/os400
x file-5.08/magic/Magdir/os9
x file-5.08/magic/Magdir/osf1
x file-5.08/magic/Magdir/palm
x file-5.08/magic/Magdir/parix
x file-5.08/magic/Magdir/parrot
x file-5.08/magic/Magdir/pbm
x file-5.08/magic/Magdir/pdf
x file-5.08/magic/Magdir/pdp
x file-5.08/magic/Magdir/perl
x file-5.08/magic/Magdir/pgp
x file-5.08/magic/Magdir/pkgadd
x file-5.08/magic/Magdir/plan9
x file-5.08/magic/Magdir/plus5
x file-5.08/magic/Magdir/printer
x file-5.08/magic/Magdir/project
x file-5.08/magic/Magdir/psdbms
x file-5.08/magic/Magdir/pulsar
x file-5.08/magic/Magdir/pyramid
x file-5.08/magic/Magdir/python
x file-5.08/magic/Magdir/revision
x file-5.08/magic/Magdir/riff
x file-5.08/magic/Magdir/rinex
x file-5.08/magic/Magdir/rpm
x file-5.08/magic/Magdir/rtf
x file-5.08/magic/Magdir/ruby
x file-5.08/magic/Magdir/sc
x file-5.08/magic/Magdir/sccs
x file-5.08/magic/Magdir/scientific
x file-5.08/magic/Magdir/securitycerts
x file-5.08/magic/Magdir/selinux
x file-5.08/magic/Magdir/sendmail
x file-5.08/magic/Magdir/sequent
x file-5.08/magic/Magdir/sgi
x file-5.08/magic/Magdir/sgml
x file-5.08/magic/Magdir/sharc
x file-5.08/magic/Magdir/sinclair
x file-5.08/magic/Magdir/sisu
x file-5.08/magic/Magdir/sketch
x file-5.08/magic/Magdir/smalltalk
x file-5.08/magic/Magdir/sniffer
x file-5.08/magic/Magdir/softquad
x file-5.08/magic/Magdir/spec
x file-5.08/magic/Magdir/spectrum
x file-5.08/magic/Magdir/sql
x file-5.08/magic/Magdir/ssh
x file-5.08/magic/Magdir/ssl
x file-5.08/magic/Magdir/sun
x file-5.08/magic/Magdir/sysex
x file-5.08/magic/Magdir/tcl
x file-5.08/magic/Magdir/teapot
x file-5.08/magic/Magdir/terminfo
x file-5.08/magic/Magdir/tex
x file-5.08/magic/Magdir/tgif
x file-5.08/magic/Magdir/ti-8x
x file-5.08/magic/Magdir/timezone
x file-5.08/magic/Magdir/troff
x file-5.08/magic/Magdir/tuxedo
x file-5.08/magic/Magdir/typeset
x file-5.08/magic/Magdir/unicode
x file-5.08/magic/Magdir/unknown
x file-5.08/magic/Magdir/uuencode
x file-5.08/magic/Magdir/varied.out
x file-5.08/magic/Magdir/varied.script
x file-5.08/magic/Magdir/vax
x file-5.08/magic/Magdir/vicar
x file-5.08/magic/Magdir/virtual
x file-5.08/magic/Magdir/virtutech
x file-5.08/magic/Magdir/visx
x file-5.08/magic/Magdir/vms
x file-5.08/magic/Magdir/vmware
x file-5.08/magic/Magdir/vorbis
x file-5.08/magic/Magdir/vxl
x file-5.08/magic/Magdir/warc
x file-5.08/magic/Magdir/weak
x file-5.08/magic/Magdir/windows
x file-5.08/magic/Magdir/wireless
x file-5.08/magic/Magdir/wordprocessors
x file-5.08/magic/Magdir/wsdl
x file-5.08/magic/Magdir/xdelta
x file-5.08/magic/Magdir/xenix
x file-5.08/magic/Magdir/xilinx
x file-5.08/magic/Magdir/xo65
x file-5.08/magic/Magdir/xwindows
x file-5.08/magic/Magdir/zilog
x file-5.08/magic/Magdir/zyxel
x file-5.08/magic/Makefile.am
x file-5.08/magic/Makefile.in
x file-5.08/magic/Header
x file-5.08/magic/Localstuff
x file-5.08/tests/README
x file-5.08/tests/Makefile.am
x file-5.08/tests/Makefile.in
x file-5.08/tests/test.c
x file-5.08/tests/gedcom.magic
x file-5.08/tests/gedcom.testfile
x file-5.08/tests/gedcom.result
x file-5.08/doc/Makefile.am
x file-5.08/doc/Makefile.in
x file-5.08/doc/file.man
x file-5.08/doc/magic.man
x file-5.08/doc/libmagic.man
x file-5.08/python/README
x file-5.08/python/Makefile.am
x file-5.08/python/Makefile.in
x file-5.08/python/example.py
x file-5.08/python/magic.py
x file-5.08/python/setup.py
"./configure --prefix=/usr/local/lib/ruby/gems/1.9/gems/charlock_holmes-0.6.8/ext/charlock_holmes/dst/ --disable-shared --enable-static --with-pic"
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... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking for builtin ELF support... yes
checking for ELF core file support... yes
checking for file formats in man section 5... no
checking build system type... x86_64-unknown-freebsd8.0
checking host system type... x86_64-unknown-freebsd8.0
checking for style of include used by make... GNU
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 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 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 ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking whether gcc and cc understand -c and -o together... yes
checking whether ln -s works... yes
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 196608
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... no
checking for /usr/bin/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 -B output from gcc object... ok
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... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
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/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... freebsd8.0 ld.so
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... no
checking whether to build static libraries... yes
checking for ANSI C header files... (cached) yes
checking whether sys/types.h defines makedev... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for stdint.h... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for stdint.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for unistd.h... (cached) yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking wctype.h usability... yes
checking wctype.h presence... yes
checking for wctype.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking err.h usability... yes
checking err.h presence... yes
checking for err.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for sys/stat.h... (cached) yes
checking for sys/types.h... (cached) yes
checking sys/utime.h usability... no
checking sys/utime.h presence... no
checking for sys/utime.h... no
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for an ANSI C-conforming const... yes
checking for off_t... yes
checking for size_t... yes
checking for struct stat.st_rdev... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_gmtoff... yes
checking for struct tm.tm_zone... yes
checking for tm_zone in struct tm... yes
checking whether tzname is declared... yes
checking for tzname... yes
checking for tm_isdst in struct tm... yes
checking whether daylight is declared... no
checking for daylight... 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 mbstate_t... yes
checking for struct option in getopt... yes
checking for uint8_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for int32_t... yes
checking for uint64_t... yes
checking for int64_t... yes
checking size of long long... 8
checking for gcc compiler warnings... yes
checking for mmap... yes
checking for strerror... yes
checking for strndup... yes
checking for strtoul... yes
checking for mbrtowc... yes
checking for mkstemp... yes
checking for utimes... yes
checking for utime... yes
checking for wcwidth... yes
checking for strtof... yes
checking for fork... yes
checking for getopt_long... yes
checking for asprintf... yes
checking for vasprintf... yes
checking for strlcpy... yes
checking for strlcat... yes
checking for getline... yes
checking for gzopen in -lz... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating magic/Makefile
config.status: creating tests/Makefile
config.status: creating doc/Makefile
config.status: creating python/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
"make -C src install"
  CC     magic.lo
  CC     apprentice.lo
  CC     softmagic.lo
  CC     ascmagic.lo
  CC     encoding.lo
  CC     compress.lo
  CC     is_tar.lo
  CC     readelf.lo
  CC     print.lo
  CC     fsmagic.lo
  CC     funcs.lo
  CC     apptype.lo
  CC     cdf.lo
  CC     cdf_time.lo
  CC     readcdf.lo
  CCLD   libmagic.la
  CC     file.o
  CCLD   file
test -z "/usr/local/lib/ruby/gems/1.9/gems/charlock_holmes-0.6.8/ext/charlock_holmes/dst/lib" || .././install-sh -c -d "/usr/local/lib/ruby/gems/1.9/gems/charlock_holmes-0.6.8/ext/charlock_holmes/dst/lib"
 /bin/sh ../libtool   --mode=install /usr/bin/install -c   libmagic.la '/usr/local/lib/ruby/gems/1.9/gems/charlock_holmes-0.6.8/ext/charlock_holmes/dst/lib'
libtool: install: /usr/bin/install -c .libs/libmagic.lai /usr/local/lib/ruby/gems/1.9/gems/charlock_holmes-0.6.8/ext/charlock_holmes/dst/lib/libmagic.la
libtool: install: /usr/bin/install -c .libs/libmagic.a /usr/local/lib/ruby/gems/1.9/gems/charlock_holmes-0.6.8/ext/charlock_holmes/dst/lib/libmagic.a
libtool: install: chmod 644 /usr/local/lib/ruby/gems/1.9/gems/charlock_holmes-0.6.8/ext/charlock_holmes/dst/lib/libmagic.a
libtool: install: ranlib /usr/local/lib/ruby/gems/1.9/gems/charlock_holmes-0.6.8/ext/charlock_holmes/dst/lib/libmagic.a
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib/ruby/gems/1.9/gems/charlock_holmes-0.6.8/ext/charlock_holmes/dst/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,-rpath -Wl,LIBDIR' linker flag

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
test -z "/usr/local/lib/ruby/gems/1.9/gems/charlock_holmes-0.6.8/ext/charlock_holmes/dst/bin" || .././install-sh -c -d "/usr/local/lib/ruby/gems/1.9/gems/charlock_holmes-0.6.8/ext/charlock_holmes/dst/bin"
  /bin/sh ../libtool   --mode=install /usr/bin/install -c file '/usr/local/lib/ruby/gems/1.9/gems/charlock_holmes-0.6.8/ext/charlock_holmes/dst/bin'
libtool: install: /usr/bin/install -c file /usr/local/lib/ruby/gems/1.9/gems/charlock_holmes-0.6.8/ext/charlock_holmes/dst/bin/file
test -z "/usr/local/lib/ruby/gems/1.9/gems/charlock_holmes-0.6.8/ext/charlock_holmes/dst/include" || .././install-sh -c -d "/usr/local/lib/ruby/gems/1.9/gems/charlock_holmes-0.6.8/ext/charlock_holmes/dst/include"
 /usr/bin/install -c -m 644 magic.h '/usr/local/lib/ruby/gems/1.9/gems/charlock_holmes-0.6.8/ext/charlock_holmes/dst/include'
"make -C magic install"
../src/file -C -m magic
test -z "/usr/local/lib/ruby/gems/1.9/gems/charlock_holmes-0.6.8/ext/charlock_holmes/dst/share/misc" || .././install-sh -c -d "/usr/local/lib/ruby/gems/1.9/gems/charlock_holmes-0.6.8/ext/charlock_holmes/dst/share/misc"
 /usr/bin/install -c -m 644 magic.mgc '/usr/local/lib/ruby/gems/1.9/gems/charlock_holmes-0.6.8/ext/charlock_holmes/dst/share/misc'
have_library: checking for main() in -lmagic_ext... -------------------- yes

"cc -o conftest  -I/usr/local/lib/ruby/gems/1.9/gems/charlock_holmes-0.6.8/ext/charlock_holmes/dst/include -I/usr/local/include/ruby-1.9//amd64-freebsd8 -I/usr/local/include/ruby-1.9//ruby/backward -I/usr/local/include/ruby-1.9/ -I. -I/usr/local/include   -I/usr/local/include -O2 -pipe  -fno-strict-aliasing -fPIC conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L.  -Wl,-rpath=/usr/lib:/usr/local/lib -pthread -L/usr/local/lib -rdynamic -L/usr/local/lib/ruby/gems/1.9/gems/charlock_holmes-0.6.8/ext/charlock_holmes     -licui18n -licui18n  -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19 -lmagic_ext -licui18n -licui18n  -lexecinfo -lpthread -lcrypt -lm -L/usr/local/lib  -Wl,-rpath=/usr/lib:/usr/local/lib -pthread  -lc"
conftest.c: In function 't':
conftest.c:4: error: 'main' undeclared (first use in this function)
conftest.c:4: error: (Each undeclared identifier is reported only once
conftest.c:4: error: for each function it appears in.)
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: int t() { void ((*volatile p)()); p = (void ((*)()))main; return 0; }
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     printf("%p", &t);
 9:   }
10: 
11:   return 0;
12: }
/* end */

"cc -o conftest  -I/usr/local/lib/ruby/gems/1.9/gems/charlock_holmes-0.6.8/ext/charlock_holmes/dst/include -I/usr/local/include/ruby-1.9//amd64-freebsd8 -I/usr/local/include/ruby-1.9//ruby/backward -I/usr/local/include/ruby-1.9/ -I. -I/usr/local/include   -I/usr/local/include -O2 -pipe  -fno-strict-aliasing -fPIC conftest.c  -L. -L/usr/local/lib -Wl,-R/usr/local/lib -L.  -Wl,-rpath=/usr/lib:/usr/local/lib -pthread -L/usr/local/lib -rdynamic -L/usr/local/lib/ruby/gems/1.9/gems/charlock_holmes-0.6.8/ext/charlock_holmes     -licui18n -licui18n  -Wl,-R -Wl,/usr/local/lib -L/usr/local/lib -lruby19 -lmagic_ext -licui18n -licui18n  -lexecinfo -lpthread -lcrypt -lm -L/usr/local/lib  -Wl,-rpath=/usr/lib:/usr/local/lib -pthread  -lc"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: int t() { main(); return 0; }
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     printf("%p", &t);
 9:   }
10: 
11:   return 0;
12: }
/* end */

--------------------

have_header: checking for magic.h... -------------------- yes

"cpp  -I/usr/local/lib/ruby/gems/1.9/gems/charlock_holmes-0.6.8/ext/charlock_holmes/dst/include -I/usr/local/include/ruby-1.9//amd64-freebsd8 -I/usr/local/include/ruby-1.9//ruby/backward -I/usr/local/include/ruby-1.9/ -I. -I/usr/local/include   -I/usr/local/include -O2 -pipe  -fno-strict-aliasing -fPIC  conftest.c -o conftest.i"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <magic.h>
/* end */

--------------------

