Opened 19 years ago

Closed 19 years ago

Last modified 19 years ago

#70 closed defect (released)

compile omega error on ubuntu510

Reported by: ynzheng Owned by: Olly Betts
Priority: high Milestone:
Component: Omega Version: 0.9.3
Severity: normal Keywords:
Cc: Blocked By:
Blocking: Operating System: Linux

Description

username@colinux:~/tmp/omega-0.9.3$ ./configure -- prefix=/home/username/omega093 XAPIAN_CONFIG=/home/username/xapian093/bin/xapian-config


checking /home/username/xapian093/bin/xapian-config works... configure: error: `/home/username/xapian093/bin/xapian-config --ltlibs --cxxflags' doesn't work, aborting


Change History (4)

comment:1 by ynzheng, 19 years ago

username@colinux:~/xapian093/bin$ ./xapian-config --ltlibs --cxxflags ./xapian-config: Can't find libxapian.la to link against. username@colinux:~/xapian093/bin$ pwd /home/username/xapian093/bin username@colinux:~/xapian093/bin$ ls /home/username/xapian093/lib libxapian.a libxapian.la libxapian.so libxapian.so.8 libxapian.so.8.1.0

comment:2 by ynzheng, 19 years ago

recompile xapian-core-093 use this following then ok£º ./configure --prefix=/home/username/xapian093 -- libdir=/home/username/xapian093/lib

after that make omega show error:

username@colinux:~/tmp/omega-0.9.3$ ./configure -- prefix=/home/username/omega093 XAPIAN_CONFIG=/home/username/xapian093/bin/xapian-config

......


username@colinux:~/tmp/omega-0.9.3$ make make all-am make[1]: Entering directory `/home/username/tmp/omega-0.9.3' if g++ -DHAVE_CONFIG_H -I. -I. -I. - DCONFIGFILE_SYSTEM=\"/home/username/omega093/etc/omega.conf\" -g -O2 - I/include -MT omindex.o -MD -MP -MF ".deps/omindex.Tpo" -c -o omindex.o omindex.cc; \ then mv -f ".deps/omindex.Tpo" ".deps/omindex.Po"; else rm - f ".deps/omindex.Tpo"; exit 1; fi In file included from /usr/include/xapian.h:24,

from omindex.cc:48:

/usr/include/xapian/version.h:27:2: error: #error The C++ ABI version of compiler you are using does not match /usr/include/xapian/version.h:28:2: error: #error that of the compiler used to build the library. The versions /usr/include/xapian/version.h:29:2: error: #error must match or your program will not work correctly. /usr/include/xapian/version.h:30:2: error: #error The Xapian library was built with g++ 3.3.5 make[1]: * [omindex.o] ´íÎó 1 make[1]: Leaving directory `/home/username/tmp/omega-0.9.3' make: * [all] ´íÎó 2 username@colinux:~/tmp/omega-0.9.3$ ls /home/username/omega093/ username@colinux:~/tmp/omega-0.9.3$


comment:3 by Olly Betts, 19 years ago

Resolution: fixed
Status: newclosed

Fixed in SVN. Apply the patch here to get 0.9.3 to build:

http://lists.tartarus.org/pipermail/xapian-discuss/2006-February/001604.html

comment:4 by Olly Betts, 19 years ago

Operating System: Linux
Resolution: fixedreleased

Fixed in 0.9.4.

Note: See TracTickets for help on using tickets.