After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 128142 - gnome-session build .....
gnome-session build .....
Status: RESOLVED FIXED
Product: GARNOME
Classification: Deprecated
Component: general
unspecified
Other opensolaris
: Normal critical
: ---
Assigned To: GARNOME Maintainers
garnome list
Depends on:
Blocks:
 
 
Reported: 2003-11-28 21:38 UTC by Jonas Jonsson
Modified: 2005-07-17 00:52 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
LDFLAGS hack (338 bytes, patch)
2005-07-05 23:59 UTC, Karsten Bräckelmann
none Details | Review
better hack using 'uname' (312 bytes, patch)
2005-07-06 16:19 UTC, Karsten Bräckelmann
none Details | Review

Description Jonas Jonsson 2003-11-28 21:38:07 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??
Comment 1 Jonas Jonsson 2003-11-28 21:44:09 UTC
See 104707 ....
Comment 2 Paul Drain 2004-10-15 09:23:20 UTC
Mass re-assign
Comment 3 Karsten Bräckelmann 2005-07-05 23:58:22 UTC
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?
Comment 4 Karsten Bräckelmann 2005-07-05 23:59:12 UTC
Created attachment 48697 [details] [review]
LDFLAGS hack
Comment 5 Karsten Bräckelmann 2005-07-06 16:19:16 UTC
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'.
Comment 6 Bob Kashani 2005-07-07 01:17:51 UTC
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.
Comment 7 Karsten Bräckelmann 2005-07-07 21:45:02 UTC
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.
Comment 8 Bob Kashani 2005-07-17 00:52:29 UTC
libgnomeui 2.10.1 is now in garnome-2.10.2.