fcitx / fcitx5-bamboo

29 stars 3 forks source link

Build failed #1

Closed trmdi closed 2 years ago

trmdi commented 2 years ago
fcitx5/fcitx5-bamboo/build  main ✗                

▶ make
[ 12%] Built target org.fcitx.Fcitx5.Addon.Bamboo.metainfo.xml.in-fmt
[ 37%] Built target fcitx5-unikey-translation
[ 50%] Generating bamboo-core.a, bamboo-core.h
bamboo-c.go:26:2: "/home/trmdi/tmp/fcitx5/fcitx5-bamboo/bamboo/bamboo-core" is not a package path; see 'go help packages'
fcitxbambooengine.go:11:2: package bamboo-core is not in GOROOT (/usr/lib64/go/1.18/src/bamboo-core)
make[2]: *** [bamboo/CMakeFiles/bamboo-core.dir/build.make:76: bamboo/bamboo-core.a] Error 1
make[1]: *** [CMakeFiles/Makefile2:293: bamboo/CMakeFiles/bamboo-core.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
hmtheboy154 commented 2 years ago

Have you tried to use git submodule update and then rebuild ?

wengxt commented 2 years ago

Clone with git clone --recurse-submodules Or run git submodule update --init

trmdi commented 2 years ago

Ah that worked. Thank you.

trmdi commented 2 years ago

Btw, these files should be renamed:

  -- Installing: /usr/share/locale/ko/LC_MESSAGES/fcitx5-unikey.mo
  -- Installing: /usr/share/locale/ru/LC_MESSAGES/fcitx5-unikey.mo
  -- Installing: /usr/share/locale/zh_CN/LC_MESSAGES/fcitx5-unikey.mo
wengxt commented 2 years ago

@trmdi thanks, fixed.