Subj : Re: Thanks see forward to maybe have fmail as well from git ?
To   : Wilfred van Velzen
From : Benny Pedersen
Date : Mon Jul 22 2024 11:24 pm

Hello Wilfred!

21 Jul 2024 22:17, Wilfred van Velzen wrote to Benny Pedersen:

WvV>>> 'stdscr' is defined in ncurses/ncurses.h as extern.
BP>> this file does not exits on gentoo
BP>> while /usr/include/ncurses.h does

WvV> That doesn't matter.

ok

WvV> It's a link problem, because it doesn't link to
WvV> the right library file.

could this be a prefix problem ?, if it compiles and installed it would on gentoo be with prefix of /usr/local, while all ebuilds is in /usr, is linker libs search only in /usr/local/lib64 or both /usr/local/lib64 and /usr/lib64 in that order ?

WvV> cmake should take care of that if the right
WvV> library file is present on your system.

WvV> CMakeLists.txt has these lines:

WvV> if (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
WvV>     target_link_libraries(fconfig ncurses)
WvV> endif ()

i tryed it, it did not help

WvV> Maybe that is different on gentoo? Try removing the 'if' and 'endif'
WvV> lines...

what are your own output from linked elfs from fmail ftools fconfig ?, this will revail where ncurses is installed, next i think og is what ncurses version have you ?

my /usr/local/lib64 is empty, so here only libs installed from emerges, maybe i just need to install ncurses as non root user, just like fmail is ?, will it make sense ?


Regards Benny

... too late to die young :)

--- Msged/LNX 6.1.2 (Linux/6.9.10-gentoo-dist (x86_64))
* Origin: gopher://fido.junc.eu/ (2:230/0)