Opened 11 years ago
Last modified 11 years ago
#42480 new defect
strategoxt build failure - needs to link libErrorAPI?
Reported by: | gallafent | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.1 |
Keywords: | Cc: | ||
Port: | strategoxt |
Description
Mac OS 10.7. Will attach main.log.
Missing symbols such as _Err_isErrorError, _ERR_isErrorFatal, etc., suggest that it should be linking libErrorAPI (in which I find that symbol is defined) when building libjustsglr.
Attachments (1)
Change History (2)
Changed 11 years ago by gallafent
comment:1 Changed 11 years ago by gallafent
(Unfortunately I've no idea how I achieve linking libErrorAPI.dylib in the maze of indirection in its autotools-based build system! Anybody with a better idea how to navigate that will have a better chance! I'm guessing that it needs to be detected correctly by the configure script. I can't find the word Error anywhere as I grep up the tree of configure.ac and configure files in the sources, though, so I'm a bit stumped.)
I'm starting at the file /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_strategoxt/strategoxt/work/strategoxt-0.17/stratego-libraries/sglr/justsglr/Makefile.in, and I haven't yet managed to work my way back to a list of libraries to link when linking libjustsglr.dylib … once I can work out how to do that I'll be able to determine which other libraries, if anything, need to be linked in order to get libjustsglr built!
One oddity is that this makefile appears to include sources for building libErrorAPI itself. On my system this already appears in /opt/local/lib, and is provided by the sdf2-bundle package, so it's not clear to me what this is really doing.
main.log for failed strategoxt build