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 315646 - ORBit2 version requirement
ORBit2 version requirement
Status: RESOLVED FIXED
Product: yelp
Classification: Applications
Component: General
2.12.x
Other All
: Normal normal
: ---
Assigned To: Shaun McCance
Yelp maintainers
Depends on:
Blocks:
 
 
Reported: 2005-09-09 15:30 UTC by Daniel Macks
Modified: 2005-12-07 23:00 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Daniel Macks 2005-09-09 15:30:23 UTC
Version details: 2.12.0

Compiling failed:

gcc -DHAVE_CONFIG_H -I. -I. -I..  -I.. -I/sw/include/mozilla/.
-I/sw/include/mozilla/docshell -I/sw/include/mozilla/dom
-I/sw/include/mozilla/fastfind -I/sw/include/mozilla/find
-I/sw/include/mozilla/gtkembedmoz -I/sw/include/mozilla/pref
-I/sw/include/mozilla/webbrwsr -I/sw/include/mozilla/string
-I/sw/include/mozilla/webshell -I/sw/include/mozilla/commandhandler -include
/sw/include/mozilla/mozilla-config.h -DG_LOG_DOMAIN=\"Yelp\" -DPREFIX=\""/sw"\"
-DSYSCONFDIR=\""/sw/etc"\" -DDATADIR=\""/sw/share"\" -DLIBDIR=\""/sw/lib"\"
-DIMAGEDIR=\""/sw/share/images/yelp"\" -DSERVERDIR=\"/sw/lib/yelp\"
-DBINDIR=\""/sw/bin"\" -DMOZILLA_HOME=\""/sw/lib/mozilla\""  -no-cpp-precomp
-I/sw/include -DORBIT2=1 -I/sw/include/libxml2 -I/sw/include
-I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/orbit-2.0
-I/sw/include/bonobo-activation-2.0 -I/sw/include/gconf/2
-I/sw/include/libbonobo-2.0 -I/sw/include/gnome-vfs-2.0
-I/sw/lib/gnome-vfs-2.0/include -I/sw/include/pango-1.0 -I/usr/X11R6/include
-I/usr/X11R6/include/freetype2 -I/sw/include/gtk-2.0 -I/sw/include/atk-1.0
-I/sw/lib/gtk-2.0/include -I/sw/include/libart-2.0 -I/sw/include/libgnome-2.0
-I/sw/include/libgnomecanvas-2.0 -I/sw/include/libbonoboui-2.0
-I/sw/include/libgnomeui-2.0 -I/sw/include/libglade-2.0   -Wall
-Wno-uninitialized -Wmissing-prototypes -Wnested-externs -Wpointer-arith
-Wno-sign-compare -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith
-Wno-sign-compare  -O3 -funroll-loops -fstrict-aliasing -c -o
yelp-GNOME_Yelp-stubs.o `test -f 'GNOME_Yelp-stubs.c' || echo
'./'`GNOME_Yelp-stubs.c
In file included from GNOME_Yelp-stubs.c:7:
GNOME_Yelp.h:40: error: syntax error before "struct"
GNOME_Yelp.h:105: error: syntax error before "struct"
make[3]: *** [yelp-GNOME_Yelp-stubs.o] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Those errors apear to arise from ORBIT2_MAYBE_CONST, which is is not present
anywhere in my include/ directories (I have orbit2-2.12.3). During yelp's
./configure, I see:

  checking for ORBit - version >= 2.3.0... yes

According to
http://ftp.acc.umu.se/pub/gnome/sources/ORBit2/2.12/ORBit2-2.12.4.changes that
symbol was added in 2.12.4, so it appears yelp now requires orbit2>=2.12.4? If
so, please adjust the call to AM_PATH_ORBIT2 in configure.in to check for it.
Comment 1 Kjartan Maraas 2005-09-16 19:24:33 UTC
I think the real problem is that yelp is shipping files that really should be
built. Does make distclean help?
Comment 2 Daniel Macks 2005-09-19 17:14:38 UTC
Yup. In the presence of orbit2-2.12.3, yelp's ./configure && make distclean &&
./configure && make successfully builds.
Comment 3 Don Scorgie 2005-11-22 18:14:34 UTC
Hi,

This should be fixed with this commit:

2005-10-18  Frederic Crozat  <fcrozat@mandriva.com>

        * src/Makefile.am: don't ship generated files.

Which properly handles various files that should be generated.

Closing
Comment 4 Daniel Macks 2005-12-07 23:00:28 UTC
yelp-2.12.2 builds and runs against orbit-2.12.3. Thanks!