[plt-scheme] Error at the end of `make install` on 4.1.5

From: Taylor Venable (taylor at metasyntax.net)
Date: Sun May 17 00:34:26 EDT 2009

On Sat, May 16, 2009 at 10:20:15AM -0600, Matthew Flatt wrote:
> At Fri, 15 May 2009 23:32:03 -0400, Taylor Venable wrote:
> > On Mon, Apr 27, 2009 at 09:27:47AM -0400, Taylor Venable wrote:
> > > On Sun, Apr 26, 2009 at 09:05:57AM -0600, Matthew Flatt wrote:
> > > > At Sat, 25 Apr 2009 20:35:30 -0400, Taylor Venable wrote:
> > > > > It's been a little while since I've used PLT, but I grabbed the source
> > > > > for 4.1.5 and went to compile it on my OpenBSD 4.5 x86 box.  At the
> > > > > end of the `make install` step, I get an error:
> > > > > 
> > > > > :
> > > > > :
> > > > > setup-plt: --- post-installing collections ---
> > > > > setup-plt: post-installing: help
> > > > > setup-plt: post-installing: mred
> > > > > setup-plt: post-installing: mysterx
> > > > > setup-plt: post-installing: mzcom
> > > > > setup-plt: done
> > > > > setup-plt: 
> > > > > setup-plt: error: during Building docs for
> > > > > /opt/plt/lib/plt/collects/web-server/scribblings/web-server.scrbl
> > > > > setup-plt:   ffi-obj: couldn't get "scheme_start_atomic" from #f
> > > > > (Unable to resolve symbol)
> > > > > gmake[1]: *** [install-3m] Error 1
> > > > > 
> > > > > [...]
> > > > >
> > > > > Does this error
> > > > > constitute something that effectively prevents proper use of the PLT
> > > > > system, or is it just a warning that's manifested as a make error?
> > > > 
> > > > But the error suggests that there's a problem with accessing C-level
> > > > exports from the mzscheme executable via the FFI, though. If so, some
> > > > other libraries could fail (e.g., `readline').
> > > > 
> > > > When the build process creates the `mzscheme' executable, does it use
> > > > the `-rdynamic' flag?
> > > 
> > > Looks like it, I think this is the part?
> > > 
> > > gcc -o mzscheme3m  gc2/main.o libmzscheme3m.a -L/usr/local/lib -lm -rdynamic 
> > -liconv
> 
> Apparently, `-rdynamic' doesn't do the job anymore for OpenBSD. I've
> adjusted the `configure' script to use `-Wl,--export-dynamic' for
> OpenBSD.

I just compiled r14847 from Subversion and everything went smoothly.
Thanks for the fix!

-- 
Taylor Christopher Venable
http://real.metasyntax.net:2357/


Posted on the users mailing list.