[chirp_users] How to load under Linux?
I was referred to CHIRP from the Kenwood TH-D72 list.
What are the dependencies to run CHIRP in Linux, please?
I have downloaded and uncompressed CHIRP.
I generally use the Fluppy version of Puppy Linux (it's optimized to be full-featured, small, and functional on Netbooks, Notebooks, and desktops).
Thanks!
On 04/20/11 18:50, doc@kd4e.com wrote:
I was referred to CHIRP from the Kenwood TH-D72 list.
What are the dependencies to run CHIRP in Linux, please?
I have downloaded and uncompressed CHIRP.
I generally use the Fluppy version of Puppy Linux (it's optimized to be full-featured, small, and functional on Netbooks, Notebooks, and desktops).
Thanks!
Assuming you have all required libs it is just "./chirpw" from the chirp directory.
-Zero
When I try that I get:
-------------------------------------------------------------------- # ./chirpw
bash: ./chirpw: /usr/bin/python: bad interpreter: No such file or directory
--------------------------------------------------------------------
When I search for "python" I get:
/usr/share/python
/usr/lib/pythom2.4 /usr/lib/pythom2.5 /usr/lib/pythom2.6
I don't recall how to issue a redirect so that when chirpw looks for /usr/bin/python it actually goes to /usr/share/python
Richard Farina wrote: On 04/20/11 18:50, doc@kd4e.com wrote:
I was referred to CHIRP from the Kenwood TH-D72 list.
What are the dependencies to run CHIRP in Linux, please?
I have downloaded and uncompressed CHIRP.
I generally use the Fluppy version of Puppy Linux (it's optimized to be full-featured, small, and functional on Netbooks, Notebooks, and desktops).
Thanks!
Assuming you have all required libs it is just "./chirpw" from the chirp directory.
-Zero
On 04/20/11 20:18, doc@kd4e.com wrote:
When I try that I get:
# ./chirpw
bash: ./chirpw: /usr/bin/python: bad interpreter: No such file or directory
When I search for "python" I get:
/usr/share/python
/usr/lib/pythom2.4 /usr/lib/pythom2.5 /usr/lib/pythom2.6
Try typing "which python" then perhaps "ls -al `which python". If things are working properly this will show you where python is in your path and which python version is currently set as active. If this doesn't help you figure it out by yourself respond I'll I will try to help.
-Zero
I don't recall how to issue a redirect so that when chirpw looks for /usr/bin/python it actually goes to /usr/share/python
Richard Farina wrote: On 04/20/11 18:50, doc@kd4e.com wrote:
I was referred to CHIRP from the Kenwood TH-D72 list.
What are the dependencies to run CHIRP in Linux, please?
I have downloaded and uncompressed CHIRP.
I generally use the Fluppy version of Puppy Linux (it's optimized to be full-featured, small, and functional on Netbooks, Notebooks, and desktops).
Thanks!
Assuming you have all required libs it is just "./chirpw" from the chirp directory.
-Zero
I get no response, just a blank and then I get a prompt:
# which python # ls -al 'which python
Richard Farina wrote: On 04/20/11 20:18, doc@kd4e.com wrote:
When I try that I get:
# ./chirpw
bash: ./chirpw: /usr/bin/python: bad interpreter: No such file or directory
When I search for "python" I get:
/usr/share/python
/usr/lib/pythom2.4 /usr/lib/pythom2.5 /usr/lib/pythom2.6
Try typing "which python" then perhaps "ls -al `which python". If things are working properly this will show you where python is in your path and which python version is currently set as active. If this doesn't help you figure it out by yourself respond I'll I will try to help.
-Zero
I don't recall how to issue a redirect so that when chirpw looks for /usr/bin/python it actually goes to /usr/share/python
Richard Farina wrote: On 04/20/11 18:50, doc@kd4e.com wrote:
I was referred to CHIRP from the Kenwood TH-D72 list.
What are the dependencies to run CHIRP in Linux, please?
I have downloaded and uncompressed CHIRP.
I generally use the Fluppy version of Puppy Linux (it's optimized to be full-featured, small, and functional on Netbooks, Notebooks, and desktops).
Thanks!
Assuming you have all required libs it is just "./chirpw" from the chirp directory.
-Zero
On 04/20/11 20:50, doc@kd4e.com wrote:
I get no response, just a blank and then I get a prompt:
# which python # ls -al 'which python
you missed a ` on the second command at the end but that doesn't matter. "which python" tells you the where python is in your path, and you don't have python in your path. Your system is broken, please fix it. I can't imagine a modern distro shipping with broken python but you have got it.
Best suggestion I have is "ln -s /usr/bin/python2.6 /usr/bin/python" but that is dirty at best and may cause wildly unexpected failures. You *could* take the cowards way out and add 2.6 at the end of the first line in chirpw, but I'm not sure that would fix it.
Realistically you should fix your system, but I have no idea what distro you have and even if I did I am certain I wouldn't know how to fix it.
-Zero
Richard Farina wrote: On 04/20/11 20:18, doc@kd4e.com wrote:
When I try that I get:
# ./chirpw
bash: ./chirpw: /usr/bin/python: bad interpreter: No such file or directory
When I search for "python" I get:
/usr/share/python
/usr/lib/pythom2.4 /usr/lib/pythom2.5 /usr/lib/pythom2.6
Try typing "which python" then perhaps "ls -al `which python". If things are working properly this will show you where python is in your path and which python version is currently set as active. If this doesn't help you figure it out by yourself respond I'll I will try to help.
-Zero
I don't recall how to issue a redirect so that when chirpw looks for /usr/bin/python it actually goes to /usr/share/python
> Richard Farina wrote:
On 04/20/11 18:50, doc@kd4e.com wrote:
I was referred to CHIRP from the Kenwood TH-D72 list.
What are the dependencies to run CHIRP in Linux, please?
I have downloaded and uncompressed CHIRP.
I generally use the Fluppy version of Puppy Linux (it's optimized to be full-featured, small, and functional on Netbooks, Notebooks, and desktops).
Thanks!
Assuming you have all required libs it is just "./chirpw" from the chirp directory.
-Zero
you missed a ` on the second command at the end but that doesn't matter. "which python" tells you the where python is in your path, and you don't have python in your path. Your system is broken, please fix it. I can't imagine a modern distro shipping with broken python but you have got it.
Yeah, something isn't right there. Maybe PATH is broken?
Try this:
# export PATH=/bin:/usr/bin # which python
Also, as Rick said, knowing which distro you're using would really help us help you. For most every distro, installing the python-serial package is all that is necessary to get it running. This is very atypical.
I suspect that python isn't installed, those are probably just the stub directories. Chirp is written in Python, so python, gtk(+), and some supporting libraries are needed like python-serial and python-gtk.
On 04/20/11 20:18, doc@kd4e.com wrote:
When I try that I get:
# ./chirpw
bash: ./chirpw: /usr/bin/python: bad interpreter: No such file or directory
When I search for "python" I get:
/usr/share/python
/usr/lib/pythom2.4 /usr/lib/pythom2.5 /usr/lib/pythom2.6
participants (4)
-
Dan Smith
-
doc@kd4e.com
-
Richard Farina
-
Robert Terzi