Bug 210987 - dev-lang/mozart is not loading properly inside emacs
Bug#: 210987 Product:  Gentoo Linux Version: unspecified Platform: x86
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: keri@gentoo.org Reported By: andres.becerra@gmail.com
Component: Ebuilds
URL: 
Summary: dev-lang/mozart is not loading properly inside emacs
Keywords:  
Status Whiteboard: 
Opened: 2008-02-21 15:20 0000
Description:   Opened: 2008-02-21 15:20 0000
mozart emulator is not loading properly inside the  emacs text editor

Reproducible: Always

Steps to Reproduce:
1. I have merged dev-lang/mozart with USE="doc emacs gdbm tcl threads tk
-static"

2. launching "oz" produces an error




Actual Results:  
Process Oz Emulator exited abnormally with code 1


Expected Results:  
emacs should have launched oz properly. 

I solved the problem manually by :
 mkdir /usr/lib/mozart/bin 
 cd /usr/lib/mozart/bin
 ln -s /usr/bin/oz*

Looking at  mozart-1.3.2.ebuild, I think the problem lies in:

src_install() {
    emake -j1 \
        PREFIX="${D}"/usr/lib/mozart \
        BINDIR="${D}"/usr/bin \

The BINDIR, where ozengine, ozc and other utilities are placed is not where
emacs expects them to be, it looks in /usr/lib/mozart/bin. Maybe is better to
install thes tools in /usr/lib/mozart/bin and link them to /usr/bin

------- Comment #1 From Andrés Becerra Sandoval 2008-02-21 15:23:39 0000 -------
Created an attachment (id=144218) [details]
A desktop proposed file!

Maybe you could consider to install this desktop file to create a menu entry
for Mozart !

------- Comment #2 From Keri Harris 2008-02-23 00:13:57 0000 -------
Thanks for taking the time to investigate this bug.

dev-lang/mozart-1.3.2-r1 and dev-lang/mozart-stdlib-1.3.2-r1 have been added to
CVS with (now fixed) emacs support.

(I'm a little more hesitant about adding a desktop entry for what's
traditionally a command-line app.)

Keri