Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Problem with gnustep-make

5 views
Skip to first unread message

Richard Stonehouse

unread,
Nov 19, 2012, 10:33:36 AM11/19/12
to discuss...@gnu.org
I had a problem installing frameworks with GNUSTEP_SYSTEM_LIBRARIES
set to /usr/lib64 and the frameworks in /usr/lib/GNUstep/Frameworks.
'make install' generates an incorrect symlink in /usr/lib64. The link
should point back to the shared library object in the framework, but
does not.

The cause seems to be in the script
/usr/share/GNUstep/Makefiles/relative_path.sh

The command:

relative_path.sh /usr/lib64
/usr/lib/GNUstep/Frameworks/PreferencePanes.framework/Versions/Current
short

gives result:

../GNUstep/Frameworks/PreferencePanes.framework/Versions/Current

which is wrong.

The attached patch, to make one of the comparisons in the script a bit
more precise, causes it produce the correct relative path:

../lib/GNUstep/Frameworks/PreferencePanes.framework/Versions/Current

With this patch applied, the symlinks are now generated correctly and
I don't see any bad side-effects.

--
Richard Stonehouse
gnustep-make-2.6.2-relative_path.patch
0 new messages