September 04, 2013
On Wed, 04 Sep 2013 08:33:28 +0200
Jacob Carlborg <doob@me.com> wrote:

> On 2013-09-04 02:53, Nick Sabalausky wrote:
> 
> > The current status:
> > -----------------------
> > - OSX 10.7: Works fine. (At least it did last time I tried it, a couple weeks ago. It *could* have regressed but I won't have access to the machine again until maybe Sunday.)
> 
> I can test it on Mac OS X 10.8.

Great. :)

> Are you building a universal binary
> of the libraries?
> 

Yes.

> > - Debian 6 (32-bit OS): This tool isn't intended to support 32-bit OSes (since it must compile both 32-bit and 64-bit phobos), but it works fine up until it gets to the 64-bit stuff. If I manually comment out the 64-bit stuff, then everything else works fine.
> 
> Why don't you just version that out?
> 

I'm thinking I may just add --32-bit(-only) and --64-bit(-only)
switches.

> > - Debian 6 (64-bit OS): It fails when linking the 32-bit phobos
> >    complaining that it can't link with libcurl. I'm fairly certain
> > this is because I have no freaking idea how to install the 32-bit
> >    libcurl*-*-dev on a 64-bit Debian. (I *did* install
> >    "libcurl4-openssl-dev", but I'm pretty sure it only installed for
> >    64-bit. And I can't figure out how to get the 32-bit.)
> 
> Using "apt-get install package:architecture" as suggested here:
> 
> https://wiki.debian.org/Multiarch/HOWTO
> 
> Requires Debian 7.0 or later. For Debian 6, install the the packages "gcc-multilib" and "ia32-libs".
> 

I definitely have multilib on there since other stuff works 32-bit (like rdmd). It's just libcurl that I can't seem to get 32-bit or multilib.


> > - FreeBSD 9.1 (64-bit OS): No idea, I don't have access to a 64-bit
> >    FreeBSD machine, and my stupid Intel CPU lacks the ability to
> > run a 64-bit OS in a VM.
> 
> I can give you a help with this, if no one else beats me.
> 

Cool.


September 04, 2013
On Wed, 04 Sep 2013 09:16:38 +0200
Jacob Carlborg <doob@me.com> wrote:
> 
> A couple of issues/questions:
> 
> * Mac OS X uses "dylib" as the extension for dynamic libraries
> 

Thanks. Will fix.

> * On Mac OS X Xcode is required. It's possible to just download the command line tools but I don't think that has been verified to work
> 

I'll make a note in the docs section.

> * " --combine-zip (Posix-only) Combine all platform-specific archives
> in current directory into cross-platform zip archive.
> Cannot be used on Windows because the symlinks would be
> destroyed. Implies --skip-package."
> 
> Can't zip for Windows handle symlinks? Windows Vista (I think) and
> later supports symlinks.
> 

In an attempt to keep the platform differences as minimal as possible, I have it set up to automatically download and use Info-ZIP and 7zip on Windows, the same programs typically used on Posix. Unfortunately, these did not appear to handle symlinks correctly. Anyone know of one I could use that does?

> * The extra files should be put under version control
> 

I agree, and I did do that with some of them
(<https://github.com/Abscissa/installer/tree/create-zip/create_dmd_release/extras>).
But for other files I wasn't sure whether there might be any potential
rights/license issues, or issues with sticking binary files up on
github (my understanding is that git isn't particularly efficient with
binaries). So I didn't want to jump the gun on that unless we had an
official OK on all such files.

If any of those other files do get ok'ed for version control, then they
can simply be added to the proper OS subdirectory under
<https://github.com/Abscissa/installer/tree/create-zip/create_dmd_release/extras>
and it should "just work".

> * Does this builds a release for FreeBSD 64bit? If not, it should
> 

Actually, that's a good point, I have to double-check that. I don't remember adding any code to skip 64-bit on FreeBSD, *but* I was careful to make everything match the v2.063.2 release zip as closely as possible, so I might have omitted it under the assumption that "Well, this release zip doesn't have bin64 or lib64 for bsd, so I guess it's not considered ready for prime-time yet."

September 04, 2013
On Wed, 04 Sep 2013 10:01:02 +0200
Jacob Carlborg <doob@me.com> wrote:
> 
> Why are you using HTTPS when cloning and not SSH? If I'm not mistaken the latter is faster.
> 

I think I just copy-pasted it from somewhere. It is really better to do the "git@github.com:blah/blah.git"?

September 04, 2013
On Wed, 04 Sep 2013 10:01:28 +0200
Jacob Carlborg <doob@me.com> wrote:

> On 2013-09-04 02:53, Nick Sabalausky wrote:
> 
> > - OSX 10.7: Works fine. (At least it did last time I tried it, a couple weeks ago. It *could* have regressed but I won't have access to the machine again until maybe Sunday.)
> 
> As far as I can see, dmd.conf is missing. I used the following command:
> 
> ./create_dmd_release master --extras=./dmd-localextras/localextras-osx --archive-zip
> 
[...]
>When I unpack the generate zip none of the binaries have executable permission set.

Thanks, I'll check into both of those.

September 04, 2013
On 2013-09-04 13:01, Nick Sabalausky wrote:

>> Requires Debian 7.0 or later. For Debian 6, install the the packages
>> "gcc-multilib" and "ia32-libs".
>>
>
> I definitely have multilib on there since other stuff works 32-bit
> (like rdmd). It's just libcurl that I can't seem to get 32-bit or
> multilib.

I would be very surprised if libcurl isn't included in ia32-libs.

-- 
/Jacob Carlborg
September 04, 2013
On 2013-09-04 13:16, Nick Sabalausky wrote:

> Actually, that's a good point, I have to double-check that. I don't
> remember adding any code to skip 64-bit on FreeBSD, *but* I was careful
> to make everything match the v2.063.2 release zip as closely as
> possible, so I might have omitted it under the assumption that "Well,
> this release zip doesn't have bin64 or lib64 for bsd, so I guess it's
> not considered ready for prime-time yet."

The latest release of DMD for FreeBSD only includes 32bit binaries.

-- 
/Jacob Carlborg
September 04, 2013
On 2013-09-04 13:18, Nick Sabalausky wrote:

> I think I just copy-pasted it from somewhere. It is really better to do
> the "git@github.com:blah/blah.git"?

As far as I know, yes.

-- 
/Jacob Carlborg
September 04, 2013
On Wed, 04 Sep 2013 09:48:08 +0200
Jacob Carlborg <doob@me.com> wrote:
> 
> I would be nice if I could pass the "-j" flag to make, or if it could do that automatically. It can save quite a lot of time when compiling DMD.
> 

That's the "use X number of simultaneous processes" flag, right? Good idea, I'll add a -j flag and pass it through to make.

September 04, 2013
On Wednesday, 4 September 2013 at 11:23:53 UTC, Jacob Carlborg wrote:
> On 2013-09-04 13:18, Nick Sabalausky wrote:
>
>> I think I just copy-pasted it from somewhere. It is really better to do
>> the "git@github.com:blah/blah.git"?
>
> As far as I know, yes.

git:// is faster
https:// is less likely to be blocked by various firewalls and filters

Choice is yours :)
September 04, 2013
On Wed, 04 Sep 2013 13:21:06 +0200
Jacob Carlborg <doob@me.com> wrote:

> On 2013-09-04 13:01, Nick Sabalausky wrote:
> 
> >> Requires Debian 7.0 or later. For Debian 6, install the the packages "gcc-multilib" and "ia32-libs".
> >>
> >
> > I definitely have multilib on there since other stuff works 32-bit (like rdmd). It's just libcurl that I can't seem to get 32-bit or multilib.
> 
> I would be very surprised if libcurl isn't included in ia32-libs.
> 

Hmm, maybe I'm missing "ia32-libs" then. I'll check when I get a chance.