PolSARpro on Debian testing

That’s not the first time that I use PolSARpro, the free software from ESA for SAR polarimetry, but every time, the installation is a bit tricky. Here are the steps to get it running on an update Debian testing.

Install the required packages:

apt-get install bwidget itcl3 itk3 iwidgets4 libtk-img

Follow the instruction in the README_PolSARpro_Install_Linux.pdf file (unzip, run Soft/Compil_PolSARpro_v4_Linux.bat to compile).

Here if you try to run polsarpro, you’ll get an error message (probably depending on which tcl package you have)

version conflict for package "Tcl": have 8.4, need 8.5

To solve that, edit PolSARpro_v4.03.tcl and in the 3rd line, replace ‘wish’ by ‘wish8.5’.

That’s it, should be running now !

4 thoughts on “PolSARpro on Debian testing

  1. Dear Sir,
    Thanks for sharing information
    I am also trying to install PolSARpro in Linux but there is some problem it is not running in linux

    ram@ubuntu:~/Desktop/PolSARpro_v4.03_Linux$ sh: Can’t open PolSARpro_v4.0.tcl
    sh PolSARpro_v4.0.tcl &
    [2] 28649
    [1] Exit 2 sh PolSARpro_v4.0.tcl
    sh: Can’t open PolSARpro_v4.0.tcl
    ram@ubuntu:~/Desktop/PolSARpro_v4.03_Linux$ sh PolSARpro_v4.0.tcl &
    [3] 28654
    [2] Exit 2 sh PolSARpro_v4.0.tcl
    sh: Can’t open PolSARpro_v4.0.tcl
    ram@ubuntu:~/Desktop/PolSARpro_v4.03_Linux$

    please help me how to solve to solve this problem

    Thanking you
    With Regards
    Ram

  2. Dear Sir
    Thanks for the quick reply
    now i am facing such type of problem
    please suggest me what should i do
    t

    [1] 4368
    ram@ubuntu:~/Desktop/PolSARpro_v4.03_Linux/PolSARpro_v4.03_Linux$ Error in startup script: can’t find package BWidget
    while executing
    “package require BWidget”
    invoked from within
    “if {![info exists vTcl(sourcing)]} {

    # Provoke name search
    catch {package require bogus-package-name}
    set packageNames [package names]

    …”
    (file “PolSARpro_v4.03.tcl” line 5)

    [1]+ Exit 1 sh PolSARpro_v4.03.tcl
    ram@ubuntu:~/Desktop/PolSARpro_v4.03_Linux/PolSARpro_v4.03_Linux$ sh PolSARpro_v4.03.tcl &
    [1] 4398
    ram@ubuntu:~/Desktop/PolSARpro_v4.03_Linux/PolSARpro_v4.03_Linux$ Error in startup script: can’t find package BWidget
    while executing
    “package require BWidget”
    invoked from within
    “if {![info exists vTcl(sourcing)]} {

    # Provoke name search
    catch {package require bogus-package-name}
    set packageNames [package names]

    …”
    (file “PolSARpro_v4.03.tcl” line 5)

  3. The error message tells you:
    can’t find package BWidget

    which probably means that BWidget is not installed. To install it on Ubuntu, you can do:
    apt-get install bwidget

    but you’ll probably need the other packages mentioned above as well.

Leave a Reply

Your email address will not be published. Required fields are marked *