I tried to compile dbl_client 2.11.30 on MacOSX 10.3.7 with Xcode 1.5 installed.
Readline problem after ./configure command I solved in two steps (I found that solution in topic
dbg-cli-on-os-x-t656.html.).
1) I downloaded readline lib using fink.
2) I used following command for successfull config (./configure doesn't know it has to look for readline in /sw/include dir):
CPPFLAGS='-I/sw/include' LDFLAGS='-L/sw/lib -R/sw/lib' ./configure --prefix=/usr/local |
Make command outputs following error:
Making all in dbg
source='command.cpp' object='dbg_cli-command.o' libtool=no \
depfile='.deps/dbg_cli-command.Po' tmpdepfile='.deps/dbg_cli-command.TPo' \
depmode=gcc3 /bin/sh ../config/depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../getopt -I../pcre -I../ -I/sw/include -I../dbgbase -I../getopt -g -O2 -c -o dbg_cli-command.o `test -f 'command.cpp' || echo './'`command.cpp
In file included from command.cpp:43:
/usr/include/gcc/darwin/3.3/c++/bits/stl_algo.h: In function `_ForwardIter
std::lower_bound(_ForwardIter, _ForwardIter, const _Tp&) [with _ForwardIter
= __gnu_cxx::__normal_iterator<CommandEntry*, std::vector<CommandEntry,
std::allocator<CommandEntry> > >, _Tp = tagCommandEntry]':
command.h:81: instantiated from here
/usr/include/gcc/darwin/3.3/c++/bits/stl_algo.h:2946: error: no match for `
tagCommandEntry& < const tagCommandEntry&' operator
make[2]: *** [dbg_cli-command.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2 |
Please help!