Posted: Thu 22 Jun 2006, 23:09 Post_subject:
How to get Make command to work in Puppy 2.01 from HD

I have been attempting to compile the source for mdadm (Linux software raid) in Puppy and could not get the make command to work. I followed the directions of downloading and installing the devx_xxx.sfs to the / level and rebooting the computer. Still I had no luck. A little online reading yielded that Puppy 2.0x has been experiencing some issues in this area. Here is the solution I found:

The proper version of devx for Puppy 2.01 is located at http://www.puppyos.com/test/devx_201.sfs.

Download it to the root of your boot drive.

You will know that the devx is not working if you reboot your computer with the devx the root and you get the following response when you isse the make command:

sh-3.00# make
sh: make: command not found

A little rooting around and I found that I am not the first guy to have this problem:

IMPORTANT. Put devx_202.sfs in a separate hard disc partition.
In my case it was in /mnt/hdb7/root/downloads/

From partition where you want to install, create a directory in /root called mount
mkdir /root/mount
Then:-
mount -o loop /mnt/hdb7/root/downloads/devx_202.sfs /root/mount
This copies all the files in devx_202.sfs into /root/mount

You might want to move up to 2.12... if you're going to be doing anything with development, this is going to be the latest standard according to Barry...

Also, check to make sure that your devx_212.sfs file is NOT corrupted. I was beating my head for a few hours because of a corrupted file. Once I got a clean one, it worked just as the outline above states. Remember, though - copy the source from a mounted partition other than your root mounted partition...

I'm using 2.02 and can't get this to work. The files show up in /mnt/devx but disapear after umount command. Not sure what I'm doing of course, but have compiled sucess on puppy 1.07. Help!

The files "show up" in /mnt/devx because the sfs file was mounted there. So when you unmount the sfs file, you cannot see them.. note that they are NOT there -- they don't take up any space on that drive -- it is more like a link into the sfs file.

After you've mounted the files you need to copy them, as was shown above._________________What's the ugliest part of your body?
Some say your nose
Some say your toes
But I think it's your mind

This does't seem to work for me...
In fact, I'm starting to get really pissed off at the rxvt command window.The damn thing can't even recognize it's own commands!
Everytime I THINK I've found something that MIGHT work, I just get a "Command not found" error. Could somebody please help?

I know what you mean. It's happened to me. It's hard to tell sometimes if there's a space or not in a line of characters. I've often wondered if it might be possible, when posting code in the forum, to replace spaces with a character that is not recognized by Bash or whatever, and must be changed back to space in order to run the code.

OK I revised Barry's instructions for using devx file with a Puppy install on Linux partition and created a script (devx2hd.sh) out of it to save time/typos. The script will only run if using a full/option 2/normal Linux install and if the correct devx_2xx.sfs file is in /tmp on the partition that is being used by Puppy. There has to be twice the uncompressed size of the files in devx_2xx.sfs available in /tmp for this to complete. Also, don't forget that the /tmp folder will get emptied if rebooting, so when done you may want to copy the devx_2xx.sfs file elsewhere. With that said you may download the script. Click on it in Rox to uncompress it and click on it again afterwards to run it and have it extract/merge the files from the devx file to Puppy's filesystem.

Thank you J_Rey for your mavellous program to install the devX files.sf. to a full hard drive install.
I installed it on 2.15CE and had to change the file to r + x to run it.
As far as I can see it worked, with no targets specified and no makefile found coming up in rxvt. Now to figure the next step?find a program and run it.
I had spent all day trying to get Make to work with errors of missing files and lack of space , also demands for platform descriptions that I had to resort to a frugal install and when that didnt work then tried other versions and I finally gave up.
So thank you again. It`s these small touches that make a `just so` distro into a great one