When trying to open an Excel (XLS) file GNumeric dies with an error saying it cannot load the needed module "excel.la:dlname"... Reproducible: Always Steps to Reproduce: 1. Try to open Excel file in GNumeric 1.0.12. Actual Results: See error saying module could not be loaded. Expected Results: Excel file would open. I changed the module file from "excel.la:dlname" to "excel.so" in the /usr/lib/gnumeric/.../excel/plugin.xml file (as it is in the 1.0.8 ebuild and now Excel files are working fine.
what was it before you changed it? my /usr/lib/gnumeric/1.0.12-bonobo/plugins/excel/plugin.xml has this: <loader type="g_module"> <attribute name="module_file" value="excel.so"/> </loader> it looks right to me, or what line did you change? as far as i can see, this is exactly the same as 1.0.8 was.
This is what my 1.0.12 was by default before I changed it... <loader type="g_module"> <attribute name="module_file" value="excel.la:dlname"/> </loader>
hmm i think that shouldve been buildtime substituted, not idea why it didn't happen in your case.
the substitution should have been done properly as foser says. i can't find any way that it would fail unless there is something wrong with your "sed". for reference, the substitution is done by gnumeric*/src/tools/fixup-plugin-xml. can you try attaching the whole build log for gnumeric by doing this? emerge gnumeric 2>&1 | tee /tmp/build.log and attaching it to this bug?
I'm re-emerging it right now... if it magically works I'll let you know but if I still have the problem I will create a log file as you show and attach it.
It auto-magically started working when I re-emerged gnumeric... guess we won't ever know... Thanks for the help though.
well, the only way i could make it happen was the interrupt the build process half way while it was doing plugin.xml with a Ctrl+S. in short, if you don't interrupt the build process, it shouldn't happen.