• Thanks see forward to maybe have fmail as well from git ?

    From Benny Pedersen@2:460/256 to All on Wed Jun 26 00:13:55 2024
    Thanks see forward to maybe have fmail as well from git ?

    --- tg BBS v0.7.1
    * Origin: Fido by Telegram BBS from Stas Mishchenkov (2:460/256)
  • From Wilfred van Velzen@2:280/464 to Benny Pedersen on Wed Jun 26 08:43:03 2024
    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)
  • From Benny Pedersen@2:230/0 to Wilfred van Velzen on Fri Jul 19 23:03:06 2024
    Hello Wilfred!

    26 Jun 2024 08:43, Wilfred van Velzen wrote to Benny Pedersen:

    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)

    [ 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'
    /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: /lib64/libtinfo.so.6: error adding symbols: DSO missing from command line
    collect2: error: ld returned 1 exit status
    make[2]: *** [CMakeFiles/fconfig.dir/build.make:481: fconfig] Error 1 make[1]: *** [CMakeFiles/Makefile2:139: CMakeFiles/fconfig.dir/all] Error 2 make: *** [Makefile:91: all] Error 2
    xpoint@localhost ~/builds $ locate libtinfo.so.6
    /lib64/libtinfo.so.6
    /lib64/libtinfo.so.6.4
    xpoint@localhost ~/builds $


    Bye, Wilfred.

    -+- FMail-lnx64 2.3.2.4-B20240523
    + Origin: FMail development HQ (2:280/464)


    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)
  • From Wilfred van Velzen@2:280/464 to Benny Pedersen on Sat Jul 20 11:15:46 2024
    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 /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'

    You need to install the ncurses development library on your system...


    Bye, Wilfred.

    --- FMail-lnx64 2.3.2.4-B20240523
    * Origin: FMail development HQ (2:280/464)
  • From Benny Pedersen@2:230/0 to Wilfred van Velzen on Sun Jul 21 15:56:20 2024
    Hello Wilfred!

    20 Jul 2024 11:15, Wilfred van Velzen wrote to Benny Pedersen:

    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...


    [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 :)



    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)
  • From Wilfred van Velzen@2:280/464 to Benny Pedersen on Sun Jul 21 18:55:07 2024
    Hi Benny,

    On 2024-07-21 15:56:20, you wrote to me:

    (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 :)

    'stdscr' is defined in ncurses/ncurses.h as extern. Does you system have libncurses* files for linking?

    Bye, Wilfred.

    --- FMail-lnx64 2.3.2.4-B20240523
    * Origin: FMail development HQ (2:280/464)
  • From Benny Pedersen@2:230/0 to Wilfred van Velzen on Sun Jul 21 17:10:02 2024
    Hello Wilfred!

    21 Jul 2024 18:55, Wilfred van Velzen wrote to Benny Pedersen:

    remember i use gentoo :)

    'stdscr' is defined in ncurses/ncurses.h as extern. Does you system
    have libncurses* files for linking?

    /lib64/libncurses.so.6
    /lib64/libncurses.so.6.4
    /lib64/libncursest.so.6
    /lib64/libncursest.so.6.4
    /lib64/libncursestw.so.6
    /lib64/libncursestw.so.6.4
    /lib64/libncursesw.so.6
    /lib64/libncursesw.so.6.4
    /usr/lib64/libncurses++.so
    /usr/lib64/libncurses++.so.6
    /usr/lib64/libncurses++.so.6.4
    /usr/lib64/libncurses++t.so
    /usr/lib64/libncurses++t.so.6
    /usr/lib64/libncurses++t.so.6.4
    /usr/lib64/libncurses++tw.so
    /usr/lib64/libncurses++tw.so.6
    /usr/lib64/libncurses++tw.so.6.4
    /usr/lib64/libncurses++w.so
    /usr/lib64/libncurses++w.so.6
    /usr/lib64/libncurses++w.so.6.4
    /usr/lib64/libncurses.so
    /usr/lib64/libncursest.so
    /usr/lib64/libncursestw.so
    /usr/lib64/libncursesw.so


    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)
  • From Benny Pedersen@2:230/0 to Wilfred van Velzen on Sun Jul 21 17:17:20 2024
    Hello Wilfred!

    21 Jul 2024 18:55, Wilfred van Velzen wrote to Benny Pedersen:

    'stdscr' is defined in ncurses/ncurses.h as extern.

    this file does not exits on gentoo

    while /usr/include/ncurses.h does


    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)
  • From Wilfred van Velzen@2:280/464 to Benny Pedersen on Sun Jul 21 22:17:39 2024
    Hi Benny,

    On 2024-07-21 17:17:20, you wrote to me:

    '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...

    Bye, Wilfred.

    --- FMail-lnx64 2.3.2.4-B20240523
    * Origin: FMail development HQ (2:280/464)
  • From Benny Pedersen@2:230/0 to Wilfred van Velzen on Mon Jul 22 23:24:50 2024
    Hello Wilfred!

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

    '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.

    ok

    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 ?

    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 ()

    i tryed it, it did not help

    Maybe that is different on gentoo? Try removing the 'if' and 'endif' 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)
  • From Wilfred van Velzen@2:280/464 to Benny Pedersen on Tue Jul 23 09:21:11 2024
    * Originally in FUTURE4FIDO
    * Crossposted in FMAIL_HELP

    Hi Benny,

    On 2024-07-22 23:24:50, you wrote to me:

    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 ?

    I don't know about gentoo, but cmake should take care automatically of such issues. Was there anything in the cmake output?
    Maybe cmake isn't configured right?

    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

    (Only fconfig uses ncurses)

    # ldd fconfig
    linux-vdso.so.1 (0x00007ffef25f1000)
    libncurses.so.5 => /lib64/libncurses.so.5 (0x00007f861bac3000)
    libtinfo.so.5 => /lib64/libtinfo.so.5 (0x00007f861b88f000)
    libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007f861b50a000)
    libm.so.6 => /lib64/libm.so.6 (0x00007f861b209000)
    libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f861aff2000)
    libc.so.6 => /lib64/libc.so.6 (0x00007f861ac49000)
    libdl.so.2 => /lib64/libdl.so.2 (0x00007f861aa45000)
    /lib64/ld-linux-x86-64.so.2 (0x00005650bea44000)

    ncurses version have you ?

    # rpm -qi ncurses-devel
    Name : ncurses-devel
    Version : 5.9
    Release : 53.4
    Architecture: x86_64
    Install Date: Fri Mar 4 13:16:38 2016
    Group : Development/Libraries/C and C++
    Size : 26257165
    License : MIT
    Signature : RSA/SHA256, Sun Oct 25 06:48:17 2015, Key ID b88b2fd43dbdc284 Source RPM : ncurses-5.9-53.4.src.rpm
    Build Date : Sun Oct 25 06:47:41 2015
    Build Host : build75
    Relocations : (not relocatable)
    Packager : http://bugs.opensuse.org
    Vendor : openSUSE
    URL : http://invisible-island.net/ncurses/ncurses.html
    Summary : Include Files and Libraries mandatory for Development


    But I also tested on a newer system with this ncurses version:

    # rpm -qi ncurses-devel
    Name : ncurses-devel
    Version : 6.1
    Release : 150000.5.24.1
    Architecture: x86_64
    Install Date: Tue Apr 9 09:55:20 2024
    Group : Development/Libraries/C and C++
    Size : 17229428
    License : MIT
    Signature : RSA/SHA256, Mon Feb 19 16:22:21 2024, Key ID 70af9e8139db7c82 Source RPM : ncurses-6.1-150000.5.24.1.src.rpm
    Build Date : Mon Feb 19 16:21:17 2024
    Build Host : h04-ch2a
    Relocations : (not relocatable)
    Packager : https://www.suse.com/
    Vendor : SUSE LLC <https://www.suse.com/>
    URL : http://www.invisible-island.net/ncurses/ncurses.html
    Summary : Development files for the ncurses6 terminal control library

    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...


    Bye, Wilfred.

    --- FMail-lnx64 2.3.2.4-B20240523
    * Origin: FMail development HQ (2:280/464)
  • From Benny Pedersen@2:230/0 to Wilfred van Velzen on Tue Jul 23 15:21:52 2024
    Hello Wilfred!

    23 Jul 2024 09:21, Wilfred van Velzen wrote to Benny Pedersen:

    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 :=)


    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)
  • From Wilfred van Velzen@2:280/464 to Benny Pedersen on Tue Jul 23 20:36:33 2024
    Hi Benny,

    On 2024-07-23 15:21:52, you wrote to me:

    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 ?

    Nah, it's too old. And there is no package available.

    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...


    Bye, Wilfred.

    --- FMail-lnx64 2.3.2.4-B20240523
    * Origin: FMail development HQ (2:280/464)
  • From Benny Pedersen@2:230/0 to Wilfred van Velzen on Tue Jul 23 21:33:06 2024
    Hello Wilfred!

    23 Jul 2024 20:36, Wilfred van Velzen wrote to Benny Pedersen:

    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

    its on sf.net


    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)
  • From Benny Pedersen@2:230/0 to Wilfred van Velzen on Tue Jul 23 21:47:18 2024
    Hello Wilfred!

    23 Jul 2024 20:36, Wilfred van Velzen wrote to Benny Pedersen:

    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, but not on gentoo since 6.3 does not exists in gentoo

    unless i install 6.3 self


    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)
  • From Benny Pedersen@2:230/0 to Wilfred van Velzen on Wed Jul 24 05:12:02 2024
    Hello Wilfred!

    23 Jul 2024 20:36, Wilfred van Velzen wrote to Benny Pedersen:

    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


    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)
  • From Wilfred van Velzen@2:280/464 to Benny Pedersen on Wed Jul 24 08:53:40 2024
    Hi Benny,

    On 2024-07-23 21:33:06, you wrote to me:

    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 ?

    Probably, yes...

    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

    Too much work... ;-)


    Bye, Wilfred.

    --- FMail-lnx64 2.3.2.4-B20240523
    * Origin: FMail development HQ (2:280/464)
  • From Wilfred van Velzen@2:280/464 to Benny Pedersen on Wed Jul 24 08:54:56 2024
    Hi Benny,

    On 2024-07-23 21:47:18, you wrote to me:

    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,

    Good! :-)


    Bye, Wilfred.

    --- FMail-lnx64 2.3.2.4-B20240523
    * Origin: FMail development HQ (2:280/464)
  • From Wilfred van Velzen@2:280/464 to Benny Pedersen on Wed Jul 24 08:59:12 2024
    * Originally in FUTURE4FIDO
    * Crossposted in FMAIL_HELP

    Hi Benny,

    On 2024-07-24 05:12:02, you wrote to me:

    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'll test it on my systems first!

    i will make a gentoo ebuild later

    Thanks! How many gentoo fido users are there? Maybe just 1 ? ;-)


    Bye, Wilfred.

    --- FMail-lnx64 2.3.2.4-B20240523
    * Origin: FMail development HQ (2:280/464)
  • From Wilfred van Velzen@2:280/464 to Benny Pedersen on Wed Jul 24 20:56:29 2024
    * Originally in FMAIL_HELP
    * Crossposted in FUTURE4FIDO

    Hi Benny,

    On 2024-07-24 08:59:12, I wrote to you:

    https://paste.xinu.at/6u4lw/

    this solves gentoo compile of fmail, add this patch to sources

    I'll test it on my systems first!

    It's not working on my system:

    ~/Projects/FMail/cmake-build-test> cmake ..
    -- The C compiler identification is GNU 4.8.5
    -- Check for working C compiler: /usr/bin/cc
    -- Check for working C compiler: /usr/bin/cc -- works
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Detecting C compile features
    -- Detecting C compile features - done
    -- Found PkgConfig: /usr/bin/pkg-config (found version "0.28")
    -- checking for modules 'IMPORTED_TARGET;GLOBAL;ncurses'
    -- package 'IMPORTED_TARGET' not found
    -- package 'GLOBAL' not found
    -- package 'ncurses' not found
    CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:340 (message):
    A required package was not found
    Call Stack (most recent call first):
    /usr/share/cmake/Modules/FindPkgConfig.cmake:502 (_pkg_check_modules_internal)
    CMakeLists.txt:112 (pkg_check_modules)


    -- Configuring incomplete, errors occurred!
    See also "~/Projects/FMail/cmake-build-test/CMakeFiles/CMakeOutput.log".


    Bye, Wilfred.

    --- FMail-lnx64 2.3.2.4-B20240523
    * Origin: FMail development HQ (2:280/464)