Re: [hatari-devel] libreadline and libtermcap/curses (was: GCC 4.9 is now used on my builds) |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: Thomas Huth <th.huth@xxxxxx>
- Subject: Re: [hatari-devel] libreadline and libtermcap/curses (was: GCC 4.9 is now used on my builds)
- From: Christer Solskogen <christer.solskogen@xxxxxxxxx>
- Date: Sat, 31 May 2014 16:32:43 +0200
- Cc: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=DhaHPR58Tvmwr2gL9odCwdNp/Y6dfB+TObX/xb+VmvA=; b=XbuKS7vnxxCkzoNgIU76dtNXWdwBDsNTzqVCj4OPB7M0dbgPb5u01AeVXxmXClb0UC f053n99rd3oU4NDFfmTtoxR4+H0jw9NLuLhlyLIYTHhb5UW68PosXdNizLfixchSUb8r zy1m5yKrVhQEumb1INcLZhBsW3HALErNmOtQgw8Os1tnFl3gp+a2LGswLsxagfSz09nG cAXWEtNJxuTdRE7z6Peq8yHV9BBZUlbZvlFSKBbYI+uLhNBkMtf6SafDqAPbqh9gOrxX U+A3BIZv4OStJajLB8yTDbCR2U3KpO9qQwvl9brkYpMe4OCDsKWIKdkENIoEYDnf6jAt nU8g==
On Sat, May 31, 2014 at 3:35 PM, Thomas Huth <th.huth@xxxxxx> wrote:
> Am Fri, 30 May 2014 22:44:05 +0200
> schrieb Christer Solskogen <christer.solskogen@xxxxxxxxx>:
>
>> On Fri, May 30, 2014 at 6:04 PM, Thomas Huth <th.huth@xxxxxx> wrote:
>> > Could you maybe first have a look at the log files of cmake (should
>> > be CMakeFiles/CMakeOutput.log and CMakeFiles/CMakeError.log) and
>> > post the results related to the rl function? Maybe there is also
>> > something wrong with the way we check for the function in Hatari's
>> > CMakeLists.txt file...
>> >
>>
>> Found it. When linking with a static library is also needs either
>> -ltermcap or -l{n]curses.
>> I'm no CMake guru so I'm a bit unsure how to fix it.
>
> Ok, I've now tried to improve our FindReadline.cmake script a little
> bit so that it now tries to link against libtermcap or libncurses in
> case the rl function could not be used alone.
> Could you please check whether that cures your situation?
>
Thanks, but no. It does not, but I'm pretty sure you are on a very right track.
Include ncursesw as well (I don't think cursesw is a library, so
there's no need to search for that.) ncursesw is the default ncurses
library for Ubuntu.
--
chs