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 Sun 20 Aug 2017, 21:14
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
Can't get development package to work
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [22 Posts]   Goto page: 1, 2 Next
Author Message
BigPilot

Joined: 21 Jan 2007
Posts: 98

PostPosted: Wed 28 Mar 2007, 05:14    Post subject:  Can't get development package to work  

Hi,

I downloaded the devx_313.sfs package and copied it to the /mnt/home directory (I had to create the 'home' directory as it wasn't there initially) but when I reboot my machine it seems the compilers aren't there. I typed 'gcc' from the console but it says 'command not found' so i assume it's not there.

Am I doing something wrong?

Thanks
Back to top
View user's profile Send private message 
gary101


Joined: 08 Oct 2006
Posts: 556
Location: Boston, Lincs. UK

PostPosted: Wed 28 Mar 2007, 08:20    Post subject:  

How have you installed puppy?

If you have a hard drive install then the procedure for installing the devx is different but not too difficult. If it is a hard drive install then let me know and I will post instructions for you.

I take it from your post that you are using puppy 2.13?
Back to top
View user's profile Send private message 
HairyWill


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

PostPosted: Wed 28 Mar 2007, 08:25    Post subject:  

What version of puppy are you using?
Have you installed puppy at all or are you just running it from the CD?
What type of installation do you have or how did you install it?
After rebooting is /mnt/home/devx_213.sfs still there?

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

Joined: 21 Jan 2007
Posts: 98

PostPosted: Wed 28 Mar 2007, 16:28    Post subject:  

gary101 wrote:
How have you installed puppy?

If you have a hard drive install then the procedure for installing the devx is different but not too difficult. If it is a hard drive install then let me know and I will post instructions for you.

I take it from your post that you are using puppy 2.13?


Correct, I have Puppy 2.13 installed on the hard drive.
Back to top
View user's profile Send private message 
gary101


Joined: 08 Oct 2006
Posts: 556
Location: Boston, Lincs. UK

PostPosted: Wed 28 Mar 2007, 18:55    Post subject:  

Hi

With a hard drive install I have found the best method is to put your devx_213.sfs in the / folder (open home and go up one level) you will know it is the correct folder as it is where the zdrv file is.

In the same folder, right click on any empty area and go to 'Window' and select 'Terminal here'. Then enter the commands line by line as below.

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

if you now type make and get anything other than the 'Command not found' message, you know it is installed.

Gary
Back to top
View user's profile Send private message 
BigPilot

Joined: 21 Jan 2007
Posts: 98

PostPosted: Thu 29 Mar 2007, 17:43    Post subject:  

Unfortunately, it didn't work. I get the error:

sh-3.00# mount /devx_213.sfs /mnt/devx -o loop
mount: Mounting /devx_213.sfs on /mnt/devx failed: Invalid argument

Both /mnt/devx and /devx_213.sfs exist.
Back to top
View user's profile Send private message 
gary101


Joined: 08 Oct 2006
Posts: 556
Location: Boston, Lincs. UK

PostPosted: Thu 29 Mar 2007, 20:09    Post subject:  

If you look in the post above the command is:

mount -o loop /devx_213.sfs /mnt/devx

You have:
mount /devx_213.sfs /mnt/devx -o loop

you can copy that command and paste it into the console with ctrl+insert
Back to top
View user's profile Send private message 
laserbeak


Joined: 12 Aug 2006
Posts: 63

PostPosted: Sat 19 May 2007, 20:00    Post subject:  

when i write the line:
Code:
cp -a /mnt/devx/* /

i get the error:
Code:
cp: cannot create regular file `/usr/bin/strings': Text file busy

but the hard drive still runs for a while, like the operation isn't over. should i worry about this?
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger 
8-bit


Joined: 03 Apr 2007
Posts: 3425
Location: Oregon

PostPosted: Thu 24 May 2007, 01:22    Post subject:  

laserbeak wrote:
when i write the line:
Code:
cp -a /mnt/devx/* /

i get the error:
Code:
cp: cannot create regular file `/usr/bin/strings': Text file busy

but the hard drive still runs for a while, like the operation isn't over. should i worry about this?


I had the same thing come up! I checked the destination file, /usr/bin/strings, and it is a symbolic link to /bin/busybox. As I am new to programming anything on Puppy, that is about all I can tell you.

While I am at it though, can anyone give me place to find docs on using the tools or programs that are in the devx distribution?
Back to top
View user's profile Send private message 
Bruce B

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

PostPosted: Thu 24 May 2007, 01:29    Post subject:  

you can manually copy strings out of the .sfs file
later when the /usr/bin/strings file (link) is not busy you can overwrite it manually. if you still have trouble...

you could try cp -f /pathto/strings /usr/bin
Back to top
View user's profile Send private message 
John Doe

Joined: 01 Aug 2005
Posts: 1689
Location: Michigan, US

PostPosted: Thu 24 May 2007, 01:32    Post subject:  

8-bit wrote:
...error:
Code:
cp: cannot create regular file `/usr/bin/strings': Text file busy
...


try the -f switch on the cp

>...can anyone give me place to find docs on using the tools or programs that are in the devx distribution?

check the bottom of this page under "Additional Software", for examples of how to get you going with cvs,make,configure...etc:
http://www.puppylinux.org/wikka/ShellScriptsExamples

I should add a little example for svn that's in there also now and a lot of people are using it instead of cvs for repositories. Although you will mainly just use tar ball downloads.

Code:
./configure --help
is a good tip also. Every program has different options you should know about.

if no configure file, look for autogen.sh, if that's not there just type make

Good Luck Smile
Back to top
View user's profile Send private message 
John Doe

Joined: 01 Aug 2005
Posts: 1689
Location: Michigan, US

PostPosted: Thu 24 May 2007, 01:36    Post subject:  

p.s. cvs isn't in there, you have to install it with petget I think.
Back to top
View user's profile Send private message 
ohyes


Joined: 03 May 2007
Posts: 159
Location: Right Here

PostPosted: Sun 03 Jun 2007, 03:22    Post subject:  

Thx gary101 for posting the hard disk compiling how to..worked a treat

Cheers
Back to top
View user's profile Send private message 
ddomains

Joined: 21 Apr 2007
Posts: 8

PostPosted: Sun 14 Oct 2007, 14:51    Post subject: 3.0 Fails also  

I tried this with the 3.00 full install and when I do the mount command I get the mounting message and failed at the end nothing more Sad

Any Ideas?

Also will this work with installing the Open Office .sfs ?
Back to top
View user's profile Send private message 
Bruce B

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

PostPosted: Sun 14 Oct 2007, 15:35    Post subject: Re: 3.0 Fails also  

ddomains wrote:
I tried this with the 3.00 full install and when I do the mount command I get the mounting message and failed at the end nothing more :(

Any Ideas?

Also will this work with installing the Open Office .sfs ?


Try this:

losetup-FULL /dev/loop7 location_of/devx_217.sfs
mount -t squashfs /dev/loop7 your_mountpoint


It should work with any puppy.sfs - after mounting, copy the sfs filesystem to the actual filesystem.

In other words: Put files in their right place! If you encounter overwrite situations - use yer noggin as to what to do.

_________________
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 [22 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
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.0524s ][ Queries: 11 (0.0060s) ][ GZIP on ]