On Thu, 2004-05-27 at 17:40 -0700, Bryce Harrington wrote:
- Run `xhost +`
================= By default my system was set up with xhost -, so that's why the Xlib errors were showing up. You can detect the current setting by running `xhost`. I'd recommend you add to your install script something that turns this on when the program is run, and restores to the original state when the script exits.
How is it possible to run any X programs at all as root if this is set? Is this the SuSE default, or is this something you have done?
- Permissions Problem
======================= After this, I ran the installer as root and it installed and ran fine - but only as user 'root'. As a regular user I couldn't execute Inkscape because autopackage had set it's permissions to 700. I have:
mercury:/home/bryce # umask 0077 mercury:/home/bryce # echo $umask 22
Is this the SuSE default?
Connecting to ftp.sunsite.dk[130.225.247.92]:80... connected. HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable
It sounds like you had a failed download somewhere. I can't recall exactly where we download this too but I suppose we should wipe it before doing the download.
So then I manually downloaded the package and put in the current dir, and ran it again. This time it just continually looped, reinstalling and reinstalling the Autopackage GTK+ Graphical User Interface.
The console output included this:
.... (autopackage-frontend-gtk:29185): Gdk-WARNING **: shmat failed: error 2 (Invalid ar gument)
This is still the problem. Either xhost got reset, or there is still something wrong with your system (something screwy in the kernel?). I don't really understand why your system is producing these errors, but that's why autopackage is screwing up. We expect this to always work, an apparently flawed assumption :)
I'm not sure I got everything, but that was enough to get it to run and seem to work correctly. Although I did see this at the console:
{mercury} ~ (13): inkscape Warning: program compiled against libxml 206 using older 205
This should be fairly harmless, I hope ...
(inkscape:13289): Gdk-WARNING **: shmat failed: error 22 (Invalid argument)
OK so it looks like this is a problem with all GTK apps on your system. I'm not sure what we can do about this, I don't know enough about the GDK/X internals to debug this remotely :(
Anyway, pretty cool! I think once these kinks get worked out, this will become the preferred way of installing Inkscape on rpm-based systems. I'd just gone through doing an rpm-based install for a co-worker today, and it is *such* a pain... I showed her the autopackage install and she was quite taken by it.
Cool!
thanks -mike