making tace on Mac OS X 10.1

srk at sanger.ac.uk srk at sanger.ac.uk
Wed Dec 5 12:46:15 EST 2001


On 3 Dec 2001 08:48:01 -0000
metaperl at mac.com (Terrence Brannon) wrote:

> I just used fink to download gtk+, readline, and XDarwin.
> 
> However, I cannot make tace.
> 
> The first problem is that glib.h is in /sw/include
> 
> so I went to wmake/truemake and fixed IDIR as follows:
> 
> # NB ACEDB_GTK needed everywhere for the time being: TODO
> IDIR = -I/sw/include -I.. -I../$(INCLUDE) -I../wstaden -DACEDB_GTK
> 
> but now I get these errors:
> 
> [localhost:~/wares/ACEDB-source.4_9f] metaperl% make tace
> making tace for FreeBSD
> cc -DACEDB4 -I/usr/X11R6/include  -I/sw/include -I.. -I../wh -I../wstaden
-DACE\
> DB_GTK -DFreeBSD -c -c messubs.c
> /sw/include/glib.h:66: header file 'glibconfig.h' not found
> /sw/include/glib.h:502: undefined type, found `gint32'
> /sw/include/glib.h:503: undefined type, found `guint32'
> /sw/include/glib.h:504: undefined type, found `guint32'
> /sw/include/glib.h:505: undefined type, found `gint32'
> /sw/include/glib.h:840: undefined type, found `guint8'
> /sw/include/glib.h:1573: undefined type, found `guint32'
> /sw/include/glib.h:1591: undefined type, found `guint32'
> /sw/include/glib.h:1737: undefined type, found `guint8'
> /sw/include/glib.h:1740: undefined type, found `guint8'
> /sw/include/glib.h:2094: undefined type, found `guint16'
> /sw/include/glib.h:2095: undefined type, found `guint8'
> /sw/include/glib.h:2171: undefined type, found `guint32'
> /sw/include/glib.h:2184: undefined type, found `guint32'
> /sw/include/glib.h:2193: undefined type, found `guint32'
> /sw/include/glib.h:2231: undefined type, found `guint32'
> /sw/include/glib.h:2253: undefined type, found `guint8'
> /sw/include/glib.h:2255: undefined type, found `guint8'
> /sw/include/glib.h:2256: undefined type, found `guint8'
> /sw/include/glib.h:2354: missing right curly brace, found
`GLIB_SYSDEF_POLLIN'
> /sw/include/glib.h:2355: illegal external declaration, missing `;' after
`G_IO_\
> OUT'
> /sw/include/glib.h:2356: undefined type, found `G_IO_PRI'
> /sw/include/glib.h:2357: illegal external declaration, missing `;' after
`G_IO_\
> 

Your fix is to truemake should not be needed: back that out.

I suspect that the problem is that your path doesn't include /sw/bin and
glib-config is there. 
Make sure that you can execute glib-config and gtk-config from the shell.

Simon.
--
-------------------------------------------------------------------------------
Simon Kelley.  srk at sanger.ac.uk  simon at thekelleys.org.uk  





More information about the Acedb mailing list