The story so far (Have to do better job of renaming. So far sorted the debs.):FURRY_NOVA wrote:In the File System, that contains bin, dev, etc and home and stuff. It has a node-v4.6.0-linux-x86 folder. The contents of that folder should be outside in the File System.
Current:Should be:Code: Select all
/node-v4.6.0-linux-x86/include/ /node-v4.6.0-linux-x86/bin/ /node-v4.6.0-linux-x86/share/ /node-v4.6.0-linux-x86/README.md /node-v4.6.0-linux-x86/lib/ /node-v4.6.0-linux-x86/CHANGELOG.md /node-v4.6.0-linux-x86/LICENSE
Starting back at the tar.xz. I made the file structure look like the last code area above this paragraph with Xarchiver application. I deleted README.md, CHANGELOG.md and LICENSE since those aren't created in File System when activating other modules. I don't know if they supposed to be places somewhere else though.Code: Select all
/include/ /bin/ /share/ /README.md /lib/ /CHANGELOG.md /LICENSE
Code: Select all
guest@porteus:~$ sh xz2txz.sh -nv node-v4.6.0-linux-x86.tar.xz -> node-v4.6.0-linux-x86.x-z-z-.txz <slack-desc> node-v4.6.0-linux-x86.tar.x: (node-v4.6.0-linux-x86.tar.xz) Slackware package maker, version 3.141593. Searching for symbolic links: node-v4.6.0-linux-x86/bin/npm ../lib/node_modules/npm/bin/npm-cli.js Making symbolic link creation script: ( cd node-v4.6.0-linux-x86/bin ; rm -rf npm ) ( cd node-v4.6.0-linux-x86/bin ; ln -sf ../lib/node_modules/npm/bin/npm-cli.js npm ) ... Removing symbolic links: removed './node-v4.6.0-linux-x86/bin/npm' ... Slackware package /home/guest/node-v4.6.0-linux-x86.x-z-z-.txz created. Installation Files List: /tmp/Sat_21:50/xz_5845.lst ______________________________________________________________________________ root@porteus:/home/guest# txz2xzm node-v4.6.0-linux-x86.x-z-z-.txz Verifying package node-v4.6.0-linux-x86.x-z-z-.txz. Installing package node-v4.6.0-linux-x86.x-z-z-.txz: PACKAGE DESCRIPTION: Executing install script for node-v4.6.0-linux-x86.x-z-z-.txz. Package node-v4.6.0-linux-x86.x-z-z-.txz installed. Creating /home/guest/node-v4.6.0-linux-x86.x-z-z-.xzm root@porteus:/home/guest# activate node-v4.6.0-linux-x86.x-z-z-.xzm Quiet mode: off Adding 10 new loop devices Updating shared library links: /sbin/ldconfig
- or
Code: Select all
guest@porteus:~$ which node which: no node in (/usr/local/bin:/usr/bin:/bin:/usr/games:/opt/porteus-scripts:/usr/lib/qt/bin:/usr/lib/qt/bin:/usr/lib/qt/bin) guest@porteus:~$ ls / M/ etc/ media/ opt/ run/ sys/ var/ bin/ home/ mnt/ proc/ sbin/ tmp/ dev/ lib/ node-v4.6.0-linux-x86/ root/ srv/ usr/ guest@porteus:~$ PATH+=:/node-v4.6.0-linux-x86/bin/ guest@porteus:~$ which node /node-v4.6.0-linux-x86/bin/node guest@porteus:~$ node > console.log("hi"); hi undefined > guest@porteus:~$
Code: Select all
guest@porteus:~$ which node which: no node in (/usr/local/bin:/usr/bin:/bin:/usr/games:/opt/porteus-scripts:/usr/lib/qt/bin:/usr/lib/qt/bin:/usr/lib/qt/bin) guest@porteus:~$ /node-v4.6.0-linux-x86/bin/node > console.log("hi"); hi undefined > guest@porteus:~$
FURRY_NOVA wrote:Then used your script to convert to txz where it shows:Then I txz2xzm it, activated xzm and tried it again:Code: Select all
/install/ /include/ /bin/ /share/ /lib/ /./
Code: Select all
guest@porteus:~$ node > console.log("hi"); hi undefined >