Other Help Topics :: Quick And Dirty .dsl Packages



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

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

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

Count me in..

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

Good work!

73
ke4nt

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

Next Page...
original here.