https://bugzilla.novell.com/show_bug.cgi?id=341609 Summary: SWIG install location vs. cmake FindSWIG search paths Product: openSUSE 10.3 Version: Final Platform: 32bit OS/Version: openSUSE 10.3 Status: NEW Severity: Normal Priority: P5 - None Component: Development AssignedTo: opensuse-bugs@opensuse.org ReportedBy: edogawa@aon.at QAContact: qa@suse.de CC: appleonkel@flashgrafik.de Found By: --- NOTE affects older SUSE versions as well I tried to build a rpm package of Canorus, a score editor. Canorus uses cmake, which checks for swig in a few locations, including /usr/share/swig1.3, but not in /usr/share/swig/1.3.xx which is the install dir on SUSE. Well as long as I build locally I can deal with that by creating a symlink /usr/share/swig1.3 pointing at the actual swig dir. But this won't work with lbuild or the Build server of course. IMO it doesn't make sense to patch the cmake FindSWIG macro, because the swig minor version number in the name of the current swig install dir can change between SUSE versions, while "swig1.3" omits that and can be expected to stay for a while. I suggest to include the symlink "/usr/share/swig1.3", pointing at "/usr/share/swig/1.3.<minor version>" in the swig rpm. This way cmake would find it for every swig version, across all SUSE versions. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug.