New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #8262 (closed defect: fixed)

Opened 7 years ago

Last modified 4 years ago

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

comment:1 Changed 7 years ago by markd@…

  • Summary changed from BUG: mzc (and others) path errors to BUG: mzscheme (and others) path errors

comment:2 Changed 6 years ago by pipping@…

  • Milestone set to Port Bugs

comment:3 Changed 6 years ago by raimue@…

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in r28925.

comment:4 Changed 4 years ago by anonymous

  • Milestone Port Bugs deleted

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.