<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 1/21/14, 4:28 AM, Jordi Sayol wrote:<br>
</div>
<blockquote cite="mid:52DE3DA2.400@yahoo.es" type="cite">
<pre wrap="">El 21/01/14 00:17, Martin Nowak ha escrit:
</pre>
<blockquote type="cite">
<pre wrap="">On 01/20/2014 02:47 AM, Jordi Sayol wrote:
</pre>
<blockquote type="cite">
<pre wrap="">If correctly compiles, Debian 6.0.? should be the best option. The second one would be Debian 7.?
</pre>
</blockquote>
<pre wrap="">OK, done.
<a class="moz-txt-link-freetext" href="https://github.com/MartinNowak/installer/commit/b64ddfefd9cd6a773cb32d1cdd7acde68eb353c9">https://github.com/MartinNowak/installer/commit/b64ddfefd9cd6a773cb32d1cdd7acde68eb353c9</a>
<a class="moz-txt-link-freetext" href="http://dlang.dawg.eu/download/dmd.v2.065-b1.zip">http://dlang.dawg.eu/download/dmd.v2.065-b1.zip</a> <a class="moz-txt-link-rfc2396E" href="https://github.com/MartinNowak/installer/commit/b64ddfefd9cd6a773cb32d1cdd7acde68eb353c9"><https://github.com/MartinNowak/installer/commit/b64ddfefd9cd6a773cb32d1cdd7acde68eb353c9></a>
sha1 bd4ce088e9f20d04023dccdd2ec7b170e7f2cea0
</pre>
</blockquote>
<pre wrap="">
Fixed, thanks!
There is another big problem. dmd do not read "/etc/dmd.conf"
----
$ dmd -run hello_world.d
Error: cannot find source code for runtime library file 'object.d'
dmd might not be correctly installed. Run 'dmd -man' for installation instructions.
Specify path to file 'object.d' with -I switch
----
If I add the same flags from "/etc/dmd.conf" on dmd command line, it works.
----
$ dmd -I/usr/include/dmd/phobos -I/usr/include/dmd/druntime/import -run hello_world.d
Hello World!
----
</pre>
</blockquote>
Jordi, need you to mod tools to accept beta naming convention. Using
create_dmd_release the pkg created for beta 1 is:<br>
<br>
dmd.v2.065-b1.zip<br>
<br>
Presently scripts in installer/linux/ do not recognize this format.
Initial progress was made changing following lines:<br>
<br>
<a class="moz-txt-link-freetext" href="https://github.com/D-Programming-Language/installer/blob/master/linux/build_all.sh#L92">https://github.com/D-Programming-Language/installer/blob/master/linux/build_all.sh#L92</a><br>
<a class="moz-txt-link-freetext" href="https://github.com/D-Programming-Language/installer/blob/master/linux/dmd_deb.sh#L49">https://github.com/D-Programming-Language/installer/blob/master/linux/dmd_deb.sh#L49</a><br>
<a class="moz-txt-link-freetext" href="https://github.com/D-Programming-Language/installer/blob/master/linux/dmd_phobos.sh#L49">https://github.com/D-Programming-Language/installer/blob/master/linux/dmd_phobos.sh#L49</a><br>
<a class="moz-txt-link-freetext" href="https://github.com/D-Programming-Language/installer/blob/master/linux/dmd_rpm.sh#L49">https://github.com/D-Programming-Language/installer/blob/master/linux/dmd_rpm.sh#L49</a><br>
<br>
to read:<br>
<br>
<span class="k">if</span> ! <span class="o">[[</span> <span
class="nv">$VER</span> <span class="o">=</span>~ ^<span class="o">[</span>0-9<span
class="o">]</span><span class="s2">"."</span><span class="o">[</span>0-9<span
class="o">][</span>0-9<span class="o">][</span>0-9<span class="o">]</span><span
class="nv">$ </span><span class="o">||</span> <span class="nv">$VER</span>
<span class="o">=</span>~ ^<span class="o">[</span>0-9<span
class="o">]</span><span class="s2">"."</span><span class="o">[</span>0-9<span
class="o">][</span>0-9<span class="o">][</span>0-9<span class="o">]"-b"[0-9]</span><span
class="nv">$ </span><span class="o">||</span> <span class="nv">$VER</span>
<span class="o">=</span>~ ^<span class="o">[</span>0-9<span
class="o">]</span><span class="s2">"."</span><span class="o">[</span>0-9<span
class="o">][</span>0-9<span class="o">][</span>0-9<span class="o">]</span><span
class="s2">"."</span><span class="o">[</span>0-9<span class="o">]</span>+<span
class="nv">$ </span><span class="o">]]</span>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<br>
<br>
and these:<br>
<br>
<a class="moz-txt-link-freetext" href="https://github.com/D-Programming-Language/installer/blob/master/linux/dmd_deb.sh#L109">https://github.com/D-Programming-Language/installer/blob/master/linux/dmd_deb.sh#L109</a><br>
<a class="moz-txt-link-freetext" href="https://github.com/D-Programming-Language/installer/blob/master/linux/dmd_phobos.sh#L109">https://github.com/D-Programming-Language/installer/blob/master/linux/dmd_phobos.sh#L109</a><br>
<a class="moz-txt-link-freetext" href="https://github.com/D-Programming-Language/installer/blob/master/linux/dmd_rpm.sh#L109">https://github.com/D-Programming-Language/installer/blob/master/linux/dmd_rpm.sh#L109</a><br>
<br>
to read:<br>
<br>
<span class="nv">DMDURL=<a class="moz-txt-link-rfc2396E" href="http://ftp.digitalmars.com/dmd.v$VERSION.zip">"http://ftp.digitalmars.com/dmd.v$VERSION.zip"</a></span><span
class="o"></span><br>
<br>
This fails during the rpm build. Error message follows:<br>
<br>
**********************************************************************<br>
./dmd_rpm.sh -v2.065-b1 -m32 <br>
<br>
**********************************************************************<br>
/tmp/1390335365179811923/dmd-2.065-b1-0.i386 ~/build_dmd<br>
Building target platforms: i386<br>
Building for target i386<br>
error: line 2: Illegal char '-' in: Version: 2.065-b1<br>
<br>
Thanks for your assistance,<br>
Andrew<br>
</body>
</html>