Ajatt-Tools / gd-tools

🍣 A set of tools to enhance GoldenDict.
https://tatsumoto.neocities.org/blog/setting-up-goldendict#gd-tools
GNU General Public License v3.0
35 stars 6 forks source link

The system cannot find the file specified #7

Closed phudang-135 closed 1 year ago

phudang-135 commented 1 year ago

Hi,

I run make install and has this error:

install -Dm755 gd-ankisearch/gd-ankisearch.sh /usr/bin/gd-ankisearch process_begin: CreateProcess(NULL, install -Dm755 gd-ankisearch/gd-ankisearch.sh /usr/bin/gd-ankisearch, ...) failed. make (e=2): The system cannot find the file specified. make: *** [Makefile:29: /usr/bin/gd-ankisearch] Error 2

From what I understand, it is looking for /usr/bin/gd-ankisearch?

tatsumoto-ren commented 1 year ago

Did you run make before running make install?

phudang-135 commented 1 year ago

Did you run make before running make install?

Hi, I just run make and the following error show up:

-e '\033[1;32mBuilding the program...\033[0m' mkdir -p build g++ gd-marisa/gd-marisa.cpp -lmarisa -o build/gd-marisa process_begin: CreateProcess(NULL, g++ gd-marisa/gd-marisa.cpp -lmarisa -o build/gd-marisa, ...) failed. make (e=2): The system cannot find the file specified. make: *** [Makefile:23: build/gd-marisa] Error 2

It look like it did not see marisa. However, I did install goldendict on my using the provided .exe file. Do I need to install marisa separately?

Edit: I am using windows, maybe that is the problem? I suppose the tools are not written for Windows?

tatsumoto-ren commented 1 year ago

Do I need to install marisa separately?

If it isn't installed, install the marisa package. https://archlinux.org/packages/extra/x86_64/marisa/

phudang-135 commented 1 year ago

Hi,

I have decided to just install Arch Linux and went from there. Everything works now. Thank you for your time.

tatsumoto-ren commented 1 year ago

Awesome!