I create the module, activate it, run my program, and it complains about python not existing. If I use installpkg for the .txz, my program runs without problems.
Any idea what I am doing wrong when building the module?
Porteus 3.1, booting as always clean, running on ext2.
My directory
Code: Select all
root@porteus:/mnt/sda3/mp# ll
total 17664
drwxr-xr-x 2 root root 4096 Feb 5 16:29 ./
drwxr-xr-x 8 root root 4096 Feb 5 15:49 ../
-rw-r--r-- 1 root root 44744 Jun 20 2012 pycairo-1.8.10-i486-2.txz
-rw-r--r-- 1 root root 1696096 Jul 7 2012 pygtk-2.24.0-i486-1.txz
-rw-r--r-- 1 root root 12040184 May 29 2013 python-2.7.5-i486-1.txz
-rw-r--r-- 1 root root 2537084 Oct 16 2013 tcl-8.6.1-i486-1.txz
-rw-r--r-- 1 root root 1722852 Oct 16 2013 tk-8.6.1-i486-1.txz
Code: Select all
root@porteus:/mnt/sda3/mp# dir2xzm . python-2.7.5-i486-1-bundle.xzm
Parallel mksquashfs: Using 2 processors
Creating 4.0 filesystem on python-2.7.5-i486-1-bundle.xzm, block size 262144.
[=================================================================|] 72/72 100%
Exportable Squashfs 4.0 filesystem, xz compressed, data block size 262144
compressed data, compressed metadata, compressed fragments, compressed xattrs
duplicates are removed
Filesystem size 17618.81 Kbytes (17.21 Mbytes)
100.00% of uncompressed filesystem size (17619.11 Kbytes)
Inode table size 202 bytes (0.20 Kbytes)
39.92% of uncompressed inode table size (506 bytes)
Directory table size 186 bytes (0.18 Kbytes)
92.08% of uncompressed directory table size (202 bytes)
Number of duplicate files found 0
Number of inodes 7
Number of files 6
Number of fragments 1
Number of symbolic links 0
Number of device nodes 0
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 1
Number of ids (unique uids + gids) 1
Number of uids 1
root (0)
Number of gids 1
root (0)
Code: Select all
root@porteus:/mnt/sda3/mp# lsxzm python-2.7.5-i486-1-bundle.xzm
Parallel unsquashfs: Using 2 processors
6 inodes (72 blocks) to write
/pycairo-1.8.10-i486-2.txz
/pygtk-2.24.0-i486-1.txz
/python-2.7.5-i486-1-bundle.xzm
/python-2.7.5-i486-1.txz
/tcl-8.6.1-i486-1.txz
/tk-8.6.1-i486-1.txz
root@porteus:/mnt/sda3/mp#
Code: Select all
root@porteus:/mnt/sda3/mp# activate python-2.7.5-i486-1-bundle.xzm
Updating shared library links: /sbin/ldconfig
When I try to run my program, it complains about python not beign there
Code: Select all
root@porteus:/mnt/sda3/mp# myprog
/usr/bin/env: python2.7: No such file or directory
Thanks!