Michael,
OK, i'm already a bit confused, and i don't know any more what your
requesting exactly, so i will repeat some things:
The file with the name ./example.sage
#!/home/georg/Daten/.System/bin/sage/sage -python
import sys
gives me that strange mouse behaviour where the mouse pointer changes to a
cross (but not this "X-cross" known from pure X-Window) and clicking on the
3 mouse buttons brings me back to the command line with no output at all,
this is because of the "import sys" line, without this line nothing happens
(just back to the next command line prompt).
OK, this is my /etc/fstab:
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/sda5 / ext3 defaults,errors=remount-ro 0 1
/dev/sda6 /home ext3 defaults 0 2
/dev/sda3 none swap sw 0 0
/dev/hdb /media/cdrom0 udf,iso9660 user,noauto 0 0
this is my /proc/mounts:
rootfs / rootfs rw 0 0
none /sys sysfs rw 0 0
none /proc proc rw 0 0
udev /dev tmpfs rw 0 0
/dev/sda5 / ext3 rw,data=ordered 0 0
/dev/sda5 /dev/.static/dev ext3 rw,data=ordered 0 0
tmpfs /lib/init/rw tmpfs rw,nosuid 0 0
usbfs /proc/bus/usb usbfs rw,nosuid,nodev,noexec 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0
devpts /dev/pts devpts rw,nosuid,noexec 0 0
/dev/sda6 /home ext3 rw,data=ordered 0 0
/dev/sdb1 /media/usbdisk vfat
rw,nosuid,nodev,noexec,uid=1000,gid=1000,fmask=0077,dmask=0077,codepage=cp437,iocharset=utf8,shortname=mixed,quiet
0 0
i.e, my data partition where also sage_root is on is mounted at /home
the output of "strace -f ./example.sage" is:
execve("./exp1.sage", ["./exp1.sage"], [/* 25 vars */]) = -1 ENOEXEC (Exec
format error)
dup(2) = 3
fcntl64(3, F_GETFL) = 0x2 (flags O_RDWR)
fstat64(3, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 2), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb7f8c000
_llseek(3, 0, 0xbfbad584, SEEK_CUR) = -1 ESPIPE (Illegal seek)
write(3, "strace: exec: Exec format error\n", 32strace: exec: Exec format
error
) = 32
close(3) = 0
munmap(0xb7f8c000, 4096) = 0
exit_group(1) = ?
Process 29223 detached
that's all, i hope this is what you expected me to do,
please don't hesitate to ask me for more,
thanks, Georg
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---