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 Mon 20 May 2013, 03:23
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Adding SFS at startup?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 2 [27 Posts]   Goto page: Previous 1, 2
Author Message
Mr. Maxwell


Joined: 30 Aug 2008
Posts: 215
Location: Nebraska, USA

PostPosted: Fri 02 Jan 2009, 15:49    Post subject:  

The commands that worked for me:
Code:
#cp -a --remove-destination ./mnt/+devx_412.sfs /mnt/sda1/
#sync

I finally figured out what the asterick was for!

_________________
Super amazing game!
Back to top
View user's profile Send private message 
Mr. Maxwell


Joined: 30 Aug 2008
Posts: 215
Location: Nebraska, USA

PostPosted: Fri 02 Jan 2009, 16:03    Post subject:  

It won't compile C++! When I attempt to compile in geany it says '/bin/sh: g++ command not found'.
Back to top
View user's profile Send private message 
8-bit


Joined: 03 Apr 2007
Posts: 3012
Location: Oregon

PostPosted: Fri 02 Jan 2009, 19:11    Post subject:  

Mr. Maxwell wrote:
It won't compile C++! When I attempt to compile in geany it says '/bin/sh: g++ command not found'.


To see if you truly have devx installed, open a terminal and type "make" or "gcc" without the quotes.
It should give you enough feedback to know if devx was correctly installed.
Back to top
View user's profile Send private message 
Mr. Maxwell


Joined: 30 Aug 2008
Posts: 215
Location: Nebraska, USA

PostPosted: Fri 02 Jan 2009, 20:15    Post subject:  

Code:
# gcc
bash: gcc: command not found
# make
bash: make command not found

any ideas?
Back to top
View user's profile Send private message 
8-bit


Joined: 03 Apr 2007
Posts: 3012
Location: Oregon

PostPosted: Sat 03 Jan 2009, 19:09    Post subject:  

It looks like the devx sfs package did not get installed.
Further back in this thread, I posted an old utility to install SFS files to a Full install of Puppy.
If you download it and try to install with it, it just might take.
Did for me.

Typing make in a terminal is a quick way to see if the installation succeeded.
I remember seeing instructions on installing SFS files to a Full Install before, but I cannot remember them.
Back to top
View user's profile Send private message 
tasmod


Joined: 04 Dec 2008
Posts: 1459
Location: North Lincolnshire. UK

PostPosted: Sat 03 Jan 2009, 21:03    Post subject:  

To quote Pizzagood to install a devxXXX.sfs :-


If it's a full-hd install, you download it wherever, then click it to mount it. Open a terminal inside and run cp -a * / to copy the contents into /. Then click it again to unmount it. Now you can delete it if you want.

You can also do the whole process from the commandline like this:
Code:

mount -o loop /path/to/devx_412.sfs /mnt/data
cp -a /mnt/data/* /
umount /mnt/data


Also to quote KC1DI for other sfs (not devx) :-


"All that is really needed is to copy the .sfs file to the mnt/home directory once there click on the .sfs file you should get a message that it's being mounted or something like that and a new directory window will open. copy the opt folder out of this directory by draging it to the usr/local folder. now when you boot it will be mounted automatically and you can drag the exicute file (in the case of Openoffice I drag the Staroffice.bin file to the desktop.) from urs/local/opt to the desktop so you can start the program from there. this proceedure works well with OpenOffice 3.0 and Acrobat reader. I'm sure it will with others also. There may be easier way to do it so others may chime in on that. But it has worked here for me. "


Worked a charm for me with Songbird.sfs

Rob
Back to top
View user's profile Send private message Visit poster's website 
Cariboo

Joined: 19 Sep 2008
Posts: 106
Location: BC, Canada

PostPosted: Sun 04 Jan 2009, 03:48    Post subject:  

8-bit wrote:

I remember seeing instructions on installing SFS files to a Full Install before, but I cannot remember them.

This is what worked for me installing OpenOffice.sfs and Picasa.sfs:
:
Code:
modprobe squashfs
mount -o loop filename.sfs /mnt/data
cd /mnt/data
cp -a * /
cd /
umount /mnt/data
Back to top
View user's profile Send private message 
Evil20071


Joined: 07 Jun 2008
Posts: 425
Location: Piedmont, SC,.United States

PostPosted: Sun 04 Jan 2009, 03:51    Post subject:  

basically what I did... only I just clicked it and manually dragged/merged the files...
_________________
Click for Detailed PC info

Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger 
ICQ Number 
Mr. Maxwell


Joined: 30 Aug 2008
Posts: 215
Location: Nebraska, USA

PostPosted: Sun 04 Jan 2009, 22:19    Post subject:  

Thanks 8-bit the script worked. I just can't figure out what I did wrong. Confused
Back to top
View user's profile Send private message 
aragon

Joined: 15 Oct 2007
Posts: 1690
Location: Germany

PostPosted: Mon 05 Jan 2009, 09:38    Post subject:  

hi tasmod,

KC1DI advices might work for some but not for all sfs-files. Why?

Well, the apps you mention are (in my opinion) special cases. The songbird-app is bundled by it's creators with all needed libs and a starter that is specially designed for that structure.

A 'normal' sfs will have the 'normal' puppy filestructure. So you might have a subdir

Code:
/usr/lib/


which contains needed libraries. if you copy everything to

Code:
/usr/local/


your libraries will be at
Code:
/usr/local/usr/lib/


unless you edit
Code:
/etc/ld.so.conf


puppy won't find your libraries and will not run your app.

Cheers
aragon

_________________
PUPPY SEARCH: http://wellminded.com/puppy/pupsearch.html
Back to top
View user's profile Send private message 
als123

Joined: 15 Jan 2009
Posts: 27

PostPosted: Thu 12 Feb 2009, 13:48    Post subject:  

Excellent information! Just a little add on...

for puppy 412 the line used should be cp -a --remove-destination ./* /mnt/home instead of cp -a --remove-destination ./* /mnt/hda2
Back to top
View user's profile Send private message 
sideburns

Joined: 27 Aug 2008
Posts: 56
Location: Freedonia

PostPosted: Sun 14 Jun 2009, 03:15    Post subject: Adding SFS at startup?  

I just downloaded your utility and used it to install OpenOffice 3. Alas, it doesn't show up in my menu, even after restarting JWM. What else do I have to do?
_________________
Registered Linux user #470359
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 2 of 2 [27 Posts]   Goto page: Previous 1, 2
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
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.0738s ][ Queries: 13 (0.0173s) ][ GZIP on ]