Jump to page: 1 2 3
Thread overview
Installation script for DMD Linux version
Feb 05, 2006
alexander.panek
Feb 06, 2006
clayasaurus
Feb 06, 2006
alexander.panek
Feb 06, 2006
Alexander Panek
Feb 06, 2006
Alexander Panek
Feb 06, 2006
Alexander Panek
Feb 12, 2006
Hasan Aljudy
Feb 12, 2006
Alexander Panek
Feb 13, 2006
Hasan Aljudy
Feb 14, 2006
Alexander Panek
Feb 12, 2006
Thomas Kuehne
car insurance<a href='http://www.insurance-top.com'
Jun 25, 2006
US
insurance auto<a href='http://www.insurance-top.com'
Jun 25, 2006
US
insurance auto<a href='http://www.insurance-top.com'
Jun 25, 2006
US
<a href='ebsite .'
Jun 25, 2006
US
free ringtones<a href='http://www.ringtones-dir.com'
Jun 25, 2006
US
ringtones free<a href='http://www.ringtones-dir.com'
Jun 25, 2006
US
ringtones free<a href='http://www.ringtones-dir.com'
Jun 25, 2006
US
Feb 14, 2006
Alexander Panek
Feb 14, 2006
Bruno Medeiros
Feb 15, 2006
Sean Kelly
Feb 15, 2006
Alexander Panek
February 05, 2006
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


February 06, 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
> 
> 
February 06, 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


February 06, 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..,
>Alex
>
>

Added 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


February 06, 2006
In article <ds66j6$1q9q$1@digitaldaemon.com>, Alexander Panek says...
>
>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..,
>>Alex
>>
>>
>
>Added 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
>
>


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

Alex


February 06, 2006
In article <ds68nk$1rvm$1@digitaldaemon.com>, Alexander Panek says...
>
>In article <ds66j6$1q9q$1@digitaldaemon.com>, Alexander Panek says...
>>
>>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..,
>>>Alex
>>>
>>>
>>
>>Added 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
>>
>>
>
>
>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
>
>Alex
>
>

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

Alex


February 12, 2006
Alexander Panek wrote:
> In article <ds68nk$1rvm$1@digitaldaemon.com>, Alexander Panek says...
> 
>>In article <ds66j6$1q9q$1@digitaldaemon.com>, Alexander Panek says...
>>
>>>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..,
>>>>Alex
>>>>
>>>>
>>>
>>>Added 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
>>>
>>>
>>
>>
>>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
>>
>>Alex
>>
>>
> 
> 
> 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
> 
> Alex
> 
> 

I have to be root?
I'm not the root on my university's linux boxes, is there a workaround?
February 12, 2006
Hasan Aljudy wrote:
> Alexander Panek wrote:
> 
>> In article <ds68nk$1rvm$1@digitaldaemon.com>, Alexander Panek says...
>>
>>> In article <ds66j6$1q9q$1@digitaldaemon.com>, Alexander Panek says...
>>>
>>>> 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..,
>>>>> Alex
>>>>>
>>>>>
>>>>
>>>> Added 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
>>>>
>>>>
>>>
>>>
>>> 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
>>>
>>> Alex
>>>
>>>
>>
>>
>> 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
>>
>> Alex
>>
>>
> 
> I have to be root?
> I'm not the root on my university's linux boxes, is there a workaround?

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, Alex
February 12, 2006
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:
#!/bin/bash
/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


February 13, 2006
Alexander Panek wrote:
> Hasan Aljudy wrote:
> 
>> Alexander Panek wrote:
>>
>>> In article <ds68nk$1rvm$1@digitaldaemon.com>, Alexander Panek says...
>>>
>>>> In article <ds66j6$1q9q$1@digitaldaemon.com>, Alexander Panek says...
>>>>
>>>>> 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..,
>>>>>> Alex
>>>>>>
>>>>>>
>>>>>
>>>>> Added 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
>>>>>
>>>>>
>>>>
>>>>
>>>> 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
>>>>
>>>> Alex
>>>>
>>>>
>>>
>>>
>>> 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
>>>
>>> Alex
>>>
>>>
>>
>> I have to be root?
>> I'm not the root on my university's linux boxes, is there a workaround?
> 
> 
> 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, Alex

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.

« First   ‹ Prev
1 2 3