Re: [Cgdb-users] compiling on OS X leopard
Brought to you by:
bobbybrasko,
crouchingturbo
From: Bob R. <bob...@co...> - 2007-11-15 19:08:48
|
On Thu, Nov 15, 2007 at 10:51:54AM -0800, Badi' Abdul-Wahid wrote: > Hi. > I'm trying to get cgdb compiled and installed on my Apple laptop > running OS 10.5. I've tried compiling from source and using MacPorts. > They both halt compiling on the same error (this is from the MacPort > attempt): Hmmm, neosun had this compiling at some point. Have you seen the mac os X link here: http://cgdb.sourceforge.net/download.php It has a binary which you can use, unless you are relying on trunk/ for some reason. > pseudo.c: In function 'pty_open': > pseudo.c:338: error: 'I_PUSH' undeclared (first use in this function) > pseudo.c:338: error: (Each undeclared identifier is reported only once > pseudo.c:338: error: for each function it appears in.) Hmm, this could be a problem. I didn't write this code, I borrowed it from the ssh project. So, either autoconf screwed up, and brought you down the wrong path in psuedo.c or pseudo.c needs to be modified to work on the specific OS you are compiling for. > Does anyone have any idea as to what's going on? This seems to be > specific to the apple os, since I compiled and installed on a linux > box I have access to. Well, we would first need to know how to open a pty on mac os 10.5. Once we figured that out, we can determine what's going wrong with psuedo.c. Do you have a /dev/ptmx directory? How about /dev/ptc? Thanks, Bob Rossi |