June 05, 2026, 08:47:45 AM

Author Topic: Compiling from github: Not a git repository (build.h) ERROR  (Read 9188 times)

0 Members and 1 Guest are viewing this topic.

Offline phoenix84

  • Newbie
  • *
  • Posts: 2
  • Karma: +1/-0
    • View Profile
Compiling from github: Not a git repository (build.h) ERROR
« on: December 03, 2013, 08:04:08 AM »
Code: [Select]
make -f makefile.unix
/bin/sh ../share/genbuild.sh obj/build.h
fatal: Not a git repository (or any of the parent directories): .git
../share/genbuild.sh: 33: ../share/genbuild.sh: cannot create obj/build.h: Directory nonexistent
../share/genbuild.sh: 34: ../share/genbuild.sh: cannot create obj/build.h: Directory nonexistent
make: *** [obj/build.h] Błąd 2

any ideas? compiled version from official website also do not work... miniupnpc problem... so I have stuck completely :)

k.

Offline akumaburn

  • Lead Developer
  • DevTeam
  • *****
  • Posts: 320
  • Karma: +44/-0
    • View Profile
Re: Compiling from github: Not a git repository (build.h) ERROR
« Reply #1 on: December 05, 2013, 12:15:54 AM »
Code: [Select]
make -f makefile.unix
/bin/sh ../share/genbuild.sh obj/build.h
fatal: Not a git repository (or any of the parent directories): .git
../share/genbuild.sh: 33: ../share/genbuild.sh: cannot create obj/build.h: Directory nonexistent
../share/genbuild.sh: 34: ../share/genbuild.sh: cannot create obj/build.h: Directory nonexistent
make: *** [obj/build.h] Błąd 2

any ideas? compiled version from official website also do not work... miniupnpc problem... so I have stuck completely :)

k.

just

Code: [Select]
mkdir obj

That should fix your problems :)
Want to donate to the Development Team?

GLD:
DztaVPtUd2M5TwfifBUaq5bLrAscYeMbyd

Offline phoenix84

  • Newbie
  • *
  • Posts: 2
  • Karma: +1/-0
    • View Profile
Re: Compiling from github: Not a git repository (build.h) ERROR
« Reply #2 on: December 05, 2013, 01:12:31 PM »
With each day of my life I realize how stupid I am becoming... :)

with obj catalogue it went further :)

k.

Offline r3wt

  • Gold Panner
  • **
  • Posts: 29
  • Karma: +2/-0
    • View Profile
Re: Compiling from github: Not a git repository (build.h) ERROR
« Reply #3 on: December 27, 2013, 07:37:12 PM »
With each day of my life I realize how stupid I am becoming... :)

with obj catalogue it went further :)

k.
its one of those things that comes with experience compiling these coins. there are much nastier errors out there to debug, especially on windows.