• Compiling errors in Hakiu

    From ACMEBBS@21:4/10 to Apam on Thu May 26 00:38:00 2022
    Found out that TitanMail will only work on the system I compiled it on. Have gotten replies with the taglines in the FSX_TST. Stoked...but still knocking my head on the wall that I can't completely get it compiled. Here's the printout of what I'm coming up against:

    ~/Desktop/Home/TitanMail-build> make install
    [ 2%] Automatic MOC and UIC for target QuaZip
    [ 2%] Built target QuaZip_autogen
    [ 50%] Built target QuaZip
    [ 52%] Automatic MOC and UIC for target TitanMail
    [ 52%] Built target TitanMail_autogen
    [100%] Built target TitanMail
    Install the project...
    -- Install configuration: ""
    -- Installing: /boot/system/lib/libquazip1-qt5.so.1.3
    CMake Error at /boot/home/Desktop/Home/Desktop/Home/TitanMail-build/quazip/quazip/cmake_install.cmake:52 (file):
    file INSTALL cannot copy file
    "/boot/home/TitanMail-build/quazip/quazip/libquazip1-qt5.so.1.3" to
    "/boot/system/lib/libquazip1-qt5.so.1.3": Read-only file system.
    Call Stack (most recent call first):
    /boot/home/Desktop/Home/Desktop/Home/TitanMail-build/quazip/cmake_install.cmake:42 (include)
    /boot/home/Desktop/Home/Desktop/Home/Desktop/Home/TitanMail-build/cmake_install.cmake:42 (include)


    Makefile:99: recipe for target 'install' failed
    make: *** [install] Error 1

    Even attempted to compile this in ArcaOS-OS/2. CMake was 3.15...while 3.20 was needed. Seemed like other programs were available...but only got the error message about being too old.

    If you have any suggestions or can point me to the answer (since I'm not a programmer...but can seemingly follow written steps)...you'll have the 1st/only QWK reader for Hakiu.

    Thanks!

    ... I'm Tom Baker of Borg: Care to assimilate a jelly baby?
    === TitanMail/winnt v1.1.5
    --- SBBSecho 3.06-Win32
    * Origin: fsxNet FTN<>QWK Gateway (21:4/10)
  • From paulie420@21:2/150 to ACMEBBS on Thu May 26 17:41:51 2022
    CMake Error at /boot/home/Desktop/Home/Desktop/Home/TitanMail-build/quazip/quazip/cmake_i .cmake:52 (file):
    file INSTALL cannot copy file
    "/boot/home/TitanMail-build/quazip/quazip/libquazip1-qt5.so.1.3" to
    "/boot/system/lib/libquazip1-qt5.so.1.3": Read-only file system.
    Call Stack (most recent call first):

    Well, its saying that its a Read-only file system... try:
    sudo make install

    I think that'll get things moving for you, unless yer actually on a read-only file system, then you need to give it somewhere writable to install to.



    |07p|15AULIE|1142|07o
    |08.........

    --- Mystic BBS v1.12 A48 2022/04/03 (Raspberry Pi/32)
    * Origin: 2o fOr beeRS bbs>>>20ForBeers.com:1337 (21:2/150)
  • From apam@21:1/158 to ACMEBBS on Fri May 27 04:59:15 2022
    Even attempted to compile this in ArcaOS-OS/2. CMake was 3.15...while
    3.20 was needed. Seemed like other programs were available...but only
    got the error message about being too old.

    You can probably just change the CMakeLists.txt file to specifiy 3.15. Cmake said I needed a requirement and I don't know enough about cmake to know what certain versions support so just put the version i had.

    If you have any suggestions or can point me to the answer (since I'm not
    a programmer...but can seemingly follow written steps)...you'll have the 1st/only QWK reader for Hakiu.

    Yeah, the Install part of the CMakeLists.txt isn't really geared toward Haiku. You could probably compile it with QuaZIP statically linked to save having to modify the system library directory. I don't know how haiku lays things out and it's been a while since I played with it.

    Andrew

    --- Mystic BBS v1.12 A47 2021/12/13 (Linux/64)
    * Origin: thE qUAntUm wOrmhOlE, rAmsgAtE, uK. bbs.erb.pw (21:1/158)
  • From apam@21:1/101 to ACMEBBS on Fri May 27 18:11:33 2022
    Yeah, the Install part of the CMakeLists.txt isn't really geared toward Haiku. You could probably compile it with QuaZIP statically linked to
    save having to modify the system library directory. I don't know how
    haiku lays things out and it's been a while since I played with it.

    So it would seem that apart from the home directory in Haiku is mounted read only and is managed by haiku-depot. So, the only way I can see it getting installed nicely is if someone makes a haiku-ports script for it.

    I've removed the Install part from the CMakeLists.txt for haiku and also set the Quazip to be statically compiled and link.. So, you should be able to just copy the TitanMail binary to your /Haiku folder and launch it from the file browser, and assuming you have QT5 installed it should I think run on another haiku installation... though it might not.

    I'm not really up to making a haiku port script and getting it merged into haiku-ports at this stage. Probably need to do proper releases for that.

    Andrew

    --- Mystic BBS v1.12 A47 2021/12/24 (Linux/64)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (21:1/101)
  • From Accession@21:1/200 to ACMEBBS on Fri May 27 07:05:12 2022
    On 26 May 2022, ACMEBBS said the following...

    If you have any suggestions or can point me to the answer (since I'm not
    a programmer...but can seemingly follow written steps)...you'll have the 1st/only QWK reader for Hakiu.

    I was going to say the same thing as Paulie, but then realized you're doing this on Windows. Assuming you're using a command prompt, try running it with administrator privilidges.

    Regards,
    Nick

    --- Mystic BBS v1.12 A48 2022/04/26 (Linux/64)
    * Origin: _thePharcyde telnet://bbs.pharcyde.org (Wisconsin) (21:1/200)
  • From ACMEBBS@21:4/10 to Accession on Fri May 27 23:57:00 2022
    On Fri May 27 07:05:00 2022, Accession wrote to ACMEBBS <=-

    > AC> If you have any suggestions or can point me to the answer (since I'm not
    a programmer...but can seemingly follow written steps)...you'll have the
    1st/only QWK reader for Hakiu.

    I was going to say the same thing as Paulie, but then realized you're doing this on Windows. Assuming you're using a command prompt, try running it with
    administrator privilidges.

    In Haiku/BeOS...the one who installs it is root. It has su...but no sudo. There...the problem is the file system is read-only...so I need to install anything outside the store as: /boot/system/non-packaged. In a couple of days...will be doing more research about this. Being my work week (Thursday-Sunday) & having time after work...exhaustion is an issue.


    ... I'd give my right arm to be ambidextrous.
    === TitanMail/winnt v1.1.5
    --- SBBSecho 3.06-Win32
    * Origin: fsxNet FTN<>QWK Gateway (21:4/10)