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

Dia 0.90 on Solaris [2]



Hi,

I've installed libunicode 0.4 and I'm now able to proceed further
with building Dia 0.9.0 on my Solaris 8 machine.

Note that I was not able to find advice on installing libunicode in
configure, INSTALL, or README - even a terse one.

New problems appear now. I have both libxml and libxml2 installed:
	$ xml-config --prefix --version
	/usr/local/libxml-1.8.9
	1.8.9
	$ xml2-config --prefix --version
	/usr/local/libxml2-2.4.20
	2.4.20
	$

Running "make" fails with the following error:
	cc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl  -I/usr/local/gdk-pixbuf-0.13.0/include/gdk-pixbuf-1.0 -I/usr/local/gtk+-1.2.10/include/gtk-1.2 -I/usr/local/glib-1.2.10/include/glib-1.2 -I/usr/local/glib-1.2.10/lib/glib/include -I/usr/openwin/include   -I/usr/local/libxml2-2.4.20/include/libxml2  -I/usr/local/gtk+-1.2.10/include/gtk-1.2 -I/usr/local/glib-1.2.10/include/glib-1.2 -I/usr/local/glib-1.2.10/lib/glib/include -I/usr/openwin/include -DDIA_SHEETDIR=\"/usr/local/dia-0.90/share/dia/sheets\"    -I/usr/local/libart-2.3.3/include -I/usr/local/libunicode-0.4/include -DUNICODE_USE_SYSTEM_ICONV  -I/usr/local/libart-2.3.3/include  -DLIBDIR=\"/usr/local/dia-0.90/lib\"    -DDATADIR=\"/usr/local/dia-0.90/share/dia\"  -I/usr/local/libxml2-2.4.20/include/libxml2 -O  -finline-functions -fstrict-aliasing -c dia_xml.c
	cc: Warning: illegal option -finline-functions
	cc: Warning: illegal option -fstrict-aliasing
	"dia_xml.c", line 28: cannot find include file: <parser.h>
	"dia_xml.c", line 29: cannot find include file: <parserInternals.h>
	"dia_xml.c", line 30: cannot find include file: <xmlmemory.h>
	"./dia_xml_libxml.h", line 24: cannot find include file: <tree.h>
	"./dia_xml_libxml.h", line 25: cannot find include file: <parser.h>
	"./dia_xml_libxml.h", line 29: warning: old-style declaration or incorrect type for: xmlDocPtr
	"./dia_xml_libxml.h", line 29: syntax error before or at: xmlDiaParseFile
	"./dia_xml_libxml.h", line 29: warning: old-style declaration or incorrect type for: xmlDiaParseFile
	"./dia_xml_libxml.h", line 32: warning: old-style declaration or incorrect type for: xmlDocPtr
	"./dia_xml_libxml.h", line 32: syntax error before or at: xmlDoParseFile
	"./dia_xml_libxml.h", line 32: warning: old-style declaration or incorrect type for: xmlDoParseFile
	"./dia_xml_libxml.h", line 39: syntax error before or at: xmlDocPtr
	"./dia_xml_libxml.h", line 39: warning: undefined or missing type for: xmlDocPtr
	"dia_xml.c", line 177: cannot recover from previous errors
	cc: acomp failed for dia_xml.c

Note that the canonical (the default at least) structure of the libxml
include directrories is as follows:
	$ ls /usr/local/libxml-1.8.9/include/gnome-xml/
	[...]
	parser.h
	parserInternals.h
	tree.h
	[...]
	$ ls /usr/local/libxml2-2.4.20/include/libxml2/libxml/
	[...]
	parser.h
	parserInternals.h
	[...]
	tree.h
	[...]
	$

Dimitri




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] Mail converted by Mofo Magic and the Flying D

 
All trademarks and copyrights are the property of their respective owners.

Other Directory Sites: SeekWonder | Directory Owners Forum

GuideSMACK