Re: tcllib error while installing tcllib on amd64 system running freebsd 7.0

2009-06-11 Thread Dino Vliet


--- On Mon, 6/8/09, Lowell Gilbert  
wrote:

From: Lowell Gilbert 
Subject: Re: tcllib error while installing tcllib on amd64 system running 
freebsd 7.0
To: "Dino Vliet" 
Cc: freebsd-questions@freebsd.org, m...@freebsd.org, m...@aldan.algebra.com
Date: Monday, June 8, 2009, 10:56 PM

Dino Vliet  writes:

> [*   ]  [8.6b1] comm    !Connect to remote failed: couldn't 
> open socket: connection timed out 

Taking a look in the comm.test file, it looks to me like you already had
something on port 12345, so an attempt to open such a port failed.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
        http://be-well.ilk.org/~lowell/


Hi thanks for your answer but I didn't manage to solve this by looking at your 
file.

My open ports:
[r...@dual /usr/ports/devel/tcllib]# netstat -na | grep tcp
tcp4   0  0  192.168.2.103.22   192.168.2.100.43051    ESTABLISHED
tcp4   0  0  127.0.0.1.65033    *.*    LISTEN
tcp4   0  0  192.168.2.103.22   192.168.2.100.43050    ESTABLISHED
tcp4   0  0  127.0.0.1.25   *.*    LISTEN
tcp4   0  0  *.22   *.*    LISTEN
tcp6   0  0  *.22   *.*    LISTEN
tcp4   0  0  127.0.0.1.5432 *.*    LISTEN
tcp6   0  0  ::1.5432   *.*    LISTEN

vi work/tcllib-1.11/modules/comm/comm.test

Going to the port line gives me: (I changed it manually to 47557)

test comm-5.0 {-port already in use} {
    # First start a server on port 12345
    set port 47557
    catch {set shdl [socket -server foo $port]}
    catch {::comm::comm new bar -port $port -listen 1 -local 0} msg
    catch {close $shdl}
    unset -nocomplain shdl port
    set msg
} {couldn't open socket: address already in use}

The error message I get is:

[*   ]  [8.6b1] comm    !Connect to remote failed: couldn't open 
socket: connection timed out
!while executing
!"::comm::comm_cmd_send ::comm::comm 65033 {slaveat 51332}"
!("uplevel" body line 1)
!invoked from within
!"uplevel 1 [linsert $args 0 $method $chan]"
!(procedure "::comm::comm" line 6)
!invoked from within
!"::comm::comm send [lindex $argv 2] [list slaveat [::comm::comm self]]"
!(file "/usr/ports/devel/tcllib/work/tcllib-1.11/spawn" line 9)


Can there be an issue because I have the pf firewall enabled which blocks all?

Brgds
Dino




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: tcllib error while installing tcllib on amd64 system running freebsd 7.0

2009-06-08 Thread Lowell Gilbert
Dino Vliet  writes:

> [*   ]  [8.6b1] comm    !Connect to remote failed: couldn't 
> open socket: connection timed out 

Taking a look in the comm.test file, it looks to me like you already had
something on port 12345, so an attempt to open such a port failed.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


tcllib error while installing tcllib on amd64 system running freebsd 7.0

2009-06-06 Thread Dino Vliet
Hi all,

On my AMD 64 system running freebsd 7.0 I try to install tcllib. I have up to 
date ports and have installed tcl86-threaded first. 

pkg_info | grep threads gives:

tcl-threads-8.6.b.1_4 Tool Command Language

Installing tcllib gives the following error:

[ *  ]  [8.6b1] cmdline PASS typed-cmdline-7.30
[ *  ]  [8.6b1] cmdline  typed-cmdline-7.31
[ *  ]  [8.6b1] cmdline PASS typed-cmdline-7.31
[ *  ]  [8.6b1] cmdline  typed-cmdline-7.32
[ *  ]  [8.6b1] cmdline PASS typed-cmdline-7.32
[*   ]  [8.6b1] cmdline  typed-cmdline-7.33
[*   ]  [8.6b1] cmdline PASS typed-cmdline-7.33
[    ]  [8.6b1] cmdline ~~   T   137 P   131 S 6 F 0 
 [*   ]  [8.6b1]
[*   ]  [8.6b1] comm   
[*   ]  [8.6b1] comm    !Connect to remote failed: couldn't open 
socket: connection timed out 
!while executing 
!"::comm::comm_cmd_send ::comm::comm 62029 {slaveat 54030}" 
!("uplevel" body line 1) 
!invoked from within 
!"uplevel 1 [linsert $args 0 $method $chan]" 
!(procedure "::comm::comm" line 6) 
!invoked from within 
!"::comm::comm send [lindex $argv 2] [list slaveat [::comm::comm self]]" 
!(file "/usr/ports/devel/tcllib/work/tcllib-1.11/spawn" line 9) 
^Z^C^Z[1] + Suspended   make install distclean
# exit
You have stopped jobs.
# exit

What is happening here? I hope someone has a clue.

Brgds
Dino




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"