Lunchtime Semaphore

from and to 372433 143758 48 N

PolSARpro on Debian testing

January 19th, 2010 by Melaneum Google+

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 !

This entry was posted on Tuesday, January 19th, 2010 at 06:24 UTC and is filed under Remote sensing. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

4 responses about “PolSARpro on Debian testing”

  1. ram said:

    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. Melaneum said:

    You might want to try with:
    sh PolSARpro_v4.03.tcl &

  3. ram said:

    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)

  4. Melaneum said:

    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