www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 3028] New: The D 1.0 Ubuntu .deb file is completely broken

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=3028

           Summary: The D 1.0 Ubuntu .deb file is completely broken
           Product: D
           Version: unspecified
          Platform: PC
               URL: http://www.digitalmars.com/d/download.html
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: www.digitalmars.com
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: thecybershadow gmail.com


First of all, this .deb is clearly created exclusively for the amd64 platform,
because dpkg will not install it as-is on i386 (this also affects the graphical
installers, which are ran when opening a .deb file in GNOME/KDE). Providing
--force-architecture is not sufficient, because it will then complain about
dependencies to missing 32-bit packages (they will be missing because 32-bit
packages are explicitly named as 32-bit on 64-bit *Ubuntus).

It is still possible to install the .deb using --force-architecture,depends -
however this does not result in a functioning installation. The copy of Phobos
installed is a mess - it lacks the "core" runtime, and has a second "phobos"
subdirectory containing the D 2.0 Phobos. Thus DMD fails to compile even a
simple "Hello world" program.

Something should be done about this, considering how Ubuntu is popular among
novice Linux users. Fix it or nix it.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 26 2009
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=3028





--- Comment #1 from Vladimir <thecybershadow gmail.com>  2009-05-26 23:13:24
PDT ---
Correction - "core" isn't "missing" because it shouldn't be there. I got
confused with DMD showing errors that it can't find "core.memory", but that's
because it was trying to compile Phobos 2.0.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 26 2009
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=3028





--- Comment #2 from Vladimir <thecybershadow gmail.com>  2009-05-26 23:15:48
PDT ---
Oh, and I forgot to mention that dmd.conf is set up incorrectly - there is one
"../" too many in the -I path for Phobos.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 26 2009
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=3028


Alexander A. Prokhorov <prokher gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |prokher gmail.com


--- Comment #3 from Alexander A. Prokhorov <prokher gmail.com> 2009-11-25
03:16:47 PST ---
got .deb for ubuntu and when I try to compile simple helloworld I get

$ dmd hello_world.d 
object.d: Error: module object cannot read file 'object.d'

And there is no object.d on my disk at all, so deb is broken I think...

I agree with Vladimir, ubuntu is very popular so someone should somehow fix
this.

Actually for me (and I think not only for me) it is insuperable obstacle in
learning D.

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