Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Sep 2001 18:21:18 +0930 (CST)
From:      Jarrod Sayers <Jarrod.Sayers@unisa.edu.au>
To:        Gunnar Flygt <flygt@sr.se>
Cc:        FreeBSD Stable <freebsd-stable@freebsd.org>
Subject:   Re: Building x11/gnome from ports
Message-ID:  <20010917175628.U66934-100000@sanctuary.magill.unisa.edu.au>
In-Reply-To: <20010917090423.A984@sr.se>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 17 Sep 2001, Gunnar Flygt wrote:

> Date: Mon, 17 Sep 2001 09:04:23 +0200
> From: Gunnar Flygt <flygt@sr.se>
> To: FreeBSD Stable <freebsd-stable@freebsd.org>
> Cc: Jarrod.Sayers@unisa.edu.au
> Subject: Re: Building x11/gnome from ports
>
[snip]
> > > While trying to install x11/gnome from the ports tree, one of its
> > > runtime dependancies is x11-toolkits/guile-gnome which fails to
> > build.
> > > It dies with the following:
> > >
> > > -----
> > > ===>  Building for guile-gnome-0.20_3
> > > make  all-recursive
> > > Making all in guile-gnome
> > > Making all in zvt
> > > Making all in bonobo
> > > Making all in gtkhtml
> > > guile -l ../../guile-gtk/gtk/config.scm -s
> > > ./../../guile-gtk/build-guile-gtk -I ../../guile-gtk glue
> > > ./gtkhtml.defs > .tmpg  && mv .tmpg gtkhtml-glue.c
> > > ERROR: In procedure open-file:
> > > ERROR: No such file or directory: "../../guile-gtk/gtk/config.scm" ***
> > > Error code 2
> > >
> > > Stop in
> > >
> > /usr/ports/x11-toolkits/guile-gnome/work/gnome-guile-0.20/guile-gno
> > me/gtkhtml.
>
> I compiled gnome this night. It stopped at the same place. I went to
> that directory, did `make clean` `make` and everything was OK again.
> Gnome installed full way.

Found the problem, it appears that a guile-gnome will only build if
gtkhtml is instaled before the configure script is run.  The configure
script of guile-gnome goes looking for gtkhtml when its run and if it does
not find it, the guile-gnome port wont build.  But as a part of the
guile-gnome code is gtkhtml, this is why it works the second time around,
after a 'make clean' the configure script has to be re-run, and it finds
it.

Can someone test this patch for the ports Makefile making it install
gtkhtml before the guile-gnome port?  Im out of machines without it :)

--- ports/x11-toolkits/guile-gnome/Makefile     Sun Sep 16 15:38:10 2001
+++ ports/x11-toolkits/guile-gnome/Makefile.new Mon Sep 17 18:20:15 2001
@@ -15,6 +15,8 @@

 MAINTAINER=    gnome@FreeBSD.org

+BUILD_DEPENDS= gnome-gtkhtml-editor:${PORTSDIR}/www/gtkhtml
+
 LIB_DEPENDS=   guilegtk-1.2.0:${PORTSDIR}/x11-toolkits/guile-gtk

 USE_LIBTOOL=   yes


I may be barking up the wrong tree but my builds have begun working again.

Jarrod Sayers
Information Technologist
School of Communication, Information and New Media
University of South Australia, Magill Campus.
Phone: +61 8 83024045
Fax: +61 8 83024745


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




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