Skip site navigation (1)Skip section navigation (2)
Date:      24 Feb 2002 22:43:13 -0500
From:      Joe Clarke <marcus@marcuscom.com>
To:        Ying-Chieh Liao <ijliao@csie.nctu.edu.tw>
Cc:        gnome@FreeBSD.ORG
Subject:   Re: build fails at ports/sysutils/medusa
Message-ID:  <1014608597.3038.1.camel@shumai.marcuscom.com>
In-Reply-To: <20020225030652.GA25154@terry.dragon2.net>
References:  <20020225030652.GA25154@terry.dragon2.net>

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

--=-VKhHdCaSyuR2RWmZrvlr
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

On Sun, 2002-02-24 at 22:06, Ying-Chieh Liao wrote:
> I'm using -current, cvsup & make world last night
> 
> when I build ports/x11/gnome, it fails at ports/sysutils/medusa
> here's the error message :

Looks like rev 1.4 of grp.h broke medusa.  This patch should fix
things.  grp.h requires sys/types.h.

Joe

> 
> cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/X11R6/include/gnome-vfs-1.0 -I/usr/X
> 11R6/lib/gnome-vfs-1.0/include -I/usr/local/include/gnome-xml -I/usr/X11R6/inclu
> de -I/usr/local/include/glib12 -I/usr/local/include/orbit-1.0 -I/usr/local/inclu
> de -I/usr/X11R6/include/gconf/1 -I/usr/X11R6/include/gtk12 -I/usr/local/include/
> glib12 -I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/inclu
> de -I/usr/X11R6/include -I/usr/local/include/gnome-xml -I/usr/local/include -I/usr/X11R6/include -O -pipe -s -march=pentiumpro -c medusa-file-info-utilities.c  -fPIC -DPIC -o .libs/medusa-file-info-utilities.lo
> In file included from medusa-file-info-utilities.c:30:
> /usr/include/grp.h:52: syntax error before `gid_t'
> In file included from medusa-file-info-utilities.c:30:
> /usr/include/grp.h:59: warning: parameter names (without types) in function declaration
> /usr/include/grp.h:67: syntax error before `int'
> medusa-file-info-utilities.c: In function `medusa_group_to_gid':
> medusa-file-info-utilities.c:102: structure has no member named `gr_gid'
> gmake[2]: *** [medusa-file-info-utilities.lo] Error 1
> gmake[2]: Leaving directory `/usr/ports/sysutils/medusa/work/medusa-0.5.1/libmedusa'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/usr/ports/sysutils/medusa/work/medusa-0.5.1'
> gmake: *** [all-recursive-am] Error 2       
> *** Error code 2                            
>                                             
> Stop in /usr/ports/sysutils/medusa.         
> *** Error code 1                            
> -- 
> The sooner you start to code, the longer the program will take.
> 					--- Roy Carlson


--=-VKhHdCaSyuR2RWmZrvlr
Content-Disposition: attachment; filename="patch-libmedusa::medusa-file-info-utilities.c"
Content-Transfer-Encoding: quoted-printable
Content-Type: text/x-c; charset=ISO-8859-1

--- libmedusa/medusa-file-info-utilities.c.orig	Sun Feb 24 22:36:03 2002
+++ libmedusa/medusa-file-info-utilities.c	Sun Feb 24 22:36:23 2002
@@ -27,10 +27,10 @@
  */
=20
 #include <glib.h>
+#include <sys/types.h>
 #include <grp.h>
 #include <pwd.h>
 #include <stdlib.h>
-#include <sys/types.h>
 #include <sys/stat.h>
 #include <time.h>
=20

--=-VKhHdCaSyuR2RWmZrvlr--


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




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