January 21, 2014 Re: [dmd-beta] Preparation for 2.65 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Martin Nowak | El 21/01/14 00:17, Martin Nowak ha escrit: > On 01/20/2014 02:47 AM, Jordi Sayol wrote: >> If correctly compiles, Debian 6.0.? should be the best option. The second one would be Debian 7.? > OK, done. https://github.com/MartinNowak/installer/commit/b64ddfefd9cd6a773cb32d1cdd7acde68eb353c9 > > http://dlang.dawg.eu/download/dmd.v2.065-b1.zip <https://github.com/MartinNowak/installer/commit/b64ddfefd9cd6a773cb32d1cdd7acde68eb353c9> > sha1 bd4ce088e9f20d04023dccdd2ec7b170e7f2cea0 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! ---- -- Jordi Sayol _______________________________________________ dmd-beta mailing list dmd-beta@puremagic.com http://lists.puremagic.com/mailman/listinfo/dmd-beta |
January 21, 2014 Re: [dmd-beta] Preparation for 2.65 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jordi Sayol Attachments:
| On 01/21/2014 10:28 AM, Jordi Sayol wrote: > There is another big problem. dmd do not read "/etc/dmd.conf" Thanks, it's a regression. https://d.puremagic.com/issues/show_bug.cgi?id=11956 https://github.com/D-Programming-Language/dmd/pull/3128 |
January 21, 2014 Re: [dmd-beta] Preparation for 2.65 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jordi Sayol Attachments:
| On 1/21/14, 4:28 AM, Jordi Sayol wrote: > El 21/01/14 00:17, Martin Nowak ha escrit: >> On 01/20/2014 02:47 AM, Jordi Sayol wrote: >>> If correctly compiles, Debian 6.0.? should be the best option. The second one would be Debian 7.? >> OK, done. https://github.com/MartinNowak/installer/commit/b64ddfefd9cd6a773cb32d1cdd7acde68eb353c9 >> >> http://dlang.dawg.eu/download/dmd.v2.065-b1.zip <https://github.com/MartinNowak/installer/commit/b64ddfefd9cd6a773cb32d1cdd7acde68eb353c9> >> sha1 bd4ce088e9f20d04023dccdd2ec7b170e7f2cea0 > > 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! > ---- > Jordi, need you to mod tools to accept beta naming convention. Using create_dmd_release the pkg created for beta 1 is: dmd.v2.065-b1.zip Presently scripts in installer/linux/ do not recognize this format. Initial progress was made changing following lines: https://github.com/D-Programming-Language/installer/blob/master/linux/build_all.sh#L92 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_phobos.sh#L49 https://github.com/D-Programming-Language/installer/blob/master/linux/dmd_rpm.sh#L49 to read: if ! [[ $VER =~ ^[0-9]"."[0-9][0-9][0-9]$ || $VER =~ ^[0-9]"."[0-9][0-9][0-9]"-b"[0-9]$ || $VER =~ ^[0-9]"."[0-9][0-9][0-9]"."[0-9]+$ ]] and these: 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_phobos.sh#L109 https://github.com/D-Programming-Language/installer/blob/master/linux/dmd_rpm.sh#L109 to read: DMDURL="http://ftp.digitalmars.com/dmd.v$VERSION.zip" This fails during the rpm build. Error message follows: ********************************************************************** ./dmd_rpm.sh -v2.065-b1 -m32 ********************************************************************** /tmp/1390335365179811923/dmd-2.065-b1-0.i386 ~/build_dmd Building target platforms: i386 Building for target i386 error: line 2: Illegal char '-' in: Version: 2.065-b1 Thanks for your assistance, Andrew |
January 21, 2014 Re: [dmd-beta] Preparation for 2.65 | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrew Edwards Attachments:
| On 1/21/14, 3:28 PM, Andrew Edwards wrote: > Jordi, need you to mod tools to accept beta naming convention. Using create_dmd_release the pkg created for beta 1 is: > > dmd.v2.065-b1.zip > Please ignore this request. Immediate solution found. Please see: http://forum.dlang.org/post/lbmmer$23c3$1@digitalmars.com Regards, Andrew |
Copyright © 1999-2021 by the D Language Foundation