Problems which debian mozart built from source
Harmon Nine
hnine at isis.vanderbilt.edu
Wed Jan 11 00:50:17 CET 2006
Hi, Kevin. Here's the info you requested. I've included the output
from reportbug for both the direct package install and the install from
source (there are some differences).
Thanks very much.
-- Harmon
WHEN MOZART IS INSTALLED DIRECTLY FROM PACKAGE FROM MOZART REPOSITORY:
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages mozart depends on:
ii emacs21 21.4a-3 The GNU Emacs editor
ii libc6 2.3.5-11 GNU C Library: Shared
libraries an
ii libgcc1 1:4.0.2-6 GCC support library
ii libgdbm3 1.8.3-2 GNU dbm database routines
(runtime
ii libgmp3c2 4.1.4-11 Multiprecision arithmetic
library
ii libstdc++6 4.0.2-6 The GNU Standard C++
Library v3
ii libx11-6 6.9.0.dfsg.1-2 X Window System protocol
client li
ii tcl8.4 8.4.11-1 Tcl (the Tool Command
Language) v8
ii tk8.4 8.4.11-1 Tk toolkit for Tcl and X11,
v8.4 -
ii xlibs 6.9.0.dfsg.1-2 X Window System client
libraries m
ii zlib1g 1:1.2.3-9 compression library -
runtime
WHEN MOZART IS INSTALLED FROM SOURCE BUILD ON LOCAL MACHINE:
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages mozart depends on:
ii emacs21 21.4a-3 The GNU Emacs editor
ii libc6 2.3.5-11 GNU C Library: Shared
libraries an
ii libgcc1 1:4.0.2-6 GCC support library
ii libgdbm3 1.8.3-2 GNU dbm database routines
(runtime
ii libgmp3c2 4.1.4-11 Multiprecision arithmetic
library
ii libstdc++6 4.0.2-6 The GNU Standard C++
Library v3
ii libx11-6 6.9.0.dfsg.1-2 X Window System protocol
client li
ii tcl8.0 8.0.5-8 Tcl (the Tool Command
Language) v8
ii tk8.4 8.4.11-1 Tk toolkit for Tcl and X11,
v8.4 -
ii zlib1g 1:1.2.3-9 compression library -
runtime
mozart recommends no packages.
-- no debconf information
-----Original Message-----
From: Kevin Glynn [mailto:glynn at info.ucl.ac.be]
Sent: Tuesday, January 10, 2006 3:52 PM
To: Harmon Nine
Cc: hackers at mozart-oz.org
Subject: Problems which debian mozart built from source
Hi Harmon,
I just tried it on my Debian unstable installation and it worked
OK. iirc you are running Debian testing, maybe that is the source of
the problem. Can you send me the list of dependent packages that you
have installed? I'm sure there is a better way but I get this by
running
> reportbug mozart
Put in dummy information until you get to the final message that will
have the list of packages, e.g, here is what I have installed:
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686
Locale: LANG=en_GB.ISO-8859-15, LC_CTYPE=en_GB.ISO-8859-15
(charmap=ISO-8859-15)
Versions of packages mozart depends on:
ii emacs21 21.4a-3 The GNU Emacs editor
ii libc6 2.3.5-11 GNU C Library: Shared
libraries an
ii libgcc1 1:4.0.2-6 GCC support library
ii libgdbm3 1.8.3-2 GNU dbm database
routines (runtime
ii libgmp3c2 4.1.4-11 Multiprecision
arithmetic library
ii libstdc++5 1:3.3.6-12 The GNU Standard C++
Library v3
ii libstdc++6 4.0.2-6 The GNU Standard C++
Library v3
ii libx11-6 6.9.0.dfsg.1-2 X Window System protocol
client li
ii tcl8.4 8.4.11-1 Tcl (the Tool Command
Language) v8
ii tk8.4 8.4.11-1 Tk toolkit for Tcl and
X11, v8.4 -
ii xemacs21 21.4.18-1 highly customizable text
editor
ii xemacs21-gnome-mule [xema 21.4.18-1 highly customizable text
editor --
ii xemacs21-mule [xemacs21] 21.4.18-1 highly customizable text
editor --
ii xlibs 6.9.0.dfsg.1-2 X Window System client
libraries m
ii zlib1g 1:1.2.3-9 compression library -
runtime
mozart recommends no packages.
I don't know much about the tcl/tk interface but I will look into it
further tomorrow.
cheers
k
Harmon Nine writes:
> Hi.
>
>
>
> I'm using Mozart from the Linux Debian distribution. It works fine.
>
> However, when I install the .deb package that I build from source,
the
> "Browse" function won't work.
>
>
>
> Here are the commands I use (as root) to build and install Mozart
from
> source in the Debian distribution:
>
>
>
> # cd /usr/src
>
> # apt-get source mozart
>
> <output from apt-get>
>
> # cd mozart-1.3.1.20040616
>
> # dpkg-buildpackage
>
> <(lots of) output from dpkg-buildpackage>
>
> # cd ..
>
> # dpkg -install mozart_1.3.1.20040616-11_i386.deb
>
> <output from dpkg (successful)>
>
>
>
> The problem presents itself when executing the OPI as an ordinary
user:
>
>
>
> $ oz
>
>
>
> The emacs interface comes up, but when I execute the '{Browse 2}'
> function ("2" is just an example, it could be anything),
>
> the following is printed in the *Oz emulator* window:
>
>
>
> %************************ Error: Tk module **********************
>
> %**
>
> %** Graphics engine (tk.exe) crashed or could not be started
>
> %**
>
> %**---------------------------------------------------------------
>
>
>
> To try to discover what was wrong with tk.exe, I found it as part of
the
> mozart installation:
>
>
>
> $ dpkg -listfiles mozart | grep tk.exe
>
> /usr/lib/mozart/platform/linux-i486/tk.exe
>
>
>
> And executed it by itself, receiving the following error message:
>
>
>
> $ /usr/lib/mozart/platform/linux-i486/tk.exe
>
> w Tcl_AppInit failed: This interpreter does not support stubs-enabled
> extensions.
>
> .
>
> w invalid command name "wm"
>
> .
>
> $
>
>
>
>
>
> To see if this occurred with the originally installed version of
Mozart
> (i.e. the one in the Debian package repository, not the one built
from
> source), I reinstalled this version:
>
>
>
> # apt-get install mozart
>
> <output from apt-get (successful)>
>
>
>
> and executed the tk.exe command. It just sits there, happily
awaiting
> commands to execute:
>
>
>
> $ /usr/lib/mozart/platform/linux-i486/tk.exe
>
> exit
>
> $
>
>
>
>
>
> Does anyone know why the Mozart built from source in the Debian
> distribution renders a "tk.exe" with the problem described above?
>
> Any help is greatly appreciated.
>
>
>
> Thanks.
>
>
>
> -- Harmon
>
>
>
> <html xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:w="urn:schemas-microsoft-com:office:word"
xmlns="http://www.w3.org/TR/REC-html40">
>
> <head>
> <meta http-equiv=Content-Type content="text/html; charset=us-ascii">
> <meta name=Generator content="Microsoft Word 11 (filtered medium)">
> <style>
> <!--
> /* Style Definitions */
> p.MsoNormal, li.MsoNormal, div.MsoNormal
> {margin:0in;
> margin-bottom:.0001pt;
> font-size:12.0pt;
> font-family:"Times New Roman";}
> a:link, span.MsoHyperlink
> {color:blue;
> text-decoration:underline;}
> a:visited, span.MsoHyperlinkFollowed
> {color:purple;
> text-decoration:underline;}
> span.EmailStyle17
> {mso-style-type:personal-compose;
> font-family:Arial;
> color:windowtext;}
> @page Section1
> {size:8.5in 11.0in;
> margin:1.0in 1.25in 1.0in 1.25in;}
> div.Section1
> {page:Section1;}
> -->
> </style>
>
> </head>
>
> <body lang=EN-US link=blue vlink=purple>
>
> <div class=Section1>
>
> <p class=MsoNormal><font size=2 face=Arial><span
style='font-size:10.0pt;
> font-family:Arial'>Hi.<o:p></o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span
style='font-size:10.0pt;
> font-family:Arial'><o:p> </o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span
style='font-size:10.0pt;
> font-family:Arial'>I’m using Mozart from the Linux Debian
distribution. It
> works fine.<o:p></o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span
style='font-size:10.0pt;
> font-family:Arial'>However, when I install the .deb package that I
build from
> source, the “Browse” function won’t
work.<o:p></o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span
style='font-size:10.0pt;
> font-family:Arial'><o:p> </o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span
style='font-size:10.0pt;
> font-family:Arial'>Here are the commands I use (as root) to build and
install
> Mozart from source in the Debian
distribution:<o:p></o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span
style='font-size:10.0pt;
> font-family:Arial'><o:p> </o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span
style='font-size:10.0pt;
> font-family:Arial'># cd /usr/src<o:p></o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span
style='font-size:10.0pt;
> font-family:Arial'># apt-get source
mozart<o:p></o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span
style='font-size:10.0pt;
> font-family:Arial'><output from
apt-get><o:p></o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span
style='font-size:10.0pt;
> font-family:Arial'># cd
mozart-1.3.1.20040616<o:p></o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span
style='font-size:10.0pt;
> font-family:Arial'># dpkg-buildpackage<o:p></o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span
style='font-size:10.0pt;
> font-family:Arial'><(lots of) output from
dpkg-buildpackage><o:p></o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span
style='font-size:10.0pt;
> font-family:Arial'># cd ..<o:p></o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span
style='font-size:10.0pt;
> font-family:Arial'># dpkg –install
mozart_1.3.1.20040616-11_i386.deb<o:p></o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span
style='font-size:10.0pt;
> font-family:Arial'><output from dpkg
(successful)><o:p></o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span
style='font-size:10.0pt;
> font-family:Arial'><o:p> </o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span
style='font-size:10.0pt;
> font-family:Arial'>The problem presents itself when executing the OPI
as an
> ordinary user:<o:p></o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span
style='font-size:10.0pt;
> font-family:Arial'><o:p> </o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span
style='font-size:10.0pt;
> font-family:Arial'>$ oz<o:p></o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span
style='font-size:10.0pt;
> font-family:Arial'><o:p> </o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span
style='font-size:10.0pt;
> font-family:Arial'>The emacs interface comes up, but when I execute
the ‘{Browse
> 2}’ function (“2” is just an example, it could be
anything),<o:p></o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span
style='font-size:10.0pt;
> font-family:Arial'>the following is printed in the *Oz emulator*
window:<o:p></o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span
style='font-size:10.0pt;
> font-family:Arial'><o:p> </o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span
style='font-size:10.0pt;
> font-family:Arial'>%************************ Error: Tk module
**********************<o:p></o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span
style='font-size:10.0pt;
> font-family:Arial'>%**<o:p></o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span
style='font-size:10.0pt;
> font-family:Arial'>%** Graphics engine (tk.exe) crashed or could not
be started<o:p></o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span
style='font-size:10.0pt;
> font-family:Arial'>%**<o:p></o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span
style='font-size:10.0pt;
>
font-family:Arial'>%**--------------------------------------------------
-------------<o:p></o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span
style='font-size:10.0pt;
> font-family:Arial'><o:p> </o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span
style='font-size:10.0pt;
> font-family:Arial'>To try to discover what was wrong with tk.exe, I
found it as
> part of the mozart installation:<o:p></o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span
style='font-size:10.0pt;
> font-family:Arial'><o:p> </o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span
style='font-size:10.0pt;
> font-family:Arial'>$ dpkg –listfiles mozart | grep
tk.exe<o:p></o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span
style='font-size:10.0pt;
>
font-family:Arial'>/usr/lib/mozart/platform/linux-i486/tk.exe<o:p></o:p>
</span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span
style='font-size:10.0pt;
> font-family:Arial'><o:p> </o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span
style='font-size:10.0pt;
> font-family:Arial'>And executed it by itself, receiving the following
error
> message:<o:p></o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span
style='font-size:10.0pt;
> font-family:Arial'><o:p> </o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span
style='font-size:10.0pt;
> font-family:Arial'>$
/usr/lib/mozart/platform/linux-i486/tk.exe<o:p></o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span
style='font-size:10.0pt;
> font-family:Arial'>w Tcl_AppInit failed: This interpreter does not
support
> stubs-enabled extensions.<o:p></o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span
style='font-size:10.0pt;
> font-family:Arial'>.<o:p></o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span
style='font-size:10.0pt;
> font-family:Arial'>w invalid command name
“wm”<o:p></o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span
style='font-size:10.0pt;
> font-family:Arial'>.<o:p></o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span
style='font-size:10.0pt;
> font-family:Arial'>$<o:p></o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span
style='font-size:10.0pt;
> font-family:Arial'><o:p> </o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span
style='font-size:10.0pt;
> font-family:Arial'><o:p> </o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span
style='font-size:10.0pt;
> font-family:Arial'>To see if this occurred with the originally
installed
> version of Mozart (i.e. the one in the Debian package repository, not
the one
> built from source), I reinstalled this
version:<o:p></o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span
style='font-size:10.0pt;
> font-family:Arial'><o:p> </o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span
style='font-size:10.0pt;
> font-family:Arial'># apt-get install
mozart<o:p></o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span
style='font-size:10.0pt;
> font-family:Arial'><output from apt-get
(successful)><o:p></o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span
style='font-size:10.0pt;
> font-family:Arial'><o:p> </o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span
style='font-size:10.0pt;
> font-family:Arial'>and executed the tk.exe command. It just
sits there,
> happily awaiting commands to execute:<o:p></o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span
style='font-size:10.0pt;
> font-family:Arial'><o:p> </o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span
style='font-size:10.0pt;
> font-family:Arial'>$
/usr/lib/mozart/platform/linux-i486/tk.exe<o:p></o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span
style='font-size:10.0pt;
> font-family:Arial'>exit<o:p></o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span
style='font-size:10.0pt;
> font-family:Arial'>$<o:p></o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span
style='font-size:10.0pt;
> font-family:Arial'><o:p> </o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span
style='font-size:10.0pt;
> font-family:Arial'><o:p> </o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span
style='font-size:10.0pt;
> font-family:Arial'>Does anyone know why the Mozart built from source
in the
> Debian distribution renders a “tk.exe” with the problem
described
> above?<o:p></o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span
style='font-size:10.0pt;
> font-family:Arial'>Any help is greatly
appreciated.<o:p></o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span
style='font-size:10.0pt;
> font-family:Arial'><o:p> </o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span
style='font-size:10.0pt;
> font-family:Arial'>Thanks.<o:p></o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span
style='font-size:10.0pt;
> font-family:Arial'><o:p> </o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span
style='font-size:10.0pt;
> font-family:Arial'>-- Harmon<o:p></o:p></span></font></p>
>
> <p class=MsoNormal><font size=2 face=Arial><span
style='font-size:10.0pt;
> font-family:Arial'><o:p> </o:p></span></font></p>
>
> </div>
>
> </body>
>
> </html>
More information about the mozart-hackers
mailing list