Thread overview
dwt and DWT
Feb 08, 2008
tytower
Feb 08, 2008
doob
Feb 08, 2008
Frank Benoit
Feb 11, 2008
Ty Tower
Feb 11, 2008
Ty Tower
Feb 11, 2008
doob
Feb 12, 2008
Ty Tower
Feb 12, 2008
doob
February 08, 2008
Hey Frank , I have downloaded both versions by the look of it and am trying to compile an example of grid layout to have a look . I get an error message as so :-
[tytower@linuxbox import]$ dmd ./test_gridlayout.d
/usr/bin/../src/phobos/std/c/windows/windows.d(12): static assert  is false

Obviously looking for Windows but I am on a Linux machine.
So this is where the examples are . Can I transfer the ".d" files to the Linux version and run them from there or have I git something all screwed up?
February 08, 2008
tytower wrote:
> Hey Frank , I have downloaded both versions by the look of it and am trying to compile an example of grid layout to have a look . I get an error message as so :-
> [tytower@linuxbox import]$ dmd ./test_gridlayout.d
> /usr/bin/../src/phobos/std/c/windows/windows.d(12): static assert  is false
> 
> Obviously looking for Windows but I am on a Linux machine.
> So this is where the examples are . Can I transfer the ".d" files to the Linux version and run them from there or have I git something all screwed up?

Something isn't right, either you downloaded the old DWT (port of SWT 3.0.2) that uses Phobos or you have Phobos and the new DWT (port of SWT  3.3) version uses Tango. Or you're using an example based on the old DWT port.
February 08, 2008
tytower schrieb:
> Hey Frank , I have downloaded both versions by the look of it and am trying to compile an example of grid layout to have a look . I get an error message as so :-
> [tytower@linuxbox import]$ dmd ./test_gridlayout.d
> /usr/bin/../src/phobos/std/c/windows/windows.d(12): static assert  is false
> 
> Obviously looking for Windows but I am on a Linux machine.
> So this is where the examples are . Can I transfer the ".d" files to the Linux version and run them from there or have I git something all screwed up?


Ty

First of all make sure which dwt you use. See my posting "DWT and all those projects".

If you want to use "dwt", it works on windows/phobos only. Then i am not your man. The "test_gridlayout.d" seems to be taken from this project. Because of that it also has dependencies to windows and phobos.

If you want to try the port I am working on, look for the projects dwt-win/dwt-linux. But they are both in very early stage. If this is your very first contact with D, the project is probably not mature enough to be useful for you.

Nevertheless, if you want to give it a try you need these:

1.) dmd 1.025 (not 1.026 nor 2.x)
2.) install tango and check if the tango examples are working.
3.) you need a build tool, not only the bare compiler. I use 'dsss' (v0.75) for all the stuff. Check if you can build tango examples with dsss.
4.) Checkout the sources with mercurial (hg clone/pull/update) dwt-win or dwt-linux and the dwt-samples
5.) in dwt-samples you can run "dsss build dwtexamples/helloworld/HelloWorld1.d".

I hope this helps.

Frank
February 11, 2008
Frank Benoit Wrote:
> Nevertheless, if you want to give it a try you need these:
> 
> 1.) dmd 1.025 (not 1.026 nor 2.x)
> 2.) install tango and check if the tango examples are working.
> 3.) you need a build tool, not only the bare compiler. I use 'dsss'
> (v0.75) for all the stuff. Check if you can build tango examples with dsss.
> 4.) Checkout the sources with mercurial (hg clone/pull/update) dwt-win
> or dwt-linux and the dwt-samples
> 5.) in dwt-samples you can run "dsss build
> dwtexamples/helloworld/HelloWorld1.d".
> 
> I hope this helps.
> 
> Frank
I did as above and renamed the directory dwt
then got the samples and put them into  dwt/dwtexamples
I tried to build them with dsss.build and got the following

[root@linuxbox dwt]# dsss build dwtexamples/helloworld/HelloWorld1.d
dwtexamples/helloworld/HelloWorld1.d => dwtexamples/helloworld/HelloWorld1
+ /usr/bin/rebuild -Idsss_imports/ -I. -S./ -I/usr/include/d -S/usr/lib/  -I/usr/include/d -S/usr/lib -I/root/d/include/d -S/root/d/lib  -oqdsss_objs/D -g -gc -debug dwtexamples/helloworld/HelloWorld1.d -ofdwtexamples/helloworld/HelloWorld1
dwtexamples/helloworld/HelloWorld1.d(14): module Display cannot read file 'dwt/widgets/Display.d'
Command /usr/bin/rebuild returned with code 256, aborting.
Error: Command failed, aborting.

so its looking for dwt/widgets/Dsplay.d  but I am in the dwt directory so I should be in the next directory up but when I try that I get

dwt/dwtexamples/helloworld/HelloWorld1.d => dwt/dwtexamples/helloworld/HelloWorld1
+ /usr/bin/rebuild -Idsss_imports/ -I. -S./ -I/usr/include/d -S/usr/lib/  -I/usr/include/d -S/usr/lib -I/root/d/include/d -S/root/d/lib  -oqdsss_objs/D  dwt/dwtexamples/helloworld/HelloWorld1.d -ofdwt/dwtexamples/helloworld/HelloWorld1

gcc dsss_objs/D/dwtexamples.helloworld.HelloWorld1.o dsss_objs/D/dwt.widgets.Display.o dsss_objs/D/dwt.DWT.o dsss_objs/D/dwt.internal.Compatibility.o dsss_objs/D/dwt.dwthelper.FileInputStream.o dsss_objs/D/dwt.dwthelper.utils.o dsss_objs/D/dwt.dwthelper.System.o dsss_objs/D/tango.time.Clock.o dsss_objs/D/tango.time.Time.o dsss_objs/D/tango.sys.Common.o dsss_objs/D/tango.sys.linux.linux.o dsss_objs/D/tango.stdc.time.o dsss_objs/D/tango.stdc.config.o dsss_objs/D/tango.stdc.stddef.o dsss_objs/D/tango.stdc.posix.dlfcn.o dsss_objs/D/tango.stdc.posix.config.o dsss_objs/D/tango.stdc.posix.fcntl.o dsss_objs/D/tango.stdc.stdint.o dsss_objs/D/tango.stdc.posix.sys.types.o dsss_objs/D/tango.stdc.posix.sys.stat.o dsss_objs/D/tango.stdc.posix.time.o dsss_objs/D/tango.stdc.posix.signal.o dsss_objs/D/tango.stdc.signal.o dsss_objs/D/tango.stdc.posix.poll.o dsss_objs/D/tango.stdc.posix.pwd.o dsss_objs/D/tango.stdc.posix.unistd.o dsss_objs/D/tango.stdc.posix.inttypes.o dsss_objs/D/tango.stdc.inttypes.o dsss_objs/D/tango.stdc.posix.sys.select.o dsss_objs/D/tango.stdc.posix.sys.time.o dsss_objs/D/tango.sys.linux.epoll.o dsss_objs/D/tango.stdc.errno.o dsss_objs/D/tango.stdc.string.o dsss_objs/D/tango.io.Stdout.o dsss_objs/D/tango.io.Print.o dsss_objs/D/tango.io.model.IBuffer.o dsss_objs/D/tango.io.model.IConduit.o dsss_objs/D/tango.text.convert.Layout.o dsss_objs/D/tango.text.convert.Utf.o dsss_objs/D/tango.text.convert.Float.o dsss_objs/D/tango.text.convert.Integer.o dsss_objs/D/tango.io.Console.o dsss_objs/D/tango.io.Buffer.o dsss_objs/D/tango.io.DeviceConduit.o dsss_objs/D/tango.io.Conduit.o dsss_objs/D/tango.text.Unicode.o dsss_objs/D/tango.text.UnicodeData.o dsss_objs/D/tango.stdc.stdlib.o dsss_objs/D/dwt.dwthelper.File.o dsss_objs/D/tango.io.FileConst.o dsss_objs/D/tango.io.FilePath.o dsss_objs/D/tango.stdc.stdio.o dsss_objs/D/tango.stdc.stdarg.o dsss_objs/D/tango.stdc.posix.utime.o dsss_objs/D/tango.stdc.posix.dirent.o dsss_objs/D/tango.io.FileSystem.o dsss_objs/D/dwt.dwthelper.InputStream.o dsss_objs/D/tango.io.FileConduit.o dsss_objs/D/tango.io.protocol.Reader.o dsss_objs/D/tango.io.protocol.model.IReader.o dsss_objs/D/tango.io.protocol.model.IProtocol.o dsss_objs/D/tango.text.convert.Format.o dsss_objs/D/dwt.dwthelper.FileOutputStream.o dsss_objs/D/dwt.dwthelper.OutputStream.o dsss_objs/D/dwt.dwthelper.InflaterInputStream.o dsss_objs/D/tango.io.compress.ZlibStream.o dsss_objs/D/tango.io.compress.c.zlib.o dsss_objs/D/tango.stdc.stringz.o dsss_objs/D/tango.math.Math.o dsss_objs/D/tango.stdc.math.o dsss_objs/D/tango.math.IEEE.o dsss_objs/D/tango.sys.Process.o dsss_objs/D/tango.sys.Pipe.o dsss_objs/D/tango.text.Util.o dsss_objs/D/tango.stdc.posix.sys.wait.o dsss_objs/D/dwt.internal.Library.o dsss_objs/D/tango.util.Convert.o dsss_objs/D/tango.core.Traits.o dsss_objs/D/tango.core.Tuple.o dsss_objs/D/tango.text.Ascii.o dsss_objs/D/dwt.internal.Platform.o dsss_objs/D/dwt.internal.Lock.o dsss_objs/D/tango.stdc.posix.semaphore.o dsss_objs/D/tango.stdc.posix.pthread.o dsss_objs/D/tango.stdc.posix.sched.o dsss_objs/D/tango.stdc.posix.sys.mman.o dsss_objs/D/tango.stdc.posix.stdlib.o dsss_objs/D/tango.core.sync.Mutex.o dsss_objs/D/tango.core.sync.Condition.o dsss_objs/D/tango.core.sync.Config.o dsss_objs/D/dwt.DWTError.o dsss_objs/D/dwt.DWTException.o dsss_objs/D/dwt.graphics.Color.o dsss_objs/D/dwt.internal.gtk.OS.o dsss_objs/D/tango.stdc.locale.o dsss_objs/D/dwt.internal.c.gtk.o dsss_objs/D/dwt.internal.c.atk.o dsss_objs/D/dwt.internal.c.glib_object.o dsss_objs/D/dwt.internal.c.cairo.o dsss_objs/D/dwt.internal.c.pango.o dsss_objs/D/dwt.internal.c.gdk.o dsss_objs/D/dwt.internal.c.gdkx.o dsss_objs/D/dwt.internal.c.Xlib.o dsss_objs/D/dwt.internal.c.Xutil.o dsss_objs/D/dwt.internal.c.pangocairo.o dsss_objs/D/dwt.internal.c.gtk_unix_print_2_0.o dsss_objs/D/dwt.internal.c.XTest.o dsss_objs/D/dwt.internal.c.XInput.o dsss_objs/D/dwt.internal.c.Xrender.o dsss_objs/D/dwt.graphics.Resource.o dsss_objs/D/dwt.graphics.Device.o dsss_objs/D/dwt.graphics.Font.o dsss_objs/D/dwt.graphics.FontData.o dsss_objs/D/dwt.internal.Converter.o dsss_objs/D/dwt.graphics.Drawable.o dsss_objs/D/dwt.graphics.GCData.o dsss_objs/D/dwt.graphics.Pattern.o dsss_objs/D/dwt.graphics.GC.o dsss_objs/D/dwt.graphics.Image.o dsss_objs/D/dwt.internal.cairo.Cairo.o dsss_objs/D/dwt.internal.c.cairo_xlib.o dsss_objs/D/dwt.internal.c.cairo_ps.o dsss_objs/D/dwt.internal.c.cairo_pdf.o dsss_objs/D/dwt.graphics.ImageData.o dsss_objs/D/dwt.graphics.PaletteData.o dsss_objs/D/dwt.graphics.RGB.o dsss_objs/D/dwt.internal.SerializableCompatibility.o dsss_objs/D/dwt.graphics.ImageDataLoader.o dsss_objs/D/dwt.graphics.ImageLoader.o dsss_objs/D/dwt.graphics.ImageLoaderListener.o dsss_objs/D/dwt.graphics.ImageLoaderEvent.o dsss_objs/D/dwt.internal.DWTEventObject.o dsss_objs/D/dwt.internal.DWTEventListener.o dsss_objs/D/dwt.internal.image.FileFormat.o dsss_objs/D/dwt.internal.image.LEDataInputStream.o dsss_objs/D/dwt.internal.image.LEDataOutputStream.o dsss_objs/D/dwt.internal.image.GIFFileFormat.o dsss_objs/D/dwt.internal.image.LZWCodec.o dsss_objs/D/dwt.internal.image.LZWNode.o dsss_objs/D/dwt.internal.image.WinBMPFileFormat.o dsss_objs/D/dwt.graphics.Point.o dsss_objs/D/dwt.dwthelper.ByteArrayOutputStream.o dsss_objs/D/dwt.internal.image.WinICOFileFormat.o dsss_objs/D/dwt.internal.image.TIFFFileFormat.o dsss_objs/D/dwt.internal.image.TIFFRandomFileAccess.o dsss_objs/D/dwt.internal.image.TIFFDirectory.o dsss_objs/D/dwt.internal.image.TIFFModifiedHuffmanCodec.o dsss_objs/D/dwt.dwthelper.Integer.o dsss_objs/D/dwt.internal.image.OS2BMPFileFormat.o dsss_objs/D/dwt.internal.image.JPEGFileFormat.o dsss_objs/D/dwt.internal.image.JPEGFrameHeader.o dsss_objs/D/dwt.internal.image.JPEGVariableSizeSegment.o dsss_objs/D/dwt.internal.image.JPEGSegment.o dsss_objs/D/dwt.internal.image.JPEGScanHeader.o dsss_objs/D/dwt.internal.image.JPEGHuffmanTable.o dsss_objs/D/dwt.internal.image.JPEGAppn.o dsss_objs/D/dwt.internal.image.JPEGComment.o dsss_objs/D/dwt.internal.image.JPEGArithmeticConditioningTable.o dsss_objs/D/dwt.internal.image.JPEGRestartInterval.o dsss_objs/D/dwt.internal.image.JPEGFixedSizeSegment.o dsss_objs/D/dwt.internal.image.JPEGQuantizationTable.o dsss_objs/D/dwt.internal.image.JPEGStartOfImage.o dsss_objs/D/dwt.internal.image.JPEGDecoder.o dsss_objs/D/dwt.internal.image.JPEGEndOfImage.o dsss_objs/D/dwt.internal.image.PNGFileFormat.o dsss_objs/D/dwt.internal.image.PngIhdrChunk.o dsss_objs/D/dwt.internal.image.PngFileReadState.o dsss_objs/D/dwt.internal.image.PngChunk.o dsss_objs/D/dwt.internal.image.PngPlteChunk.o dsss_objs/D/dwt.internal.image.PngIdatChunk.o dsss_objs/D/dwt.internal.image.PngIendChunk.o dsss_objs/D/dwt.internal.image.PngTrnsChunk.o dsss_objs/D/dwt.internal.image.PngChunkReader.o dsss_objs/D/dwt.internal.image.PngEncoder.o dsss_objs/D/dwt.internal.image.PngDeflater.o dsss_objs/D/dwt.internal.image.PngInputStream.o dsss_objs/D/dwt.internal.image.PngDecodingDataStream.o dsss_objs/D/dwt.internal.image.PngLzBlockReader.o dsss_objs/D/dwt.internal.image.PngHuffmanTables.o dsss_objs/D/dwt.internal.image.PngHuffmanTable.o dsss_objs/D/dwt.dwthelper.BufferedInputStream.o dsss_objs/D/tango.core.Array.o dsss_objs/D/dwt.internal.CloneableCompatibility.o dsss_objs/D/dwt.graphics.Rectangle.o dsss_objs/D/dwt.graphics.FontMetrics.o dsss_objs/D/dwt.graphics.Path.o dsss_objs/D/dwt.graphics.PathData.o dsss_objs/D/dwt.graphics.Region.o dsss_objs/D/dwt.graphics.Transform.o dsss_objs/D/dwt.graphics.LineAttributes.o dsss_objs/D/dwt.graphics.DeviceData.o dsss_objs/D/dwt.dwthelper.Runnable.o dsss_objs/D/dwt.graphics.Cursor.o dsss_objs/D/dwt.internal.LONG.o dsss_objs/D/dwt.widgets.Caret.o dsss_objs/D/dwt.widgets.Widget.o dsss_objs/D/dwt.events.DisposeListener.o dsss_objs/D/dwt.events.DisposeEvent.o dsss_objs/D/dwt.widgets.Event.o dsss_objs/D/dwt.events.TypedEvent.o dsss_objs/D/dwt.widgets.EventTable.o dsss_objs/D/dwt.widgets.Listener.o dsss_objs/D/dwt.widgets.TypedListener.o dsss_objs/D/dwt.events.ArmEvent.o dsss_objs/D/dwt.events.ArmListener.o dsss_objs/D/dwt.events.ControlEvent.o dsss_objs/D/dwt.events.ControlListener.o dsss_objs/D/dwt.events.DragDetectEvent.o dsss_objs/D/dwt.events.MouseEvent.o dsss_objs/D/dwt.events.DragDetectListener.o dsss_objs/D/dwt.events.ExpandEvent.o dsss_objs/D/dwt.events.SelectionEvent.o dsss_objs/D/dwt.events.ExpandListener.o dsss_objs/D/dwt.events.FocusEvent.o dsss_objs/D/dwt.events.FocusListener.o dsss_objs/D/dwt.events.HelpEvent.o dsss_objs/D/dwt.events.HelpListener.o dsss_objs/D/dwt.events.KeyEvent.o dsss_objs/D/dwt.events.KeyListener.o dsss_objs/D/dwt.events.MenuEvent.o dsss_objs/D/dwt.events.MenuListener.o dsss_objs/D/dwt.events.MenuDetectEvent.o dsss_objs/D/dwt.events.MenuDetectListener.o dsss_objs/D/dwt.events.ModifyEvent.o dsss_objs/D/dwt.events.ModifyListener.o dsss_objs/D/dwt.events.MouseListener.o dsss_objs/D/dwt.events.MouseMoveListener.o dsss_objs/D/dwt.events.MouseTrackListener.o dsss_objs/D/dwt.events.MouseWheelListener.o dsss_objs/D/dwt.events.PaintEvent.o dsss_objs/D/dwt.events.PaintListener.o dsss_objs/D/dwt.events.SelectionListener.o dsss_objs/D/dwt.events.ShellEvent.o dsss_objs/D/dwt.events.ShellListener.o dsss_objs/D/dwt.events.TraverseEvent.o dsss_objs/D/dwt.events.TraverseListener.o dsss_objs/D/dwt.events.TreeEvent.o dsss_objs/D/dwt.events.TreeListener.o dsss_objs/D/dwt.events.VerifyEvent.o dsss_objs/D/dwt.events.VerifyListener.o dsss_objs/D/dwt.widgets.Canvas.o dsss_objs/D/dwt.widgets.Composite.o dsss_objs/D/dwt.widgets.Control.o dsss_objs/D/dwt.internal.accessibility.gtk.ATK.o dsss_objs/D/dwt.widgets.Decorations.o dsss_objs/D/dwt.widgets.Menu.o dsss_objs/D/dwt.widgets.ImageList.o dsss_objs/D/dwt.widgets.MenuItem.o dsss_objs/D/dwt.widgets.Item.o dsss_objs/D/dwt.widgets.Shell.o dsss_objs/D/dwt.widgets.Layout.o dsss_objs/D/dwt.widgets.Monitor.o dsss_objs/D/dwt.widgets.Button.o dsss_objs/D/dwt.accessibility.Accessible.o dsss_objs/D/dwt.accessibility.AccessibleListener.o dsss_objs/D/dwt.accessibility.AccessibleEvent.o dsss_objs/D/dwt.accessibility.AccessibleTextListener.o dsss_objs/D/dwt.accessibility.AccessibleTextEvent.o dsss_objs/D/dwt.accessibility.AccessibleControlListener.o dsss_objs/D/dwt.accessibility.AccessibleControlEvent.o dsss_objs/D/dwt.accessibility.AccessibleFactory.o dsss_objs/D/dwt.accessibility.ACC.o dsss_objs/D/dwt.accessibility.AccessibleObject.o dsss_objs/D/dwt.widgets.Scrollable.o dsss_objs/D/dwt.widgets.ScrollBar.o dsss_objs/D/dwt.widgets.Synchronizer.o dsss_objs/D/dwt.widgets.RunnableLock.o dsss_objs/D/dwt.widgets.Tray.o dsss_objs/D/dwt.widgets.TrayItem.o dsss_objs/D/dwt.widgets.ToolTip.o dsss_objs/D/tango.util.PathUtil.o -o dwt/dwtexamples/helloworld/HelloWorld1 -m32 -Xlinker --start-group -lphobos -lcairo -lglib-2.0 -ldl -lgmodule-2.0 -lgobject-2.0 -lpango-1.0 -lXfixes -lX11 -lXdamage -lXcomposite -lXcursor -lXrandr -lXi -lXinerama -lXrender -lXext -lXtst -lfontconfig -lpangocairo-1.0 -lgthread-2.0 -lgdk_pixbuf-2.0 -latk-1.0 -lgdk-x11-2.0 -lgtk-x11-2.0 -Xlinker -L./ -Xlinker -L/usr/lib/ -Xlinker -L/usr/lib -Xlinker -L/root/d/lib -Xlinker -L/usr/bin/../lib -ltango-user-dmd -ltangobos -Xlinker -L/usr/bin/../lib -ltango-user-dmd -ltangobos -ltango-base-dmd -lpthread -lm
/usr/lib/gcc/i586-mandriva-linux-gnu/4.1.2/../../../libphobos.a(linux.o):(.data+0x0): multiple definition of `MAP_FAILED'
dsss_objs/D/tango.stdc.posix.sys.mman.o:(.data+0x1c): first defined here
/usr/lib/gcc/i586-mandriva-linux-gnu/4.1.2/../../../libphobos.a(linux.o):(.data+0x4): multiple definition of `FD_SETSIZE'
dsss_objs/D/tango.stdc.posix.sys.select.o:(.data+0x4): first defined here
/usr/lib/gcc/i586-mandriva-linux-gnu/4.1.2/../../../libphobos.a(linux.o):(.data+0xc): multiple definition of `RTLD_NOW'
dsss_objs/D/tango.stdc.posix.dlfcn.o:(.data+0x4): first defined here
/usr/lib/gcc/i586-mandriva-linux-gnu/4.1.2/../../../libphobos.a(linux.o):(.data+0x10): multiple definition of `_SIGSET_NWORDS'
dsss_objs/D/tango.stdc.posix.signal.o:(.data+0x40): first defined here
/usr/bin/ld: cannot find -lXdamage
collect2: ld returned 1 exit status
--- errorlevel 1
Command /usr/bin/rebuild returned with code 65280, aborting. Error: Command failed, aborting.

Sorry about the volume but it might tell you something
I don't ask you to lead me by the nose but I figure if something is not easy to get to nobody will bother helping you
February 11, 2008
Now I also note that doing it this way made the dsss-objects file in the same directory which contains  dwt. Not inside the dwt directory where I assume they should be .
So I moved them there -hope thats the right thing to do.
February 11, 2008
Ty Tower wrote:
> Frank Benoit Wrote:
>> Nevertheless, if you want to give it a try you need these:
>>
>> 1.) dmd 1.025 (not 1.026 nor 2.x)
>> 2.) install tango and check if the tango examples are working.
>> 3.) you need a build tool, not only the bare compiler. I use 'dsss' (v0.75) for all the stuff. Check if you can build tango examples with dsss.
>> 4.) Checkout the sources with mercurial (hg clone/pull/update) dwt-win or dwt-linux and the dwt-samples
>> 5.) in dwt-samples you can run "dsss build dwtexamples/helloworld/HelloWorld1.d".
>>
>> I hope this helps.
>>
>> Frank
> I did as above and renamed the directory dwt
> then got the samples and put them into  dwt/dwtexamples
> I tried to build them with dsss.build and got the following
> 

I would add before 5:

in dwt-linux or dwt-win run "dsss build" and "dsss install"
then number 5. Don't rename anything.
February 12, 2008
doob Wrote:

> 
> I would add before 5:
> 
> in dwt-linux or dwt-win run "dsss build" and "dsss install" then number 5. Don't rename anything.

doob - if I don't rename "dwt-linux"  to "dwt" then nothing is found . Package names are   "dwt.whatever"
February 12, 2008
Ty Tower wrote:
> doob Wrote:
> 
>> I would add before 5:
>>
>> in dwt-linux or dwt-win run "dsss build" and "dsss install"
>> then number 5. Don't rename anything.
> 
> doob - if I don't rename "dwt-linux"  to "dwt" then nothing is found .
> Package names are   "dwt.whatever"

"dwt-linux" should contain "dwt" and if you run "dsss install" after "dsss build" in dwt-linux then it shouldn't be any problem because dwt is installed in your dsss folder, but if you don't want that then that's another thing.