www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - 2.060 deb package on Linux Mint 13

reply "Jason Spencer" <spencer8 sbcglobal.net> writes:
Though Mint 13 is very similar to ubuntu 12, I cannot seem to get 
the deb package to install.  I get dependency errors on gcc, 
gcc-mulitlib, and xdg-utils.  apt-get assures me these are all 
the latest version.  Still, dpkg won't install dmd2.

I understand the wisdom seems to be to just use the zip file and 
set your path locally.  But maybe someone has either been across 
this, or want's to know there's an issue on Mint.

I'm not that good w/ linux package mgrs, but I'm willing to slog 
through if anyone has suggestions to try.

Jason
Sep 22 2012
parent reply Jordi Sayol <g.sayol yahoo.es> writes:
Al 23/09/12 07:38, En/na Jason Spencer ha escrit:
 Though Mint 13 is very similar to ubuntu 12, I cannot seem to get the deb
package to install.  I get dependency errors on gcc, gcc-mulitlib, and
xdg-utils.  apt-get assures me these are all the latest version.  Still, dpkg
won't install dmd2.
LinuxMint do not only uses the same Debian/Ubuntu packaging system (apt), it even uses the Ubuntu's repositories. "dpkg" command do not install dependencies, and "apt-get" command do not install local deb packages. There is a tool that install local deb packages, including its dependencies: gdebi $ sudo apt-get install gdebi to install dmd2 on LinuxMint: $ sudo gdebi dmd_2.060-0_amd64.deb If you get some problem with the installed (but still not configured) dmd deb package, remove it first: $ sudo dpkg -P dmd Best regards, -- Jordi Sayol
Sep 23 2012
parent reply "Jason Spencer" <spencer8 sbcglobal.net> writes:
On Sunday, 23 September 2012 at 14:16:45 UTC, Jordi Sayol wrote:

 to install dmd2 on LinuxMint:
 $ sudo gdebi dmd_2.060-0_amd64.deb
Even gdebi's not happy. I removed dmd:i386 and started fresh. Here's a transcript: ---------------- jason ~/Downloads $ sudo apt-get install -f Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: g++-4.6 libstdc++6-4.6-dev Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 61 not upgraded. { I judged these to be harmless to the state of things, so left them there.} jason ~/Downloads $ sudo gdebi dmd_2.060-0_i386.deb Reading package lists... Done Building dependency tree Reading state information... Done Building data structures... Done Building data structures... Done This package is uninstallable Cannot install 'gcc:i386' jason ~/Downloads $ apt-cache showpkg gcc:i386 Package: gcc:i386 Versions: 4:4.6.3-1ubuntu5 (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_precise_main_binary-i386_Packages) Description Language: File: /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_precise_main_binary-amd64_Packages MD5: c7efd71c7c651a9ac8b2adf36b137790 Description Language: en File: /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_precise_main_i18n_Translation-en MD5: c7efd71c7c651a9ac8b2adf36b137790 Reverse Depends: dmd:i386,gcc:i386 varnish:i386,gcc:i386 3.3 build-essential:i386,gcc:i386 4:4.4.3 mythbuntu-desktop:i386,gcc:i386 lmbench:i386,gcc:i386 xubuntu-desktop:i386,gcc:i386 varnish:i386,gcc:i386 3.3 ubuntustudio-desktop:i386,gcc:i386 simgrid:i386,gcc:i386 sfront:i386,gcc:i386 prayer-templates-dev:i386,gcc:i386 pmk:i386,gcc:i386 pari-gp2c:i386,gcc:i386 octave3.2-headers:i386,gcc:i386 nypatchy:i386,gcc:i386 nana:i386,gcc:i386 mlton-compiler:i386,gcc:i386 lsb-build-cc3:i386,gcc:i386 lisaac:i386,gcc:i386 4.1 libdmalloc5:i386,gcc:i386 ksplice:i386,gcc:i386 intercal:i386,gcc:i386 ikiwiki-hosting-web:i386,gcc:i386 ichthux-desktop:i386,gcc:i386 goo:i386,gcc:i386 gobjc++:i386,gcc:i386 4:4.6.3-1ubuntu5 gnome-speech-swift:i386,gcc:i386 gnome-speech-dectalk:i386,gcc:i386 ghc:i386,gcc:i386 4:4.2 gcl:i386,gcc:i386 gccgo:i386,gcc:i386 4:4.6.3-1ubuntu5 gap-dev:i386,gcc:i386 frama-c-base:i386,gcc:i386 flex-old:i386,gcc:i386 faucc:i386,gcc:i386 f2c:i386,gcc:i386 ecl:i386,gcc:i386 cython-dbg:i386,gcc:i386 cython:i386,gcc:i386 cxref:i386,gcc:i386 cwebx:i386,gcc:i386 cpushare:i386,gcc:i386 cproto:i386,gcc:i386 codelite:i386,gcc:i386 codeblocks:i386,gcc:i386 ccontrol:i386,gcc:i386 cbmc:i386,gcc:i386 bochs:i386,gcc:i386 binfmtc:i386,gcc:i386 apt-build:i386,gcc:i386 anjuta:i386,gcc:i386 acovea:i386,gcc:i386 ubuntu-desktop:i386,gcc:i386 python-numpy:i386,gcc:i386 ocaml-nox:i386,gcc:i386 ocaml-native-compilers:i386,gcc:i386 libtool:i386,gcc:i386 libc6-dev:i386,gcc:i386 iconc:i386,gcc:i386 hardening-wrapper:i386,gcc:i386 gobjc:i386,gcc:i386 4:4.6.3-1ubuntu5 gfortran:i386,gcc:i386 4:4.6.3-1ubuntu5 gcc-multilib:i386,gcc:i386 4.6.1-2ubuntu5 gcc-multilib:i386,gcc:i386 4:4.6.3-1ubuntu5 gcc-doc:i386,gcc:i386 4:4.6.3-1ubuntu5 gcc,gcc:i386 g++:i386,gcc:i386 4:4.6.3-1ubuntu5 flex:i386,gcc:i386 cmake:i386,gcc:i386 build-essential:i386,gcc:i386 4:4.4.3 gcc-multilib,gcc:i386 4.6.1-2ubuntu5 gcc-4.6-doc,gcc:i386 2.7.2.3-4.3 gcc-4.5-doc,gcc:i386 2.7.2.3-4.3 gcc-4.4-doc,gcc:i386 2.7.2.3-4.3 virtualbox-4.1:i386,gcc:i386 Dependencies: 4:4.6.3-1ubuntu5 - cpp:i386 (2 4:4.6.3-1ubuntu5) gcc-4.6:i386 (2 4.6.3-1~) gcc-multilib:i386 (0 (null)) make:i386 (0 (null)) manpages-dev:i386 (0 (null)) autoconf:i386 (0 (null)) automake1.9:i386 (0 (null)) libtool:i386 (0 (null)) flex:i386 (0 (null)) bison:i386 (0 (null)) gdb:i386 (0 (null)) gcc-doc:i386 (0 (null)) libc6-dev:i386 (16 (null)) libc-dev:i386 (0 (null)) gcc-doc (3 1:2.95.3) gcc-doc:i386 (3 1:2.95.3) gcc (0 (null)) Provides: 4:4.6.3-1ubuntu5 - c-compiler:i386 Reverse Provides: ------------------------ So gcc seems to be installed right (indeed, I use it regularly), but for some reason, the package dependencies or particulars don't wire up right. Other ideas? Jason
Sep 23 2012
parent reply Jordi Sayol <g.sayol yahoo.es> writes:
Al 23/09/12 19:57, En/na Jason Spencer ha escrit:
 On Sunday, 23 September 2012 at 14:16:45 UTC, Jordi Sayol wrote:
[...]
 0 upgraded, 0 newly installed, 0 to remove and 61 not upgraded.
 
first of all, upgrade your system $ sudo apt-get update $ sudo apt-get dist-upgrade
 
 jason ~/Downloads $ sudo gdebi dmd_2.060-0_i386.deb
Why did you try to install 32-bit dmd deb package on a 64-bit system? You MUST install "dmd_2.060-0_amd64.deb" on a 64-bit system, like yours. Then, if you want to compile to 32-bit, just add -m32 to dmd command. -- Jordi Sayol
Sep 23 2012
parent reply "Jason Spencer" <spencer8 sbcglobal.net> writes:
On Sunday, 23 September 2012 at 18:38:01 UTC, Jordi Sayol wrote:

 first of all, upgrade your system
Those are minor and green upgrades, not pertinent to dmd install.
 Why did you try to install 32-bit dmd deb package on a 64-bit 
 system?
Guess I missed that chapter in the owner's manual. I assumed amd was specific to amd architecture. Yay!, tribal knowledge!
 You MUST install "dmd_2.060-0_amd64.deb" on a 64-bit system, 
 like yours.
Yep, that worked just fine. Thanks for getting me through.
Sep 24 2012
next sibling parent "Jesse Phillips" <Jessekphillips+D gmail.com> writes:
On Monday, 24 September 2012 at 13:48:57 UTC, Jason Spencer wrote:
 Why did you try to install 32-bit dmd deb package on a 64-bit 
 system?
Guess I missed that chapter in the owner's manual. I assumed amd was specific to amd architecture. Yay!, tribal knowledge!
All x86-64(is that even proper?) bit processors use the AMD 64bit architecture. AMD won so they get the name (at least that is what team Debian decided).
Sep 24 2012
prev sibling parent reply 1100110 <0b1100110 gmail.com> writes:
On Mon, 24 Sep 2012 08:49:48 -0500, Jason Spencer <spencer8 sbcglobal.net>  
wrote:

 On Sunday, 23 September 2012 at 18:38:01 UTC, Jordi Sayol wrote:

 first of all, upgrade your system
Those are minor and green upgrades, not pertinent to dmd install.
 Why did you try to install 32-bit dmd deb package on a 64-bit system?
Guess I missed that chapter in the owner's manual. I assumed amd was specific to amd architecture. Yay!, tribal knowledge!
Quick, which architecture is your computer running!? amd64, armel, kfreebsd-i386, kfreebsd-amd64, i386, ia64, mips, mipsel, powerpc, sparc Took me 30 minutes the first time I decided to try debian to figure it out... Mostly because I kept associating amd64 with AMD and ia64 with INTEL. -- Using Opera's revolutionary email client: http://www.opera.com/mail/
Sep 24 2012
parent "Graham Fawcett" <fawcett uwindsor.ca> writes:
On Monday, 24 September 2012 at 17:14:25 UTC, 1100110 wrote:
 On Mon, 24 Sep 2012 08:49:48 -0500, Jason Spencer 
 <spencer8 sbcglobal.net> wrote:

 On Sunday, 23 September 2012 at 18:38:01 UTC, Jordi Sayol 
 wrote:

 first of all, upgrade your system
Those are minor and green upgrades, not pertinent to dmd install.
 Why did you try to install 32-bit dmd deb package on a 64-bit 
 system?
Guess I missed that chapter in the owner's manual. I assumed amd was specific to amd architecture. Yay!, tribal knowledge!
Quick, which architecture is your computer running!? amd64, armel, kfreebsd-i386, kfreebsd-amd64, i386, ia64, mips, mipsel, powerpc, sparc Took me 30 minutes the first time I decided to try debian to figure it out... Mostly because I kept associating amd64 with AMD and ia64 with INTEL.
For future reference: dkpg --print-architecture ...will confirm the architecture that dpkg expects on your system. Best, Graham
Sep 24 2012