Re: [Gmath-devel] install fails, more installation instructions
Status: Pre-Alpha
Brought to you by:
aurag
From: Felix N. <f.n...@nd...> - 2000-03-15 18:11:32
|
hi, Hassan Aurag <au...@cr...> writes: > > hi, > > - when running ./INSTALL (as root): > > mkdir fails (directory does not exist) > > Is this the gnome dir? My default is /usr/share/gnome, but anyway I > fixed this in CVS so you can enter gnome dirs yourself no, I think (as you point out below) that it's related to my python-installation > > and so on > > it creates a file at /usr/local/lib/python1.5/site-packages > This means your site.sitedirs[0] does not exist even though python > has it in its array of site directories. I am trying to get the first > site-dir and it seems to fail. I will try to solve this. no clue what you talk about, but I assume this is it > > which contains "GMatH" (probably some problems in a shell command ?) > > if I then remove this file and create the GMatH-directory manually, > > everything works fine, except that in a numerical-python -session, > python > > can't find a module called "readline". > > This is not normal at all, the readline module is a standard module > in python. What is your python's package version? What distro do you > use? 1.5.2 from www.python.org > > When I first took a closer look at gmath, I didn't install it because > it > > required numerical python (which I figured would require me to install > some > > weird packages; and when I felt up to it, I couldn't find a link). So > I > > think you need to make it easier for someone who is not actively using > > python to install all these: > > Agreed, I am trying to figure out an intelligent way. The problem is > that I use rpms and RedHat but you might not. > > It is also difficult to coordinate with all package managers so that > I am sure http://foo.bar has got the latest package always. > > I need something like Helix Code updater, and this means putting the > packages on my site and make you go get it. > > In any case, I will be making it simpler for RedHat users soon. For > others, I will need help from those who use it since I can't really > afford to have 10 machines with ten distros or one huge machine with > Vmware and all distros. I'm not asking you to actually test it - just provide the necessary information to build it from source: > > installation instructions: > > * get python-1.52 from www.python.org and compile with --with-thread > > * get gtkpy from www.gtk.org->python binding and install it > > * get gnome-python from a gnome-mirror and install it > > * get numerical-python (either RPM-packages or from > numpy.sourceforge.net) > > * get distutils before that > > (the numerical-python-RPM's didn't work for me (my path to python is > > /usr/local/lib/python1.5/); though maybe this is my fault) > > * install gmath ;-) > > > BTW: > > * the help-windows are too small horizontally (I didn't see this in > > screenshots, so this may be fixed) > > Nope, there is a small handle at bottom of window that does resizing. > It separates Quick help from terminal I see ;-) > > * I get lots of warnings and errors, and in the case of the > yacas-session, > > it crashes after starting (I do not have yacas installed). > > This will be changed into a try then bail if yacas not found. I tried > this part only on my system. > > > here's a session where I started a yacas session (but I am using the > > developer gnome, so it may be because of that ..?) > > felix@mybaby:~ > gmath > > > Gtk-CRITICAL **: file gtkwidget.c: line 3864 (gtk_widget_add_events): > assertion `!GTK_WIDGET_NO_WINDOW (widget)' failed. > > This is a stupid bug that has been fixed in CVS > > Ok the rest here is about ps. I am using a ps that might not be > yours. I have been unable to find a good resource tracking module in > python. The normal "resource" module is cryptic and does not work for > children processes. Anyway, I will disable this if it screws your > system. I think this "ps" thing - although it's not critical at all - should be fixed, because as you can see it is deprecated. But I don't think you have to move to another module - maybe just tell the maintainer to change this ? > > GnomeUI-WARNING **: Could not open help topics file NULL > This is easy, it is related to the fact that your gnome help files > were not where I expected them. It should now be fixed in CVS this may be specific to my system > > warning: `-' deprecated; use `ps o', not `ps -o' > > unrecognized option or trailing garbage > > usage: ps acehjlnrsSuvwx{t<tty>|#|O[-]u[-]U..} \ > > --sort:[-]key1,[-]key2,... > > --help gives you this message > > --version prints version information > > Traceback (innermost last): > > File "/usr/local/lib/python1.5/site-packages/GMatH/GMatH", line 56, > in getmemusage > > childmemusage = float(tmp[0]) > > IndexError: list index out of range > > Xlib: unexpected async reply (sequence 0x571)! > > Xlib: unexpected async reply (sequence 0x5a9)! > > Xlib: unexpected async reply (sequence 0x5cb)! > > Gdk-ERROR **: BadPixmap (invalid Pixmap parameter) > > serial 1934 error_code 4 request_code 54 minor_code 0 > > Gdk-ERROR **: BadIDChoice (invalid resource ID chosen for this > connection) > > serial 1941 error_code 14 request_code 53 minor_code 0 -- Felix Natter |