Thread overview
Fail to compile phobos
Sep 25, 2014
JJDuck
Sep 25, 2014
John Colvin
Sep 25, 2014
monarch_dodra
Sep 25, 2014
H. S. Teoh
September 25, 2014
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
September 25, 2014
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.
September 25, 2014
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.
September 25, 2014
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.