From owner-freebsd-gnome@FreeBSD.ORG Wed Dec 15 20:51:25 2004 Return-Path: Delivered-To: freebsd-gnome@www.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0A25016A4CE for ; Wed, 15 Dec 2004 20:51:25 +0000 (GMT) Received: from mx2.freebsd.org (mx2.freebsd.org [216.136.204.119]) by mx1.FreeBSD.org (Postfix) with ESMTP id DBCC743D60 for ; Wed, 15 Dec 2004 20:51:24 +0000 (GMT) (envelope-from juho.vuori@kepa.fi) Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id 3CC6C561F6 for ; Wed, 15 Dec 2004 20:51:21 +0000 (GMT) (envelope-from juho.vuori@kepa.fi) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2ECA816A4CE for ; Wed, 15 Dec 2004 20:51:21 +0000 (GMT) Received: from gw02.mail.saunalahti.fi (gw02.mail.saunalahti.fi [195.197.172.116]) by mx1.FreeBSD.org (Postfix) with ESMTP id 78B5543D1D for ; Wed, 15 Dec 2004 20:51:20 +0000 (GMT) (envelope-from juho.vuori@kepa.fi) Received: from ZYMKDCLII.dsl.saunalahti.fi (ZYMKDCLII.dsl.saunalahti.fi [85.76.115.253]) by gw02.mail.saunalahti.fi (Postfix) with ESMTP id 9BE088BDCD for ; Wed, 15 Dec 2004 22:51:19 +0200 (EET) From: Juho Vuori To: freebsd-gnome@lists.freebsd.org Content-Type: text/plain Organization: Kepa Date: Wed, 15 Dec 2004 22:49:17 +0200 Message-Id: <1103143757.828.34.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.0.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Subject: Building gnome from CVS X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Dec 2004 20:51:25 -0000 Hello, This is very likely to be a FAQ, but I failed to get much help by googling or reading freebsd-gnome faq, so here we go: I'm trying to build gnome from gnome cvs-tree, but I got stuck quite soon. I have gnome 2.8 installed from ports on my machine. I begin by guilding gnome-common-module. It builds fine. Next, let's take gtkhtml: $ ./autogen.sh --prefix=/usr/local/dev ... Checking for required M4 macros... libtool.m4 not found glib-gettext.m4 not found intltool.m4 not found pkg.m4 not found Checking for forbidden M4 macros... ***Error***: some autoconf macros required to build gtkhtml were not found in your aclocal path, or some forbidden macros were found. Perhaps you need to adjust your ACLOCAL_FLAGS? Ok, we can get past most of this by setting ACLOCAL_FLAGS="-I /usr/local/share/aclocal/", but what is this libtool.m4? Where should it be located? $ locate libtool.m4 /usr/ports/graphics/dri/work/xc/extras/expat/conftools/libtool.m4 /usr/ports/x11-servers/xorg-server/work/xc/extras/expat/conftools/libtool.m4 /usr/src/contrib/bind9/lib/bind/libtool.m4 /usr/src/contrib/bind9/libtool.m4 /usr/src/contrib/binutils/libtool.m4 /usr/src/contrib/gdb/libtool.m4 Now, most of these files are radically different, but as I couldn't really think of much else, I just used the one in /usr/src/contrib/binutils/. I've got libtool installed (both versions 1.3 and 1.5). On we go: $ ACLOCAL_FLAGS="-I /usr/local/share/aclocal/ -I /usr/src/contrib/binutils/" ./autogen.sh --prefix /usr/local/dev I'll get loads of warnings like: /usr/X11R6/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK And: ./configure: line 20478: syntax error near unexpected token `yes' ./configure: line 20478: `GNOME_COMPILE_WARNINGS(yes)' Ok, exactly the line 20478 of ./configure is empty, but this quite likely refers to line 20481, which says GNOME_COMPILE_WARNINGS(yes) It looks like a m4-macro that never got expanded. I'm stuck here. I can just comment the line, and configure passes, but make will eventually die this way. (make: don't know how to make GNOME_GtkHTML_Editor-3.6.server. Stop) I don't understand how all those gnu development tools work, so maybe I'm just doing something really stupid here. In any case, could someone please help me with these? Juho Vuori