GNOME Bugzilla – Bug 128142
gnome-session build .....
Last modified: 2005-07-17 00:52:29 UTC
Currently compiling hacking-0.28.1, but I've had to do this on each and every garnome-dist ........ (Compiled on Solaris 8 sparc & i86 and Solaris 9 x86) In order to build gnome-session properly on a Solaris system, the following line must be added to (garnome|hacking)-0.XX.X/gnome/libgnomeui/Makefile: LDFLAGS += -lnsl -lsocket If this isn't done, session management won't be built into libgnomeui which in it's turn leads to that there won't be any session management built into gnome-session. That, is a problem :) Perhaps this "bug" should be assigned to libgnomeui??
See 104707 ....
Mass re-assign
Hmm, what's your linker? Are you using the GNU one? Adding this flags effectively breaks the install for me (x86, Linux, GNU tools). Do we need to identify Solaris and conditionally add this to the garballs Makefile? Does `grep Solaris /etc/release` reliably determine if it is a Solaris system? If so, can you please test the (following) attached patch?
Created attachment 48697 [details] [review] LDFLAGS hack
Created attachment 48728 [details] [review] better hack using 'uname' Now that I've been flamed for providing bad fixes, here is another one using 'uname'.
This is NOT a GARNOME bug...if it won't compile on Solaris than file a bug against libgnomeui and state that it won't compile on Solaris. This is a problem for upstream to fix not us.
This seems to be fixed in upstream libgnomeui 2.10.1 (in CVS since 2005-07-01). Thanks Bob for spotting the release notes. - Fix build on Solaris (Laszlo Peter) Obsoleting the GARNOME specific patch. Going to close this bug FIXED once GARNOME ships this version in GARNOME 2.10.2.
libgnomeui 2.10.1 is now in garnome-2.10.2.