Re: [Cgdb-users] Compiling cgdb on AIX
Brought to you by:
bobbybrasko,
crouchingturbo
From: Bob R. <bo...@br...> - 2004-05-07 12:47:51
|
On Fri, May 07, 2004 at 08:39:42AM -0400, Bob Rossi wrote: > On Fri, May 07, 2004 at 11:08:16AM +0200, Pawel (privately) wrote: > > Hello! > >=20 > > I have problems with compiling cgdb on AIX 5.1 (I have read in=20 > > FAQ that cgdb was reported as run on AIX). I have compiled=20 > > necessary GNU libraries such as readline-4.3 and ncurses-5.4.=20 > > So "configure" produces now Makefile. Unfortunately "make"=20 > > command reports that libutil is missing. > > Where can I find sources of this library? (I heard that this=20 > > library is part of glibc - but glibc does not compile on AIX!) >=20 > If you already compiled the ncurses and readline packages, that was the > hardest part. Sorry about the name libutil, we should probably change > the name to something that more obviously shows that it is part of CGDB. >=20 > I just reproduced your problem on AIX 4.3 with readline and 4.3 and > ncurses 5.4. I will fix the problem and release another bug fix release. > (hopefully today) Actually, I manually just made the link work. You probably fail with this command $ gcc -g -Wall -I./../../util/include -I./../include -I/home/bar/download/readline-4.3/target/include -L/home/bar/download/readline-4.3/target/lib -I/home/bar/download/ncurses-5.4/include -L/home/bar/download/ncurses-5.4/lib -o getch_driver -L ../../util/src getch_driver-getch_driver.o -lutil -lm -lncurses -lreadline -lcurses I fails because of the space between the -L and the '../../util/src (5th line). If you concat them together the link works fine. So, if you are just dieing to try CGDB, just rerun the command. The rest of the make should work fine for you. Either way, I'll make a release for you. Also, on AIX I think I set TERM to dtterm to get color. I don't know if that's the best one to choose though. Hope you enjoy CGDB in it's still immature state. Thanks, Bob Rossi |