compiling dia 0.90
Hi
I tried to compile dia in a new version because, the current
version on conectiva dont load UML diagrams with *.dia
extension from the site of MIOLO ( Univates ).
Then I download and did ./configure and make
Then:
root]> make
make all-recursive
make[1]: Entering directory `/home2/ldapmail/dia-0.90'
Making all in lib
make[2]: Entering directory `/home2/ldapmail/dia-0.90/lib'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I/usr/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/gnome-xml -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -DDIA_SHEETDIR=\"/usr/local/share/dia/sheets\" -DUNICODE_USE_SYSTEM_ICONV -DLIBDIR=\"/usr/local/lib\" -DDATADIR=\"/usr/local/share/dia\" -I/usr/include/gnome-xml -g -O2 -Wall -Wunused -Winline -Wmissing-prototypes -Wmissing-declarations -finline-functions -fstrict-aliasing -c dia_xml.c
dia_xml.c:28: parser.h: Arquivo ou diret?rio n?o encontrado
dia_xml.c:29: parserInternals.h: Arquivo ou diret?rio n?o encontrado
dia_xml.c:30: xmlmemory.h: Arquivo ou diret?rio n?o encontrado
In file included from dia_xml.c:40:
dia_xml_libxml.h:24: tree.h: Arquivo ou diret?rio n?o encontrado
dia_xml_libxml.h:25: parser.h: Arquivo ou diret?rio n?o encontrado
make[2]: *** [dia_xml.o] Error 1
make[2]: Leaving directory `/home2/ldapmail/dia-0.90/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home2/ldapmail/dia-0.90'
make: *** [all-recursive-am] Error 2
root]>
+++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++++++++++++++++++
To solve this: After try some things, and have many diferent errors,
I solved the problem. I think that it could happen with RedHat too
before do the ./configure command
find whereis xml-config
in conectiva it is in /usr/bin/xml-config
rname this to backup the original:
cp -p /usr/bin/xml-config /usr/bin/xml-config-original-version1
\rm /usr/bin/xml-config
ln -s /usr/bin/xml2-config /usr/bin/xml-config
And then execute ./configure
make
and etc
If you think this is better you can restore the /usr/bin/xml-config
bye
|