Thanks see forward to maybe have fmail as well from git ?
Hi Benny,
On 2024-06-26 00:13:55, you wrote to All:
Thanks see forward to maybe have fmail as well from git ?
I'm not sure if this is what your asking. But FMail has been
available through git for a long time.
And a CMakeLists.txt is provided since early this year, so this is working since then:
# git clone git://git.code.sf.net/p/fmail/code FMail
# cd FMail
# mkdir cmake-build
# cd cmake-build
# cmake ..
# make
(Provided you have the needed tools and libraries installed)
Bye, Wilfred.
-+- FMail-lnx64 2.3.2.4-B20240523
+ Origin: FMail development HQ (2:280/464)
# git clone git://git.code.sf.net/p/fmail/code FMail
# cd FMail
# mkdir cmake-build
# cd cmake-build
# cmake ..
# make
(Provided you have the needed tools and libraries installed)
[ 41%] Built target fmail
[ 69%] Built target ftools
[ 70%] Linking C executable fconfig /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld:
CMakeFiles/fconfig.dir/conio-linux.c.o: undefined reference to symbol 'stdscr'
Hi Benny,
On 2024-07-19 23:03:06, you wrote to me:
# git clone git://git.code.sf.net/p/fmail/code FMail
# cd FMail
# mkdir cmake-build
# cd cmake-build
# cmake ..
# make
(Provided you have the needed tools and libraries installed)
[ 41%] Built target fmail
[ 69%] Built target ftools
[ 70%] Linking C executable fconfig
CMakeFiles/fconfig.dir/conio-linux.c.o: undefined reference to symbol
'stdscr'
You need to install the ncurses development library on your system...
(Provided you have the needed tools and libraries installed)
CMakeFiles/fconfig.dir/conio-linux.c.o: undefined reference to
symbol 'stdscr'
You need to install the ncurses development library on your system...
[I] sys-libs/ncurses
Available versions: 6.4_p20230401(0/6)^t 6.4_p20240414(0/6)^t [M]~6.5-r1(0/6)^t [M]**6.5_p20240615(0/6)^t {ada +cxx debug doc gpm minimal
profile split-usr +stack-realign static-libs test tinfo trace verify-sig ABI_MIPS="n32 n64 o32" ABI_S390="32 64" ABI_X86="32 64 x32"}
Installed versions: 6.4_p20240414(0/6)^t(21:12:56 04/28/24)(cxx split-usr tinfo -ada -debug -doc -gpm -minimal -profile -stack-realign -static-libs -test -trace -verify-sig ABI_MIPS="-n32 -n64 -o32" ABI_S390="-32
-64" ABI_X86="64 -32 -x32")
Homepage: https://www.gnu.org/software/ncurses/ https://invisible-island.net/ncurses/
Description: Console display library
remember i use gentoo :)
remember i use gentoo :)
'stdscr' is defined in ncurses/ncurses.h as extern. Does you system
have libncurses* files for linking?
'stdscr' is defined in ncurses/ncurses.h as extern.
'stdscr' is defined in ncurses/ncurses.h as extern.
this file does not exits on gentoo
while /usr/include/ncurses.h does
'stdscr' is defined in ncurses/ncurses.h as extern.
this file does not exits on gentoo
while /usr/include/ncurses.h does
That doesn't matter.
It's a link problem, because it doesn't link to
the right library file.
cmake should take care of that if the right
library file is present on your system.
CMakeLists.txt has these lines:
if (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
target_link_libraries(fconfig ncurses)
endif ()
Maybe that is different on gentoo? Try removing the 'if' and 'endif' lines...
It's a link problem, because it doesn't link to 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 ?
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 ?
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 ?
I don't think so...
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 ?
I don't think so...
would it be possible to test ncurses 6.4 on your install ?
ncurses 5.9 is no longer in gentoo
i can provide a linode gentoo vps if that helps, with root access if needed
:=)
I could try, if it's not too much work to familiarize myself with gentoo...
I could try, if it's not too much work to familiarize myself with gentoo...
I could try, if it's not too much work to familiarize myself with gentoo...
I could try, if it's not too much work to familiarize myself with
gentoo...
upgrade ncurses on your own linux will properly break everything ?
and you learned nothing by not trying
for the simplest run of gentoo is to get systemresquecd iso and burn it into a
usb stick with rufus, now boot this and you have gentoo
I could try, if it's not too much work to familiarize myself with
gentoo...
i asked a slackware user of help with it, it compiles fine with ncurses 6.3,
I could try, if it's not too much work to familiarize myself with
gentoo...
https://paste.xinu.at/6u4lw/
this solves gentoo compile of fmail, add this patch to sources
i will make a gentoo ebuild later
https://paste.xinu.at/6u4lw/
this solves gentoo compile of fmail, add this patch to sources
I'll test it on my systems first!
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 410 |
Nodes: | 16 (2 / 14) |
Uptime: | 93:17:28 |
Calls: | 8,585 |
Calls today: | 9 |
Files: | 13,228 |
Messages: | 5,933,706 |