Compilation error from github source

0

I am trying to install/compile qstardict for my openSUSE. Following the instruction:

Before building fetch libqxt submodule:

git submodule init && git submodule update

To build and install:

  1. qmake [switches]
  2. make
  3. make install

But when I do git submodule init, the error comes:

fatal: Not a git repository (or any parent up to mount point /home)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).

Alex

Posted 2017-04-11T17:12:16.367

Reputation: 55

Answers

0

Did you init a local Git repository, into which this remote is supposed to be added?

Does your local directory have a .git folder?

First delete the old .git directory : rm -rf .git

Then initialize the git repo again : git init.

Paresh Chauhan

Posted 2017-04-11T17:12:16.367

Reputation: 144