Le Thu, Oct 23, 2003, à 10:58:49PM +0100, gareth foster a écrit: > Ok, here is the problem, Dia looks very nice, but the RPM provided by > DAG (a major provider of RPMs for Redhat systems) is not behaving > correctly. He is aware of the problem, and does not know why it exists.
Is DAG installing into /usr ? If not, he needs to configure with the right --prefix. Also, he complains that run_dia.sh is not shipped, AFAIR it's inexact, it is in the app/ directory (but it's not installed, as it's normally a development tool only)
It seems to be created on the fly with the _current_ working directory included. I don't understand what's the point ? (My current working directory when building is /mnt/dar/BUILD/dia-0.92/
Apart from that, it doesn't work when I fix the run_dia.sh with proper paths.
One thing you could do if it still fails is to strace dia, and then grep the strace output for "open" and the like -- and see what it tries to do and where.
I tried that, but apart from the fact that it cannot find my defaults I see nothing interesting. Dia doesn't expect to have an existing configuration, does it ?
[EMAIL PROTECTED] SPECS]# strace -f -e trace=open dia 2>&1 | tail -n 20
open("/usr/share/dia/sheets/sybase.sheet", O_RDONLY) = 14
open("/usr/share/dia/sheets/Assorted.sheet", O_RDONLY) = 14
open("/usr/share/dia/sheets/Misc.sheet", O_RDONLY) = 14
open("/usr/share/dia/sheets/ciscocomputer.sheet", O_RDONLY) = 14
open("/usr/share/dia/sheets/ciscohub.sheet", O_RDONLY) = 14
open("/usr/share/dia/sheets/ciscomisc.sheet", O_RDONLY) = 14
open("/usr/share/dia/sheets/cisconetwork.sheet", O_RDONLY) = 14
open("/usr/share/dia/sheets/ciscorouter.sheet", O_RDONLY) = 14
open("/usr/lib/charset.alias", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file
or directory)
open("/root/.dia/defaults.dia", O_RDONLY) = -1 ENOENT (No such file or
directory)
warning: failed to load external entity "NULL"
open("/root/.icons/Bluecurve/cursors/xterm", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/root/.icons/Bluecurve/index.theme", O_RDONLY) = -1 ENOENT (No such file
or directory)
open("/usr/share/icons/Bluecurve/cursors/xterm", O_RDONLY) = 13
open("/root/.icons/Bluecurve/cursors/xterm", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/root/.icons/Bluecurve/index.theme", O_RDONLY) = -1 ENOENT (No such file
or directory)
open("/usr/share/icons/Bluecurve/cursors/xterm", O_RDONLY) = 13
open("/etc/gtk-2.0/gtk.immodules", O_RDONLY) = 13
open("/dev/urandom", O_RDONLY|O_LARGEFILE) = 13
Couldn't find standard objects when looking for object-libs, exiting...Thanks for your feedback, -- dag wieers, [EMAIL PROTECTED], http://dag.wieers.com/ -- [Any errors in spelling, tact or fact are transmission errors]
_______________________________________________ Dia-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/dia-list FAQ at http://www.lysator.liu.se/~alla/dia/faq.html Main page at http://www.lysator.liu.se/~alla/dia
