building on mac os x



Hello,

I am using Mac OS X 10.3 (Panther) and am trying to
install dia. It is not present in fink, so I installed
gtk+ in fink, and then downloaded the dia source code,
and typed

./configure --prefix=/sw/usr/

it produced an error about unicode:

Unicode not present. This will NOT build.
Now type make to build dia.

then i typed

make

and it stopped with this error:

[martin-williamss-computer:~/Desktop/t2/dia-0.90]
mjjw% make
make  all-recursive
Making all in lib
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl 
-I/sw/include/gdk-pixbuf-1.0 -I/sw/include/gtk-1.2
-I/sw/include/glib-1.2 -I/sw/lib/glib/include
-I/usr/X11R6/include   -I/usr/include/libxml2 
-I/sw/include/gtk-1.2 -I/sw/include/glib-1.2
-I/sw/lib/glib/include -I/usr/X11R6/include
-DDIA_SHEETDIR=\"/usr/local/share/dia/sheets\"        
    -DLIBDIR=\"/usr/local/lib\"    
-DDATADIR=\"/usr/local/share/dia\" 
-I/usr/include/libxml2 -g -O2  -Wall -Wunused -Winline
-Wmissing-prototypes -Wmissing-declarations
-finline-functions -fstrict-aliasing -c diagramdata.c
In file included from diagramdata.c:25:
intl.h:9:25: libintl.h: No such file or directory
In file included from font.h:24,
                 from render.h:27,
                 from object.h:31,
                 from diagramdata.h:26,
                 from diagramdata.c:26:
charconv.h:149:21: unicode.h: No such file or
directory
In file included from font.h:24,
                 from render.h:27,
                 from object.h:31,
                 from diagramdata.h:26,
                 from diagramdata.c:26:
charconv.h:150: error: parse error before "unichar"
charconv.h:150: warning: type defaults to `int' in
declaration of `unichar'
charconv.h:150: warning: data definition has no type
or storage class
charconv.h:192: error: parse error before
"charconv_utf8_get_char"
charconv.h:192: warning: type defaults to `int' in
declaration of `charconv_utf8_get_char'
charconv.h:192: warning: data definition has no type
or storage class
diagramdata.c: In function `new_diagram_data':
diagramdata.c:61: warning: implicit declaration of
function `gettext'
diagramdata.c:61: warning: passing arg 1 of
`charconv_local8_to_utf8' makes pointer from integer
without a cast
make[2]: *** [diagramdata.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2

Any ideas or suggestions anyone? Please note that I am
using dia 0.90 as I have had even less luck with newer
versions (couldn't even get to the end of the
configure script).

Martin.

-------------------------
One mouse, many mice, so if I live in a house, why
don't we have streets full of hice?


________________________________________________________________________
Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://mail.messenger.yahoo.co.uk



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]