Menu

NCID v1.16 32bit available?

Chad Scott
2024-06-04
2024-10-21
  • Chad Scott

    Chad Scott - 2024-06-04

    Hi, there does not seem to be a current 32 bit version available, i.e.
    ncid_1.16-1_raspios_bookworm_armhf.deb

    like there was for v1.15
    ncid_1.15-1_raspios_bullseye_armhf.deb

    Is that something new for the current version, or am I just missing it?
    Thanks,
    Chad.

     
  • Chad Scott

    Chad Scott - 2024-06-05

    Since I'm still using an old RPI2 for this (which is more than capable) the "compile/install from source" option was used following the instructions from the manual under section "DEB Package Install for Debian, raspios and Ubuntu". I just wanted to mention a couple things found from doing this:
    - for the Python3 packages the ones listed are
    python3-pytz python3-phonenumbers python3-dialog
    but the "python3-pytz" package could not be found, I believe this list should be
    python3-pytz-deprecation-shim python3-phonenumbers python3-dialog

    • the last step in this section states
      "Copy ncid-<version>-src.tar.gz to any convenient directory, then type the following, where <os> is debian, raspbian or ubuntu:"
      but "raspbian" is not valid and needs to be replaced with "raspios"</os></version>

      And rather than manually using the commands shown in this section to build the installer, I found this "script" somewhere else in the docs that makes this process a little easier:
      export ID; ID=sed '/^ID=/!d;s,^.=,,' /etc/os-releaseOS=sed '/^VERSION_CODENAME=/!d;s,^.=,,' /etc/os-release[ "$ID" != "ubuntu" ] && ID="raspios" tar -xzf ncid-1.16-src.tar.gz mv ncid ncid-1.16 cd ncid-1.16 fakeroot Debian/rules build fakeroot Debian/rules binary fakeroot Debian/rules clean cd .. ls | grep arm64 > /dev/null && rename "s/arm64/${ID}_${OS}_arm64/" ${pkg}*_arm64.deb ls | grep armf > /dev/null && rename "s/armhf/${ID}_${OS}_armhf/" ${pkg}*_armhf.deb ls | grep aarch64 > /dev/null && rename "s/aarch64/${ID}_${OS}_aarch64/" ${pkg}*_arch64.deb

      Thanks again for creating and maintaining this software!

     

    Last edit: Chad Scott 2024-06-05
  • John L. Chmielewski

    Hi Chad,

    Only the 64-bit version of raspios is provided. The 32-bit version needs to be compiled. Surprised you found my script used to build the release.

    Thanks for the info on changes needed.

    The python3-pytz was correct until it was depreciated and recently removed. It is still installed so the app install package was built correctly. We need to review and fix the use that pytz provided for ncid.

    If interested, review pytz_deprecation_shim: Shims to help you safely remove pytz It explains why pytz was removed.

     
  • John L. Chmielewski

    Hi Chad,

    A new phonetz.py is available. The attached phonetz.tgz archive contains it.

    The python3 requirements reduce to python3-phonenumbers, python3-dialog

    Replace ncid/tools/phonetz.py, build the executable and install it:

    $ cd <path>/ncid/tools
    $ tar -xavf <path>/phonetz.tgz
    $ make clobber phonetz
    $ sudo cp phonetz /usr/bin/.
    
     
  • John Smith

    John Smith - 2024-10-20

    Hi

    The phonetz.tgz file still makes no difference to the build.

    (trying) to follow the official instructions which are very confusing I must say, I after 3 weeks found this page and thought it would help. But it doesn't

    The file in the zip does extract and the instructions do work but when i go to install the client it get the same old error

    Tried it with gdebi

    The following packages have unmet dependencies:
    ncid-client : Depends: python3-pytz but it is not installable

    Tried it with dpkg
    Unpacking ncid-client (1.16-1) ...
    dpkg: dependency problems prevent configuration of ncid-client:
    ncid-client depends on bsd-mailx; however:
    Package bsd-mailx is not installed.
    ncid-client depends on ncat; however:
    Package ncat is not installed.
    ncid-client depends on python3-pytz; however:
    Package python3-pytz is not installed.

    Ran

    sudo apt-get install -f

    twice

    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    Reading state information... Done
    This package is uninstallable
    Dependency is not satisfiable: python3-pytz

    I'm trying to get my ncid back working after a crash again and i can get everything except the client installed.

    If the above phonetz is supposed to remove the dependency, can you please supply the correct line to install the client from and what directory i need to install if from as well please.

    Thank you

     
  • John L. Chmielewski

    Hi Chad,

    First you need to verify phonetz:

    $ ls -l /usr/bin/phonetz
    -rwxr-xr-x 1 root root 1357 Jun  6 10:52 /usr/bin/phonetz
    

    It phonetz does not have execute permission, make it executable.:

    chmod +x /usr/bin/phonetz
    

    If the ls fails or is not the correct size (1357), reinstall phonetz from the phonetz.tgz above attachment:

    tar -xavf phonetz.tgz
    sudo cp phonetz.py /usr/bin/phonetz
    chmod +x /usr/bin/phonetz
    sudo rm /us/bin/phonetz.py # in case it's there
    

    Did you try to install the client using apt? It should install the missing dependencies:

    sudo apt install ./ncid-client_1.16-1_all.deb
    

    If it fails, you need to download the source, build and install the client.

    First add the missing required packages: DEB Package Install for Debian, raspios and Ubuntu
    Next build and install just the client. also make sure to copy phonetz to /usr/bin:

    # get the source package and do
    tar -xavf ncid-1.16-src.tar.gz
    cd ncid/client
    make client
    sudo make install
    
     
  • Ed Attfield

    Ed Attfield - 2024-10-21

    My stupid suggestion: try installing an older version that doesn't need phonetz.
    It was new in 1.14, so 1.13.2 can be found here:
    https://sourceforge.net/projects/ncid/files/ncid/1.13/

     

Log in to post a comment.