On 30.4.2012 19:44, Greg Hellings wrote:
They worked for me a few weeks ago, but I only ever build from SVN.

With the ./configure line

./configure --enable-debug --enable-tests --enable-utilities --enable-examples --with-clucene=/usr --with-icusword

on this more or less Fedora 17, I get this error when running make on trunk:

libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../include -I../include -I/usr/local/include -DUSE_AUTOTOOLS -DUNIX -Dunix -D__unix__ -DSWICU_DATA=\"/usr/local/lib/sword/1.6.2_icu_4.8.1.1\" -DGLOBCONFPATH=\"/usr/local/etc/sword.conf\" -D_FTPLIB_NO_COMPAT -g3 -O0 -Wall -Werror -D_ICU_ -D_ICUSWORD_ -ftemplate-depth-25 -DCURLAVAILABLE -I/usr/include/CLucene/ext -I/usr/lib64 -DUSELUCENE -DCLUCENE2 -I/usr/local/lib -MT swconfig.lo -MD -MP -MF .deps/swconfig.Tpo -c ../src/mgr/swconfig.cpp -fPIC -DPIC -o .libs/swconfig.o
In file included from ../include/swconfig.h:29:0,
                 from ../src/mgr/swconfig.cpp:23:
../include/multimapwdef.h: In instantiation of 'T& sword::multimapwithdefault<Key, T, Compare>::operator[](const Key&) [with Key = sword::SWBuf; T = sword::SWBuf; Compare = std::less<sword::SWBuf>]':
../src/mgr/swconfig.cpp:155:55:   required from here
../include/multimapwdef.h:22:3: error: 'find' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] ../include/multimapwdef.h:22:3: note: declarations in dependent base 'std::multimap<sword::SWBuf, sword::SWBuf, std::less<sword::SWBuf>, std::allocator<std::pair<const sword::SWBuf, sword::SWBuf> > >' are not found by unqualified lookup
../include/multimapwdef.h:22:3: note: use 'this->find' instead
../include/multimapwdef.h:23:4: error: 'insert' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] ../include/multimapwdef.h:23:4: note: declarations in dependent base 'std::multimap<sword::SWBuf, sword::SWBuf, std::less<sword::SWBuf>, std::allocator<std::pair<const sword::SWBuf, sword::SWBuf> > >' are not found by unqualified lookup
../include/multimapwdef.h:23:4: note: use 'this->insert' instead
../include/multimapwdef.h:25:23: error: 'find' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive] ../include/multimapwdef.h:25:23: note: declarations in dependent base 'std::multimap<sword::SWBuf, sword::SWBuf, std::less<sword::SWBuf>, std::allocator<std::pair<const sword::SWBuf, sword::SWBuf> > >' are not found by unqualified lookup
../include/multimapwdef.h:25:23: note: use 'this->find' instead
make[1]: *** [swconfig.lo] Error 1
make[1]: Leaving directory `/home/matej/archiv/knihovna/repos/sword/lib'
make: *** [all-recursive] Error 1
wycliff:sword (master) $

What I am doing wrong?

Matěj

--
http://www.ceplovi.cz/matej/, Jabber: mcepl<at>ceplovi.cz
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC

- Do you think of yourself as a Christian artist?
- I'm an artist who is a Christian. I'm not a Christian artist.
      -- Johny Cash
         in his last interview


_______________________________________________
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Reply via email to