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: (9) </ 1 [2] 3 4 5 6 7 ... >/

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

reply to topic new topic new poll
Topic: deb2dsl script testers needed, convert simple deb packages to dsl's< Next Oldest | Next Newest >
clacker Offline





Group: Members
Posts: 570
Joined: June 2004
Posted: July 06 2004,17:52 QUOTE

I tried to run it as follows:

<ran dsl-dpkg.dsl from emelfm>
sudo su
apt-get install xgalaga
exit
bash deb2dsl.sh

  and I got this error:

: command not found:
: command not found:
'eb2dsl.sh: line 49: syntax error near unexpected token `do
'eb2dsl.sh: line 49" `for i in $( ls $HOME/*.deb ); do


I'm running the latest release of DSL, and did nothing else before issuing those commands.
Back to top
Profile PM 
clivesay Offline





Group: Guests
Posts: 935
Joined: Dec. 2003
Posted: July 06 2004,18:07 QUOTE

Just tried again from home during lunch.

I get the exact same result. I enable apt, go into sources to uncomment the mirrors I need for tuxpaint, update apt, install tuxpaint, copy the script to scite, save as deb2dsl, chmod 755 deb2dsl, run ./deb2dsl.

Chris
Back to top
Profile PM MSN YIM 
cbagger01 Offline





Group: Members
Posts: 4264
Joined: Oct. 2003
Posted: July 06 2004,22:02 QUOTE

OK, I'm stumped.

I'll have to try and duplicate your use case, step by step, when I get home and see if I can figure out what is the problem.

The more details that you can provide, the better. I already have enough information to give it a first try.
Back to top
Profile PM 
clacker Offline





Group: Members
Posts: 570
Joined: June 2004
Posted: July 06 2004,22:25 QUOTE

I noticed that my cut and paste bash file looked OK in scite, but in nVi it had a lot of ^M characters at the end of lines.  These were no visible in the scite editor.  Could that be the there is something funny happening at the end of the lines when you cut and paste from the web page?
Back to top
Profile PM 
cbagger01 Offline





Group: Members
Posts: 4264
Joined: Oct. 2003
Posted: July 07 2004,10:46 QUOTE

OK,

Here are the details for my successful test:

(1) I booted base DSL from livecd.
(2) I enabled apt by choosing Apps -> Tools -> Enable Apt
(3) I opened an Xterminal by choosing XShells -> Rxvt Dark
(4) Inside the Xterminal window, I typed in:

sudo su
apt-get install xgalaga
exit

(5)  I then tried unsuccessfully to copy and paste the script into scite using both dillo and glinks.  So I installed Firefox.
(6)  I then used Firefox to copy and paste the script using the following method:  I highlighted the script by holding down the left mouse button and dragging the pointer over the "code sample" script window.  I then switched over to Scite and pushed my middle mouse button (it is a combination scroll wheel and middle button) to paste the script into scite. I then saved the script as "deb2dsl"
(7)  Inside the xterminal, I typed in the following:

chmod 755 deb2dsl
./deb2dsl

(8)  The script then runs.  I type in "xgalaga.dsl" for the package name, "xgalaga" for the menu name and "/usr/games/xgalaga" for the program name.
(9) The script ends and I have a new xgalaga.dsl file in my home directory.

I then saved the xgalaga file to my hard disk and rebooted. I opened emelfm, mounted my hard drive partition, selected xgalaga.dsl and pushed the "myDSL" button.  After the 'end of output' message appeared in the emelfm window, I checked my menu and xgalaga was there.  I tried it out and it works.

See if you can duplicate these steps and produce the same results.

Good Luck.
Back to top
Profile PM 
43 replies since July 06 2004,05:32 < Next Oldest | Next Newest >

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

Pages: (9) </ 1 [2] 3 4 5 6 7 ... >/
reply to topic new topic new poll
Quick Reply: deb2dsl script testers needed

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