You are not logged in.
hello, i would like to install scim-anthy (scim is an input method for type in japanese) but makepkg says error:
https://aur.archlinux.org/packages/scim-anthy
make[2]: *** [Makefile:602: anthy_imengine_setup_la-scim_anthy_setup.lo] Error 1
make[2]: Leaving directory '/tmp/scim-anthy/src/scim-anthy-1.2.7/src'
make[1]: *** [Makefile:326: all-recursive] Error 1
make[1]: Leaving directory '/tmp/scim-anthy/src/scim-anthy-1.2.7'
make: *** [Makefile:254: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
it doesn't work because it hasn't been updated since 2019? is there any way to fix?
sorry for my bad english
Offline
Try applying the following changes to the PKGBUILD
diff --git a/PKGBUILD b/PKGBUILD
index 1f7103a..64462b3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,13 +11,17 @@ arch=('x86_64')
license=('GPL')
depends=('scim' 'anthy')
source=("http://osdn.dl.sourceforge.jp/scim-imengine/${_filecode}/${pkgname}-${pkgver}.tar.gz"
- scim-anthy-fix-build.patch)
+ "https://sources.debian.org/data/main/s/scim-anthy/1.2.7-7/debian/patches/no-rpath.patch"
+ "https://sources.debian.org/data/main/s/scim-anthy/1.2.7-7/debian/patches/gtk3.patch")
sha256sums=('cb60070d8f6ff281a99d329c9d731f02ae16893083c9efa9970ccd7287365198'
- '30d025963eab608295415bdb19b5baf65c650ecdfec639414ee29d3422f35a64')
+ 'c96de9f7b8564db442c35f435b3c1ae23a50b69139fd466b35ee1fe00612d3fd'
+ 'deb35f44d9764a04ef98ac4d8ada59261d5d32716ab4326449a5a28100917a4e')
prepare() {
cd $pkgname-$pkgver
- patch -p1 -i ../scim-anthy-fix-build.patch # Fedora patch
+ patch -p1 -i ../no-rpath.patch
+ patch -p1 -i ../gtk3.patch
+ autoreconf -fi
}
build() {
Offline
it works! thank you very much :-)
sorry for my bad english
Offline