Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Dec 2001 13:57:58 -0700
From:      John Reynolds~ <jreynold@sedona.ch.intel.com>
To:        ports@freebsd.org
Subject:   gnomemc-4.5.55 won't build with rsaref-2.0 installed
Message-ID:  <15375.56278.550685.751950@chlx169.ch.intel.com>

next in thread | raw e-mail | index | archive | help

Hello. I've been completely revamping some -STABLE boxen with the latest
GNOME, XFree86-4, etc., etc. All has gone well (with the help of portupgrade)
on the 1st couple of boxes but I just got into one where gnomemc died during
compile.

In file included from dlg.c:26:
/usr/local/include/global.h:3: warning: `/*' within comment
cc -c -I.. -I/usr/local/include -I./..   -I./../vfs -I/usr/local/include/glib12 
-I. -I./../gnome -I./../src -DHAVE_X -DHAVE_GNOME -DICONDIR=\""/usr/X11R6/share/
gnome/pixmaps/mc/"\" -DDESKTOP_INIT_DIR=\""/usr/X11R6/share/gnome/mc/desktop-scr
ipts/"\" -DCONFDIR=\""/usr/X11R6/etc/"\" -DLOCALEDIR=\""/usr/X11R6/share/locale/
"\" -DLIBDIR=\""/usr/X11R6/share/gnome/mc/"\" -I/usr/X11R6/include/gnome-1.0 -I/
usr/X11R6/include -DNEED_GNOMESUPPORT_H -I/usr/local/include/glib12 -I/usr/local
/include/orbit-1.0 -I/usr/X11R6/include/gtk12 -I/usr/local/include -DHAVE_CONFIG
_H -O -pipe -march=pentiumpro -I/include -Wall -I/usr/X11R6/include screen.c
In file included from screen.c:30:
/usr/local/include/global.h:3: warning: `/*' within comment
In file included from ../src/tree.h:4,
                 from screen.c:34:
../src/treestore.h:37: syntax error before `GList'
gmake[3]: *** [screen.o] Error 1
gmake[3]: Leaving directory `/usr/ports/x11-fm/gnomemc/work/mc-4.5.55/gnome'
gmake[2]: *** [mx] Error 2
gmake[2]: Leaving directory `/usr/ports/x11-fm/gnomemc/work/mc-4.5.55/gnome'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/x11-fm/gnomemc/work/mc-4.5.55'
gmake: *** [all] Error 2
*** Error code 2

The /usr/local/include/global.h file it includes is from the rsaref-2.0
port. The machine that won't build gnomemc HAS this port installed, the others
don't. On a hunch I installed rsaref-2.0 on a machine where I knew I'd built
gnomemc before and poof--the above error message. I delete rsaref-2.0 and
things are peachy again.

This stems from the fact that gnomemc has a local "global.h" which in turn
includs <glib.h>. The build pulls in the rsaref one and thus GList certainly
isn't defined.

Should the rsaref-2.0 port put its "global.h" somewhere else? Should gnomemc's
build process put "-I." before "-I/usr/local/include"?

I cannot remember why exactly I installed rsaref-2.0 on this one machine and
not on any others. Is it "needed" for anything at this point in time?

-Jr

ps: please cc' with replies, thanks.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
| John Reynolds               WCCG, CCE, CDS - Senior CAD Engineer          |
| Intel Corporation   MS: CH6-210   Phone: 480-554-9092   pgr: 602-868-6512 |
| jreynold@sedona.ch.intel.com  http://www-aec.ch.intel.com/~jreynold/      |
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15375.56278.550685.751950>