menginstal homebank dengan minuman

5

saat menginstal perangkat lunak bank rumah saya mendapatkan kesalahan

Kesalahan: Anda harus `membuat tautan intltool xz 'sebelum homebank dapat diinstal

MacBook-Pro:/ Sarfaraz$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null

MacBook-Pro:/ Sarfaraz$ brew install homebank
==> Installing dependencies for homebank: pkg-config, intltool, xz, gettext, libffi, glib, jpeg, libtiff, libpng, gobject-introspection, gdk-pixbuf, atk,
==> Installing homebank dependency: pkg-config
==> Downloading http://pkgconfig.freedesktop.org/releases/pkg-config-0.28.tar.gz
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/pkg-config/0.28 --disable-host-tool --with-internal-glib --with-pc-path=/usr/local/lib/pkgconfig:/usr/local/share/pkg
==> make
==> make check
==> make install
🍺  /usr/local/Cellar/pkg-config/0.28: 10 files, 600K, built in 2.9 minutes
==> Installing homebank dependency: intltool
==> Downloading https://launchpad.net/intltool/trunk/0.51.0/+download/intltool-0.51.0.tar.gz
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/intltool/0.51.0 --disable-silent-rules
==> make install
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink share/man/man8/intltool-extract.8
/usr/local/share/man/man8 is not writable.

You can try again using:
  brew link intltool
==> Summary
🍺  /usr/local/Cellar/intltool/0.51.0: 19 files, 224K, built in 16 seconds
==> Installing homebank dependency: xz
==> Downloading https://fossies.org/linux/misc/xz-5.2.1.tar.gz
######################################################################## 100.0%
==> ./configure --disable-silent-rules --prefix=/usr/local/Cellar/xz/5.2.1
==> make install
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink lib/pkgconfig/liblzma.pc
/usr/local/lib/pkgconfig is not writable.

You can try again using:
  brew link xz
==> Summary
🍺  /usr/local/Cellar/xz/5.2.1: 59 files, 1.6M, built in 117 seconds
==> Installing homebank dependency: gettext
==> Downloading http://ftpmirror.gnu.org/gettext/gettext-0.19.4.tar.xz
######################################################################## 100.0%
==> ./configure --disable-silent-rules --prefix=/usr/local/Cellar/gettext/0.19.4 --with-included-gettext --with-included-glib --with-included-libcroco --with-in
==> make
==> make install
==> Caveats
This formula is keg-only, which means it was not symlinked into /usr/local.

Mac OS X provides similar software, and installing this software in
parallel can cause all kinds of trouble.

OS X provides the BSD gettext library and some software gets confused if both are in the library path.

Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:

    LDFLAGS:  -L/usr/local/opt/gettext/lib
    CPPFLAGS: -I/usr/local/opt/gettext/include

==> Summary
🍺  /usr/local/Cellar/gettext/0.19.4: 1920 files, 21M, built in 13.3 minutes
==> Installing homebank dependency: libffi
==> Downloading http://mirrors.kernel.org/sources.redhat.com/libffi/libffi-3.0.13.tar.gz
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/libffi/3.0.13
==> make install
==> Caveats
This formula is keg-only, which means it was not symlinked into /usr/local.

Mac OS X already provides this software and installing another version in
parallel can cause all kinds of trouble.

Some formulae require a newer version of libffi.

Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:

    LDFLAGS:  -L/usr/local/opt/libffi/lib

==> Summary
🍺  /usr/local/Cellar/libffi/3.0.13: 14 files, 408K, built in 52 seconds
==> Installing homebank dependency: glib
==> Downloading http://ftp.gnome.org/pub/gnome/sources/glib/2.44/glib-2.44.0.tar.xz
######################################################################## 100.0%
==> Downloading https://gist.githubusercontent.com/jacknagel/af332f42fae80c570a77/raw/7b5fd0d2e6554e9b770729fddacaa2d648327644/glib-hardcoded-paths.diff

curl: (22) The requested URL returned error: 404 Not Found
Error: Failed to download resource "glib--patch"
Download failed: https://gist.githubusercontent.com/jacknagel/af332f42fae80c570a77/raw/7b5fd0d2e6554e9b770729fddacaa2d648327644/glib-hardcoded-paths.diff

Imheres-MacBook-Pro:imhereV1 Sarfaraz$ brew install homebank
Error: You must `brew link intltool xz' before homebank can be installed

Imheres-MacBook-Pro:imhereV1 Sarfaraz$ brew link intltool xz
Linking /usr/local/Cellar/intltool/0.51.0... 
Error: Could not symlink share/man/man8/intltool-extract.8
/usr/local/share/man/man8 is not writable.
Saifee
sumber
1
Apa yang brew doctordikatakan?
Ian C.
brew doctorapakah ada untuk memperbaiki masalah seperti ini.
CousinCocaine

Jawaban:

6

buatlah dokter

The brew doctorPerintah ini dirancang untuk memperbaiki masalah seperti ini. Cukup ikuti instruksi di terminal Anda setelah menjalankan perintah.

SepupuCocaine
sumber
5

Setelah memutakhirkan ke El Capitan, /usr/localizin diubah ke root. Agar Homebrew bekerja, Anda perlu melakukan ini:

sudo chown -R $(whoami):admin /usr/local
sdayal
sumber
melakukan hal ini menyelesaikan masalah tetapi sekarang saya mendapatkan kesalahan 'ikal: (22) URL yang diminta mengembalikan kesalahan: 404 Tidak Ditemukan Kesalahan: Gagal mengunduh sumber daya "glib - patch" Unduhan gagal: gist.githubusercontent.com/jacknagel/af332f42fae80c570a77 / raw / ... 'ketika saya melakukan' brew install homebank '
Saifee
@Sifif, dapatkah Anda mencoba mencopot pemasangan dan menginstal ulang homebank. itu diinstal baik untuk saya sekarang.
sdayal
@ Saifee, Jika tidak, saya sarankan membuat posting baru dengan semua kesalahan secara rinci bersama dengan output daribrew doctor
sdayal
1

Setelah melihat ini beberapa kali di output Anda /usr/local/share/man/man8 is not writable.

Saya harus menyarankan melakukan ini dan kemudian coba lagi: sudo chown $(whoami):admin /usr/local/share/man/man8

BarryMode
sumber
Kesalahan ini juga ada/usr/local/lib/pkgconfig is not writable.
sdayal
Lari saja brew docter. Itu akan memperbaiki semua masalah.
CousinCocaine