Coder Social home page Coder Social logo

Comments (22)

maelvls avatar maelvls commented on June 8, 2024

Bonjour,
Mince, libintl.8.dylib semble avoir été mis à jour et je n’ai pas rebuildé. Je vais voir si libintl a été mis à jour sur Homebrew. Ce qui est bizarre, c’est que sur le build une fois par jour, ça n’a pas détecté d’erreurs.

Je reviens vers vous

Update: libintl appartient à gettext

from homebrew-amc.

maelvls avatar maelvls commented on June 8, 2024

Pourriez-vous faire

brew info gettext

pour voir si tout va bien de ce côté ?

from homebrew-amc.

maelvls avatar maelvls commented on June 8, 2024

Probablement un souci avec gettext; en le réinstallant, ça devrait repartir (je viens de vérifier, gettext n’a pas été mis à jour dans les deux derniers mois du coup ça ne vient pas de là). Pouvez vous essayer :

brew reinstall gettext

from homebrew-amc.

euchi avatar euchi commented on June 8, 2024

Voila pour brew info gettext 👍

`gettext: stable 0.19.8.1 (bottled) [keg-only]
GNU internationalization (i18n) and localization (l10n) library
https://www.gnu.org/software/gettext/
/usr/local/Cellar/gettext/0.19.8.1 (1,935 files, 16.9MB)
Poured from bottle on 2018-07-08 at 17:13:02
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/gettext.rb
==> Caveats
gettext is keg-only, which means it was not symlinked into /usr/local,
because macOS provides the BSD gettext library & some software gets confused if both are in the library path.

If you need to have gettext first in your PATH run:
echo 'export PATH="/usr/local/opt/gettext/bin:$PATH"' >> ~/.bash_profile

For compilers to find gettext you may need to set:
export LDFLAGS="-L/usr/local/opt/gettext/lib"
export CPPFLAGS="-I/usr/local/opt/gettext/include"

==> Analytics
install: 187,347 (30 days), 514,309 (90 days), 1,810,759 (365 days)
install_on_request: 3,948 (30 days), 10,718 (90 days), 47,054 (365 days)
build_error: 0 (30 days)
`
Moins bien pour brew reinstall gettext

==> Reinstalling gettext ==> Downloading https://homebrew.bintray.com/bottles/gettext-0.19.8.1.mojave.bottle.tar.gz ######################################################################## 100.0% ==> Pouring gettext-0.19.8.1.mojave.bottle.tar.gz cp: /usr/local/Cellar/gettext/./0.19.8.1/bin/msgconv: Permission denied cp: /usr/local/Cellar/gettext/./0.19.8.1/bin/msggrep: Permission denied cp: /usr/local/Cellar/gettext/./0.19.8.1/bin/autopoint: Permission denied cp: /usr/local/Cellar/gettext/./0.19.8.1/bin/msgcomm: Permission denied cp: /usr/local/Cellar/gettext/./0.19.8.1/bin/msgen: Permission denied cp: /usr/local/Cellar/gettext/./0.19.8.1/bin/msgmerge: Permission denied cp: /usr/local/Cellar/gettext/./0.19.8.1/bin/envsubst: Permission denied cp: /usr/local/Cellar/gettext/./0.19.8.1/bin/msginit: Permission denied cp: /usr/local/Cellar/gettext/./0.19.8.1/bin/gettext: Permission denied cp: /usr/local/Cellar/gettext/./0.19.8.1/bin/gettext.sh: Permission denied cp: /usr/local/Cellar/gettext/./0.19.8.1/bin/msgcmp: Permission denied cp: /usr/local/Cellar/gettext/./0.19.8.1/bin/msgcat: Permission denied cp: /usr/local/Cellar/gettext/./0.19.8.1/bin/recode-sr-latin: Permission denied cp: /usr/local/Cellar/gettext/./0.19.8.1/bin/msgexec: Permission denied cp: /usr/local/Cellar/gettext/./0.19.8.1/bin/ngettext: Permission denied cp: /usr/local/Cellar/gettext/./0.19.8.1/bin/msgunfmt: Permission denied cp: /usr/local/Cellar/gettext/./0.19.8.1/bin/msgfilter: Permission denied cp: /usr/local/Cellar/gettext/./0.19.8.1/bin/msgfmt: Permission denied cp: /usr/local/Cellar/gettext/./0.19.8.1/bin/msgattrib: Permission denied cp: /usr/local/Cellar/gettext/./0.19.8.1/bin/xgettext: Permission denied cp: /usr/local/Cellar/gettext/./0.19.8.1/bin/gettextize: Permission denied cp: /usr/local/Cellar/gettext/./0.19.8.1/bin/msguniq: Permission denied cp: /usr/local/Cellar/gettext/./0.19.8.1/lib/libgettextpo.0.dylib: Permission denied cp: /usr/local/Cellar/gettext/./0.19.8.1/lib/gettext/project-id: Permission denied cp: /usr/local/Cellar/gettext/./0.19.8.1/lib/gettext/urlget: Permission denied cp: /usr/local/Cellar/gettext/./0.19.8.1/lib/gettext/hostname: Permission denied cp: /usr/local/Cellar/gettext/./0.19.8.1/lib/gettext/cldr-plurals: Permission denied cp: /usr/local/Cellar/gettext/./0.19.8.1/lib/gettext/user-email: Permission denied cp: /usr/local/Cellar/gettext/./0.19.8.1/lib/libintl.a: Permission denied cp: /usr/local/Cellar/gettext/./0.19.8.1/lib/libgettextsrc-0.19.8.1.dylib: Permission denied cp: /usr/local/Cellar/gettext/./0.19.8.1/lib/libgettextpo.a: Permission denied cp: /usr/local/Cellar/gettext/./0.19.8.1/lib/libasprintf.a: Permission denied Error: Failure while executing; cp -pR /var/folders/jb/j42t7n7x6tqbmpycydysw4km0000gn/T/d20190312-34140-1igsh98/gettext/. /usr/local/Cellar/gettext` exited with 1. Here's the output:
cp: /usr/local/Cellar/gettext/./0.19.8.1/bin/msgconv: Permission denied
cp: /usr/local/Cellar/gettext/./0.19.8.1/bin/msggrep: Permission denied
cp: /usr/local/Cellar/gettext/./0.19.8.1/bin/autopoint: Permission denied
cp: /usr/local/Cellar/gettext/./0.19.8.1/bin/msgcomm: Permission denied
cp: /usr/local/Cellar/gettext/./0.19.8.1/bin/msgen: Permission denied
cp: /usr/local/Cellar/gettext/./0.19.8.1/bin/msgmerge: Permission denied
cp: /usr/local/Cellar/gettext/./0.19.8.1/bin/envsubst: Permission denied
cp: /usr/local/Cellar/gettext/./0.19.8.1/bin/msginit: Permission denied
cp: /usr/local/Cellar/gettext/./0.19.8.1/bin/gettext: Permission denied
cp: /usr/local/Cellar/gettext/./0.19.8.1/bin/gettext.sh: Permission denied
cp: /usr/local/Cellar/gettext/./0.19.8.1/bin/msgcmp: Permission denied
cp: /usr/local/Cellar/gettext/./0.19.8.1/bin/msgcat: Permission denied
cp: /usr/local/Cellar/gettext/./0.19.8.1/bin/recode-sr-latin: Permission denied
cp: /usr/local/Cellar/gettext/./0.19.8.1/bin/msgexec: Permission denied
cp: /usr/local/Cellar/gettext/./0.19.8.1/bin/ngettext: Permission denied
cp: /usr/local/Cellar/gettext/./0.19.8.1/bin/msgunfmt: Permission denied
cp: /usr/local/Cellar/gettext/./0.19.8.1/bin/msgfilter: Permission denied
cp: /usr/local/Cellar/gettext/./0.19.8.1/bin/msgfmt: Permission denied
cp: /usr/local/Cellar/gettext/./0.19.8.1/bin/msgattrib: Permission denied
cp: /usr/local/Cellar/gettext/./0.19.8.1/bin/xgettext: Permission denied
cp: /usr/local/Cellar/gettext/./0.19.8.1/bin/gettextize: Permission denied
cp: /usr/local/Cellar/gettext/./0.19.8.1/bin/msguniq: Permission denied
cp: /usr/local/Cellar/gettext/./0.19.8.1/lib/libgettextpo.0.dylib: Permission denied
cp: /usr/local/Cellar/gettext/./0.19.8.1/lib/gettext/project-id: Permission denied
cp: /usr/local/Cellar/gettext/./0.19.8.1/lib/gettext/urlget: Permission denied
cp: /usr/local/Cellar/gettext/./0.19.8.1/lib/gettext/hostname: Permission denied
cp: /usr/local/Cellar/gettext/./0.19.8.1/lib/gettext/cldr-plurals: Permission denied
cp: /usr/local/Cellar/gettext/./0.19.8.1/lib/gettext/user-email: Permission denied
cp: /usr/local/Cellar/gettext/./0.19.8.1/lib/libintl.a: Permission denied
cp: /usr/local/Cellar/gettext/./0.19.8.1/lib/libgettextsrc-0.19.8.1.dylib: Permission denied
cp: /usr/local/Cellar/gettext/./0.19.8.1/lib/libgettextpo.a: Permission denied
cp: /usr/local/Cellar/gettext/./0.19.8.1/lib/libasprintf.a: Permission denied

Warning: Bottle installation failed: building from source.
==> Downloading https://ftp.gnu.org/gnu/gettext/gettext-0.19.8.1.tar.xz
######################################################################## 100.0%
==> ./configure --disable-silent-rules --prefix=/usr/local/Cellar/gettext/0.19.8.1 --with-included-gettext --with-included-glib --wit

==> make
Last 15 lines from /Users/patrickaymar/Library/Logs/Homebrew/gettext/02.make:
int pthread_attr_getstacksize(const pthread_attr_t * __restrict, size_t * __restrict);
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/pthread.h:524:1: error: unknown type name 'size_t'
size_t pthread_get_stacksize_np(pthread_t);
^
4 errors generated.
make[4]: *** [threadlib.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
libtool: compile: clang -c -DLOCALEDIR="/usr/local/Cellar/gettext/0.19.8.1/share/locale" -DLOCALE_ALIAS_PATH="/usr/local/Cellar/gettext/0.19.8.1/share/locale" -DLIBDIR="/usr/local/Cellar/gettext/0.19.8.1/lib" -DBUILDING_LIBINTL -DBUILDING_DLL -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR="/usr/local/Cellar/gettext/0.19.8.1/lib" -DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -fvisibility=hidden ./localcharset.c -o localcharset.o >/dev/null 2>&1
libtool: compile: clang -c -DLOCALEDIR="/usr/local/Cellar/gettext/0.19.8.1/share/locale" -DLOCALE_ALIAS_PATH="/usr/local/Cellar/gettext/0.19.8.1/share/locale" -DLIBDIR="/usr/local/Cellar/gettext/0.19.8.1/lib" -DBUILDING_LIBINTL -DBUILDING_DLL -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR="/usr/local/Cellar/gettext/0.19.8.1/lib" -DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -fvisibility=hidden ./lock.c -fno-common -DPIC -o .libs/lock.o
libtool: compile: clang -c -DLOCALEDIR="/usr/local/Cellar/gettext/0.19.8.1/share/locale" -DLOCALE_ALIAS_PATH="/usr/local/Cellar/gettext/0.19.8.1/share/locale" -DLIBDIR="/usr/local/Cellar/gettext/0.19.8.1/lib" -DBUILDING_LIBINTL -DBUILDING_DLL -DIN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR="/usr/local/Cellar/gettext/0.19.8.1/lib" -DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -fvisibility=hidden ./lock.c -o lock.o >/dev/null 2>&1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

READ THIS: https://docs.brew.sh/Troubleshooting
`
J'ai essayé avec sudo mais homebrew est pas fan visiblement , un peu liberticide je trouve.
Donc un problème de droit sur mon mac j'imagine pour le cp.

from homebrew-amc.

maelvls avatar maelvls commented on June 8, 2024

from homebrew-amc.

euchi avatar euchi commented on June 8, 2024

J'ai mis à jour les droits sur /usr/local, je ne pense pas les avoir modifié mais bon.
Cela semble bon pour gettext par contre je n'arrive pas à lancer AMC même avec la commande proposée :

`MBPat:service pattrick$ /usr/local/bin/auto-multiple-choice

(AMC-gui.pl:41130): GdkPixbuf-WARNING **: 11:26:54.265: Cannot open pixbuf loader module file '/usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache': No such file or directory

This likely means that your installation is broken.
Try running the command
gdk-pixbuf-query-loaders > /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
to make things work again for the time being.

(AMC-gui.pl:41130): GdkPixbuf-WARNING **: 11:26:54.459: Cannot open pixbuf loader module file '/usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache': No such file or directory

This likely means that your installation is broken.
Try running the command
gdk-pixbuf-query-loaders > /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
to make things work again for the time being.

(AMC-gui.pl:41130): Gtk-WARNING **: 11:26:54.459: Could not load a pixbuf from icon theme.
This may indicate that pixbuf loaders or the mime database could not be found.
Failed to load /usr/local/Cellar/auto-multiple-choice/1.4.0_1/share/auto-multiple-choice/icons/auto-multiple-choice.svg: Unrecognized image file format at /usr/local/Cellar/auto-multiple-choice/1.4.0_1/libexec/lib/perl5/darwin-thread-multi-2level/Glib/Object/Introspection.pm line 67.
MBPat:service pattrick$ gdk-pixbuf-query-loaders > /usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
MBPat:service pattrick$ /usr/local/bin/auto-multiple-choice

(AMC-gui.pl:41291): Gtk-WARNING **: 11:49:22.878: Could not load a pixbuf from icon theme.
This may indicate that pixbuf loaders or the mime database could not be found.
Failed to load /usr/local/Cellar/auto-multiple-choice/1.4.0_1/share/auto-multiple-choice/icons/auto-multiple-choice.svg: Unrecognized image file format at /usr/local/Cellar/auto-multiple-choice/1.4.0_1/libexec/lib/perl5/darwin-thread-multi-2level/Glib/Object/Introspection.pm line 67.
MBPat:service pattrick$
`
Ce n'est peut-être plus un problème lié à homebrew.

from homebrew-amc.

maelvls avatar maelvls commented on June 8, 2024

Du coup, avec brew reinstall gdk-pixbuf je suppose qu'il y a aussi des problèmes de droits ? 🙁

from homebrew-amc.

euchi avatar euchi commented on June 8, 2024

Et non, la magie a opéré !
Merci beaucoup pour votre aide.

"usr/local/ root ne doit pas être"

from homebrew-amc.

euchi avatar euchi commented on June 8, 2024

J'ai parlé trop vite AMC plante à l'ouverture du navigateur de répertoire :
(AMC-gui.pl:50149): GLib-GIO-ERROR **: 11:27:48.496: No GSettings schemas are installed on the system
J'ai essayé un brew doctor, il y a du travail ...

from homebrew-amc.

maelvls avatar maelvls commented on June 8, 2024

Coucou ! Est-ce que ça va mieux ? Comment pourrais-je aider ?

from homebrew-amc.

euchi avatar euchi commented on June 8, 2024

Mon poste est maintenant clean selon brew doctor.
Par contre je n'ai pas résolu la navigation dans les répertoire locaux, je déplace les projets à la racine de mon poste ...
D'après mes recherches incomplètes c'est peut être un problème de nécessité de compiler en local un module/widget FileChooser, mais je n'ai pas le temps ni sans doute les compétences pour aller plus loin pour le moment.

from homebrew-amc.

euchi avatar euchi commented on June 8, 2024

Bonjour,

je me permets un petit up

Je n'ai pas trouvé la solution à

(AMC-gui.pl:23101): GLib-GIO-ERROR **: 09:47:56.794: No GSettings schemas are installed on the system
Trace/BPT trap: 5

Cette erreur apparait lors de l'accès aux répertoires pour ouvrir un projet mais aussi lors de la saisie automatique des réponses et là c'est bloquant.

Merci

from homebrew-amc.

maelvls avatar maelvls commented on June 8, 2024

Il semble y avoir un souci avec glib (les schémas sont dans /usr/local/opt/glib/share/glib-2.0/schemas je crois). Juste pour être sûr, est-ce possible de réinstaller toutes les dépendances de auto-multiple-choice ?

brew reinstall adwaita-icon-theme cairo freetype gettext glib gobject-introspection gtk+3 imagemagick@6 libffi netpbm opencv pango perl poppler qpdf

from homebrew-amc.

euchi avatar euchi commented on June 8, 2024

Pas mieux, voir pire ... mais j'ai fait un
sudo port install auto-multiple-choice
Cela ne doit pas aider !

MBPat:stage pattrick$ brew reinstall adwaita-icon-theme cairo freetype gettext glib gobject-introspection gtk+3 imagemagick@6 libffi netpbm opencv pango perl poppler qpdf

==> Reinstalling adwaita-icon-theme 
==> Installing dependencies for adwaita-icon-theme: freetype, openssl, sqlite, python and harfbuzz
==> Installing adwaita-icon-theme dependency: freetype
==> Downloading https://homebrew.bintray.com/bottles/freetype-2.10.0.mojave.bottle.tar.gz
######################################################################## 100.0%
==> Pouring freetype-2.10.0.mojave.bottle.tar.gz
🍺  /usr/local/Cellar/freetype/2.10.0: 61 files, 2.3MB
==> Installing adwaita-icon-theme dependency: openssl
==> Downloading https://homebrew.bintray.com/bottles/openssl-1.0.2r.mojave.bottle.tar.gz
######################################################################## 100.0%
==> Pouring openssl-1.0.2r.mojave.bottle.tar.gz
==> Caveats
A CA file has been bootstrapped using certificates from the SystemRoots
keychain. To add additional certificates (e.g. the certificates added in
the System keychain), place .pem files in
  /usr/local/etc/openssl/certs

and run
  /usr/local/opt/openssl/bin/c_rehash

openssl is keg-only, which means it was not symlinked into /usr/local,
because Apple has deprecated use of OpenSSL in favor of its own TLS and crypto libraries.

If you need to have openssl first in your PATH run:
  echo 'export PATH="/usr/local/opt/openssl/bin:$PATH"' >> ~/.bash_profile

For compilers to find openssl you may need to set:
  export LDFLAGS="-L/usr/local/opt/openssl/lib"
  export CPPFLAGS="-I/usr/local/opt/openssl/include"

For pkg-config to find openssl you may need to set:
  export PKG_CONFIG_PATH="/usr/local/opt/openssl/lib/pkgconfig"

==> Summary
🍺  /usr/local/Cellar/openssl/1.0.2r: 1,795 files, 12.1MB
==> Installing adwaita-icon-theme dependency: sqlite
==> Downloading https://homebrew.bintray.com/bottles/sqlite-3.27.2.mojave.bottle.tar.gz
######################################################################## 100.0%
==> Pouring sqlite-3.27.2.mojave.bottle.tar.gz
==> Caveats
sqlite is keg-only, which means it was not symlinked into /usr/local,
because macOS provides an older sqlite3.

If you need to have sqlite first in your PATH run:
  echo 'export PATH="/usr/local/opt/sqlite/bin:$PATH"' >> ~/.bash_profile

For compilers to find sqlite you may need to set:
  export LDFLAGS="-L/usr/local/opt/sqlite/lib"
  export CPPFLAGS="-I/usr/local/opt/sqlite/include"

For pkg-config to find sqlite you may need to set:
  export PKG_CONFIG_PATH="/usr/local/opt/sqlite/lib/pkgconfig"

==> Summary
🍺  /usr/local/Cellar/sqlite/3.27.2: 11 files, 3.7MB
==> Installing adwaita-icon-theme dependency: python
==> Downloading https://homebrew.bintray.com/bottles/python-3.7.3.mojave.bottle.tar.gz
######################################################################## 100.0%
==> Pouring python-3.7.3.mojave.bottle.tar.gz
==> /usr/local/Cellar/python/3.7.3/bin/python3 -s setup.py --no-user-cfg install --force --verbose --install-scripts=/usr/local/Cellar/
==> /usr/local/Cellar/python/3.7.3/bin/python3 -s setup.py --no-user-cfg install --force --verbose --install-scripts=/usr/local/Cellar/
==> /usr/local/Cellar/python/3.7.3/bin/python3 -s setup.py --no-user-cfg install --force --verbose --install-scripts=/usr/local/Cellar/
==> Caveats
Python has been installed as
  /usr/local/bin/python3

Unversioned symlinks `python`, `python-config`, `pip` etc. pointing to
`python3`, `python3-config`, `pip3` etc., respectively, have been installed into
  /usr/local/opt/python/libexec/bin

If you need Homebrew's Python 2.7 run
  brew install python@2

You can install Python packages with
  pip3 install <package>
They will install into the site-package directory
  /usr/local/lib/python3.7/site-packages

See: https://docs.brew.sh/Homebrew-and-Python
==> Summary
🍺  /usr/local/Cellar/python/3.7.3: 3,863 files, 59.8MB
==> Installing adwaita-icon-theme dependency: harfbuzz
==> Downloading https://homebrew.bintray.com/bottles/harfbuzz-2.4.0.mojave.bottle.tar.gz
######################################################################## 100.0%
==> Pouring harfbuzz-2.4.0.mojave.bottle.tar.gz
🍺  /usr/local/Cellar/harfbuzz/2.4.0: 145 files, 9.5MB
==> Installing adwaita-icon-theme
==> Downloading https://homebrew.bintray.com/bottles/adwaita-icon-theme-3.32.0.mojave.bottle.tar.gz
######################################################################## 100.0%
==> Pouring adwaita-icon-theme-3.32.0.mojave.bottle.tar.gz
🍺  /usr/local/Cellar/adwaita-icon-theme/3.32.0: 5,827 files, 22.6MB
Removing: /Users/patrickaymar/Library/Caches/Homebrew/adwaita-icon-theme--3.30.1.mojave.bottle.tar.gz... (12.3MB)
==> Reinstalling cairo 
==> Downloading https://homebrew.bintray.com/bottles/cairo-1.16.0.mojave.bottle.tar.gz
Already downloaded: /Users/patrickaymar/Library/Caches/Homebrew/downloads/fafc9fd181a939883ef055697994edea57d091a35299109bf774fc91092fbae7--cairo-1.16.0.mojave.bottle.tar.gz
==> Pouring cairo-1.16.0.mojave.bottle.tar.gz
🍺  /usr/local/Cellar/cairo/1.16.0: 117 files, 5.5MB
==> Reinstalling gettext 
==> Downloading https://homebrew.bintray.com/bottles/gettext-0.19.8.1.mojave.bottle.tar.gz
Already downloaded: /Users/patrickaymar/Library/Caches/Homebrew/downloads/20fb183d8882abab5874937646456a6d73fcd3510ec65a0b2a54fdfeb0174519--gettext-0.19.8.1.mojave.bottle.tar.gz
==> Pouring gettext-0.19.8.1.mojave.bottle.tar.gz
==> Caveats
gettext is keg-only, which means it was not symlinked into /usr/local,
because macOS provides the BSD gettext library & some software gets confused if both are in the library path.

If you need to have gettext first in your PATH run:
  echo 'export PATH="/usr/local/opt/gettext/bin:$PATH"' >> ~/.bash_profile

For compilers to find gettext you may need to set:
  export LDFLAGS="-L/usr/local/opt/gettext/lib"
  export CPPFLAGS="-I/usr/local/opt/gettext/include"

==> Summary
🍺  /usr/local/Cellar/gettext/0.19.8.1: 1,935 files, 16.9MB
==> Reinstalling glib 
==> Downloading https://homebrew.bintray.com/bottles/glib-2.60.0_1.mojave.bottle.tar.gz
Already downloaded: /Users/patrickaymar/Library/Caches/Homebrew/downloads/1c92dc54c48ba5a2d12d9498a9115546dfcaf257650a7baf6ec67911f60e8c2e--glib-2.60.0_1.mojave.bottle.tar.gz
==> Pouring glib-2.60.0_1.mojave.bottle.tar.gz
🍺  /usr/local/Cellar/glib/2.60.0_1: 432 files, 15.3MB
==> Reinstalling gobject-introspection 
==> Installing dependencies for gobject-introspection: freetype
==> Reinstalling gtk+3 
==> Installing dependencies for gtk+3: gsettings-desktop-schemas and freetype
==> Installing gtk+3 dependency: gsettings-desktop-schemas
==> Downloading https://homebrew.bintray.com/bottles/gsettings-desktop-schemas-3.32.0.mojave.bottle.tar.gz
######################################################################## 100.0%
==> Pouring gsettings-desktop-schemas-3.32.0.mojave.bottle.tar.gz
==> /usr/local/opt/glib/bin/glib-compile-schemas /usr/local/share/glib-2.0/schemas
🍺  /usr/local/Cellar/gsettings-desktop-schemas/3.32.0: 96 files, 4MB
==> Reinstalling imagemagick@6 
==> Installing dependencies for imagemagick@6: freetype
==> Reinstalling libffi 
==> Downloading https://homebrew.bintray.com/bottles/libffi-3.2.1.mojave.bottle.tar.gz
Already downloaded: /Users/patrickaymar/Library/Caches/Homebrew/downloads/89b4ef328be250153e7a2b39982ac446e0b3bbfe7f3e2708912ba1976862c302--libffi-3.2.1.mojave.bottle.tar.gz
==> Pouring libffi-3.2.1.mojave.bottle.tar.gz
==> Caveats
libffi is keg-only, which means it was not symlinked into /usr/local,
because some formulae require a newer version of libffi.

For compilers to find libffi you may need to set:
  export LDFLAGS="-L/usr/local/opt/libffi/lib"

For pkg-config to find libffi you may need to set:
  export PKG_CONFIG_PATH="/usr/local/opt/libffi/lib/pkgconfig"

==> Summary
🍺  /usr/local/Cellar/libffi/3.2.1: 16 files, 296.8KB
==> Reinstalling netpbm 
==> Installing dependencies for netpbm: jasper
==> Installing netpbm dependency: jasper
==> Downloading https://homebrew.bintray.com/bottles/jasper-2.0.16_1.mojave.bottle.tar.gz
######################################################################## 100.0%
==> Pouring jasper-2.0.16_1.mojave.bottle.tar.gz
🍺  /usr/local/Cellar/jasper/2.0.16_1: 40 files, 1.4MB
==> Installing netpbm
==> Downloading https://homebrew.bintray.com/bottles/netpbm-10.73.26.mojave.bottle.tar.gz
Already downloaded: /Users/patrickaymar/Library/Caches/Homebrew/downloads/2996cd79bc0b37505608f5e611185c048c5215bd9cf6d2a717b2344b9b1d36df--netpbm-10.73.26.mojave.bottle.tar.gz
==> Pouring netpbm-10.73.26.mojave.bottle.tar.gz
🍺  /usr/local/Cellar/netpbm/10.73.26: 741 files, 6.6MB
==> Reinstalling opencv 
==> Installing dependencies for opencv: freetype, unbound, gnutls, libbluray, sdl2, leptonica, ffmpeg, mpfr and tbb
==> Reinstalling pango 
==> Installing dependencies for pango: freetype
==> Reinstalling perl 
==> Downloading https://homebrew.bintray.com/bottles/perl-5.28.1.mojave.bottle.2.tar.gz
Already downloaded: /Users/patrickaymar/Library/Caches/Homebrew/downloads/797c0823561a7dedefbe288baed5dd0a629c2d4258a1299e1e85d4a3147621c8--perl-5.28.1.mojave.bottle.2.tar.gz
==> Pouring perl-5.28.1.mojave.bottle.2.tar.gz
==> Caveats
By default non-brewed cpan modules are installed to the Cellar. If you wish
for your modules to persist across updates we recommend using `local::lib`.

You can set that up like this:
  PERL_MM_OPT="INSTALL_BASE=$HOME/perl5" cpan local::lib
  echo 'eval "$(perl -I$HOME/perl5/lib/perl5 -Mlocal::lib=$HOME/perl5)"' >> ~/.bash_profile
==> Summary
🍺  /usr/local/Cellar/perl/5.28.1: 2,458 files, 63.0MB
==> Reinstalling poppler 
==> Installing dependencies for poppler: freetype, nss and qt
==> Reinstalling qpdf 
==> Downloading https://homebrew.bintray.com/bottles/qpdf-8.4.0.mojave.bottle.tar.gz
Already downloaded: /Users/patrickaymar/Library/Caches/Homebrew/downloads/17d98b21c69ffa739741ffef89e6e72ea57cffbd9e625eaa12a48662302192c3--qpdf-8.4.0.mojave.bottle.tar.gz
==> Pouring qpdf-8.4.0.mojave.bottle.tar.gz
🍺  /usr/local/Cellar/qpdf/8.4.0: 65 files, 4.2MB
==> Caveats
==> openssl
A CA file has been bootstrapped using certificates from the SystemRoots
keychain. To add additional certificates (e.g. the certificates added in
the System keychain), place .pem files in
  /usr/local/etc/openssl/certs

and run
  /usr/local/opt/openssl/bin/c_rehash

openssl is keg-only, which means it was not symlinked into /usr/local,
because Apple has deprecated use of OpenSSL in favor of its own TLS and crypto libraries.

If you need to have openssl first in your PATH run:
  echo 'export PATH="/usr/local/opt/openssl/bin:$PATH"' >> ~/.bash_profile

For compilers to find openssl you may need to set:
  export LDFLAGS="-L/usr/local/opt/openssl/lib"
  export CPPFLAGS="-I/usr/local/opt/openssl/include"

For pkg-config to find openssl you may need to set:
  export PKG_CONFIG_PATH="/usr/local/opt/openssl/lib/pkgconfig"

==> sqlite
sqlite is keg-only, which means it was not symlinked into /usr/local,
because macOS provides an older sqlite3.

If you need to have sqlite first in your PATH run:
  echo 'export PATH="/usr/local/opt/sqlite/bin:$PATH"' >> ~/.bash_profile

For compilers to find sqlite you may need to set:
  export LDFLAGS="-L/usr/local/opt/sqlite/lib"
  export CPPFLAGS="-I/usr/local/opt/sqlite/include"

For pkg-config to find sqlite you may need to set:
  export PKG_CONFIG_PATH="/usr/local/opt/sqlite/lib/pkgconfig"

==> python
Python has been installed as
  /usr/local/bin/python3

Unversioned symlinks `python`, `python-config`, `pip` etc. pointing to
`python3`, `python3-config`, `pip3` etc., respectively, have been installed into
  /usr/local/opt/python/libexec/bin

If you need Homebrew's Python 2.7 run
  brew install python@2

You can install Python packages with
  pip3 install <package>
They will install into the site-package directory
  /usr/local/lib/python3.7/site-packages

See: https://docs.brew.sh/Homebrew-and-Python
==> gettext
gettext is keg-only, which means it was not symlinked into /usr/local,
because macOS provides the BSD gettext library & some software gets confused if both are in the library path.

If you need to have gettext first in your PATH run:
  echo 'export PATH="/usr/local/opt/gettext/bin:$PATH"' >> ~/.bash_profile

For compilers to find gettext you may need to set:
  export LDFLAGS="-L/usr/local/opt/gettext/lib"
  export CPPFLAGS="-I/usr/local/opt/gettext/include"

==> libffi
libffi is keg-only, which means it was not symlinked into /usr/local,
because some formulae require a newer version of libffi.

For compilers to find libffi you may need to set:
  export LDFLAGS="-L/usr/local/opt/libffi/lib"

For pkg-config to find libffi you may need to set:
  export PKG_CONFIG_PATH="/usr/local/opt/libffi/lib/pkgconfig"

==> perl
By default non-brewed cpan modules are installed to the Cellar. If you wish
for your modules to persist across updates we recommend using `local::lib`.

You can set that up like this:
  PERL_MM_OPT="INSTALL_BASE=$HOME/perl5" cpan local::lib
  echo 'eval "$(perl -I$HOME/perl5/lib/perl5 -Mlocal::lib=$HOME/perl5)"' >> ~/.bash_profile
MBPat:stage pattrick$ 
MBPat:stage pattrick$ auto-multiple-choice
Can't load '/usr/local/Cellar/auto-multiple-choice/1.4.0_1/libexec/lib/perl5/darwin-thread-multi-2level/auto/Cairo/Cairo.bundle' for module Cairo: dlopen(/usr/local/Cellar/auto-multiple-choice/1.4.0_1/libexec/lib/perl5/darwin-thread-multi-2level/auto/Cairo/Cairo.bundle, 1): Library not loaded: /usr/local/opt/freetype/lib/libfreetype.6.dylib
  Referenced from: /usr/local/Cellar/auto-multiple-choice/1.4.0_1/libexec/lib/perl5/darwin-thread-multi-2level/auto/Cairo/Cairo.bundle
  Reason: image not found at /usr/local/Cellar/perl/5.28.1/lib/perl5/5.28.1/darwin-thread-multi-2level/DynaLoader.pm line 197.
 at /usr/local/Cellar/auto-multiple-choice/1.4.0_1/libexec/lib/perl5/darwin-thread-multi-2level/Cairo/GObject.pm line 14.
Compilation failed in require at /usr/local/Cellar/auto-multiple-choice/1.4.0_1/libexec/lib/perl5/darwin-thread-multi-2level/Cairo/GObject.pm line 14.
BEGIN failed--compilation aborted at /usr/local/Cellar/auto-multiple-choice/1.4.0_1/libexec/lib/perl5/darwin-thread-multi-2level/Cairo/GObject.pm line 14.
Compilation failed in require at /usr/local/Cellar/auto-multiple-choice/1.4.0_1/libexec/lib/perl5/Gtk3.pm line 47.
BEGIN failed--compilation aborted at /usr/local/Cellar/auto-multiple-choice/1.4.0_1/libexec/lib/perl5/Gtk3.pm line 47.
Compilation failed in require at /usr/local/Cellar/auto-multiple-choice/1.4.0_1/lib/AMC/perl/AMC-gui.pl line 23.
BEGIN failed--compilation aborted at /usr/local/Cellar/auto-multiple-choice/1.4.0_1/lib/AMC/perl/AMC-gui.pl line 23.

MBPat:stage pattrick$

from homebrew-amc.

maelvls avatar maelvls commented on June 8, 2024

Du coup l'erreur a changé, maintenant c'est un souci de version de librarie dynamique (ça, je sais résoudre). Mais malgré ça, je ne comprends pas pourquoi libfreetype.6.dylib n'est pas trouvé alors que la version 2.10.0 a bien été installée d'après les logs :

/usr/local/opt/freetype/lib/libfreetype.6.dylib

n'est pas trouvé... pourtant il devrait bien y être, non ? 😞

from homebrew-amc.

euchi avatar euchi commented on June 8, 2024
ls -l /usr/local/opt/freetype/
ls: /usr/local/opt/freetype/: No such file or directory

from homebrew-amc.

maelvls avatar maelvls commented on June 8, 2024

Bizarre... Homebrew doit normalement faire un symlink vers /usr/local/opt/. Par exemple,

> ls -l /usr/local/opt/freetype
/usr/local/opt/freetype -> ../Cellar/freetype/2.10.0

Votre dossier /usr/local/opt est vide du coup ?

from homebrew-amc.

euchi avatar euchi commented on June 8, 2024

Désolé, le ls ne suit pas les liens
lrwxr-xr-x 1 pattrick admin 25 3 avr 17:35 freetype -> ../Cellar/freetype/2.10.0
Il y ça dans freetype

MBPat:freetype pattrick$ ls -l
total 0
drwxr-xr-x  10 pattrick  staff  320  3 avr 17:35 2.10.0.reinstall
drwxr-xr-x  10 pattrick  staff  320  8 mar 15:24 2.9.1

et donc pas de 2.10.0

from homebrew-amc.

maelvls avatar maelvls commented on June 8, 2024

(désolé pour le ls, c'est parce que j'utilise une variante de ls, exa 😁)
Donc si j'ai bien compris, dans votre cas, on a :

> readlink -f /usr/local/opt/freetype
/usr/local/Cellar/freetype/2.10.0

> ls -l /usr/local/Cellar/freetype
drwxr-xr-x  10 pattrick  staff  320  3 avr 17:35 2.10.0.reinstall
drwxr-xr-x  10 pattrick  staff  320  8 mar 15:24 2.9.1

Du coup, je n'arrive pas à comprendre les logs d'en dessus qui semblent montrer que l'install de freetype a bien fonctionné :

==> Installing adwaita-icon-theme dependency: freetype
==> Downloading https://homebrew.bintray.com/bottles/freetype-2.10.0.mojave.bottle.tar.gz
######################################################################## 100.0%
==> Pouring freetype-2.10.0.mojave.bottle.tar.gz
🍺  /usr/local/Cellar/freetype/2.10.0: 61 files, 2.3MB

from homebrew-amc.

euchi avatar euchi commented on June 8, 2024

Oui c'est ça :

readlink -n /usr/local/opt/freetype
../Cellar/freetype/2.10.0

Je réinstalle freetype ?

from homebrew-amc.

euchi avatar euchi commented on June 8, 2024

J'ai fait brew reinstall maelvalais/amc/auto-multiple-choice

Cela semble fonctionner, merci pour votre aide.

from homebrew-amc.

maelvls avatar maelvls commented on June 8, 2024

Super !

Je ferme l'issue pour le moment, n'hésitez pas à la réouvrir en cas de problème

from homebrew-amc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.