Thread overview
[Issue 2908] New: Build error: ../mars/mars.h doesn't exist
Apr 28, 2009
d-bugmail
Oct 13, 2009
David Simcha
Oct 23, 2009
Leandro Lucarella
Oct 24, 2009
Gide Nwawudu
Dec 06, 2009
David Simcha
April 28, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2908

           Summary: Build error:  ../mars/mars.h doesn't exist
           Product: D
           Version: 2.026
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla@digitalmars.com
        ReportedBy: dsimcha@yahoo.com


Lines 53-55 in backend.c:

#if MARS
#include    "../mars/mars.h"  // This file doesn't exit.
#endif

I guess this got by so many other people because MARS is only defined on really old Linux distros.  To fix the problem, change it to:

#include    "../mars.h"  // Works.


-- 

October 13, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2908


David Simcha <dsimcha@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |baseball.mjp@gmail.com


--- Comment #1 from David Simcha <dsimcha@yahoo.com> 2009-10-12 20:26:08 PDT ---
*** Issue 3299 has been marked as a duplicate of this issue. ***

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
October 23, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2908


Leandro Lucarella <llucax@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |llucax@gmail.com


--- Comment #2 from Leandro Lucarella <llucax@gmail.com> 2009-10-23 13:04:56 PDT ---
*** Issue 3411 has been marked as a duplicate of this issue. ***

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
October 24, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2908


Gide Nwawudu <gide@nwawudu.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gide@nwawudu.com


--- Comment #3 from Gide Nwawudu <gide@nwawudu.com> 2009-10-24 04:03:16 PDT ---
> digited Wrote:
Today i've built DMD1 on Mac 10.5 (Intel) just like this:

svn co http://svn.dsource.org/projects/dmd/branches/dmd-1.x/src dmd
cd dmd
make -f osx.mak

and it's a godsand - no more downloading 8 MB of unusable stuff (and obsolete because some patches are already in trunk).

*BTW*, i had to change #include "../mars/mars.h" to #include "../mars.h" in backend/dwarf.c and backend/machobj.c to compile it.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
December 06, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2908


David Simcha <dsimcha@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


--- Comment #4 from David Simcha <dsimcha@yahoo.com> 2009-12-05 18:24:19 PST ---
Fixed 2.036.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------