Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (5) </ 1 2 [3] 4 5 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Quick And Dirty .dsl Packages, How I create my dsl packages< Next Oldest | Next Newest >
clivesay Offline





Group: Guests
Posts: 935
Joined: Dec. 2003
Posted: June 25 2004,17:30 QUOTE

Thanks, tecker

I understand the menu concept. When I create the .dsl file I end up with /usr and /var. The first time, I added /tmp/mydsl.menu to the existing /var and created my menu in Scite and saved as "xtet42" in the mydsl.menu folder. When I booted up, ALL menu items showed up under MyDSL. My menu entry of "Tetris" was in the menu and did execute the program.

I looked at the ace of penguins .dsl and saw that there was just a tmp directory with the menu so I untarred my .dsl file and moved the /tmp/mydsl.menu directory to the "root" along with /usr and /var and repackaged. I booted up again and had the same result I described previously.

Maybe I need to unpack it again and look around. Maybe when I was trying to create the archive earlier without success a strange file was created or something.

I am having a ball learning how to do this so the problems don't phase me. The mydsl extensions are making this beginner feel like he is really doing something BIG!  :D

If anyone has any additional ideas, I would appreciate it!

Thanks

Chris
Back to top
Profile PM MSN YIM 
ke4nt1 Offline





Group: Members
Posts: 2329
Joined: Oct. 2003
Posted: June 25 2004,18:16 QUOTE

There are some changes to be made when creating a
menu addition to the mydsl menu..

See here...
http://damnsmalllinux.org/cgi-bin....3;st=50
and also 3-4 posts down the list from this first one...

Notably, making the /tmp directory "world  read/write/executable."
by using chmod 777 tmp before you tar your stuff,and
be sure that while 'root.root' owns the '/tmp' dir, both the
'mydsl.menu' dir, and the file within it are owned by damnsmall.staff
by using chown -R damnsmall.staff mydsl-menu/
...run this command from WITHIN your '/tmp' dir...

I always put '/tmp/mydsl.menu' off of '/' . I never place it under '/var' ..

It's usually best to put the FULL PATH in your menu file
for ex: '[exec] (axyFTP) {/usr/bin/axyftp}'
Case is important......

Even though I build my .dsl files under /home/damnsmall,
make sure your work directory and your work within it
is created while you are logged in your term or emelfm as root.

Hope it helps.. Mydsl-menus usually behave after these things
are checked and fixed.

73
ke4nt
Back to top
Profile PM 
clivesay Offline





Group: Guests
Posts: 935
Joined: Dec. 2003
Posted: June 26 2004,01:37 QUOTE

Your fix to the menu appears to be what I was missing. Everything installed flawlessly this time!!!

Thanks to both of you VERY much! In DSL style, I did go in and remove the documents. This is just a simple X Tetris game but I will send it to John to post in the repository. Someone might get use from it.

Thanks, again.

Chris
Back to top
Profile PM MSN YIM 
ke4nt1 Offline





Group: Members
Posts: 2329
Joined: Oct. 2003
Posted: June 26 2004,01:47 QUOTE

Count me in..

I look forward to seeing it in the repository...

Good work!

73
ke4nt
Back to top
Profile PM 
clivesay Offline





Group: Guests
Posts: 935
Joined: Dec. 2003
Posted: July 06 2004,02:38 QUOTE

Quick question for anyone who can help me. On the last three .dsl files I have tried to create I always get an error for a library file even though it is included.

For example, I am creating a .dsl for tuxpaint. I have all the files copied over and try to run the executable in /usr/bin.

I get an error

./tuxpaint: error while loading shared libraries: libSDL-1.2.so.0: cannot open shared object file: No such file or directory

When I look for libSDL-1.2.so.0 I find it in the /usr/lib directory.

BTW - I am trying to run the executable from within emelfm

Any ideas? Like I said I have had this same occurance on three different .dsl compilations. Thanks

Chris
Back to top
Profile PM MSN YIM 
23 replies since June 24 2004,19:24 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (5) </ 1 2 [3] 4 5 >/
reply to topic new topic new poll
Quick Reply: Quick And Dirty .dsl Packages

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code