Guest User

Untitled

a guest
May 20th, 2018
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.35 KB | None | 0 0
  1. $ LDFLAGS="-arch x86_64" ./configure --prefix=/usr/local --with-mysql=/usr/local/mysql
  2.  
  3. checking build environment
  4. --------------------------
  5.  
  6. checking for a BSD-compatible install... /usr/bin/install -c
  7. checking whether build environment is sane... yes
  8. checking for gawk... no
  9. checking for mawk... no
  10. checking for nawk... no
  11. checking for awk... awk
  12. checking whether make sets $(MAKE)... yes
  13. checking whether to enable maintainer-specific portions of Makefiles... no
  14.  
  15. checking for compiler programs
  16. ------------------------------
  17.  
  18. checking whether to compile debug version... no
  19. checking for gcc... gcc
  20. checking for C compiler default output file name... a.out
  21. checking whether the C compiler works... configure: error: cannot run C compiled programs.
  22. If you meant to cross compile, use `--host'.
  23. See `config.log' for more details.
  24. intention@Macintosh Mon Aug 11 15:41:10 ~/Downloads/sphinx-0.9.8
  25. $ make
  26. Making all in src
  27. if test -d ../.svn; then svn info .. --xml | perl svnxrev.pl; fi;
  28. make all-am
  29. g++ -Wall -g -D_FILE_OFFSET_BITS=64 -O3 -DNDEBUG -o indexer indexer.o libsphinx.a -arch ppc64 -L/usr/local/mysql/lib -lmysqlclient -lz -lm -lexpat -L/usr/local/lib
  30. ld warning: in /usr/local/lib/libexpat.dylib, file is not of required architecture
  31. Undefined symbols:
  32. "_XML_SetUserData", referenced from:
  33. CSphSource_XMLPipe2::Connect(CSphString&) in libsphinx.a(sphinx.o)
  34. "_XML_SetElementHandler", referenced from:
  35. CSphSource_XMLPipe2::Connect(CSphString&) in libsphinx.a(sphinx.o)
  36. "_XML_SetCharacterDataHandler", referenced from:
  37. CSphSource_XMLPipe2::Connect(CSphString&) in libsphinx.a(sphinx.o)
  38. "_XML_ErrorString", referenced from:
  39. CSphSource_XMLPipe2::ParseNextChunk(int, CSphString&) in libsphinx.a(sphinx.o)
  40. "_XML_GetErrorCode", referenced from:
  41. CSphSource_XMLPipe2::ParseNextChunk(int, CSphString&) in libsphinx.a(sphinx.o)
  42. "_XML_ParserCreate", referenced from:
  43. CSphSource_XMLPipe2::Connect(CSphString&) in libsphinx.a(sphinx.o)
  44. "_XML_Parse", referenced from:
  45. CSphSource_XMLPipe2::ParseNextChunk(int, CSphString&) in libsphinx.a(sphinx.o)
  46. "_XML_ParserFree", referenced from:
  47. CSphSource_XMLPipe2::Disconnect() in libsphinx.a(sphinx.o)
  48. CSphSource_XMLPipe2::~CSphSource_XMLPipe2()in libsphinx.a(sphinx.o)
  49. CSphSource_XMLPipe2::~CSphSource_XMLPipe2()in libsphinx.a(sphinx.o)
  50. "_XML_GetCurrentLineNumber", referenced from:
  51. CSphSource_XMLPipe2::UnexpectedCharaters(char const*, int, char const*)in libsphinx.a(sphinx.o)
  52. CSphSource_XMLPipe2::Characters(char const*, int)in libsphinx.a(sphinx.o)
  53. CSphSource_XMLPipe2::ParseNextChunk(int, CSphString&) in libsphinx.a(sphinx.o)
  54. CSphSource_XMLPipe2::DecorateMessageVA(char const*, char*)in libsphinx.a(sphinx.o)
  55. "_XML_GetCurrentColumnNumber", referenced from:
  56. CSphSource_XMLPipe2::UnexpectedCharaters(char const*, int, char const*)in libsphinx.a(sphinx.o)
  57. CSphSource_XMLPipe2::Characters(char const*, int)in libsphinx.a(sphinx.o)
  58. CSphSource_XMLPipe2::ParseNextChunk(int, CSphString&) in libsphinx.a(sphinx.o)
  59. CSphSource_XMLPipe2::DecorateMessageVA(char const*, char*)in libsphinx.a(sphinx.o)
  60. ld: symbol(s) not found
  61. collect2: ld returned 1 exit status
  62. make[2]: *** [indexer] Error 1
  63. make[1]: *** [all] Error 2
  64. make: *** [all-recursive] Error 1
Add Comment
Please, Sign In to add comment