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 330350 - build error on Darwin
build error on Darwin
Status: RESOLVED FIXED
Product: libgnomeui
Classification: Deprecated
Component: file-chooser
2.12.x
Other All
: Normal normal
: future
Assigned To: Federico Mena Quintero
Federico Mena Quintero
Depends on:
Blocks:
 
 
Reported: 2006-02-08 05:30 UTC by Min Sik Kim
Modified: 2006-02-09 01:58 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12



Description Min Sik Kim 2006-02-08 05:30:40 UTC
Please describe the problem:
file-chooser doesn't build on Darwin because it uses environ, which is not available.  Please use g_listenv 
instead (see bug #124277).

Steps to reproduce:
1. Compile libgnomeui on Darwin.


Actual results:
/usr/bin/ld: Undefined symbols:
_environ

Expected results:
Successfully linked binary.

Does this happen every time?
Yes.

Other information:
Comment 1 Federico Mena Quintero 2006-02-09 01:58:58 UTC
Thanks for catching this.  I've committed a fix to the libgnomeui-2-14 and HEAD branches.

2006-02-08  Federico Mena Quintero  <federico@ximian.com>

	* file-chooser/gtkfilesystemgnomevfs.c
	(gtk_file_system_gnome_vfs_create_folder): Add o+x permission to
	created folders; we were creating them with permissions 774
	instead of 775.

	* file-chooser/sucky-desktop-item.c
	(make_spawn_environment_for_sn_context),
	(make_environment_for_screen): Use g_listenv() instead of environ.
	Patch by Mark McLoughlin <mark@skynet.ie>, taken from bug #124277.
	Fixes bug #330350.