Opened 18 years ago

Closed 18 years ago

Last modified 16 years ago

#11943 closed defect (fixed)

mzscheme builds and installs but does not run

Reported by: lumimies@… Owned by: kballard (Lily Ballard)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: lumimies@… kballard (Lily Ballard)
Port:

Description

Due to a problem with its Makefile.in, lang/mzscheme cannot run after being installed.

The framework directory is ill-constructed, and so, even though everything is correctly installed, dyld cannot find the framework.

Attachments (1)

mzscheme.portfile (2.3 KB) - added by lumimies@… 18 years ago.
Portfile fixing the problem

Download all attachments as: .zip

Change History (7)

Changed 18 years ago by lumimies@…

Attachment: mzscheme.portfile added

Portfile fixing the problem

comment:1 Changed 18 years ago by pipping@…

Milestone: Port Bugs

comment:2 Changed 18 years ago by kballard (Lily Ballard)

Cc: lumimies@… added

I'm a bit skeptical of this fix. You're replacing a reference to @executable_path with a pointer to a framework elsewhere. Is mzscheme not in fact placing the framework inside the app bundle like the @executable_path reference would have me believe?

comment:3 Changed 18 years ago by lumimies@…

You may be right to be skeptical. I have no experience with MacPorts, I'm not very familiar with autotools, and this was only the simplest, first working solution I had. I only floated this as a possible fix, hoping that someone who knows more could apply it.

When I run mzscheme without my fix, I get:

dyld: Library not loaded: @executable_path/PLT_MzScheme.framework/Versions/360/PLT_MzScheme

Referenced from: /opt/local/bin/mzscheme Reason: image not found

Trace/BPT trap

I've spent another half hour trying different things, but my original fix still stands as the only one that works for me.

comment:4 Changed 18 years ago by kballard (Lily Ballard)

Owner: changed from macports-dev@… to eridius@…
Status: newassigned

Alright, it sounds like maybe this mzscheme binary is expecting to be inside an app bundle, but it is in fact not.

I'll commit your fix as soon as svn starts working again.

comment:5 Changed 18 years ago by kballard (Lily Ballard)

Resolution: fixed
Status: assignedclosed

Aand just as I said that, the commit finally went through. Committed in r25188.

comment:6 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.