Chirp for ham radio

Miscellaneous tools
Post Reply
Message
Author
mybestskills
Posts: 7
Joined: Wed 15 Jul 2015, 12:40
Location: Canaan Indiana

Chirp for ham radio

#1 Post by mybestskills »

I recently got puppy linux and I am extremely happy that I can get a dinosuar laptop off the ground and breath in new life. Anyways the guy that suggested puppy linux to me is a ham operator and I was wondering if someone could get chirp working in most or all verisons of puppy. I'm extreme newb when it comes to linux in general but this operating system would be attractive if chirp is in the repository somehow. http://chirp.danplanet.com/projects/chirp/wiki/Home

User avatar
666philb
Posts: 3615
Joined: Sun 07 Feb 2010, 12:27
Location: wales ... by the sea

#2 Post by 666philb »

hi mybestskills

welcome to the forum!

chirp is available for some pups .... what puppy are you using?
Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331

mybestskills
Posts: 7
Joined: Wed 15 Jul 2015, 12:40
Location: Canaan Indiana

#3 Post by mybestskills »

Racy Puppy 5.5

mybestskills
Posts: 7
Joined: Wed 15 Jul 2015, 12:40
Location: Canaan Indiana

#4 Post by mybestskills »

Me and my ham friend where trying so many flavors of linux and most of them failed to run on this laptop until puppy worked for me.

mybestskills
Posts: 7
Joined: Wed 15 Jul 2015, 12:40
Location: Canaan Indiana

#5 Post by mybestskills »

maybe there is a puppy that has chirp on it that may run on a Compaq presario x1000? If anyone would know?

User avatar
Semme
Posts: 8399
Joined: Sun 07 Aug 2011, 20:07
Location: World_Hub

#6 Post by Semme »

Did someone just happen to have that disk or did you dwnld and burn it?

Have you tried Chirp's *live* disk or bootable USB setup?

Maybe Watchdog would build you a pkg?
>>> Living with the immediacy of death helps you sort out your priorities. It helps you live a life less trivial <<<

mybestskills
Posts: 7
Joined: Wed 15 Jul 2015, 12:40
Location: Canaan Indiana

#7 Post by mybestskills »

Well at first he had a collection of linux discs and a lot of them failed from incompatiabilty. I have not tried the chirp linux live boot cd....yet. My laptop was extremely picky on what it would run. But I would like to stay with puppy because it seems very stable and I'm getting what I want out of the dinosaur already. Just that chirp is that last thing that would make this OS great. :) If there is a newer puppy that will run on this laptop that would make this easier I will install it. I did try Quirky 7 and the laptop did spit it back out lol.

User avatar
666philb
Posts: 3615
Joined: Sun 07 Feb 2010, 12:27
Location: wales ... by the sea

#8 Post by 666philb »

give tahrpup or precise a go as they have chirp in their repositories
http://www.murga-linux.com/puppy/viewtopic.php?t=96178
http://ftp.nluug.nl/ftp/pub/os/Linux/di ... ise-5.7.1/

i'll see if i can get it running in racy at the weekend
Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331

mybestskills
Posts: 7
Joined: Wed 15 Jul 2015, 12:40
Location: Canaan Indiana

#9 Post by mybestskills »

I will give them both a try and report back here. Thank you. :)

mybestskills
Posts: 7
Joined: Wed 15 Jul 2015, 12:40
Location: Canaan Indiana

#10 Post by mybestskills »

I got tahrpup 6.0.2 to live boot and I see chirp in the package manager. So I think my problem is solved! I'm going to install. :) I think the reason why so many other linux distros didn't work on my laptop was PAE. I remember that being an issue. And I picked the non PAE iso verison and it worked like a champ!

User avatar
666philb
Posts: 3615
Joined: Sun 07 Feb 2010, 12:27
Location: wales ... by the sea

#11 Post by 666philb »

to get chirp working on racy

first off you need to install the devx ... open a terminal and type

Code: Select all

sfsget
choose the devx_racy sfs and follow the instructions.

once the devx is installed (the script won't work properly unless the devx is installed)
download the attached file ... left click on it to unzip it, then left click on the extracted script to run it to install chirp
Attachments
get_chirp_racy.zip
(628 Bytes) Downloaded 244 times
Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331

iw2evk
Posts: 95
Joined: Fri 08 Jan 2010, 14:54

Chirp last release for puppy lucid 5.2.8

#12 Post by iw2evk »

Hi,

where i can found latest release of chirp for lucid ?

Or how i can compile last tarball with devx.sfs (downloaded)?

Thanks

Roberto iw2evk

User avatar
Geoffrey
Posts: 2355
Joined: Sun 30 May 2010, 08:42
Location: Queensland

#13 Post by Geoffrey »

Latest daily build chirp-daily-20160604.pet

This is the script I wrote and used in Slacko 6.3.0 to build the package,
if you have Chirp already installed and running then you should have most of the dependencies,
the only other addition will be pysetuptools from the PPM.

When run and all goes well, you should have a chirp-daily-xxxxxxxx.pet appear in /root directory.

I haven't had any luck running this script in other Puppy flavors, as pysetuptools gets hung up on not finding libxml2
even though it's installed, including the python xml2, weird.

Anyway, hope this is of use to the Hams.

Code: Select all

#!/bin/bash
#Build Chirp package
mkdir -p /tmp/chirp
wget --no-check-certificate -q -N -P /tmp/chirp http://trac.chirp.danplanet.com/chirp_daily/LATEST/
LATEST_VERSION=`grep -Eo '(>chirp-daily).*(s*tar.gz<)' /tmp/chirp/index.html | tr -d '<>,'`
wget --no-check-certificate -4 -c -t 5 -w 5 -P /tmp/chirp http://trac.chirp.danplanet.com/chirp_daily/LATEST/"$LATEST_VERSION"
cd /tmp/chirp
CHIRP="${LATEST_VERSION%.tar.gz}"
tar -xvzf $LATEST_VERSION
cd $CHIRP
python setup.py bdist
cd dist
tar -xvzf *.tar.gz
rm *.tar.gz
mkdir $CHIRP
mv usr $CHIRP
dir2pet -s -w="Tool for programming radio" -c=Network  $CHIRP
mv $CHIRP.pet ~/$CHIRP.pet
rm -rf /tmp/chirp
[b]Carolina:[/b] [url=http://smokey01.com/carolina/pages/recent-repo.html]Recent Repository Additions[/url]
[img]https://dl.dropboxusercontent.com/s/ahfade8q4def1lq/signbot.gif[/img]

User avatar
WB7ODYFred
Posts: 169
Joined: Sun 14 Dec 2008, 02:15
Location: Oregon & Washington

[SOLVED] Chirp, PySerial, Libxml2

#14 Post by WB7ODYFred »

When run and all goes well, you should have a chirp-daily-xxxxxxxx.pet appear in /root directory.

I haven't had any luck running this script in other Puppy flavors, as pysetuptools gets hung up on not finding libxml2
even though it's installed, including the python xml2, weird.
Don't know the answer to this previous question about libxml2. But did solve the missing "import serial" error by installing pyserial-3.3

Do try installing these tools using Puppy Package Manager (PPM)
pysetuptools-1.3.1-x86_64-1gv.txz Slackware64-14.1-salix
python-psutil-0.6.1-x86_64-1alien.tgz slackware64-14.1-salix

Code: Select all

mkdir ~/chirp
cd ~/chirp
Install pyserial-3.3.tar.gz from this webpage https://pypi.python.org/pypi/pyserial
download file to directory ~/chirp. Then extract sources using command
https://github.com/pyserial/pyserial/bl ... stallation

Code: Select all

tar -xvf pyseri*
cd pyserial-3.3
python setup.py install

From PyPI

pySerial can be installed from PyPI:
python -m pip install pyserial
Using the python/python3 executable of the desired version (2.7/3.x).

If python is setup and working properly this should work:

Code: Select all

python -m pip install pyserial
Anyway, hope this is of use to the Hams.
Yes, Geoffrey it was a help to me, Fred WB7ODY. Add these instructions to your notes and hopefully the next guy will have an easy time of building "Chirp" from scratch. I am grateful for your "CODE" BASH File, that I could copy and the paste CTRL-V into an open terminal window. Paste Command is either ctrl-shift-v or ctrl-insert_key or ctrl-shift-insert_key


I was using Arni Exton's PuppEX from the Multi-0S 6 USB Live
http://puppex.exton.net/
http://www.exton.se/
https://sourceforge.net/projects/exton-9os/ MultiBootCD 6-OS[/url]

Can following user, Verify if these steps work for you, too. Maybe can leave out a step, when you verify it to work with out that step. Please post your results and use the word "[SOLVED]" in the subject line.

Fred Wb7ody

User avatar
WB7ODYFred
Posts: 169
Joined: Sun 14 Dec 2008, 02:15
Location: Oregon & Washington

NOT SOLVED YET, Chirp Radio Programming Software

#15 Post by WB7ODYFred »

NOT SOLVED YET, Chirp Radio Programming Software
Running on 64 bit PuppEX,Arnie Exton's version of Slacko64 6.3.2

I have not got GTK 2.24 installed yet for this 64 bit Puppex http://puppex.exton.net/
https://sourceforge.net/projects/exton-9os/
This is what I am testing with at the present. I did get pyserial 3.3 installed.
If you are running 32 bit Precise Puppy 5.7.1 live from a USB, see Geoffreys forum post, SOLVED
http://murga-linux.com/puppy/viewtopic. ... 493d120799 Geoffrey's March 9, 2017 mention of Chirp


Here are my notes that I copied down, while fixing problems with the Chirp Compiling from source code.

http://murga-linux.com/puppy/viewtopic. ... 070#906555 Geoffrey's Chirp Post, that helped me
http://murga-linux.com/puppy/viewtopic. ... 493d120799 Geoffrey's March 9 2017 mention of Chirp

First error Line 233 or 234 of Log_file_Build_March9

Recreate error. Read more
sh-4.2# pwd
/tmp/chirp/chirp-daily-20170309
sh-4.2# python setup.py bdist
Traceback (most recent call last):
File "setup.py", line 6, in <module>
from chirp.drivers import *
File "/tmp/chirp/chirp-daily-20170309/chirp/drivers/idrp.py", line 16, in <module>
import serial
ImportError: No module named serial
sh-4.2#



Geoffrey's Quoted Forum Post:
This is the script I wrote and used in Slacko 6.3.0 to build the package,
if you have Chirp already installed and running then you should have most of the dependencies,
the only other addition will be pysetuptools from the PPM.

When run and all goes well, you should have a chirp-daily-xxxxxxxx.pet appear in /root directory.

I haven't had any luck running this script in other Puppy flavors, as pysetuptools gets hung up on not finding libxml2
even though it's installed, including the python xml2, weird.
try installing these tools

Code: Select all

pysetuptools-1.3.1-x86_64-1gv.txz  Slackware64-14.1-salix
python-psutil-0.6.1-x86_64-1alien.tgz slackware64-14.1-salix

Install pyserial-3.3.tar.gz from this webpage https://pypi.python.org/pypi/pyserial
download file to a directory. Then extract souces "tar -xvf pyseri*"
https://github.com/pyserial/pyserial
https://github.com/pyserial/pyserial/bl ... stallation

Code: Select all

cd pyserial-3.3
python setup.py install

Anyway, hope this is of use to the Hams.

Code:

Code: Select all

#!/bin/bash
#Build Chirp package
mkdir -p /tmp/chirp
wget --no-check-certificate -q -N -P /tmp/chirp http://trac.chirp.danplanet.com/chirp_daily/LATEST/
LATEST_VERSION=`grep -Eo '(>chirp-daily).*(s*tar.gz<)' /tmp/chirp/index.html | tr -d '<>,'`
wget --no-check-certificate -4 -c -t 5 -w 5 -P /tmp/chirp http://trac.chirp.danplanet.com/chirp_daily/LATEST/"$LATEST_VERSION"
cd /tmp/chirp
CHIRP="${LATEST_VERSION%.tar.gz}"
tar -xvzf $LATEST_VERSION
cd $CHIRP
python setup.py bdist
cd dist
tar -xvzf *.tar.gz
rm *.tar.gz
mkdir $CHIRP
mv usr $CHIRP
dir2pet -s -w="Tool for programming radio" -c=Network  $CHIRP
mv $CHIRP.pet ~/$CHIRP.pet
rm -rf /tmp/chirp
http://chirp.danplanet.com/projects/chirp/wiki/Download
More Notes from DanPlanet
Other Linux Users

Click here to download the latest version

If you don't run a distro for which we have packages, you can run CHIRP right from the tarball available through the link above. Most modern distributions should have almost everything required to run chirp. Make sure you have python-serial and python-libxml2 packages installed. For more information about using CHIRP under Linux, see the Running Under Linux page

http://chirp.danplanet.com/projects/chi ... nder_Linux
Manual installation from source

If you are here, you are probably running an old or obscure distribution, or you want to run from source for some other reason (such as testing a daily build). Before you start, make sure that the required python modules are installed on your system. Some suggestions on how to do this are:

Code: Select all

    Ubuntu/Debian: apt-get install python-gtk python-serial python-libxml2
    Fedora/RedHat: yum install pyserial pygtk2 libxml2-python
Next, grab the source tarball from the Download page and save it somewhere like your home directory and then unpack it:

Code: Select all

tar xzf chirp-0.1.12.tar.gz
cd chirp-0.1.12
From here, the easiest thing is to just launch CHIRP directly without installing it onto your system. Don't worry, this works just fine and CHIRP will be fully functional. Simply run the following:

Code: Select all

./chirpw
Once you've tested that it runs on your system, you may want to install it permanently. To do this, run the setup routine by doing:

Code: Select all

sudo python setup.py install
When finished, you should be able to run "chirpw" from anywhere on your system, and (with luck) you'll also have an item in your distribution's applications menu.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

https://packages.debian.org/search?keyw ... on-libxml2
http://www.linuxfromscratch.org/blfs/vi ... bxml2.html
Download libxml2-2.9.4.tar.gz

Code: Select all

gunzip libxml2-2.9.4.tar.gz
tar -xvf libxml2-2.9.4.tar
cd libxml2-2.9.4
./configure --prefix=/usr --disable-static --with-history && make
su root
make install
https://www.python.org/downloads/
http://www.pygtk.org/
https://wiki.python.org/moin/PyGtk
https://pypi.python.org/pypi/PyGTK
http://ftp.gnome.org/pub/GNOME/sources/pygtk/2.24/


ftp://ftp.gnome.org/pub/GNOME/sources/p ... 4.0.tar.gz

Code: Select all

./configure --prefix=/usr --disable-static --with-history && make

~~~~~~~ Errors ~~~~~~
Download file pygtk-2.24.0.tar.gz

checking for PYGOBJECT... no
configure: error: Package requirements (pygobject-2.0 >= 2.21.3) were not met:

No package 'pygobject-2.0' found

https://wiki.gnome.org/Projects/PyGObje ... ionPorting
https://wiki.gnome.org/action/show/Proj ... =PyGObject
http://ftp.gnome.org/pub/GNOME/sources/pygobject/3.10/
http://ftp.gnome.org/pub/GNOME/sources/ ... 0.2.tar.xz
ftp://ftp.gnome.org/pub/GNOME/sources/p ... 0.2.tar.xz

MIGHT USE latest Version Pygobject 3.22

https://git.gnome.org/browse/pygobject/ ... 2.0.tar.xz Newer Version of pygobject-3.22.0
https://wiki.gnome.org/action/show/Proj ... =PyGObject

Code: Select all

tar xvf pygobject-3.22.0.tar.xz
cd pygobject-3.22.0
~~~ Errors ~~~~~
sh autogen.sh
sh-4.2# sh autogen.sh
You need to install gnome-common.
sh-4.2#

install gnome-common through Puppy package manager or download Master ZIP file from

Code: Select all

./configure --prefix=/usr --disable-static --with-history && make
https://github.com/GNOME/gnome-common
https://sourceforge.net/p/gtkpod/libgpo ... autogen.sh
https://github.com/GNOME/gnome-common/b ... autogen.sh
https://github.com/jnavila/gnome-doc-ut ... autogen.sh
https://linuxconfig.org/programming-scripting Python Training

ftp://mirrors.syringanetworks.net/gnu/automake/ Version 1.15
https://www.gnu.org/software/automake/


http://www.linuxfromscratch.org/blfs/vi ... sktop.html Gnome Desktop

http://www.linuxfromscratch.org/blfs/vi ... ction.html gobject-introspection 1.50

Last working on getting Automake version 1.15 to work for Autogen.sh to complete correctly.

Post Reply