Problem with hunspell +universal
Peter J. Nachtigall
nospaming at aedon.eu
Sun Sep 6 04:18:24 PDT 2009
---> Fetching hunspell
---> Attempting to fetch hunspell-1.2.8.tar.gz from
http://mesh.dl.sourceforge.net/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"
&& /usr/bin/make -j2 all " returned error 2
Command output: /usr/bin/g++-4.2 -DHAVE_CONFIG_H -I. -I../..
-I/opt/local/include -O2
-DLIBDIR=\"/opt/local/share/hunspell:/usr/share/myspell:/usr/share/myspell/dicts\"
-arch x86_64 -arch i386 -c -o firstparser.o firstparser.cxx
/usr/bin/g++-4.2 -DHAVE_CONFIG_H -I. -I../.. -I/opt/local/include -O2
-DLIBDIR=\"/opt/local/share/hunspell:/usr/share/myspell:/usr/share/myspell/dicts\"
-arch x86_64 -arch i386 -c -o htmlparser.o htmlparser.cxx
/usr/bin/g++-4.2 -DHAVE_CONFIG_H -I. -I../.. -I/opt/local/include -O2
-DLIBDIR=\"/opt/local/share/hunspell:/usr/share/myspell:/usr/share/myspell/dicts\"
-arch x86_64 -arch i386 -c -o latexparser.o latexparser.cxx
/usr/bin/g++-4.2 -DHAVE_CONFIG_H -I. -I../.. -I/opt/local/include -O2
-DLIBDIR=\"/opt/local/share/hunspell:/usr/share/myspell:/usr/share/myspell/dicts\"
-arch x86_64 -arch i386 -c -o manparser.o manparser.cxx
/usr/bin/g++-4.2 -DHAVE_CONFIG_H -I. -I../.. -I/opt/local/include -O2
-DLIBDIR=\"/opt/local/share/hunspell:/usr/share/myspell:/usr/share/myspell/dicts\"
-arch x86_64 -arch i386 -c -o textparser.o textparser.cxx
/usr/bin/g++-4.2 -DHAVE_CONFIG_H -I. -I../.. -I/opt/local/include -O2
-DLIBDIR=\"/opt/local/share/hunspell:/usr/share/myspell:/usr/share/myspell/dicts\"
-arch x86_64 -arch i386 -c -o testparser.o testparser.cxx
rm -f libparsers.a
ar cru libparsers.a firstparser.o htmlparser.o latexparser.o manparser.o
textparser.o
/bin/sh ../../libtool --tag=CXX --mode=link /usr/bin/g++-4.2 -O2
-DLIBDIR=\"/opt/local/share/hunspell:/usr/share/myspell:/usr/share/myspell/dicts\"
-arch x86_64 -arch i386 -L/opt/local/lib -arch x86_64 -arch i386 -o
testparser firstparser.o htmlparser.o latexparser.o manparser.o
testparser.o textparser.o ../hunspell/libhunspell-1.2.la
ranlib libparsers.a
mkdir .libs
/usr/bin/g++-4.2 -O2
-DLIBDIR=\"/opt/local/share/hunspell:/usr/share/myspell:/usr/share/myspell/dicts\"
-arch x86_64 -arch i386 -arch x86_64 -arch i386 -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 for architecture i386:
"u8_u16(w_char*, int, char const*)", 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
"flag_bsearch(unsigned short*, unsigned short, int)", referenced from:
TextParser::is_wordchar(char*) in textparser.o
"unicodeisalpha(unsigned short)", referenced from:
TextParser::is_wordchar(char*) in textparser.o
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status
lipo: can't open input file: /var/tmp//ccQ0dP2p.out (No such file or
directory)
make[3]: *** [testparser] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Error: The following dependencies failed to build: gtkspell2 enchant
hunspell gtk-doc docbook-xml docbook-xml-4.1.2 xmlcatmgr docbook-xml-4.2
docbook-xml-4.3 docbook-xml-4.4 docbook-xml-4.5 docbook-xml-5.0
docbook-xsl gnome-doc-utils iso-codes libxslt py26-libxml2 python26 db46
gdbm sqlite3 tk tcl xorg-libXScrnSaver xorg-scrnsaverproto rarian getopt
pcre
Error: Status 1 encountered during processing.
~
Shall I create a Ticket? Where then?
BTW I'm trying to fetch && compile pan2 +universal
Cheers
Peter
--
aedon DESIGNS
http://www.aedon.eu/
http://www.hochzeitsbuch.info/
More information about the macports-users
mailing list