Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 17 Sep 2014, 23:58
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
How to get Make command to work in Puppy 2.01 from HD
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [17 Posts]   Goto page: 1, 2 Next
Author Message
kemoschwabbie

Joined: 02 Jun 2006
Posts: 10

PostPosted: 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:

http://www.puppyos.com/nfphpbb/viewtopic.php?t=263&highlight=compile

I issued these commands in sequence:

# mkdir /mnt/devx
# mount -o loop /devx_201.sfs /mnt/devx
# cp -a /mnt/devx/* /
# umount /mnt/devx

Now the make command works!

Cheers,

Kemo
Back to top
View user's profile Send private message 
tony

Joined: 14 Jan 2006
Posts: 316
Location: Montreal.ca

PostPosted: Tue 17 Oct 2006, 10:18    Post subject: Mounting devx_202.sfs  

Finally cracked installing devx_202.sfs to hard disk:-

Latest matching devx is devx_213.sfs, adjust to match distro.

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

Next copy the files recursively into your filesystem.

cp -ax /root/mount/* /

I Got :-
cannot create regular file 'usr/bin/strings': Text file busy
cannot create regular file 'usr/bin/uudecode': Text file busy
cannot create regular file 'usr/bin/uuencode': Text file busy
cannot create regular file 'usr/bin/xargs': Text file busy

But system installed. Typing make, gets :- No targets etc.

finally :-

umount /root/mount

Regards Tony

Last edited by tony on Thu 08 Feb 2007, 11:34; edited 1 time in total
Back to top
View user's profile Send private message 
Drucker

Joined: 31 Aug 2006
Posts: 6
Location: It's Me Again

PostPosted: Sat 11 Nov 2006, 18:35    Post subject:  

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!
Back to top
View user's profile Send private message 
mistrz linux


Joined: 23 Oct 2006
Posts: 11
Location: Clayton, OH - USA

PostPosted: Mon 20 Nov 2006, 16:11    Post subject:  

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...

HTH.... Very Happy


m.l.
Back to top
View user's profile Send private message 
Dougal


Joined: 19 Oct 2005
Posts: 2505
Location: Hell more grotesque than any medieval woodcut

PostPosted: Tue 21 Nov 2006, 10:32    Post subject:  

Drucker wrote:
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
Back to top
View user's profile Send private message 
Systemhalted

Joined: 04 Feb 2007
Posts: 2
Location: Andromeda,Outer space

PostPosted: Sun 04 Feb 2007, 06:56    Post subject:    

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?
Back to top
View user's profile Send private message 
Systemhalted

Joined: 04 Feb 2007
Posts: 2
Location: Andromeda,Outer space

PostPosted: Sun 04 Feb 2007, 07:06    Post subject:  

Oops!sorry! Forgot a space between "mkdir" and the adress. Couldn't you have warned? It's a bit hard to tell if it should be one there or not...
Back to top
View user's profile Send private message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 11066
Location: Arizona USA

PostPosted: Sun 04 Feb 2007, 13:27    Post subject:  

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.
Back to top
View user's profile Send private message 
QLeap


Joined: 07 Feb 2007
Posts: 6

PostPosted: Thu 08 Feb 2007, 00:19    Post subject:  Get invalid argument error
Subject description: Trying to Make it
 

I recently purchased a norhtec micro-client jr. (a.k.a. e-box 2300). I tried Kemo's instructions and got the following error after the mount command:

mount: ioctl: LOOP_SET_FD: Invalid argument

I'm not that familiar with Linux so I'm a little stumped about this error. Any thoughts?

Thanks in advance!
Back to top
View user's profile Send private message 
cendoubleu

Joined: 26 Jan 2007
Posts: 3

PostPosted: Fri 09 Feb 2007, 17:45    Post subject: thanks for info  

kemoschwabbie, just to say thanks for the info regarding devx and make etc. Worked a treat here using Puppy 2.13. Now waiting to find all the dependencies!
Back to top
View user's profile Send private message 
HairyWill


Joined: 26 May 2006
Posts: 2949
Location: Southampton, UK

PostPosted: Fri 09 Feb 2007, 17:54    Post subject:  

QLeap
Where is the file you are trying to mount saved? Is it on a separate partition to puppy?

_________________
Will
contribute: community website, screenshots, puplets, wiki, rss
Back to top
View user's profile Send private message 
J_Rey


Joined: 04 May 2005
Posts: 276
Location: Northwest Florida, U.S.A.

PostPosted: Fri 02 Mar 2007, 16:09    Post subject:  devx2hd.sh script for normal Linux style installs
Subject description: for Puppy 2.x
 

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.

Please report back here with detailed results then I will add it to our wiki compiling page.
devx2hd.sh.gz
Description  script for merging files from devx_2xx.sfs file to normal Linux partition
gz

 Download 
Filename  devx2hd.sh.gz 
Filesize  432 Bytes 
Downloaded  1445 Time(s) 
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger 
Firefox

Joined: 03 Nov 2006
Posts: 171
Location: UK

PostPosted: Sat 03 Mar 2007, 05:59    Post subject: Make Command  

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
Back to top
View user's profile Send private message 
ddomains

Joined: 21 Apr 2007
Posts: 8

PostPosted: Sun 14 Oct 2007, 14:58    Post subject: WHat about 3.00?  

I tried the following

# mkdir /mnt/devx
# mount -o loop /devx_300.sfs /mnt/devx

and got the mounting message but failed at the end.

never got to the following parts

# cp -a /mnt/devx/* /
# umount /mnt/devx

Any Ideas? what about installing the Open Office on the full HD install?
Back to top
View user's profile Send private message 
Bruce B


Joined: 18 May 2005
Posts: 11108
Location: The Peoples Republic of California

PostPosted: Tue 16 Oct 2007, 18:36    Post subject: Re: WHat about 3.00?  

ddomains wrote:
I tried the following

# mkdir /mnt/devx
# mount -o loop /devx_300.sfs /mnt/devx

and got the mounting message but failed at the end.

never got to the following parts

# cp -a /mnt/devx/* /
# umount /mnt/devx

Any Ideas? what about installing the Open Office on the full HD install?


I have no idea why people keep posting that is how to mount a .sfs file. Use the -t switch and specify the filesystem type.

mount -o loop -t squashfs /devx_300.sfs /mnt/devx

_________________
New! Puppy Linux Links Page
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 2 [17 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » HOWTO ( Solutions )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0901s ][ Queries: 12 (0.0043s) ][ GZIP on ]