Bug 82000 - xmaxima (5.9.1-r1) can't find documentation
Bug#: 82000 Product:  Gentoo Linux Version: 2004.3 Platform: All
OS/Version: All Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: sci@gentoo.org Reported By: znmeb@cesmail.net
Component: Applications
URL: 
Summary: xmaxima (5.9.1-r1) can't find documentation
Keywords:  
Status Whiteboard: 
Opened: 2005-02-14 07:42 0000
Description:   Opened: 2005-02-14 07:42 0000
When I run xmaxima (5.9.1-r1) it works fine until I try to access the
documentation in the link in the lower pane. When you click on the "Full
Documentation" link in the lower pane, you get an error message

couldn't open "/usr/share/maxima/5.9.1/doc/html/maxima_toc.html": no such file
or directory

It looks like the ebuild is installing the documentation in the wrong place; it
ends up in

/usr/share/doc/maxima-5.9.1-r1/html

and it should be in (as the error message indicates)

/usr/share/maxima/5.9.1/doc/html

------- Comment #1 From Lars Petersen 2005-04-10 03:35:07 0000 -------
Try the following (as root):

# ln -s /usr/share/doc/maxima-5.9.1-r1 /usr/share/maxima/5.9.1/doc

That worked for me.

Maybe a 

symlink ${D}/usr/share/doc/${PF} /usr/share/${PN}/${PV}/doc

should be added at the end of the ebuild's src_install() function?

HTH, Lars

------- Comment #2 From Lars Petersen 2005-04-10 03:35:59 0000 -------
Oops, without the "${D}", of course...

------- Comment #3 From Olivier Fisette 2005-04-17 11:37:19 0000 -------
Thanks for the notice. In 5.9.1-r2, documentation is back to its right place,
with a "/usr/share/doc/maxima-5.9.1-r2" symlink pointing to it to respect the
Gentoo FSH.

------- Comment #4 From Olivier Fisette 2005-04-17 12:05:38 0000 -------
*** Bug 67191 has been marked as a duplicate of this bug. ***

------- Comment #5 From Francois Bissey 2005-10-31 15:06:51 0000 -------
On ppc we are still on version 5.9.1 without anything else in ~ppc.
I cannot even start xmaxima as it displays a message saying that it 
doesn't find the documentation and exit (after being invited to click
OK in a box). maxima works fine (but I didn't try to access the documentation).