digitalmars.D - Installation script for DMD Linux version
- alexander.panek brainsware.org (14/14) Feb 05 2006 Hello guys (and girls, perhaps),
- clayasaurus (2/26) Feb 05 2006
- alexander.panek brainsware.org (3/4) Feb 05 2006 I could add that too, of course. I'll just ask for switch like -d or --d...
- Alexander Panek (8/22) Feb 05 2006 Added a few lines to give the possibility to download dmd.zip via instal...
- Alexander Panek (7/40) Feb 05 2006 Yet another update:
- Alexander Panek (6/53) Feb 05 2006 I hate newsgroups for not being able to edit posts.. or for that matter:...
- Hasan Aljudy (3/72) Feb 12 2006 I have to be root?
- Alexander Panek (4/87) Feb 12 2006 There's a no-root option available ( --noroot ) for purposes like this.
- Hasan Aljudy (14/105) Feb 12 2006 Doesn't seem to work with me. Infact there's no reference to "--noroot"
- Alexander Panek (9/122) Feb 13 2006 I fixed a few 'bugs' now. It should work; The only thing is, that you
- Thomas Kuehne (20/22) Feb 12 2006 -----BEGIN PGP SIGNED MESSAGE-----
- US (6/6) Jun 25 2006 http://www.insurance-top.com/auto/ <...
- US (5/5) Jun 25 2006 http://www.insurance-top.com/company/ car site insurance.
- US (3/3) Jun 25 2006 http://www.insurance-top.com/company/ car site insurance. compare car in...
- US (2/2) Jun 25 2006 ringtones free
- US (7/7) Jun 25 2006 http://www.ringtones-dir.com/downloa...
- US (5/5) Jun 25 2006 http://www.ringtones-dir.com/get/ ringtones site free.
- US (3/3) Jun 25 2006 http://www.ringtones-dir.com/get/ ringtones site free. Download ringtone...
- Alexander Panek (3/3) Feb 13 2006 Old link doesn't work anymore, here's the new one:
- Bruno Medeiros (13/18) Feb 14 2006 The lines that have: ` ... ` , such as:
- Sean Kelly (7/10) Feb 15 2006 Line 96 should be changed from:
- Alexander Panek (4/22) Feb 15 2006 Oh..yea, heh. Changed, link stays the same. If you've got any other
Hello guys (and girls, perhaps), I've written a little bash script to ease the 'pain' (or for that matter shorten the time needed for) of an installation of DMD under Linux. Just unpack the dmd.zip and put the install.sh into the same directory, run it as root, and be happy. :) Usage: /install.sh <prefix> .where <prefix> is something like /usr, /usr/local or where ever you want phobos' sources and dmd to be living. https://80.108.15.143/svn/ocb/trunks/tools/dmd/install.sh There's also a PKGBUILD available, written by a friend of mine: https://80.108.15.143/svn/ocb/trunks/tools/dmd/PKGBUILD Maybe it helps someone.., Alex
Feb 05 2006
Why not use wget to download dmd.zip for you? alexander.panek brainsware.org wrote:Hello guys (and girls, perhaps), I've written a little bash script to ease the 'pain' (or for that matter shorten the time needed for) of an installation of DMD under Linux. Just unpack the dmd.zip and put the install.sh into the same directory, run it as root, and be happy. :) Usage: /install.sh <prefix> .where <prefix> is something like /usr, /usr/local or where ever you want phobos' sources and dmd to be living. https://80.108.15.143/svn/ocb/trunks/tools/dmd/install.sh There's also a PKGBUILD available, written by a friend of mine: https://80.108.15.143/svn/ocb/trunks/tools/dmd/PKGBUILD Maybe it helps someone.., Alex
Feb 05 2006
In article <ds64ek$1opv$1 digitaldaemon.com>, clayasaurus says...Why not use wget to download dmd.zip for you?I could add that too, of course. I'll just ask for switch like -d or --download. Alex
Feb 05 2006
In article <ds61j7$1mv5$1 digitaldaemon.com>, alexander.panek brainsware.org says...Hello guys (and girls, perhaps), I've written a little bash script to ease the 'pain' (or for that matter shorten the time needed for) of an installation of DMD under Linux. Just unpack the dmd.zip and put the install.sh into the same directory, run it as root, and be happy. :) Usage: /install.sh <prefix> .where <prefix> is something like /usr, /usr/local or where ever you want phobos' sources and dmd to be living. https://80.108.15.143/svn/ocb/trunks/tools/dmd/install.sh There's also a PKGBUILD available, written by a friend of mine: https://80.108.15.143/svn/ocb/trunks/tools/dmd/PKGBUILD Maybe it helps someone.., AlexAdded a few lines to give the possibility to download dmd.zip via install.sh: Usage: /install.sh <prefix> [-d] <prefix> -> as usual -d -> Download dmd.zip from http://ftp.digitalmars.com/dmd.zip (DMDZIP_URL) Alex
Feb 05 2006
In article <ds66j6$1q9q$1 digitaldaemon.com>, Alexander Panek says...In article <ds61j7$1mv5$1 digitaldaemon.com>, alexander.panek brainsware.org says...Yet another update: I've added some nice output and a cleaning up to the script. I renamed it also to install-d.sh. Here's the new link: https://80.108.15.143/svn/ocb/tools/dmd/install-d.sh AlexHello guys (and girls, perhaps), I've written a little bash script to ease the 'pain' (or for that matter shorten the time needed for) of an installation of DMD under Linux. Just unpack the dmd.zip and put the install.sh into the same directory, run it as root, and be happy. :) Usage: /install.sh <prefix> .where <prefix> is something like /usr, /usr/local or where ever you want phobos' sources and dmd to be living. https://80.108.15.143/svn/ocb/trunks/tools/dmd/install.sh There's also a PKGBUILD available, written by a friend of mine: https://80.108.15.143/svn/ocb/trunks/tools/dmd/PKGBUILD Maybe it helps someone.., AlexAdded a few lines to give the possibility to download dmd.zip via install.sh: Usage: /install.sh <prefix> [-d] <prefix> -> as usual -d -> Download dmd.zip from http://ftp.digitalmars.com/dmd.zip (DMDZIP_URL) Alex
Feb 05 2006
In article <ds68nk$1rvm$1 digitaldaemon.com>, Alexander Panek says...In article <ds66j6$1q9q$1 digitaldaemon.com>, Alexander Panek says...I hate newsgroups for not being able to edit posts.. or for that matter: for having to think and read before posting. :P Here's a working link: https://80.108.15.143/svn/ocb/trunks/tools/dmd/install-d.sh AlexIn article <ds61j7$1mv5$1 digitaldaemon.com>, alexander.panek brainsware.org says...Yet another update: I've added some nice output and a cleaning up to the script. I renamed it also to install-d.sh. Here's the new link: https://80.108.15.143/svn/ocb/trunks/tools/dmd/install-d.sh AlexHello guys (and girls, perhaps), I've written a little bash script to ease the 'pain' (or for that matter shorten the time needed for) of an installation of DMD under Linux. Just unpack the dmd.zip and put the install.sh into the same directory, run it as root, and be happy. :) Usage: /install.sh <prefix> .where <prefix> is something like /usr, /usr/local or where ever you want phobos' sources and dmd to be living. https://80.108.15.143/svn/ocb/trunks/tools/dmd/install.sh There's also a PKGBUILD available, written by a friend of mine: https://80.108.15.143/svn/ocb/trunks/tools/dmd/PKGBUILD Maybe it helps someone.., AlexAdded a few lines to give the possibility to download dmd.zip via install.sh: Usage: /install.sh <prefix> [-d] <prefix> -> as usual -d -> Download dmd.zip from http://ftp.digitalmars.com/dmd.zip (DMDZIP_URL) Alex
Feb 05 2006
Alexander Panek wrote:In article <ds68nk$1rvm$1 digitaldaemon.com>, Alexander Panek says...I have to be root? I'm not the root on my university's linux boxes, is there a workaround?In article <ds66j6$1q9q$1 digitaldaemon.com>, Alexander Panek says...I hate newsgroups for not being able to edit posts.. or for that matter: for having to think and read before posting. :P Here's a working link: https://80.108.15.143/svn/ocb/trunks/tools/dmd/install-d.sh AlexIn article <ds61j7$1mv5$1 digitaldaemon.com>, alexander.panek brainsware.org says...Yet another update: I've added some nice output and a cleaning up to the script. I renamed it also to install-d.sh. Here's the new link: https://80.108.15.143/svn/ocb/trunks/tools/dmd/install-d.sh AlexHello guys (and girls, perhaps), I've written a little bash script to ease the 'pain' (or for that matter shorten the time needed for) of an installation of DMD under Linux. Just unpack the dmd.zip and put the install.sh into the same directory, run it as root, and be happy. :) Usage: /install.sh <prefix> .where <prefix> is something like /usr, /usr/local or where ever you want phobos' sources and dmd to be living. https://80.108.15.143/svn/ocb/trunks/tools/dmd/install.sh There's also a PKGBUILD available, written by a friend of mine: https://80.108.15.143/svn/ocb/trunks/tools/dmd/PKGBUILD Maybe it helps someone.., AlexAdded a few lines to give the possibility to download dmd.zip via install.sh: Usage: /install.sh <prefix> [-d] <prefix> -> as usual -d -> Download dmd.zip from http://ftp.digitalmars.com/dmd.zip (DMDZIP_URL) Alex
Feb 12 2006
Hasan Aljudy wrote:Alexander Panek wrote:There's a no-root option available ( --noroot ) for purposes like this. I'd be glad for any further improvement ideas, if you have some. Regards, AlexIn article <ds68nk$1rvm$1 digitaldaemon.com>, Alexander Panek says...I have to be root? I'm not the root on my university's linux boxes, is there a workaround?In article <ds66j6$1q9q$1 digitaldaemon.com>, Alexander Panek says...I hate newsgroups for not being able to edit posts.. or for that matter: for having to think and read before posting. :P Here's a working link: https://80.108.15.143/svn/ocb/trunks/tools/dmd/install-d.sh AlexIn article <ds61j7$1mv5$1 digitaldaemon.com>, alexander.panek brainsware.org says...Yet another update: I've added some nice output and a cleaning up to the script. I renamed it also to install-d.sh. Here's the new link: https://80.108.15.143/svn/ocb/trunks/tools/dmd/install-d.sh AlexHello guys (and girls, perhaps), I've written a little bash script to ease the 'pain' (or for that matter shorten the time needed for) of an installation of DMD under Linux. Just unpack the dmd.zip and put the install.sh into the same directory, run it as root, and be happy. :) Usage: /install.sh <prefix> .where <prefix> is something like /usr, /usr/local or where ever you want phobos' sources and dmd to be living. https://80.108.15.143/svn/ocb/trunks/tools/dmd/install.sh There's also a PKGBUILD available, written by a friend of mine: https://80.108.15.143/svn/ocb/trunks/tools/dmd/PKGBUILD Maybe it helps someone.., AlexAdded a few lines to give the possibility to download dmd.zip via install.sh: Usage: /install.sh <prefix> [-d] <prefix> -> as usual -d -> Download dmd.zip from http://ftp.digitalmars.com/dmd.zip (DMDZIP_URL) Alex
Feb 12 2006
Alexander Panek wrote:Hasan Aljudy wrote:Doesn't seem to work with me. Infact there's no reference to "--noroot" inside the script file as far as I can tell. ssh log: -------------------------------------------------- [abdurahh csc ~]$ sh install-d.sh ~/d --noroot Creating /home/ugb/abdurahh/d/{bin,lib,include} if not present Copying executables to /home/ugb/abdurahh/d/bin Copying libphobos.a to /home/ugb/abdurahh/d/lib Copying Phobos' source to /home/ugb/abdurahh/d/include Creating a specific dmd.conf with given prefix (/home/ugb/abdurahh/d) install-d.sh: line 75: /etc/dmd.conf: No such file or directory Could not create dmd.conf in /etc. You should perform this task as root. Aborting installation.Alexander Panek wrote:There's a no-root option available ( --noroot ) for purposes like this. I'd be glad for any further improvement ideas, if you have some. Regards, AlexIn article <ds68nk$1rvm$1 digitaldaemon.com>, Alexander Panek says...I have to be root? I'm not the root on my university's linux boxes, is there a workaround?In article <ds66j6$1q9q$1 digitaldaemon.com>, Alexander Panek says...I hate newsgroups for not being able to edit posts.. or for that matter: for having to think and read before posting. :P Here's a working link: https://80.108.15.143/svn/ocb/trunks/tools/dmd/install-d.sh AlexIn article <ds61j7$1mv5$1 digitaldaemon.com>, alexander.panek brainsware.org says...Yet another update: I've added some nice output and a cleaning up to the script. I renamed it also to install-d.sh. Here's the new link: https://80.108.15.143/svn/ocb/trunks/tools/dmd/install-d.sh AlexHello guys (and girls, perhaps), I've written a little bash script to ease the 'pain' (or for that matter shorten the time needed for) of an installation of DMD under Linux. Just unpack the dmd.zip and put the install.sh into the same directory, run it as root, and be happy. :) Usage: /install.sh <prefix> .where <prefix> is something like /usr, /usr/local or where ever you want phobos' sources and dmd to be living. https://80.108.15.143/svn/ocb/trunks/tools/dmd/install.sh There's also a PKGBUILD available, written by a friend of mine: https://80.108.15.143/svn/ocb/trunks/tools/dmd/PKGBUILD Maybe it helps someone.., AlexAdded a few lines to give the possibility to download dmd.zip via install.sh: Usage: /install.sh <prefix> [-d] <prefix> -> as usual -d -> Download dmd.zip from http://ftp.digitalmars.com/dmd.zip (DMDZIP_URL) Alex
Feb 12 2006
Hasan Aljudy wrote:Alexander Panek wrote:I fixed a few 'bugs' now. It should work; The only thing is, that you can't compile by "./<prefix>/bin/dmd stuff", because ld won't find libphobos. But I've got a workaround for this:Hasan Aljudy wrote:Doesn't seem to work with me. Infact there's no reference to "--noroot" inside the script file as far as I can tell. ssh log: -------------------------------------------------- [abdurahh csc ~]$ sh install-d.sh ~/d --noroot Creating /home/ugb/abdurahh/d/{bin,lib,include} if not present Copying executables to /home/ugb/abdurahh/d/bin Copying libphobos.a to /home/ugb/abdurahh/d/lib Copying Phobos' source to /home/ugb/abdurahh/d/include Creating a specific dmd.conf with given prefix (/home/ugb/abdurahh/d) install-d.sh: line 75: /etc/dmd.conf: No such file or directory Could not create dmd.conf in /etc. You should perform this task as root. Aborting installation.Alexander Panek wrote:There's a no-root option available ( --noroot ) for purposes like this. I'd be glad for any further improvement ideas, if you have some. Regards, AlexIn article <ds68nk$1rvm$1 digitaldaemon.com>, Alexander Panek says...I have to be root? I'm not the root on my university's linux boxes, is there a workaround?In article <ds66j6$1q9q$1 digitaldaemon.com>, Alexander Panek says...I hate newsgroups for not being able to edit posts.. or for that matter: for having to think and read before posting. :P Here's a working link: https://80.108.15.143/svn/ocb/trunks/tools/dmd/install-d.sh AlexIn article <ds61j7$1mv5$1 digitaldaemon.com>, alexander.panek brainsware.org says...Yet another update: I've added some nice output and a cleaning up to the script. I renamed it also to install-d.sh. Here's the new link: https://80.108.15.143/svn/ocb/trunks/tools/dmd/install-d.sh AlexHello guys (and girls, perhaps), I've written a little bash script to ease the 'pain' (or for that matter shorten the time needed for) of an installation of DMD under Linux. Just unpack the dmd.zip and put the install.sh into the same directory, run it as root, and be happy. :) Usage: /install.sh <prefix> .where <prefix> is something like /usr, /usr/local or where ever you want phobos' sources and dmd to be living. https://80.108.15.143/svn/ocb/trunks/tools/dmd/install.sh There's also a PKGBUILD available, written by a friend of mine: https://80.108.15.143/svn/ocb/trunks/tools/dmd/PKGBUILD Maybe it helps someone.., AlexAdded a few lines to give the possibility to download dmd.zip via install.sh: Usage: /install.sh <prefix> [-d] <prefix> -> as usual -d -> Download dmd.zip from http://ftp.digitalmars.com/dmd.zip (DMDZIP_URL) Alex./prefix/bin/dmd -c stuff gcc stuff.o -o stuff prefix/lib/libphobos.a -lpthread -lmThat worked on my server, logged in as normal user, install-d.sh executed with "--noroot" option. Regards, Alex
Feb 13 2006
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hasan Aljudy schrieb am 2006-02-12: [snip]I have to be root? I'm not the root on my university's linux boxes, is there a workaround?Below I assume that your home directory is "/home/user". 1) cd /home/user 3) download the current dmd.zip and save as /home/user/dmd.zip 4) unzip dmd.zip 5) chmod +x /home/user/dmd/bin/dmd 6) create the file /home/user/dmd.sh with the following 2 lines: /home/user/dmd/bin/dmd -I/home/user/dmd/src/phobos -L-L/home/user/dmd/lib $* 7) chmod =rx /home/user/dmd.sh 8) happy compiling, e.g.: /home/user/dmd.sh source.d Thomas -----BEGIN PGP SIGNATURE----- iD8DBQFD78Y93w+/yD4P9tIRAkJIAJoDEKk/xdMZU3HVTUFhO9fwATnemACfWcYA r16qzsiYH+kHsMJy53aqVg8= =U+px -----END PGP SIGNATURE-----
Feb 12 2006
<a href='http://www.yahoo.com'></a> http://www.insurance-top.com/auto/ <a href='http://www.insurance-top.com'>auto insurance</a>. <a href="http://www.insurance-top.com ">Insurance car</a>: compare car insurance, auto insurance, insurance car. [url]http://www.insurance-top.com/car/[/url] [link=http://www.insurance-top.com]insurance quote[/link] from site . <a href='http://www.yahoo.com'></a> http://www.insurance-top.com/auto/ <a href='http://www.insurance-top.com'>auto insurance</a>. <a href="http://www.insurance-top.com ">Insurance car</a>: compare car insurance, auto insurance, insurance car. [url]http://www.insurance-top.com/car/[/url] [link=http://www.insurance-top.com]insurance quote[/link] from site .
Jun 25 2006
http://www.insurance-top.com/company/ car site insurance. [URL=http://www.insurance-top.com]home insurance[/URL]: compare car insurance, auto insurance, insurance car. [url=http://www.insurance-top.com]cars insurance[/url] from website . http://www.insurance-top.com/company/ car site insurance. [URL=http://www.insurance-top.com]home insurance[/URL]: compare car insurance, auto insurance, insurance car. [url=http://www.insurance-top.com]cars insurance[/url] from website .
Jun 25 2006
http://www.insurance-top.com/company/ car site insurance. compare car insurance, auto insurance, insurance car. from website . http://www.insurance-top.com/company/ car site insurance. compare car insurance, auto insurance, insurance car. from website .
Jun 25 2006
<a href='http://www.yahoo.com'></a> http://www.ringtones-dir.com/download/ <a href='http://www.ringtones-dir.com'>download ringtones</a>. <a href="http://www.ringtones-dir.com ">nokia ringtones</a>: Download ringtones FREE, Best free samsung ringtones, Cingular ringtones and more. [url]http://www.ringtones-dir.com/free/[/url] [link=http://www.ringtones-dir.com]ring tones[/link] From site . <a href='http://www.yahoo.com'></a> http://www.ringtones-dir.com/download/ <a href='http://www.ringtones-dir.com'>download ringtones</a>. <a href="http://www.ringtones-dir.com ">nokia ringtones</a>: Download ringtones FREE, Best free samsung ringtones, Cingular ringtones and more. [url]http://www.ringtones-dir.com/free/[/url] [link=http://www.ringtones-dir.com]ring tones[/link] From site .
Jun 25 2006
http://www.ringtones-dir.com/get/ ringtones site free. [URL=http://www.ringtones-dir.com]ringtones download[/URL]: Download ringtones FREE, Best free samsung ringtones, Cingular ringtones and more. [url=http://www.ringtones-dir.com]samsung ringtones[/url] From website . http://www.ringtones-dir.com/get/ ringtones site free. [URL=http://www.ringtones-dir.com]ringtones download[/URL]: Download ringtones FREE, Best free samsung ringtones, Cingular ringtones and more. [url=http://www.ringtones-dir.com]samsung ringtones[/url] From website .
Jun 25 2006
http://www.ringtones-dir.com/get/ ringtones site free. Download ringtones FREE, Best free samsung ringtones, Cingular ringtones and more. From website . http://www.ringtones-dir.com/get/ ringtones site free. Download ringtones FREE, Best free samsung ringtones, Cingular ringtones and more. From website .
Jun 25 2006
Old link doesn't work anymore, here's the new one: https://svn.esotericsystems.at/ocb/trunk/tools/dmd/install-d.sh Regards, Alex
Feb 13 2006
Alexander Panek wrote:Old link doesn't work anymore, here's the new one: https://svn.esotericsystems.at/ocb/trunk/tools/dmd/install-d.sh Regards, AlexThe lines that have: ` ... ` , such as: `echo "Extracting failed. Aborting installation."; exit 1` and others, are they correct? The ` operators, (what's the name of that character? backquote?) will cause the shell to run the command given by the output of the command given to ` `. So: `echo "Extracting failed. Aborting installation."; exit 1` will try to run the command "Extracting" which of course doesn't make sense. -- Bruno Medeiros - CS/E student "Certain aspects of D are a pathway to many abilities some consider to be... unnatural."
Feb 14 2006
Alexander Panek wrote:Old link doesn't work anymore, here's the new one: https://svn.esotericsystems.at/ocb/trunk/tools/dmd/install-d.shLine 96 should be changed from: NOROOT=1 to: NOROOT=0 Otherwise, seems to work great :-) Sean
Feb 15 2006
Sean Kelly wrote:Alexander Panek wrote:Oh..yea, heh. Changed, link stays the same. If you've got any other improvement suggestions feel free to post them. :) AlexOld link doesn't work anymore, here's the new one: https://svn.esotericsystems.at/ocb/trunk/tools/dmd/install-d.shLine 96 should be changed from: NOROOT=1 to: NOROOT=0 Otherwise, seems to work great :-) Sean
Feb 15 2006