Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Ticket #560 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

Linux build files are in crlf format

Reported by: Anders Assigned to: sean
Priority: major Milestone: 0.99.1 RC4
Component: Core Functionality Version: 0.99 RC3 Xammy
Keywords: Cc:

Description

When trying to build Tango on Linux using ./build-dmd.sh, it will not work. This is because the Makefile is in CRLF format (which make doesn't like).

The fix is easy, simply run dos2unix on all Linux/Posix scripts and such.

Change History

08/05/07 04:17:43 changed by larsivi

  • owner changed from sean to larsivi.
  • status changed from new to assigned.
  • milestone changed from 1.0 to 0.99.1 RC4.

08/05/07 11:35:27 changed by sean

This should be limited to one of the source packages released for 0.99. I assembled it on Windows and forgot the impact this would have on line endings. The package should probably just be script processed with d2u to clean it up.

08/07/07 07:14:11 changed by larsivi

  • owner changed from larsivi to sean.
  • status changed from assigned to new.

Could you please do that Sean? As you probably have the original source for it?

08/24/07 10:54:32 changed by jhouse

I also hit this same problem a few days ago when using cygwin. At the very least, both build-dmd.sh and the makefiles needed to get updated (Initially I fixed only build-dmd.sh, but then after more problems fixed all text files just in case, so I don't know if the problem was limited to build-dmd.sh and the makefiles, or not)

08/27/07 10:16:58 changed by sean

  • status changed from new to closed.
  • resolution set to fixed.

I've re-created the source package for 0.99. Let me know if there are any problems with it.

08/27/07 10:57:55 changed by Anders

==> Starting build()...
: No such file or directory
'.  Stop. No rule to make target `dmd-posix.mak
: No such file or directory
'.  Stop. No rule to make target `dmd-posix.mak
: No such file or directory
'.  Stop. No rule to make target `dmd-posix.mak
chmod: cannot access `../tango/core/*.di\r': No such file or directory

I'm using http://downloads.dsource.org/projects/tango/0.99/tango-0.99-src.tar.gz

It doesn't look like the archive was changed at all, because it didn't complain about the md5 checksum of the archive (which it should if it would have been changed)

08/27/07 10:58:16 changed by Anders

  • status changed from closed to reopened.
  • resolution deleted.

08/28/07 15:39:05 changed by larsivi

Anders: It seems to work for me?

Sean: However, the .svn stuff haven't been removed.

08/28/07 15:53:36 changed by Anders

  • status changed from reopened to closed.
  • resolution set to fixed.

Oops! The tarball was cached... :( sorry guys

08/28/07 21:24:33 changed by sean

The .svn stuff is still there? Darnit. I'll take it out.

08/28/07 21:40:45 changed by sean

Done. Let me know if there are any problems.