On 15 January 2013 22:09, timotheecour <[email protected]> wrote:
> Could you please provide some more information for usage / installation? > > on osx I was able to install it with: > brew install readline > ./configure --with-readline=/usr/local/**homebrew/Cellar/readline/6.2.4 > > 1) however, running a simple hello world with rdmd --build-only -g main > and then cgdb ./main doesn't seem to show any debugging symbols (line > numbers etc). Is that because of the issue with the extra underscore > produced in D mangling on OSX? > > Which compiler are you using, dmd's? I'm not sure how good dmd emits debugging symbols on OSX, you could try using -gc switch instead of -g. Raise a bug with the revelant compiler. 2) > on ubuntu, I can't get it to install: > ./configure --with-readline=/some_path/**libreadline.a > however it complains about ncurses not found, even with options such as: > --with-ncurses=/some_path/**libncurses.so > > I just built mine with: ./configure --prefix=/usr You should only require the following installed: autotools-dev, libncurses5-dev, libreadline6-dev Regards, Iain. -- Iain Buclaw *(p < e ? p++ : p) = (c & 0x0f) + '0';
