www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Fail to compile phobos

reply "JJDuck" <hamilton serenahamilton.com> writes:
I tried to compile phobos according to the last paragraph in this 
page:
http://dlang.org/dmd-linux.html

but this is the error I have
fatal: Not a git repository (or any of the parent directories): 
.git


I dont know what happened, i have tried for a few days.

BTW, should I place my dmd2 folder at ~ or /usr/local/share. 
which will have less prblem in installing and maintaining?

Thanks
Sep 25 2014
next sibling parent "John Colvin" <john.loughran.colvin gmail.com> writes:
On Thursday, 25 September 2014 at 17:20:42 UTC, JJDuck wrote:
 I tried to compile phobos according to the last paragraph in 
 this page:
 http://dlang.org/dmd-linux.html

 but this is the error I have
 fatal: Not a git repository (or any of the parent directories): 
 .git


 I dont know what happened, i have tried for a few days.

 BTW, should I place my dmd2 folder at ~ or /usr/local/share. 
 which will have less prblem in installing and maintaining?

 Thanks
Nothing in the phobos build process (either the instructions or posix.mak) mention git, so I have no idea what's going on there. Do you actually need to build phobos? Some distros have packages available for dmd.
Sep 25 2014
prev sibling parent reply "monarch_dodra" <monarchdodra gmail.com> writes:
On Thursday, 25 September 2014 at 17:20:42 UTC, JJDuck wrote:
 I tried to compile phobos according to the last paragraph in 
 this page:
 http://dlang.org/dmd-linux.html

 but this is the error I have
 fatal: Not a git repository (or any of the parent directories): 
 .git


 I dont know what happened, i have tried for a few days.

 BTW, should I place my dmd2 folder at ~ or /usr/local/share. 
 which will have less prblem in installing and maintaining?

 Thanks
Please provide the command that produced this output.
Sep 25 2014
parent "H. S. Teoh via Digitalmars-d-learn" <digitalmars-d-learn puremagic.com> writes:
On Thu, Sep 25, 2014 at 06:43:14PM +0000, monarch_dodra via Digitalmars-d-learn
wrote:
 On Thursday, 25 September 2014 at 17:20:42 UTC, JJDuck wrote:
I tried to compile phobos according to the last paragraph in this page:
http://dlang.org/dmd-linux.html

but this is the error I have
fatal: Not a git repository (or any of the parent directories): .git


I dont know what happened, i have tried for a few days.

BTW, should I place my dmd2 folder at ~ or /usr/local/share. which will
have less prblem in installing and maintaining?

Thanks
Please provide the command that produced this output.
He said it was from the bottom of the page at http://dlang.org/dmd-linux.html which says: cd ~/dmd2/src/druntime make -f posix.mak DMD=~/dmd2/linux/bin/dmd cd ../phobos make -f posix.mak DMD=~/dmd2/linux/bin/dmd T -- All problems are easy in retrospect.
Sep 25 2014