SHARE
TWEET

pecl install expect failure on macosx

ketema Apr 4th, 2012 85 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. sudo pecl -d preferred_state=beta install expect
  2. downloading expect-0.3.1.tgz ...
  3. Starting to download expect-0.3.1.tgz (6,775 bytes)
  4. .....done: 6,775 bytes
  5. 6 source files, building
  6. running: phpize
  7. Configuring for:
  8. PHP Api Version:         20090626
  9. Zend Module Api No:      20090626
  10. Zend Extension Api No:   220090626
  11. configure.in:3: warning: prefer named diversions
  12. configure.in:3: warning: prefer named diversions
  13. building in /private/tmp/pear/temp/pear-build-rootW41wIx/expect-0.3.1
  14. running: /private/tmp/pear/temp/expect/configure
  15. checking for grep that handles long lines and -e... /usr/bin/grep
  16. checking for egrep... /usr/bin/grep -E
  17. checking for a sed that does not truncate output... /opt/local/bin/gsed
  18. checking for cc... cc
  19. checking whether the C compiler works... yes
  20. checking for C compiler default output file name... a.out
  21. checking for suffix of executables...
  22. checking whether we are cross compiling... no
  23. checking for suffix of object files... o
  24. checking whether we are using the GNU C compiler... yes
  25. checking whether cc accepts -g... yes
  26. checking for cc option to accept ISO C89... none needed
  27. checking how to run the C preprocessor... cc -E
  28. checking for icc... no
  29. checking for suncc... no
  30. checking whether cc understands -c and -o together... yes
  31. checking for system library directory... lib
  32. checking if compiler supports -R... no
  33. checking if compiler supports -Wl,-rpath,... yes
  34. checking build system type... i386-apple-darwin11.3.0
  35. checking host system type... i386-apple-darwin11.3.0
  36. checking target system type... i386-apple-darwin11.3.0
  37. checking for PHP prefix... /opt/local
  38. checking for PHP includes... -I/opt/local/include/php -I/opt/local/include/php/main -I/opt/local/include/php/TSRM -I/opt/local/include/php/Zend -I/opt/local/include/php/ext -I/opt/local/include/php/ext/date/lib -I/opt/local/include
  39. checking for PHP extension directory... /opt/local/lib/php/extensions/no-debug-non-zts-20090626
  40. checking for PHP installed headers prefix... /opt/local/include/php
  41. checking if debug is enabled... no
  42. checking if zts is enabled... no
  43. checking for re2c... no
  44. configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
  45. checking for gawk... gawk
  46. checking for expect support... yes, shared
  47. checking specify path to Tcl needed by expect... yes, shared
  48. checking for ld used by cc... /usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld
  49. checking if the linker (/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld) is GNU ld... no
  50. checking for /usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld option to reload object files... -r
  51. checking for BSD-compatible nm... /usr/bin/nm
  52. checking whether ln -s works... yes
  53. checking how to recognize dependent libraries... pass_all
  54. checking for ANSI C header files... yes
  55. checking for sys/types.h... yes
  56. checking for sys/stat.h... yes
  57. checking for stdlib.h... yes
  58. checking for string.h... yes
  59. checking for memory.h... yes
  60. checking for strings.h... yes
  61. checking for inttypes.h... yes
  62. checking for stdint.h... yes
  63. checking for unistd.h... yes
  64. checking dlfcn.h usability... yes
  65. checking dlfcn.h presence... yes
  66. checking for dlfcn.h... yes
  67. checking the maximum length of command line arguments... 196608
  68. checking command to parse /usr/bin/nm output from cc object... ok
  69. checking for objdir... .libs
  70. checking for ar... ar
  71. checking for ranlib... ranlib
  72. checking for strip... strip
  73. checking for dsymutil... dsymutil
  74. checking for nmedit... nmedit
  75. checking for -single_module linker flag... yes
  76. checking for -exported_symbols_list linker flag... yes
  77. checking if cc supports -fno-rtti -fno-exceptions... no
  78. checking for cc option to produce PIC... -fno-common
  79. checking if cc PIC flag -fno-common works... yes
  80. checking if cc static flag -static works... no
  81. checking if cc supports -c -o file.o... yes
  82. checking whether the cc linker (/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld) supports shared libraries... yes
  83. checking dynamic linker characteristics... darwin11.3.0 dyld
  84. checking how to hardcode library paths into programs... immediate
  85. checking whether stripping libraries is possible... yes
  86. checking if libtool supports shared libraries... yes
  87. checking whether to build shared libraries... yes
  88. checking whether to build static libraries... no
  89.  
  90. creating libtool
  91. appending configuration tag "CXX" to libtool
  92. configure: creating ./config.status
  93. config.status: creating config.h
  94. running: make
  95. /bin/sh /private/tmp/pear/temp/pear-build-rootW41wIx/expect-0.3.1/libtool --mode=compile cc  -I. -I/private/tmp/pear/temp/expect -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-rootW41wIx/expect-0.3.1/include -I/private/tmp/pear/temp/pear-build-rootW41wIx/expect-0.3.1/main -I/private/tmp/pear/temp/expect -I/opt/local/include/php -I/opt/local/include/php/main -I/opt/local/include/php/TSRM -I/opt/local/include/php/Zend -I/opt/local/include/php/ext -I/opt/local/include/php/ext/date/lib -I/opt/local/include  -DHAVE_CONFIG_H  -g -O2   -c /private/tmp/pear/temp/expect/expect.c -o expect.lo
  96. mkdir .libs
  97.  cc -I. -I/private/tmp/pear/temp/expect -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-rootW41wIx/expect-0.3.1/include -I/private/tmp/pear/temp/pear-build-rootW41wIx/expect-0.3.1/main -I/private/tmp/pear/temp/expect -I/opt/local/include/php -I/opt/local/include/php/main -I/opt/local/include/php/TSRM -I/opt/local/include/php/Zend -I/opt/local/include/php/ext -I/opt/local/include/php/ext/date/lib -I/opt/local/include -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/expect/expect.c  -fno-common -DPIC -o .libs/expect.o
  98. /private/tmp/pear/temp/expect/expect.c: In function ‘zif_expect_expectl’:
  99. /private/tmp/pear/temp/expect/expect.c:344: warning: assignment makes integer from pointer without a cast
  100. /bin/sh /private/tmp/pear/temp/pear-build-rootW41wIx/expect-0.3.1/libtool --mode=compile cc  -I. -I/private/tmp/pear/temp/expect -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-rootW41wIx/expect-0.3.1/include -I/private/tmp/pear/temp/pear-build-rootW41wIx/expect-0.3.1/main -I/private/tmp/pear/temp/expect -I/opt/local/include/php -I/opt/local/include/php/main -I/opt/local/include/php/TSRM -I/opt/local/include/php/Zend -I/opt/local/include/php/ext -I/opt/local/include/php/ext/date/lib -I/opt/local/include  -DHAVE_CONFIG_H  -g -O2   -c /private/tmp/pear/temp/expect/expect_fopen_wrapper.c -o expect_fopen_wrapper.lo
  101.  cc -I. -I/private/tmp/pear/temp/expect -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-rootW41wIx/expect-0.3.1/include -I/private/tmp/pear/temp/pear-build-rootW41wIx/expect-0.3.1/main -I/private/tmp/pear/temp/expect -I/opt/local/include/php -I/opt/local/include/php/main -I/opt/local/include/php/TSRM -I/opt/local/include/php/Zend -I/opt/local/include/php/ext -I/opt/local/include/php/ext/date/lib -I/opt/local/include -DHAVE_CONFIG_H -g -O2 -c /private/tmp/pear/temp/expect/expect_fopen_wrapper.c  -fno-common -DPIC -o .libs/expect_fopen_wrapper.o
  102. /bin/sh /private/tmp/pear/temp/pear-build-rootW41wIx/expect-0.3.1/libtool --mode=link cc -DPHP_ATOM_INC -I/private/tmp/pear/temp/pear-build-rootW41wIx/expect-0.3.1/include -I/private/tmp/pear/temp/pear-build-rootW41wIx/expect-0.3.1/main -I/private/tmp/pear/temp/expect -I/opt/local/include/php -I/opt/local/include/php/main -I/opt/local/include/php/TSRM -I/opt/local/include/php/Zend -I/opt/local/include/php/ext -I/opt/local/include/php/ext/date/lib -I/opt/local/include  -DHAVE_CONFIG_H  -g -O2   -o expect.la -export-dynamic -avoid-version -prefer-pic -module -rpath /private/tmp/pear/temp/pear-build-rootW41wIx/expect-0.3.1/modules  expect.lo expect_fopen_wrapper.lo -lexpect -ltcl8.5
  103. cc ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o .libs/expect.so -bundle  .libs/expect.o .libs/expect_fopen_wrapper.o  -lexpect -ltcl8.5
  104. ld: library not found for -lexpect
  105. collect2: ld returned 1 exit status
  106. make: *** [expect.la] Error 1
  107. ERROR: `make' failed
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top