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 111620 - version 0.13.96 - MacOS X compile problems
version 0.13.96 - MacOS X compile problems
Status: RESOLVED FIXED
Product: Pan
Classification: Other
Component: general
0.14.0
Other Mac OS
: Normal normal
: 0.14.1
Assigned To: Charles Kerr
Pan QA Team
Depends on:
Blocks:
 
 
Reported: 2003-04-26 03:40 UTC by jubal+pan+bugzilla@cheeze.org
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description jubal+pan+bugzilla@cheeze.org 2003-04-26 03:40:22 UTC
Using MacOS X 10.2.5 with Fink 0.5.2 (or close).

Basically, in 0.13.96, pan/filters/source.c doesn't like
/usr/include/regex.h in its current position in the include order, and the
compile errors out.

I moved "#include <regex.h>" from just before the <glib.h> to after all of
the rest of the includes, and the compile proceeded apace, resulting in a
minty fresh binary.

Some further warnings I saw:

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DG_LOG_DOMAIN=\"pan\"
-DGNOMELOCALEDIR=\""/usr/local/share/locale"\"
-DLOCALEDIR=\"/usr/local/share/locale\"   -I/sw/include/gtk-2.0
-I/sw/lib/gtk-2.0/include -I/sw/include/atk-1.0 -I/sw/include/pango-1.0
-I/usr/X11R6/include -I/sw/include/freetype2 -I/sw/include
-I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include   -D_REENTRANT
-I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include   -I/sw/include/libxml2
-I/sw/include    -I/sw/include/glib-1.2 -I/sw/lib/glib/include -D_REENTRANT
-I/usr/local/include/gnet -I/usr/local/lib/gnet/include
-I/usr/local/include     -g -O2 -I/sw/include/glib-1.2
-I/sw/lib/glib/include -D_REENTRANT -I/usr/local/include/gnet
-I/usr/local/lib/gnet/include -I/usr/local/include -I. -c `test -f 'gui.c'
|| echo './'`gui.c
gui.c: In function `menu_translate':
gui.c:1132: warning: return discards qualifiers from pointer target type

HTH.

--Jubal