NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
dbg_cli fails to compile on OS X 10.3


Joined: 06 Dec 2004
Posts: 1
Reply with quote
Hello,

I'm trying to compile the DBG CLI on OS X, but compilation fails with the message below. If anyone could offer a hint as to what might be wrong, I'd be extremely grateful.

Regards,

Norm

Making all in dbg
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I../getopt -I../pcre -I../ -g -O2 -c 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
View user's profileFind all posts by compaygatoSend private message
I have same problem with dbg_cli compilation


Joined: 03 Jan 2005
Posts: 1
Reply with quote
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):
Code:
CPPFLAGS='-I/sw/include' LDFLAGS='-L/sw/lib -R/sw/lib' ./configure --prefix=/usr/local

Make command outputs following error:
Code:
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!
View user's profileFind all posts by trulijaSend private message
Was a solution ever found?


Joined: 23 May 2005
Posts: 1
Reply with quote
Because I have the very same problem.

I will continue to search the site.
View user's profileFind all posts by zrusillaSend private message
Me Four


Joined: 20 Sep 2004
Posts: 3
Reply with quote
Just wanted to chime in with the exact same problem/error when compiling dbg-client on 10.3.9. I didn't use fink to install readline. Instead, I installed it from source with no problems.
View user's profileFind all posts by schowSend private messageAIM Address
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
As far as I see there is a problem with STL c++ library. I'll try to investigate it.
View user's profileFind all posts by dmitriSend private messageVisit poster's website
dbg_cli fails to compile on OS X 10.3
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic