digitalmars.D.learn - DWT Cloning / Build fails
- Chris (8/8) Apr 12 2016 This doesn't work:
- Jacob Carlborg (10/16) Apr 12 2016 What errors to you get? This should work unless you have a really old
- Chris (32/39) Apr 13 2016 On Tuesday, 12 April 2016 at 19:20:44 UTC, Jacob Carlborg wrote:
- Jesse Phillips (6/13) Apr 13 2016 Looks like your firewall is blocking the git protocol.
- Jacob Carlborg (4/8) Apr 13 2016 Updated to use HTTPS for the submodules.
- Chris (3/13) Apr 14 2016 Thanks! It worked for me now, both cloning and building. I'm
- Chris (17/17) Apr 14 2016 For the record, on my Linux (Ubuntu 15), I had to tweak the
- Jacob Carlborg (5/7) Apr 14 2016 I added `-L-lgnomevfs-2 to the example. I need to look into way the ".a"...
- Chris (2/8) Apr 15 2016 Yeah, it's strange alright. I was surprised that I had to add it.
This doesn't work: $ git clone --recursive git://github.com/d-widget-toolkit/dwt.git $ git clone --recursive https://github.com/d-widget-toolkit/dwt.git (cf. https://github.com/d-widget-toolkit/dwt) If I just download the master or clone without `--recursive`, files are missing and I cannot compile it. Does anyone know what I'm doing wrong?
Apr 12 2016
On 2016-04-12 17:32, Chris wrote:This doesn't work: $ git clone --recursive git://github.com/d-widget-toolkit/dwt.git $ git clone --recursive https://github.com/d-widget-toolkit/dwt.git (cf. https://github.com/d-widget-toolkit/dwt)What errors to you get? This should work unless you have a really old version of Git. Seems like the --recursive flag was added in Git 1.6.5 [1].If I just download the master or clone without `--recursive`, files are missing and I cannot compile it.The download doesn't contain submodules. If you clone without "--recursive" you can to run "git submodule update --init" after you have cloned the project. [1] http://stackoverflow.com/questions/3796927/how-to-git-clone-including-submodules -- /Jacob Carlborg
Apr 12 2016
On Tuesday, 12 April 2016 at 19:20:44 UTC, Jacob Carlborg wrote: The error messages are below. If I do it step by step (without --recursive) and then "git submodule update --init", I get more or less the same error: Cloning into 'base'... fatal: unable to connect to github.com: github.com[0: 192.30.252.130]: errno=Connection refused I use `git 2.5.0` There's always something with github, isn't there?On 2016-04-12 17:32, Chris wrote:Error: git clone --recursive git://github.com/d-widget-toolkit/dwt.git Cloning into 'dwt'... fatal: unable to connect to github.com: github.com[0: 192.30.252.123]: errno=Connection refusedThis doesn't work: $ git clone --recursive git://github.com/d-widget-toolkit/dwt.gitCloning into 'dwt'... remote: Counting objects: 119, done. remote: Total 119 (delta 0), reused 0 (delta 0), pack-reused 119 Receiving objects: 100% (119/119), 75.20 KiB | 0 bytes/s, done. Resolving deltas: 100% (54/54), done. Checking connectivity... done. Submodule 'base' (git://github.com/d-widget-toolkit/base.git) registered for path 'base' Submodule 'org.eclipse.swt.gtk.linux.x86' (git://github.com/d-widget-toolkit/org.eclipse.swt.gtk.linux.x86.git) registered for path 'org.eclipse.swt.gtk.linux.x86' Submodule 'org.eclipse.swt.snippets' (git://github.com/d-widget-toolkit/org.eclipse.swt.snippets.git) registered for path 'org.eclipse.swt.snippets' Submodule 'org.eclipse.swt.win32.win32.x86' (git://github.com/d-widget-toolkit/org.eclipse.swt.win32.win32.x86.git) registered for path 'org.eclipse.swt.win32.win32.x86' Cloning into 'base'... fatal: unable to connect to github.com: github.com[0: 192.30.252.123]: errno=Connection refused$ git clone --recursive https://github.com/d-widget-toolkit/dwt.git
Apr 13 2016
On Wednesday, 13 April 2016 at 09:01:47 UTC, Chris wrote:On Tuesday, 12 April 2016 at 19:20:44 UTC, Jacob Carlborg wrote: The error messages are below. If I do it step by step (without --recursive) and then "git submodule update --init", I get more or less the same error: Cloning into 'base'... fatal: unable to connect to github.com: github.com[0: 192.30.252.130]: errno=Connection refusedLooks like your firewall is blocking the git protocol. Checkout dwt without --recursive Modify the .gitmodules file so that https:// urls are used instead of git Run the git submodule update --init
Apr 13 2016
On 2016-04-13 17:23, Jesse Phillips wrote:Looks like your firewall is blocking the git protocol. Checkout dwt without --recursive Modify the .gitmodules file so that https:// urls are used instead of git Run the git submodule update --initUpdated to use HTTPS for the submodules. -- /Jacob Carlborg
Apr 13 2016
On Wednesday, 13 April 2016 at 18:50:22 UTC, Jacob Carlborg wrote:On 2016-04-13 17:23, Jesse Phillips wrote:Thanks! It worked for me now, both cloning and building. I'm looking forward to testing it.Looks like your firewall is blocking the git protocol. Checkout dwt without --recursive Modify the .gitmodules file so that https:// urls are used instead of git Run the git submodule update --initUpdated to use HTTPS for the submodules.
Apr 14 2016
For the record, on my Linux (Ubuntu 15), I had to tweak the command for the example: dmd main.d -I<dwt>/imp -J<dwt>/org.eclipse.swt.gtk.linux.x86/res -L-L<dwt>/lib \ -L-l:org.eclipse.swt.gtk.linux.x86.a \ -L-l:dwt-base.a -L-lgtk-x11-2.0 -L-lgdk-x11-2.0 -L-latk-1.0 -L-lgdk_pixbuf-2.0 \ -L-lgthread-2.0 -L-lpangocairo-1.0 -L-lfontconfig -L-lXtst -L-lXext -L-lXrender \ -L-lXinerama -L-lXi -L-lXrandr -L-lXcursor -L-lXcomposite -L-lXdamage -L-lX11 \ -L-lXfixes -L-lpango-1.0 -L-lgobject-2.0 -L-lgmodule-2.0 -L-lgnomevfs-2 -L-ldl -L-lglib-2.0 \ -L-lcairo -L-lgnomeui-2 I had to add ".a" to `-L-l:dwt-base` and `-L-l:org.eclipse.swt.gtk.linux.x86`, and add `-L-lgnomevfs-2` as well.
Apr 14 2016
On 2016-04-14 15:56, Chris wrote:I had to add ".a" to `-L-l:dwt-base` and `-L-l:org.eclipse.swt.gtk.linux.x86`, and add `-L-lgnomevfs-2` as well.I added `-L-lgnomevfs-2 to the example. I need to look into way the ".a" was needed. -- /Jacob Carlborg
Apr 14 2016
On Thursday, 14 April 2016 at 19:16:30 UTC, Jacob Carlborg wrote:On 2016-04-14 15:56, Chris wrote:Yeah, it's strange alright. I was surprised that I had to add it.I had to add ".a" to `-L-l:dwt-base` and `-L-l:org.eclipse.swt.gtk.linux.x86`, and add `-L-lgnomevfs-2` as well.I added `-L-lgnomevfs-2 to the example. I need to look into way the ".a" was needed.
Apr 15 2016