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

    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 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)
  • From Benny Pedersen@2:230/0 to Wilfred van Velzen on Mon Aug 5 08:46:38 2024
    Hello Wilfred!

    24 Jul 2024 20:56, Wilfred van Velzen wrote to Benny Pedersen:

    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)

    looks like you not using pkgconfig ?

    join a pkgconfig irc channel for help :=)


    Regards Benny

    ... too late to die young :)

    --- Msged/LNX 6.1.2 (Linux/6.10.3-gentoo-dist (x86_64))
    * Origin: gopher://fido.junc.eu/ (2:230/0)
  • From Wilfred van Velzen@2:280/464 to Benny Pedersen on Mon Aug 5 11:01:24 2024
    Hi Benny,

    On 2024-08-05 08:46:38, you wrote to me:

    looks like you not using pkgconfig ?

    I don't need to, I don't run on gentoo...


    Bye, Wilfred.

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