You are not logged in.

#1 2008-01-27 15:25:05

hybrid
Member
Registered: 2007-02-05
Posts: 262

recent tcl/tk upgrade broke nxtvepg

I am not sure if the new tcl/tk packages are the reason or if it is nxtvepg's (from aur) fault but since there is a chance that it is due to the new tcl/tk packages I thought I'd open up a thread here.
So I had nxtvepg installed from aur and it was running fine until the update of the tcl/tk packages to version 8.5.0.  nxtvepg is copmlaining about a missing libtk8.4.so which of course isn't there anymore. I figured since I built nxtvepg against tcl/tk 8.4.16 I might have to rebuild it. But rebuilding it fails too with:
/usr/lib/tcl8.5.0 is not a valid Tcl/Tk library directory
Check the definitions of TCL_LIBRARY_PATH and TK_LIBRARY_PATH
make: *** [/usr/lib/tcl8.5.0/tclIndex] Error 1

So again, I am not sure if it is the fault of the tcl/tk packages or nxtvepgs, maybe someone here can help me out. :>

Offline

#2 2008-01-29 07:00:26

dw
Member
From: Vienna, Austria
Registered: 2006-11-25
Posts: 160

Re: recent tcl/tk upgrade broke nxtvepg

hi hybrid. i experienced the same this as you. i downloaded the source from nxtvepg's website and tried to compile it against the new tcl/tk version. setting to tcl/tk path in the makefile to 8.5 allows to compile and install nxtvepg, however, when i try to run it, it segfaults.

Offline

#3 2008-01-29 14:43:49

hybrid
Member
Registered: 2007-02-05
Posts: 262

Re: recent tcl/tk upgrade broke nxtvepg

Right, I tried that too.
So the problem with the compilation is that the detection of the tcl/tk version returns 8.5.0 (which is correct per se) and thus looks for the tclIndex in /usr/lib/tcl8.5.0 - but it is under /usr/lib/tcl8.5
But I wonder why it segfaults..

I'm glad I'm not the only one with this problem :>
thx dw!

edit:
Well I figured if skipping the faulty autodetection and setting the tcl/tk version in the makefile to 8.5 doesn't work, maybe symlinking tcl8.5 to tcl8.5.0 an tk8.5 to tk8.5.0 in /usr/lib will help (that is not nice, nor is it a fix imo, it was just a test) but even then compiling fails:
/usr/bin/ld: cannot find -ltk8.5.0
collect2: ld returned 1 exit status

Last edited by hybrid (2008-01-29 15:06:25)

Offline

#4 2008-01-30 06:11:30

dw
Member
From: Vienna, Austria
Registered: 2006-11-25
Posts: 160

Re: recent tcl/tk upgrade broke nxtvepg

hi hybrid. yesterday i spent an hour or so trying to solve this but still failed. when you set tcl/tk version to 8.5 in the makefile, are you able to compile and install nxtvepg? here, i can compile just fine, however starting the nxtvepg results in the above mentioned segfault.

anyone else?

Offline

#5 2008-02-01 16:14:33

hybrid
Member
Registered: 2007-02-05
Posts: 262

Re: recent tcl/tk upgrade broke nxtvepg

I figured out that this segfault is a known bug and got fixed in 2.8.1pre1
I can compile and install that version fine (after setting tcl_ver to 8.5 in the makefile) but running it results in errors here. It doesn't ever seem get the acquisition working and every couple seconds it writes an X11-error on stdout.

Last edited by hybrid (2008-02-01 16:15:53)

Offline

#6 2008-02-15 06:05:15

dw
Member
From: Vienna, Austria
Registered: 2006-11-25
Posts: 160

Re: recent tcl/tk upgrade broke nxtvepg

i just wanted to thank GCN for providing a pkgbuild for nxtvepg which works very well with the new tcl/tk packages! great work and thank you very much!

Offline

Board footer

Powered by FluxBB