digitalmars.D.learn - dmd-2.078.2 problems with Ubuntu 17.10 32Bit
- Martin Tschierschke (7/7) Feb 12 2018 I just started to play around with D again on my notebook at home
- Seb (6/14) Feb 12 2018 How did you install DMD? It's probably related to this.
- Martin Tschierschke (4/19) Feb 12 2018 I did so, and after that, I tried to install via dpkg -i *.deb,
-
Jordi Sayol
(2/12)
Feb 12 2018
d-apt
- Martin Tschierschke (6/21) Feb 12 2018 After setting ulimit -c unlimited to get the core dumped, I took
- Jordi Sayol (14/33) Feb 13 2018 A fresh install from d-apt on Ubuntu 16.04 32-bit, and everything worked...
- Martin Tschierschke (18/46) Feb 13 2018 I tried a lot, there is special bug new on ubuntu 17.10 in
- Andrea Fontana (8/11) Feb 14 2018 In my experience dist-upgrade are long and messy :)
- Martin Tschierschke (6/17) Feb 14 2018 Ok, good to know!
- Andrea Fontana (4/8) Feb 14 2018 64bit of course!
- Martin Tschierschke (14/22) Feb 17 2018 After this info, I made the step to change to Ubuntu 17.10 64 Bit.
- Jordi Sayol (4/11) Feb 17 2018 "d-apt.list" file fixed! (s/http/https/)
I just started to play around with D again on my notebook at home and realized, that I have a broken installation. Even the minimal D "hello world" throws an error at execution. Speicherzugriffsfehler (Speicherabzug geschrieben) aka. core dump Compiling with ldc2 still works. Any hint?
Feb 12 2018
On Monday, 12 February 2018 at 20:56:11 UTC, Martin Tschierschke wrote:I just started to play around with D again on my notebook at home and realized, that I have a broken installation. Even the minimal D "hello world" throws an error at execution. Speicherzugriffsfehler (Speicherabzug geschrieben) aka. core dump Compiling with ldc2 still works. Any hint?How did you install DMD? It's probably related to this. I recommend using the official releases: curl https://dlang.org/install.sh | bash -s dmd See also: https://dlang.org/install.html
Feb 12 2018
On Monday, 12 February 2018 at 21:08:30 UTC, Seb wrote:On Monday, 12 February 2018 at 20:56:11 UTC, Martin Tschierschke wrote:I did so, and after that, I tried to install via dpkg -i *.deb, than I tried to use an older version... without success, maybe I first have to clean up? But how to deinstall best?I just started to play around with D again on my notebook at home and realized, that I have a broken installation. Even the minimal D "hello world" throws an error at execution. Speicherzugriffsfehler (Speicherabzug geschrieben) aka. core dump Compiling with ldc2 still works. Any hint?How did you install DMD? It's probably related to this. I recommend using the official releases: curl https://dlang.org/install.sh | bash -s dmd See also: https://dlang.org/install.html
Feb 12 2018
El 12/02/18 a les 21:56, Martin Tschierschke via Digitalmars-d-learn ha escrit:I just started to play around with D again on my notebook at home and realized, that I have a broken installation. Even the minimal D "hello world" throws an error at execution. Speicherzugriffsfehler (Speicherabzug geschrieben) aka. core dump Compiling with ldc2 still works. Any hint?d-apt <http://d-apt.sourceforge.net/>
Feb 12 2018
On Monday, 12 February 2018 at 21:18:01 UTC, Jordi Sayol wrote:El 12/02/18 a les 21:56, Martin Tschierschke via Digitalmars-d-learn ha escrit:After setting ulimit -c unlimited to get the core dumped, I took a look with gdb, to find a hint, now realizing, that it is probably the same problem as here: https://forum.dlang.org/thread/jjaynewwdsyntyehvahq forum.dlang.org?page=1I just started to play around with D again on my notebook at home and realized, that I have a broken installation. Even the minimal D "hello world" throws an error at execution. Speicherzugriffsfehler (Speicherabzug geschrieben) aka. core dump Compiling with ldc2 still works. Any hint?d-apt <http://d-apt.sourceforge.net/>
Feb 12 2018
El 13/02/18 a les 08:03, Martin Tschierschke via Digitalmars-d-learn ha escrit:On Monday, 12 February 2018 at 21:18:01 UTC, Jordi Sayol wrote:A fresh install from d-apt on Ubuntu 16.04 32-bit, and everything worked fine. test.d ---- import std.stdio; void main() { writeln("Hello world!"); } ---- $ rdmd test.d Hello world! $ dmd -run test.d Hello world!El 12/02/18 a les 21:56, Martin Tschierschke via Digitalmars-d-learn ha escrit:After setting ulimit -c unlimited to get the core dumped, I took a look with gdb, to find a hint, now realizing, that it is probably the same problem as here: https://forum.dlang.org/thread/jjaynewwdsyntyehvahq forum.dlang.org?page=1I just started to play around with D again on my notebook at home and realized, that I have a broken installation. Even the minimal D "hello world" throws an error at execution. Speicherzugriffsfehler (Speicherabzug geschrieben) aka. core dump Compiling with ldc2 still works. Any hint?d-apt <http://d-apt.sourceforge.net/>
Feb 13 2018
On Tuesday, 13 February 2018 at 21:25:44 UTC, Jordi Sayol wrote:El 13/02/18 a les 08:03, Martin Tschierschke via Digitalmars-d-learn ha escrit:I tried a lot, there is special bug new on ubuntu 17.10 in /etc/apt/sources.list.d/d-apt.list !!! I had to change http://... to https:// Before that I imported the key with sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EBCF975E5BA24D5E I am not sure if this was necessary, probably not. Than I was able to call sudo apt-get update && sudo apt-get -y --allow-unauthenticated install --reinstall d-apt-keyring && sudo apt-get update and install with sudo apt-get install dmd-compiler dub But unfortunately still the same core dump. Is there anyone using Ubuntu 17.10 32 Bit? I will downgrade to 16.04., the dist-upgrade to 17.10 was a mistake, resulting in problems with startx and newer kernels so I have to use 4.10.On Monday, 12 February 2018 at 21:18:01 UTC, Jordi Sayol wrote:A fresh install from d-apt on Ubuntu 16.04 32-bit, and everything worked fine.El 12/02/18 a les 21:56, Martin Tschierschke via Digitalmars-d-learn ha escrit:After setting ulimit -c unlimited to get the core dumped, I took a look with gdb, to find a hint, now realizing, that it is probably the same problem as here: https://forum.dlang.org/thread/jjaynewwdsyntyehvahq forum.dlang.org?page=1I just started to play around with D again on my notebook at home and realized, that I have a broken installation. Even the minimal D "hello world" throws an error at execution. Speicherzugriffsfehler (Speicherabzug geschrieben) aka. core dump Compiling with ldc2 still works. Any hint?d-apt <http://d-apt.sourceforge.net/>
Feb 13 2018
On Tuesday, 13 February 2018 at 22:21:18 UTC, Martin Tschierschke wrote:I will downgrade to 16.04., the dist-upgrade to 17.10 was a mistake, resulting in problems with startx and newer kernels so I have to use 4.10.In my experience dist-upgrade are long and messy :) Usually I create a partition on disk; install a fresh (K)ubuntu on that partition; move data / config from old partition to new; delete (or backup) old partition. I have both kubuntu 17.04 and 17.10 and dmd works fine. Andrea
Feb 14 2018
On Wednesday, 14 February 2018 at 10:57:47 UTC, Andrea Fontana wrote:On Tuesday, 13 February 2018 at 22:21:18 UTC, Martin Tschierschke wrote:Ok, good to know! I started with 16.04 and made the initial mistake to take the 32 Bit version, do you use 32 or 64 Bit?I will downgrade to 16.04., the dist-upgrade to 17.10 was a mistake, resulting in problems with startx and newer kernels so I have to use 4.10.In my experience dist-upgrade are long and messy :) Usually I create a partition on disk; install a fresh (K)ubuntu on that partition; move data / config from old partition to new; delete (or backup) old partition. I have both kubuntu 17.04 and 17.10 and dmd works fine. Andrea
Feb 14 2018
On Wednesday, 14 February 2018 at 11:16:25 UTC, Martin Tschierschke wrote:Ok, good to know! I started with 16.04 and made the initial mistake to take the 32 Bit version, do you use 32 or 64 Bit?64bit of course! Andrea
Feb 14 2018
On Wednesday, 14 February 2018 at 11:23:48 UTC, Andrea Fontana wrote:On Wednesday, 14 February 2018 at 11:16:25 UTC, Martin Tschierschke wrote:After this info, I made the step to change to Ubuntu 17.10 64 Bit. And - it works! But the installation via apt-get is not working without the steps already mentioned in the post before! (s/http/https/ and manually import of the public key) This (from https://dlang.org/download.html) is outdated for 17.10. sudo wget http://master.dl.sourceforge.net/project/d-apt/files/d-apt.list -O /etc/apt/sources.list.d/d-apt.list sudo apt-get update && sudo apt-get -y --allow-unauthenticated install --reinstall d-apt-keyring sudo apt-get update && sudo apt-get install dmd-compiler dubOk, good to know! I started with 16.04 and made the initial mistake to take the 32 Bit version, do you use 32 or 64 Bit?64bit of course! Andrea
Feb 17 2018
El 17/02/18 a les 18:49, Martin Tschierschke via Digitalmars-d-learn ha escrit:But the installation via apt-get is not working without the steps already mentioned in the post before! (s/http/https/ and manually import of the public key)"d-apt.list" file fixed! (s/http/https/) d-apt public key is in the "d-apt-keyring" deb package, so you don't have to manually install it.This (from https://dlang.org/download.html) is outdated for 17.10. sudo wget http://master.dl.sourceforge.net/project/d-apt/files/d-apt.list -O /etc/apt/sources.list.d/d-apt.list sudo apt-get update && sudo apt-get -y --allow-unauthenticated install --reinstall d-apt-keyring sudo apt-get update && sudo apt-get install dmd-compiler dubIt appears that everything should work on 17.10 now. I'll do more tests on a virtual machine.
Feb 17 2018