GNOME Bugzilla – Bug 314946
OS X Libtool issue
Last modified: 2010-03-31 16:25:47 UTC
Please describe the problem: Darwin's inability to link against -modules causes build to fail. The two libraries specifically affected are libevolution-mail and libevolution-calendar - removing the -module flag allowed the build to complete, but is there a better way to handle this? Steps to reproduce: 1. ./configure 2. make 3. Actual results: Build fails with portability warnings (linking against .so is not portable and will probably fail) when linking libevolution-mail.la and libevolution-calendar.la. Expected results: Builds without error. Does this happen every time? Yes. Other information:
shres, since this is an os x issue, could you please take a look at this? steve, is this still valid?
Well, removing the modules only makes the components as shared libraries ( and not as dynamically loadable modules). I have a fix for this which works nicely with mail and addressbook. What it does is to split the components into a component library and a shared library. I am attaching the fix. There is a problem with the calendar part. It needs a lot more re-organizing. Why do you think its a libtool issue, IMHO its not. Evolution does not do the right thing here, the patches are re-viewed already but they still have the calendar loopholes.
Created attachment 57769 [details] [review] Fixes the mail part
Created attachment 57770 [details] [review] Fixes the calendar part
Created attachment 57771 [details] [review] Fixes the addressbook part
Patches may need some minor love to apply. Just a line has changed in the source i think.
Reassigning this to Sankar who handles the Mac port now. Sankar, can you review this ?
There is no issue. I have the patches, they need to be tested on other platforms before committing. The last time i checked they failed to work on Linux for some joy. I did not inspect, test those and update whats wrong and i can help Sankar fix them.
Sankar, are the patches still valid?
comment #9, Im marking the bug status as needs-work
Bumping version to a stable release.
Bug #571275 also discusses this issue. Leaving both open for now because there's valuable information in each.
Closing this as obsolete since Evolution 2.30 no longer does module-to-module linking.