Several people have mentioned problems with compiling gnomemeeting. I've seen it, too. My log shows this: [...] ================ Final configuration =================== Installing into prefix: /usr/X11R6 OpenH323 Include Directory is : /src/ports/net/gnomemeeting/../openh323/work/openh323/include OpenH323 Libraries Directory is : /src/ports/net/gnomemeeting/../openh323/work/openh323/lib PTLIB Include Directory is : /src/ports/net/gnomemeeting/../../devel/pwlib/work/pwlib/include/ptlib PTLIB Libraries Directory is : /src/ports/net/gnomemeeting/../../devel/pwlib/work/pwlib/lib Quicknet support : disabled SDL Fullscreen support : enabled OS Type : freebsd5.2 Machine Type : i386 If all settings are OK, type make and make install ======================================================== ===> Building for gnomemeeting-0.98.5_3 gmake all-recursive gmake[1]: Entering directory `/src/ports/net/gnomemeeting/work/gnomemeeting-0.98.5' [...] c++ -DHAVE_CONFIG_H -I. -I. -I.. -DGNOMELOCALEDIR=\""/usr/X11R6/share/locale"\" -I../src -I../lib -I../lib/widgets -I../lib/xdap -I/src/ports/net/gnomemeeting/../../devel/pwlib/work/pwlib/include/ptlib/unix -I/src/ports/net/gnomemeeting/../../devel/pwlib/work/pwlib/include/ptlib/.. -I/src/ports/net/gnomemeeting/../../devel/pwlib/work/pwlib/include/ptlib/../ptclib -I/src/ports/net/gnomemeeting/../openh323/work/openh323/include -DP_FREEBSD=400001 -O2 -Wall -DPHAS_TEMPLATES -DP_USE_PRAGMA -DPTRACING -DSTATIC_LIBS_USED -DORBIT2=1 -D_REENTRANT -I/usr/local/include/atk-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/orbit-2.0 -I/usr/local/include/libxml2 -I/usr/local/include/libbonobo-2.0 -I/usr/local/include/bonobo-activation-2.0 -I/usr/local/include/libart-2.0 -I/usr/X11R6/include/gtk-2.0 -I/usr/X11R6/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/X11R6/include/pango-1.0 -I/usr/local/include/freetype2 -I/usr/X11R6/ include/gconf/2 -I/usr/X11R6/include/libgnome-2.0 -I/usr/X11R6/include/gnome-vfs-2.0 -I/usr/X11R6/lib/gnome-vfs-2.0/include -I/usr/X11R6/include/libgnomeui-2.0 -I/usr/X11R6/include/libgnomecanvas-2.0 -I/usr/X11R6/include/libbonoboui-2.0 -I/usr/local/include/SDL11 -I/usr/local/include -D_REENTRANT -DHAS_SDL -DGNOMEMEETING_IMAGES=\""/usr/X11R6/share/gnome/pixmaps"\" -DSCHEMA_AGE=26 -DDATADIR=\""/usr/X11R6/share/gnome"\" -DG_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -I/usr/local/include -c gnomemeeting.cpp In file included from /src/ports/devel/pwlib/work/pwlib/include/ptlib/unix/ptlib/videoio.h:113, from /src/ports/devel/pwlib/work/pwlib/include/ptlib/video.h:89, from /src/ports/devel/pwlib/work/pwlib/include/ptlib/unix/ptlib/video.h:66, from /src/ports/devel/pwlib/work/pwlib/include/ptlib.h:269, from common.h:45, from gnomemeeting.h:42, from gnomemeeting.cpp:41: /usr/include/machine/ioctl_meteor.h:33:2: warning: #warning Include dev/bktr/ioctl_meteor.h instead of this header. In file included from gnomemeeting.cpp:55: ../lib/widgets/history-combo.h:61: error: 'GtkCombo' is used as a type, but is not defined as a type. ../lib/widgets/history-combo.h:69: error: 'GtkComboClass' is used as a type, but is not defined as a type. gnomemeeting.cpp: In member function `void GnomeMeeting::Connect()': gnomemeeting.cpp:184: error: `GTK_COMBO' undeclared (first use this function) gnomemeeting.cpp:184: error: (Each undeclared identifier is reported only once for each function it appears in.) gnomemeeting.cpp: In member function `void GnomeMeeting::BuildGUI()': gnomemeeting.cpp:487: error: `gtk_timeout_add' undeclared (first use this function) /src/ports/devel/pwlib/work/pwlib/include/ptlib/pdirect.h: At global scope: /src/ports/devel/pwlib/work/pwlib/include/ptlib/pdirect.h:458: warning: inline function `static BOOL PDirectory::Remove(const PString&)' used but never defined gmake[2]: *** [gnomemeeting.o] Error 1 gmake[2]: Leaving directory `/src/ports/net/gnomemeeting/work/gnomemeeting-0.98.5/src' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/src/ports/net/gnomemeeting/work/gnomemeeting-0.98.5' gmake: *** [all-recursive-am] Error 2 *** Error code 2 Stop in /src/ports/net/gnomemeeting. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade43992.52 make ** Fix the problem and try again. ---> Build of net/gnomemeeting ended at: Wed, 16 Jun 2004 10:00:31 -0500 (consumed 00:02:26) ---> Upgrade of net/gnomemeeting ended at: Wed, 16 Jun 2004 10:00:31 -0500 (consumed 00:02:26) [...] ---> Packages processed: 1 done, 103 ignored, 0 skipped and 1 failed ---> Session ended at: Wed, 16 Jun 2004 10:12:37 -0500 (consumed 00:16:03) Wed Jun 16 10:12:37 CDT 2004 Fix: Digging thru the maillist archives, it seems this particular problem has been occurring since April 2004 (maybe before). Joe Marcus Clarke mentioned the following on April 15: > You'd have to remove the DISABLE_DEPRECATED stuff. However, I would try > to get Roger to port the newer version of gnomemeeting (if possible). (the above is a quote from the message at <http://docs.FreeBSD.org/cgi/mid.cgi?1082065354.63773.0.camel>) I found where we need to remove the stuff is in the original project's sources. The FreeBSD ports Makefile can do this automatically after applying this patch: === cut here === At least it compiles & installs now. I have no way to test the app, tho. I had installed the mega-port for Gnome2 many months ago when gnomemeeting was a required piece. Portupgrade has been griping about it, tho, for several months. I'm hoping to show TPTB how we can do net-meetings "for free", so I'd like to have this app working whenever we "get there". ;) Hope this helps. -- thx, Paul Seniura System Specialist State of Okla. D.O.T.--xSRdGOaMH7WCvUJ3YWRxrvsRdZfa6DFV9h3oPcLSw0M6L00i Content-Type: text/plain; name="file.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="file.diff" --- Makefile_orig Mon Jun 14 00:53:39 2004 +++ Makefile Wed Jun 16 13:53:49 2004 @@ -27,6 +27,7 @@ USE_GNOME= libgnomeui libbonobo gnomeprefix gnomehack USE_OPENLDAP= yes USE_BISON= yes +USE_REINPLACE= yes # Clear configure target so we stop getting binaries prefixed with i386-portbld-freebsd46 CONFIGURE_TARGET= GNU_CONFIGURE= YES @@ -45,4 +46,12 @@ --with-openldap-libs=${LOCALBASE}/lib MAN1= gnomemeeting.1 -.include <bsd.port.mk> + +.include <bsd.port.pre.mk> + +post-patch: + ${REINPLACE_CMD} -E -e 's=-D[[:punct:][:alnum:]]+_DISABLE_DEPRECATED==g' \ + ${WRKSRC}/src/Makefile.am \ + ${WRKSRC}/src/Makefile.in + +.include <bsd.port.post.mk> === cut here === How-To-Repeat: Upgrade the port on -Current.
Responsible Changed From-To: freebsd-ports-bugs->roger Hands over to roger.
Hi, Paul and Roger, this is just a quick note to confirm that the patch for the Makefile that Paul has provided does indeed render a usable version of gnomemeeting on FreeBSD4-STABLE (FreeBSD petra.cornelius 4.10-STABLE FreeBSD 4.10-STABLE #15: Mon Sep 13 18:42:25 CEST 2004 root@petra.cornelius:/usr/obj/usr/src/sys/PETRA i386). I have just played with it. Thanks a lot and All the best regards, Peter. -- Geschenkt: 3 Monate GMX ProMail + 3 Top-Spielfilme auf DVD ++ Jetzt kostenlos testen http://www.gmx.net/de/go/mail ++
Responsible Changed From-To: roger->freebsd-ports-bugs Reassign to pool; maintainer is away from FreeBSD work at the moment.
State Changed From-To: open->closed Committed, thanks!