Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 210987 - dev-lang/mozart is not loading properly inside emacs
Summary: dev-lang/mozart is not loading properly inside emacs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Keri Harris
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-21 15:20 UTC by Andrés Becerra Sandoval
Modified: 2008-02-23 00:13 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
A desktop proposed file! (mozart.desktop,150 bytes, text/plain)
2008-02-21 15:23 UTC, Andrés Becerra Sandoval
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrés Becerra Sandoval 2008-02-21 15:20:06 UTC
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 Andrés Becerra Sandoval 2008-02-21 15:23:39 UTC
Created attachment 144218 [details]
A desktop proposed file!

Maybe you could consider to install this desktop file to create a menu entry for Mozart !
Comment 2 Keri Harris gentoo-dev 2008-02-23 00:13:57 UTC
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