[tex-live] [tlpmgui] tlpmgui on linux
Tomasz Łuczak
tlu at technodat.com.pl
Mon Jan 8 01:59:47 CET 2007
Dnia Mon, 8 Jan 2007 01:33:08 +0100
Reinhard Kotucha wrote:
> >>>>> "Tomasz" == Tomasz Łuczak <tlu at technodat.com.pl> writes:
>
> > Dnia Sun, 7 Jan 2007 03:57:57 +0100 Reinhard Kotucha wrote:
>
> >> Hi, I tried to invoke tlpmgui from an xterm but it sais:
> >>
> >> +--------------------------------------------+
> >> Error! tlpmgui require Xwindow
> >> +--------------------------------------------+
> >>
> > This message appear when tlpmgui cannot draw window, e.g. start in
> > console mode or in if you are logged as user in X and in xterm you
> > changed user via su - root (or other user) usually cannot run
> > graphic application without xhost and set environment variable
> > DISPLAY.
>
> >> Don't know how you test whether you are using X11. The easiest
> >> way is to check whether the DISPLAY variable is set.
> > tlpmgui tests creation of window, if failed then appear this
> > message.
>
> I tried this from an xterm as a normal user. Other X progs work.
I don't know what is wrong, but you can help me:
download from http://www.equi4.com/pub/tk/8.4.11/ files:
tclkit-linux-x86-static.gz and tclkit-linux-x86.gz
unzip and run. After run type in: package require Tk
If will start ok, then will appear empty window. try for both binaries
and send me results.
> $ ldd ./tlpmgui
> linux-gate.so.1 => (0xffffe000)
> libdl.so.2 => /lib32/libdl.so.2 (0xf7f4a000)
> libm.so.6 => /lib32/tls/libm.so.6 (0xf7f27000)
> libc.so.6 => /lib32/tls/libc.so.6 (0xf7e0f000)
> /lib/ld-linux.so.2 (0xf7f64000)
>
> I would expect some X11 related libraries here. Do you get similar
> output?
tlu at tomek:~/Work/TclTk/TL$ ldd ./tlpmgui
linux-gate.so.1 => (0xffffe000)
libdl.so.2 => /lib/tls/libdl.so.2 (0xb7fc5000)
libm.so.6 => /lib/tls/libm.so.6 (0xb7fa2000)
libc.so.6 => /lib/tls/libc.so.6 (0xb7e73000)
/lib/ld-linux.so.2 (0xb7fe4000)
> >> Of course, self-contained executables have a few advantages. But
> >> isn't a Perl script more portable today on UNIX systems?
> > Write you own complete installer in perl, portable for unices and
> > Windows with better GUI. We welcome.
>
> I assumed that it was written Perl and converted to C.
GUI of installer - tlpmgui is written in Tcl/Tk plus several additional
packages. Scripts are wrapped into executable runtime, more about
it here: http://www.equi4.com/tclkit.html
Install engine - tlpm is written in pure Perl, but tlpm haven't GUI.
I forgot: of course you can use tlpm without tlpmgui.
Regards
Tomek
--
Tomasz Łuczak
TECHNODAT Sp. z o.o. tel +48 32 2382337
ul. Kościuszki 1c tel +48 32 3314484
44-100 Gliwice, PL mob +48 602 524713
http://www.technodat.com.pl http://www.emrm.pl
More information about the tex-live
mailing list