From owner-freebsd-gnome@FreeBSD.ORG Wed Dec 15 21:45:16 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 C85DD16A4CE for ; Wed, 15 Dec 2004 21:45:16 +0000 (GMT) Received: from imf21aec.mail.bellsouth.net (imf21aec.mail.bellsouth.net [205.152.59.69]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2057F43D5F for ; Wed, 15 Dec 2004 21:45:16 +0000 (GMT) (envelope-from ahze@ahze.net) Received: from [192.168.1.5] ([68.209.163.3]) by imf21aec.mail.bellsouth.netESMTP <20041215214512.QZVW2054.imf21aec.mail.bellsouth.net@[192.168.1.5]>; Wed, 15 Dec 2004 16:45:12 -0500 In-Reply-To: <41C0A9D3.2000608@marcuscom.com> References: <1103143757.828.34.camel@localhost> <41C0A9D3.2000608@marcuscom.com> Mime-Version: 1.0 (Apple Message framework v682) Content-Type: multipart/mixed; boundary=Apple-Mail-2-285856897 Message-Id: <23E3903D-AF99-4303-A828-039BF4971EEF@ahze.net> From: Michael Johnson Date: Wed, 15 Dec 2004 16:45:08 -0500 To: Joe Marcus Clarke X-Mailer: Apple Mail (2.682) cc: freebsd-gnome@www.freebsd.org Subject: Re: 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 21:45:16 -0000 --Apple-Mail-2-285856897 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed On Dec 15, 2004, at 4:17 PM, Joe Marcus Clarke wrote: The main problem with freebsd and gnome-cvs stuff is PATH's I made a small script that works pretty good. Michael --Apple-Mail-2-285856897 Content-Transfer-Encoding: 7bit Content-Id: <66194A10-07F3-468A-AA9D-362E7B8A0E4C@ahze.net> Content-Type: application/octet-stream; x-unix-mode=0644; name="gnomegen.sh" Content-Disposition: attachment; filename=gnomegen.sh #!/bin/sh # FreeBSD gnomegen, Michael Johnson 2004 Dec 04 # needs devel/gnu-automake, devel/gnu-autoconf, devel/gnu-libtool and # devel/gnomecommon # Paths export LOCALBASE=/usr/local export X11BASE=/usr/X11R6 export PATH=$LOCALBASE/gnu-autotools/bin:$PATH export ACLOCAL_FLAGS="-I $LOCALBASE/gnu-autotools/share/aclocal -I . -I $LOCALBASE/share/aclocal -I $X11BASE/share/aclocal" if [ -f autogen.sh ] ; then \ sh ./autogen.sh ; \ fi; --Apple-Mail-2-285856897 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Juho Vuori wrote: > | 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? > > Short answer is you need to install the devel/gnu-* ports (i.e. > gnu-autoconf, gnu-automake, and gnu-libtool). The long answer is you > need those ports, and some additional environment variables. Michael > Johnson might be able to help you more quickly as he has been doing > work > on this recently. I won't be able to provide a longer answer at the > moment. > > Joe > > | > | > | Juho Vuori > | > | > | _______________________________________________ > | freebsd-gnome@freebsd.org mailing list > | http://lists.freebsd.org/mailman/listinfo/freebsd-gnome > | To unsubscribe, send any mail to > "freebsd-gnome-unsubscribe@freebsd.org" > | > > > - -- > PGP Key : http://www.marcuscom.com/pgp.asc > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.6 (Darwin) > Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org > > iD8DBQFBwKnTb2iPiv4Uz4cRAgeoAJ967QyVrGgVUsJV1nsiPgHzWbao+QCgiRLX > 2y+0Wx+k3wwvnVpmDMZ44rA= > =0RyA > -----END PGP SIGNATURE----- > _______________________________________________ > freebsd-gnome@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-gnome > To unsubscribe, send any mail to > "freebsd-gnome-unsubscribe@freebsd.org" > --Apple-Mail-2-285856897--