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 next 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
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=3028


Walter Bright <bugzilla digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla digitalmars.com


--- Comment #4 from Walter Bright <bugzilla digitalmars.com> 2012-01-19
12:28:26 PST ---
Is this still an issue?

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



--- Comment #5 from Alexander A. Prokhorov <prokher gmail.com> 2012-01-22
07:33:31 PST ---
Downloaded latest ubuntu .deb package, installed, looks like it works fine. At
least hello_world.d compiles fine. Thanks.

Environment:

$ uname -a
Linux probook 3.0.0-15-generic #25-Ubuntu SMP Mon Jan 2 17:44:42 UTC 2012
x86_64 x86_64 x86_64 GNU/Linux

$ cat /etc/*release*
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=11.10
DISTRIB_CODENAME=oneiric
DISTRIB_DESCRIPTION="Ubuntu 11.10"

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


Walter Bright <bugzilla digitalmars.com> changed:

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


--- Comment #6 from Walter Bright <bugzilla digitalmars.com> 2012-01-22
10:13:09 PST ---
Thanks for checking, so I can close this.

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