[MacPorts] #19803: hunspell not compiling

MacPorts noreply at macports.org
Thu May 28 14:27:10 PDT 2009


#19803: hunspell not compiling
---------------------------------+------------------------------------------
 Reporter:  philip@…             |       Owner:  macports-tickets@…                   
     Type:  defect               |      Status:  new                                  
 Priority:  Normal               |   Milestone:                                       
Component:  ports                |     Version:  1.7.1                                
 Keywords:                       |        Port:  hunspell                             
---------------------------------+------------------------------------------
 philip at water.local> sudo ./port clean hunspell
 Password:
 --->  Cleaning hunspell
 ----
 philip at water.local> sudo ./port install hunspell +universal
 --->  Fetching hunspell
 --->  Verifying checksum(s) for hunspell
 --->  Extracting hunspell
 --->  Applying patches to hunspell
 --->  Configuring hunspell
 --->  Building hunspell
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_hunspell/work/hunspell-1.2.8"
 && make all " returned error 2
 Command output: Making all in parsers
 /usr/bin/g++-4.0 -DHAVE_CONFIG_H -I. -I../..   -I/opt/local/include
 -isysroot /Developer/SDKs/MacOSX10.5.sdk  -O2
 -DLIBDIR=\"/opt/local/share/hunspell:/usr/share/myspell:/usr/share/myspell/dicts\"
 -isysroot /Developer/SDKs/MacOSX10.5.sdk -arch x86_64 -mmacosx-version-
 min=10.5 -c -o firstparser.o firstparser.cxx
 /usr/bin/g++-4.0 -DHAVE_CONFIG_H -I. -I../..   -I/opt/local/include
 -isysroot /Developer/SDKs/MacOSX10.5.sdk  -O2
 -DLIBDIR=\"/opt/local/share/hunspell:/usr/share/myspell:/usr/share/myspell/dicts\"
 -isysroot /Developer/SDKs/MacOSX10.5.sdk -arch x86_64 -mmacosx-version-
 min=10.5 -c -o htmlparser.o htmlparser.cxx
 /usr/bin/g++-4.0 -DHAVE_CONFIG_H -I. -I../..   -I/opt/local/include
 -isysroot /Developer/SDKs/MacOSX10.5.sdk  -O2
 -DLIBDIR=\"/opt/local/share/hunspell:/usr/share/myspell:/usr/share/myspell/dicts\"
 -isysroot /Developer/SDKs/MacOSX10.5.sdk -arch x86_64 -mmacosx-version-
 min=10.5 -c -o latexparser.o latexparser.cxx
 /usr/bin/g++-4.0 -DHAVE_CONFIG_H -I. -I../..   -I/opt/local/include
 -isysroot /Developer/SDKs/MacOSX10.5.sdk  -O2
 -DLIBDIR=\"/opt/local/share/hunspell:/usr/share/myspell:/usr/share/myspell/dicts\"
 -isysroot /Developer/SDKs/MacOSX10.5.sdk -arch x86_64 -mmacosx-version-
 min=10.5 -c -o manparser.o manparser.cxx
 /usr/bin/g++-4.0 -DHAVE_CONFIG_H -I. -I../..   -I/opt/local/include
 -isysroot /Developer/SDKs/MacOSX10.5.sdk  -O2
 -DLIBDIR=\"/opt/local/share/hunspell:/usr/share/myspell:/usr/share/myspell/dicts\"
 -isysroot /Developer/SDKs/MacOSX10.5.sdk -arch x86_64 -mmacosx-version-
 min=10.5 -c -o textparser.o textparser.cxx
 rm -f libparsers.a
 ar cru libparsers.a firstparser.o htmlparser.o latexparser.o manparser.o
 textparser.o
 ranlib libparsers.a
 /usr/bin/g++-4.0 -DHAVE_CONFIG_H -I. -I../..   -I/opt/local/include
 -isysroot /Developer/SDKs/MacOSX10.5.sdk  -O2
 -DLIBDIR=\"/opt/local/share/hunspell:/usr/share/myspell:/usr/share/myspell/dicts\"
 -isysroot /Developer/SDKs/MacOSX10.5.sdk -arch x86_64 -mmacosx-version-
 min=10.5 -c -o testparser.o testparser.cxx
 /bin/sh ../../libtool --tag=CXX   --mode=link /usr/bin/g++-4.0  -O2
 -DLIBDIR=\"/opt/local/share/hunspell:/usr/share/myspell:/usr/share/myspell/dicts\"
 -isysroot /Developer/SDKs/MacOSX10.5.sdk -arch x86_64 -mmacosx-version-
 min=10.5  -L/opt/local/lib -arch x86_64 -mmacosx-version-min=10.5 -o
 testparser firstparser.o htmlparser.o latexparser.o manparser.o
 testparser.o textparser.o ../hunspell/libhunspell-1.2.la
 mkdir .libs
 /usr/bin/g++-4.0 -O2
 -DLIBDIR=\"/opt/local/share/hunspell:/usr/share/myspell:/usr/share/myspell/dicts\"
 -isysroot /Developer/SDKs/MacOSX10.5.sdk -arch x86_64 -mmacosx-version-
 min=10.5 -arch x86_64 -mmacosx-version-min=10.5 -o .libs/testparser
 firstparser.o htmlparser.o latexparser.o manparser.o testparser.o
 textparser.o -Wl,-bind_at_load  -L/opt/local/lib
 ../hunspell/.libs/libhunspell-1.2.dylib
 ld warning: in ../hunspell/.libs/libhunspell-1.2.dylib, file is not of
 required architecture
 Undefined symbols:
   "unicodeisalpha(unsigned short)", referenced from:
       TextParser::is_wordchar(char*)   in textparser.o
   "u8_u16(w_char*, int, char const*)", referenced from:
       TextParser::is_wordchar(char*)   in textparser.o
   "flag_bsearch(unsigned short*, unsigned short, int)", referenced from:
       TextParser::is_wordchar(char*)   in textparser.o
   "mystrdup(char const*)", referenced from:
       TextParser::get_prevline(int)    in textparser.o
       TextParser::change_token(char const*)in textparser.o
 ld: symbol(s) not found
 collect2: ld returned 1 exit status
 make[3]: *** [testparser] Error 1
 make[2]: *** [all-recursive] Error 1
 make[1]: *** [all-recursive] Error 1
 make: *** [all] Error 2

 Error: Status 1 encountered during processing.
 philip at water.local>


 ----

 Please advise and/or request additional information.

-- 
Ticket URL: <http://trac.macports.org/ticket/19803>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list