Hi,
I'm having some problems compiling on Mac OS X:
nekomimi:xapian samuel$ sudo port install libiconv
---> Configuring gperf
---> Building gperf
---> Staging gperf into destroot
---> Installing gperf @3.0.4_0+universal
---> Deactivating gperf @3.0.4_0
---> Cleaning gperf
---> Activating gperf @3.0.4_0+universal
---> Cleaning gperf
---> Computing dependencies for libiconv
---> Fetching libiconv
---> Verifying checksum(s) for libiconv
---> Extracting libiconv
---> Applying patches to libiconv
---> Configuring libiconv
---> Building libiconv
---> Staging libiconv into destroot
---> Installing libiconv @1.13.1_0+universal
---> Deactivating libiconv @1.13.1_0
---> Cleaning libiconv
---> Activating libiconv @1.13.1_0+universal <--- (+universal = i386
and x86_64)
---> Cleaning libiconv
nekomimi:xapian samuel$ make
cd xapian-core && make all
make all-recursive
Making all in .
make[3]: Nothing to be done for `all-am'.
Making all in docs
make[3]: Nothing to be done for `all'.
Making all in tests
make all-am
make[4]: Nothing to be done for `all-am'.
cd xapian-applications/omega && make all
make all-recursive
Making all in .
/bin/sh ./libtool --tag=CXX --mode=link g++ -Wall -W -Wredundant-decls
-Wpointer-arith -Wcast-qual -Wcast-align -Wno-long-long -Wformat-security
-fno-gnu-keywords -Wundef -Wshadow -Wstrict-null-sentinel -Wstrict-overflow=1
-fvisibility=hidden -Werror
-I/Users/samuel/Documents/Programming/Internet/xapian/xapian-core/include -g -O2
-o omega omega.o query.o cgiparam.o utils.o configfile.o date.o cdb_init.o
cdb_find.o cdb_hash.o cdb_unpack.o loadfile.o utf8convert.o datematchdecider.o
weight.o str.o unixperm.o urlencode.o
/Users/samuel/Documents/Programming/Internet/xapian/xapian-core/libxapian.la
libtransform.la -liconv
libtool: link: g++ -Wall -W -Wredundant-decls -Wpointer-arith -Wcast-qual
-Wcast-align -Wno-long-long -Wformat-security -fno-gnu-keywords -Wundef -Wshadow
-Wstrict-null-sentinel -Wstrict-overflow=1 -fvisibility=hidden -Werror
-I/Users/samuel/Documents/Programming/Internet/xapian/xapian-core/include -g -O2
-o .libs/omega omega.o query.o cgiparam.o utils.o configfile.o date.o cdb_init.o
cdb_find.o cdb_hash.o cdb_unpack.o loadfile.o utf8convert.o datematchdecider.o
weight.o str.o unixperm.o urlencode.o -Wl,-bind_at_load
/Users/samuel/Documents/Programming/Internet/xapian/xapian-core/.libs/libxapian.dylib
-lz ./.libs/libtransform.a -L/opt/local/lib /opt/local/lib/libpcre.dylib
/opt/local/lib/libiconv.dylib
Undefined symbols for architecture x86_64:
"_iconv_open", referenced from:
convert_to_utf8(std::basic_string<char, std::char_traits<char>,
std::allocator<char> >&, std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)in
utf8convert.o
"_iconv", referenced from:
convert_to_utf8(std::basic_string<char, std::char_traits<char>,
std::allocator<char> >&, std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)in
utf8convert.o
"_iconv_close", referenced from:
convert_to_utf8(std::basic_string<char, std::char_traits<char>,
std::allocator<char> >&, std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)in
utf8convert.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make[3]: *** [omega] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all] Error 2
nekomimi:xapian samuel$
Any ideas what is going wrong?
Kind regards,
Samuel
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.xapian.org/pipermail/xapian-devel/attachments/20110706/73568811/attachment.html>