Opened 18 years ago

Closed 17 years ago

Last modified 15 years ago

#8262 closed defect (fixed)

BUG: mzscheme (and others) path errors

Reported by: mge@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.2
Keywords: Cc:
Port:

Description

mzc (the mzscheme compiler) as well as other files installed by mzscheme have path errors when they are run. This is due to the port first being installed in destroot so these (generated) shell scripts have the incorrect paths in them.

A fix that works for me is to add:

reinplace "s|PLTHOME=\"${destroot}${prefix}\"|PLTHOME=\"${prefix}\"|" ${destroot}${prefix}/bin/mzc \

${destroot}${prefix}/bin/mzpp \ ${destroot}${prefix}/bin/mztext \ ${destroot}${prefix}/bin/pdf-slatex \ ${destroot}${prefix}/bin/planet \ ${destroot}${prefix}/bin/setup-plt \ ${destroot}${prefix}/bin/slatex \ ${destroot}${prefix}/bin/swindle \ ${destroot}${prefix}/bin/tex2page \ ${destroot}${prefix}/bin/web-server-monitor \ ${destroot}${prefix}/bin/web-server-setup \ ${destroot}${prefix}/bin/web-server-text

To the post-destroot commands. This sets a correct default for the PLTHOME environment varible.

Change History (4)

comment:1 Changed 18 years ago by markd@…

Summary: BUG: mzc (and others) path errorsBUG: mzscheme (and others) path errors

comment:2 Changed 17 years ago by pipping@…

Milestone: Port Bugs

comment:3 Changed 17 years ago by raimue (Rainer Müller)

Resolution: fixed
Status: newclosed

Fixed in r28925.

comment:4 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.