LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva > Conectiva
User Name
Password
Conectiva This forum is for the discussion of Conectiva Linux.

Notices


Reply
  Search this Thread
Old 12-20-2002, 10:51 AM   #1
cl-user
LQ Newbie
 
Registered: Nov 2002
Location: Brazil, Sao Paulo State, Sao Paulo City
Distribution: Debian/FreeBSD/Ubuntu/CentOS
Posts: 10

Rep: Reputation: 0
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
 
Old 12-20-2002, 03:31 PM   #2
caleb
Member
 
Registered: Sep 2002
Location: Cap. Fed. - Buenos Aires - Argentina
Distribution: Conectiva 10
Posts: 118

Rep: Reputation: 15
good tip !
thank you

see ya
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dia Chaitanyayardi Linux - Software 1 08-27-2005 09:54 AM
help running dia true_atlantis Linux - Software 0 02-26-2004 09:49 PM
dia .shape spoody_goon Linux - General 0 02-15-2004 06:40 PM
CVS and Dia sore Linux - Software 2 11-11-2003 05:29 PM
compiling dia from source figadiablo Linux - Software 4 08-12-2003 08:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva > Conectiva

All times are GMT -5. The time now is 02:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration