Homebrew su OS X - Diamo la birra al Mac

Inserite qui le vostre guide, trucchi e consigli

Moderatore: ModiMaccanici

Avatar utente
faxus
Stato: Non connesso
Pro-Expert 
Pro-Expert 
Avatar utente
Iscritto il: lun, 02 giu 2014 15:12
Messaggi: 29805
Località: Circondato dalle bufale

Top

Oggetto del messaggio: Re: Homebrew su OS X - Diamo la birra al Mac

Messaggio da faxus »

E infatti...

Codice: Seleziona tutto

Upgrading 9 outdated packages:
glib 2.58.2 -> 2.58.3, binutils 2.31.1_2 -> 2.32, nss 3.41 -> 3.42, webp 1.0.1 -> 1.0.2, librsvg 2.44.11 -> 2.44.12, youtube-dl 2019.01.17 -> 2019.01.30.1, imagemagick 7.0.8-24 -> 7.0.8-25, p11-kit 0.23.14 -> 0.23.15, gnutls 3.6.5 -> 3.6.6
Poi vengono eseguiti, ma:

Codice: Seleziona tutto

==> Caveats
binutils is keg-only, which means it was not symlinked into /usr/local,
because because Apple provides the same tools and binutils is poorly supported on macOS.

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

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

Codice: Seleziona tutto

==> `brew cleanup` has not been run in 30 days, running now...
Questo lo sapevamo, ma grazie di farlo da solo…

Di seguito

Codice: Seleziona tutto

==> Pouring nss-3.42.high_sierra.bottle.tar.gz
nice: /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/bin/ruby: No such file or directory
Warning: The post-install step did not complete successfully
You can try again using `brew postinstall nss`
==> Caveats
nss is keg-only, which means it was not symlinked into /usr/local,
because Firefox can pick this up instead of the built-in library, resulting in
random crashes without meaningful explanation.

Please see https://bugzilla.mozilla.org/show_bug.cgi?id=1142646 for details.

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

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

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

Codice: Seleziona tutto

==> Pouring glib-2.58.3.high_sierra.bottle.tar.gz
nice: /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/bin/ruby: No such file or directory
Warning: The post-install step did not complete successfully
You can try again using `brew postinstall glib`

Codice: Seleziona tutto

==> Pouring librsvg-2.44.12.high_sierra.bottle.tar.gz
nice: /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/bin/ruby: No such file or directory
Warning: The post-install step did not complete successfully
You can try again using `brew postinstall librsvg`
Dopo tutto questo appare un problema un po' più grosso

Codice: Seleziona tutto

==> Upgrading youtube-dl 
nice: /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/bin/ruby: No such file or directory
Error: Failure while executing; `/usr/bin/sandbox-exec -f /private/tmp/homebrew20190204-77961-t1y45f.sb nice /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/bin/ruby -W0 -I …
E segue un elenco lunghissimo…
Che finisce con

Codice: Seleziona tutto

/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/youtube-dl.rb` exited with 127.
C'è un po' da lavorare...

Avatar utente
faxus
Stato: Non connesso
Pro-Expert 
Pro-Expert 
Avatar utente
Iscritto il: lun, 02 giu 2014 15:12
Messaggi: 29805
Località: Circondato dalle bufale

Top

Oggetto del messaggio: Re: Homebrew su OS X - Diamo la birra al Mac

Messaggio da faxus »

Immagine
Visto, intanto andiamo avanti
Immagine
Immagine

Avatar utente
faxus
Stato: Non connesso
Pro-Expert 
Pro-Expert 
Avatar utente
Iscritto il: lun, 02 giu 2014 15:12
Messaggi: 29805
Località: Circondato dalle bufale

Top

Oggetto del messaggio: Re: Homebrew su OS X - Diamo la birra al Mac

Messaggio da faxus »

Resta

Codice: Seleziona tutto

/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/bin/ruby: No such file or directory
Error: Failure while executing; `/usr/bin/sandbox-exec -f /private/tmp/homebrew20190204-77961-t1y45f.sb nice /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/bin/ruby -W0 -I …
A occhio e croce si è scassato Ruby portatile...

Però se eseguo doctor mi dice che è a posto.

Devo uscire vedremo dopo...

Avatar utente
iStefano
Stato: Non connesso
Genio guastatore
Genio guastatore
Avatar utente
Iscritto il: mer, 30 dic 2009 10:30
Messaggi: 8188
Località: Pomigliano D'Arco (NA)

Top

Oggetto del messaggio: Re: Homebrew su OS X - Diamo la birra al Mac

Messaggio da iStefano »

cosa bisogna fare in questi casi ??? 🤔

Codice: Seleziona tutto

Warning: "config" scripts exist outside your system or Homebrew directories.
`./configure` scripts often look for *-config scripts to determine if
software packages are installed, and which additional flags to use when
compiling and linking.

Having additional scripts in your path can confuse software installed via
Homebrew if the config script overrides a system or Homebrew-provided
script of the same name. We found the following "config" scripts:
  /opt/local/bin/icu-config
  /opt/local/bin/freetype-config
  /opt/local/bin/libpng16-config
  /opt/local/bin/python2.7-config
  /opt/local/bin/libpng-config
  /opt/local/bin/xml2-config
  /opt/local/bin/ncursesw6-config
  /opt/local/bin/uuid-config
  /opt/local/bin/pcre-config
  /opt/local/bin/ncurses6-config


Scrivo su iMaccanici con TapaTalk per MacBook Air

Avatar utente
Scialla
Stato: Non connesso
Expert
Expert
Avatar utente
Iscritto il: mer, 12 ago 2009 19:27
Messaggi: 16816
Località: Torino

Top

Oggetto del messaggio: Re: Homebrew su OS X - Diamo la birra al Mac

Messaggio da Scialla »

lo da pure a me, assieme a molta altra roba ma, me ne fotto

del resto:
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!
 Il futuro (Apple)? Nammerda!

Di un costoso Mac si può fare a meno, di macOS no... (cit. fax)

Max95
Stato: Non connesso
Maccanico assiduo
Maccanico assiduo
Iscritto il: dom, 05 apr 2015 00:18
Messaggi: 116

Top

Oggetto del messaggio: octave

Messaggio da Max95 »

Ciao a tutti,

volevo chiedervi due dritte su un software che ho installato sul mio mac...

si tratta del un software di calcolo OCTAVE (versione GNU del commerciale MATLAB).
https://www.gnu.org/software/octave/

L'ho installato mediante homebrew con il comando

Codice: Seleziona tutto

brew install octave
e per avviarlo devo dare il comando

Codice: Seleziona tutto

octave --gui
e parte/funziona a dovere, fino alla chiusura :o

ho solo 2 quesiti da porvi:

1) come faccio a creare un'icona dedicata che compaia nel Launchpad e che avvi il software?
2) alla chiusura del programma, esso si blocca e nemmeno l'uscita forzata mi viene in soccorso. cosa potrei fare?

vi ringrazio in anticipo
MBpro (13-inch, 2019) 1,4 GHz i5

Avatar utente
faxus
Stato: Non connesso
Pro-Expert 
Pro-Expert 
Avatar utente
Iscritto il: lun, 02 giu 2014 15:12
Messaggi: 29805
Località: Circondato dalle bufale

Top

Oggetto del messaggio: Re: octave

Messaggio da faxus »

Max95 ha scritto:
mer, 12 feb 2020 16:09
... OCTAVE (versione GNU del commerciale MATLAB).
https://www.gnu.org/software/octave/

L'ho installato mediante homebrew con il comando

Codice: Seleziona tutto

brew install octave
e per avviarlo devo dare il comando

Codice: Seleziona tutto

octave --gui
...1) come faccio a creare un'icona dedicata che compaia nel Launchpad e che avvi il software?
2) alla chiusura del programma, esso si blocca e nemmeno l'uscita forzata mi viene in soccorso. cosa potrei fare?...
Avresti dovuto postare nel Topic di Homebrew
viewtopic.php?f=33&t=31583
Per avere un quadro completo di brew.
(per cui prego un moderatore di spostare questi post lì)

Brew fa trovare le applicazioni da lui installate in /usr/local/opt.
Alcuni software installabili con brew sono già pronti per far comparire un symkink nella cartella Applicazioni.
Per altri si deve aggiungere un'opzione all'installazione.

Per far comparire il symlik di tutte le applicazioni brew

Codice: Seleziona tutto

brew linkapps /Applications
Oppure ~/Applications
In alternativa solo quelle che ti interessano, per esempio Octave

Codice: Seleziona tutto

cp -r /usr/local/opt/Octave/Octave.app /Applications/
Oppure ~/Applications

Ho letto che per farlo divenire automatico, il symlink in Applicazioni, sia necessario installare qt

Codice: Seleziona tutto

brew install octave --with-qt
Per cui ora dovresti

Codice: Seleziona tutto

brew reinstall octave --with-qt
Per quello che riguarda alcuni malfunzionamenti di octave vale la regola di brew.
Solo le applicazioni più diffuse vanno installate con brew con la sicurezza di funzionamento.

Per tutte le altre, complesse e meno diffuse, è consigliabile l'installazione con MacPorts.
Per cui prova prima ad implementare qt.
Poi semmai fallo con MacPorts.

Con queste indicazioni dovrebbe comparire anche in Launchpad.
E anche trovabile con Spotlight, che non può cercare, per preimpostazione, in /usr/local/opt

Avatar utente
faxus
Stato: Non connesso
Pro-Expert 
Pro-Expert 
Avatar utente
Iscritto il: lun, 02 giu 2014 15:12
Messaggi: 29805
Località: Circondato dalle bufale

Top

Oggetto del messaggio: Re: Homebrew su OS X - Diamo la birra al Mac

Messaggio da faxus »

È un po' che non lo facevo e ho aggiornato un po' di roba

Codice: Seleziona tutto

MacBook-Pro-di-Fabio:~ faxus$ brew update
To restore the stashed changes to /usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask run:
  'cd /usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask && git stash pop'
To restore the stashed changes to /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core run:
  'cd /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core && git stash pop'
==> Downloading https://homebrew.bintray.com/bottles-portable-ruby/portable-ruby-2.6.3.mavericks.bottle.tar.gz
######################################################################## 100.0%
==> Pouring portable-ruby-2.6.3.mavericks.bottle.tar.gz
==> Homebrew has enabled anonymous aggregate formulae and cask analytics.
Read the analytics documentation (and how to opt-out) here:
  https://docs.brew.sh/Analytics
No analytics have been recorded yet (or will be during this `brew` run)
...
E ha scaricato un bel po' di aggiornamenti.

Ho eseguito, quindi

Codice: Seleziona tutto

MacBook-Pro-di-Fabio:~ faxus$ cd /usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask && git stash pop
CONFLICT (modify/delete): Casks/telegram.rb deleted in Stashed changes and modified in Updated upstream. Version Updated upstream of Casks/telegram.rb left in tree.
CONFLICT (modify/delete): Casks/telegram-desktop.rb deleted in Stashed changes and modified in Updated upstream. Version Updated upstream of Casks/telegram-desktop.rb left in tree.
MacBook-Pro-di-Fabio:homebrew-cask faxus$ cd /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core && git stash pop
CONFLICT (modify/delete): Formula/telegram-cli.rb deleted in Stashed changes and modified in Updated upstream. Version Updated upstream of Formula/telegram-cli.rb left in tree.
MacBook-Pro-di-Fabio:homebrew-core faxus$ 
Dopo vedo...

Intanto

Codice: Seleziona tutto

MacBook-Pro-di-Fabio:homebrew-core faxus$ brew upgrade
Updating Homebrew...
To restore the stashed changes to /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core run:
  'cd /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core && git stash pop'
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> Updated Formulae
gotop               groonga             mesa                salt

==> Upgrading 63 outdated packages:
...

Codice: Seleziona tutto

MacBook-Pro-di-Fabio:homebrew-core faxus$ brew upgrade
Updating Homebrew...
To restore the stashed changes to /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core run:
  'cd /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core && git stash pop'
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> Updated Formulae
gotop               groonga             mesa                salt

==> Upgrading 63 outdated packages:
pkg-config 0.29.2 -> 0.29.2_3
gtk+ 2.24.32_2 -> 2.24.32_3
libtiff 4.0.10 -> 4.1.0
gmp 6.1.2_2 -> 6.2.0
wget 1.20.1_3 -> 1.20.3_2
multitail 6.4.2 -> 6.5.0
libidn2 2.1.0 -> 2.3.0
boost-build 1.68.0 -> 1.72.0_1
libpng 1.6.36 -> 1.6.37
pixman 0.36.0 -> 0.40.0
freetype 2.9.1 -> 2.10.1
python 3.7.2_1 -> 3.7.7
boost 1.68.0_1 -> 1.72.0_2
smartmontools 7.0 -> 7.1
pango 1.42.4_1 -> 1.44.7
openjpeg 2.3.0 -> 2.3.1
libsigc++ 2.10.1 -> 3.0.3
gdk-pixbuf 2.38.0 -> 2.40.0
bdw-gc 8.0.2 -> 8.0.4
icu4c 63.1 -> 66.1
shared-mime-info 1.10 -> 1.15
atk 2.30.0 -> 2.36.0
harfbuzz 2.3.0 -> 2.6.5_1
glib 2.58.3 -> 2.64.2_1
readline 8.0.0 -> 8.0.4
potrace 1.15 -> 1.16
graphite2 1.3.13 -> 1.3.14
binutils 2.32 -> 2.34
nss 3.42 -> 3.51.1
cairo 1.16.0 -> 1.16.0_3
webp 1.0.1 -> 1.1.0
sqlite 3.26.0_1 -> 3.31.1
gobject-introspection 1.58.3 -> 1.64.1_1
fribidi 1.0.5 -> 1.0.9
xz 5.2.4 -> 5.2.5
emacs 26.1_1 -> 26.3
htop 2.2.0 -> 2.2.0_1
pangomm 2.42.0 -> 2.42.1
atkmm 2.24.2_1 -> 2.28.0_2
libcroco 0.6.12 -> 0.6.13_1
gettext 0.19.8.1 -> 0.20.2_1
glibmm 2.58.0 -> 2.64.2
gsl 2.5 -> 2.6
librsvg 2.44.12 -> 2.48.4
gtkmm 2.24.5_1 -> 2.24.5_3
libtasn1 4.13 -> 4.16.0
pcre2 10.32 -> 10.34
youtube-dl 2019.01.17 -> 2020.03.24
openssl@1.1 1.1.1a -> 1.1.1g
pcre 8.42 -> 8.44
doxygen 1.8.15 -> 1.8.18
libomp 7.0.0 -> 10.0.0
jpeg 9c -> 9d
nmap 7.70 -> 7.80_1
cairomm 1.12.2 -> 1.12.2_1
poppler 0.73.0 -> 0.88.0
nspr 4.20 -> 4.25
imagemagick 7.0.8-24 -> 7.0.10-10
p11-kit 0.23.14 -> 0.23.20_1
automake 1.16.1_1 -> 1.16.2
git 2.20.1 -> 2.26.2
libffi 3.2.1 -> 3.3
gnutls 3.6.5 -> 3.6.13
==> Upgrading sqlite 3.26.0_1 -> 3.31.1 
...
==> Caveats
readline is keg-only, which means it was not symlinked into /usr/local,
because macOS provides BSD libedit.

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

For pkg-config to find readline you may need to set:
  export PKG_CONFIG_PATH="/usr/local/opt/readline/lib/pkgconfig"
...
==> Installing sqlite
...
==> Caveats
sqlite is keg-only, which means it was not symlinked into /usr/local,
because macOS already provides this software and installing another version in
parallel can cause all kinds of trouble.

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"
....
==> `brew cleanup` has not been run in 30 days, running now...
Removing: /Users/faxus/Library/Caches/Homebrew/atk--2.30.0.high_sierra.bottle.tar.gz... (422.0KB)
Removing: /Users/faxus/Library/Caches/Homebrew/bdw-gc--8.0.2.high_sierra.bottle.tar.gz... (399.2KB)
Removing: /Users/faxus/Library/Caches/Homebrew/binutils--2.32.high_sierra.bottle.tar.gz... (39.3MB)
Removing: /Users/faxus/Library/Caches/Homebrew/boost--1.68.0_1.high_sierra.bottle.tar.gz... (90.8MB)
Removing: /Users/faxus/Library/Caches/Homebrew/boost-build--1.68.0.high_sierra.bottle.tar.gz... (760.3KB)
Removing: /Users/faxus/Library/Caches/Homebrew/cairo--1.16.0.high_sierra.bottle.tar.gz... (1.6MB)
Removing: /Users/faxus/Library/Caches/Homebrew/gdbm--1.18.1.high_sierra.bottle.1.tar.gz... (192.3KB)
Removing: /Users/faxus/Library/Caches/Homebrew/gdk-pixbuf--2.38.0.high_sierra.bottle.tar.gz... (761.8KB)
Removing: /Users/faxus/Library/Caches/Homebrew/git--2.20.1.high_sierra.bottle.3.tar.gz... (15.3MB)
Removing: /Users/faxus/Library/Caches/Homebrew/glib--2.58.3.high_sierra.bottle.tar.gz... (5.6MB)
Removing: /Users/faxus/Library/Caches/Homebrew/glibmm--2.58.0.high_sierra.bottle.tar.gz... (9.6MB)
Removing: /Users/faxus/Library/Caches/Homebrew/gobject-introspection--1.58.3.high_sierra.bottle.tar.gz... (1.5MB)
Removing: /Users/faxus/Library/Caches/Homebrew/graphite2--1.3.13.high_sierra.bottle.tar.gz... (92.8KB)
Removing: /Users/faxus/Library/Caches/Homebrew/harfbuzz--2.3.0.high_sierra.bottle.tar.gz... (2.2MB)
Removing: /Users/faxus/Library/Caches/Homebrew/icu4c--63.1.high_sierra.bottle.tar.gz... (25.8MB)
Removing: /Users/faxus/Library/Caches/Homebrew/libidn2--2.1.0.high_sierra.bottle.tar.gz... (219.8KB)
Removing: /Users/faxus/Library/Caches/Homebrew/libomp--7.0.0.high_sierra.bottle.tar.gz... (419.9KB)
Removing: /Users/faxus/Library/Caches/Homebrew/libpng--1.6.36.high_sierra.bottle.tar.gz... (440KB)
Removing: /Users/faxus/Library/Caches/Homebrew/librsvg--2.44.12.high_sierra.bottle.tar.gz... (23.4MB)
Removing: /Users/faxus/Library/Caches/Homebrew/libsigc++--2.10.1.high_sierra.bottle.tar.gz... (4.5MB)
Removing: /Users/faxus/Library/Caches/Homebrew/libtiff--4.0.10.high_sierra.bottle.tar.gz... (1MB)
Removing: /Users/faxus/Library/Caches/Homebrew/multitail--6.4.2.high_sierra.bottle.1.tar.gz... (141.7KB)
Removing: /Users/faxus/Library/Caches/Homebrew/nettle--3.4.1.high_sierra.bottle.tar.gz... (729.7KB)
Removing: /Users/faxus/Library/Caches/Homebrew/nspr--4.20.high_sierra.bottle.tar.gz... (349.5KB)
Removing: /Users/faxus/Library/Caches/Homebrew/nss--3.42.high_sierra.bottle.tar.gz... (8.9MB)
Removing: /Users/faxus/Library/Caches/Homebrew/openssl@1.1--1.1.1a.high_sierra.bottle.tar.gz... (5MB)
Removing: /Users/faxus/Library/Caches/Homebrew/pango--1.42.4_1.high_sierra.bottle.tar.gz... (854.9KB)
Removing: /Users/faxus/Library/Caches/Homebrew/pangomm--2.42.0.high_sierra.bottle.tar.gz... (929KB)
Removing: /Users/faxus/Library/Caches/Homebrew/pcre2--10.32.high_sierra.bottle.tar.gz... (1.8MB)
Removing: /Users/faxus/Library/Caches/Homebrew/pixman--0.36.0.high_sierra.bottle.tar.gz... (513.4KB)
Removing: /Users/faxus/Library/Caches/Homebrew/python--3.7.2_1.high_sierra.bottle.1.tar.gz... (14.4MB)
Removing: /Users/faxus/Library/Caches/Homebrew/python@2--2.7.15_2.high_sierra.bottle.tar.gz... (18.3MB)
Removing: /usr/local/Cellar/readline/8.0.0... (48 files, 1.5MB)
Removing: /Users/faxus/Library/Caches/Homebrew/readline--8.0.0.high_sierra.bottle.tar.gz... (517.4KB)
Removing: /Users/faxus/Library/Caches/Homebrew/smartmontools--7.0.high_sierra.bottle.tar.gz... (702.3KB)
Removing: /usr/local/Cellar/sqlite/3.26.0_1... (11 files, 3.7MB)
Removing: /Users/faxus/Library/Caches/Homebrew/sqlite--3.26.0_1.high_sierra.bottle.1.tar.gz... (1.8MB)
Removing: /Users/faxus/Library/Caches/Homebrew/tree--1.8.0.high_sierra.bottle.tar.gz... (50.5KB)
Removing: /Users/faxus/Library/Caches/Homebrew/wget--1.20.1_3.high_sierra.bottle.tar.gz... (1.4MB)
Removing: /Users/faxus/Library/Caches/Homebrew/openssl--1.0.2q.high_sierra.bottle.tar.gz... (3.7MB)
Removing: /Users/faxus/Library/Logs/Homebrew/tree... (64B)
Removing: /Users/faxus/Library/Logs/Homebrew/libtiff... (64B)
Removing: /Users/faxus/Library/Logs/Homebrew/wget... (64B)
Removing: /Users/faxus/Library/Logs/Homebrew/multitail... (64B)
Removing: /Users/faxus/Library/Logs/Homebrew/libidn2... (64B)
Removing: /Users/faxus/Library/Logs/Homebrew/python@2... (3 files, 127.6KB)
Removing: /Users/faxus/Library/Logs/Homebrew/boost-build... (64B)
Removing: /Users/faxus/Library/Logs/Homebrew/libpng... (64B)
Removing: /Users/faxus/Library/Logs/Homebrew/nettle... (64B)
Removing: /Users/faxus/Library/Logs/Homebrew/pixman... (64B)
Removing: /Users/faxus/Library/Logs/Homebrew/gdbm... (64B)
Removing: /Users/faxus/Library/Logs/Homebrew/python... (3 files, 131.8KB)
Removing: /Users/faxus/Library/Logs/Homebrew/boost... (64B)
Removing: /Users/faxus/Library/Logs/Homebrew/smartmontools... (64B)
Removing: /Users/faxus/Library/Logs/Homebrew/pango... (64B)
Removing: /Users/faxus/Library/Logs/Homebrew/libsigc++... (64B)
Removing: /Users/faxus/Library/Logs/Homebrew/bdw-gc... (64B)
Removing: /Users/faxus/Library/Logs/Homebrew/icu4c... (64B)
Removing: /Users/faxus/Library/Logs/Homebrew/glib... (64B)
Removing: /Users/faxus/Library/Logs/Homebrew/readline... (64B)
Removing: /Users/faxus/Library/Logs/Homebrew/graphite2... (64B)
Removing: /Users/faxus/Library/Logs/Homebrew/binutils... (64B)
Removing: /Users/faxus/Library/Logs/Homebrew/nss... (64B)
Removing: /Users/faxus/Library/Logs/Homebrew/gobject-introspection... (64B)
Removing: /Users/faxus/Library/Logs/Homebrew/pangomm... (64B)
Removing: /Users/faxus/Library/Logs/Homebrew/glibmm... (64B)
Removing: /Users/faxus/Library/Logs/Homebrew/librsvg... (194B)
Removing: /Users/faxus/Library/Logs/Homebrew/youtube-dl... (64B)
Removing: /Users/faxus/Library/Logs/Homebrew/doxygen... (64B)
Removing: /Users/faxus/Library/Logs/Homebrew/libomp... (64B)
Removing: /Users/faxus/Library/Logs/Homebrew/openssl... (64B)
Removing: /Users/faxus/Library/Logs/Homebrew/gnutls... (64B)
Pruned 0 symbolic links and 2 directories from /usr/local
==> Upgrading openssl@1.1 1.1.1a -> 1.1.1g 
...
==> Caveats
A CA file has been bootstrapped using certificates from the system
keychain. To add additional certificates, place .pem files in
  /usr/local/etc/openssl@1.1/certs

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

openssl@1.1 is keg-only, which means it was not symlinked into /usr/local,
because macOS provides LibreSSL.

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

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

For pkg-config to find openssl@1.1 you may need to set:
  export PKG_CONFIG_PATH="/usr/local/opt/openssl@1.1/lib/pkgconfig"
...
==> Upgrading icu4c 63.1 -> 66.1 
...
==> Caveats
icu4c is keg-only, which means it was not symlinked into /usr/local,
because macOS provides libicucore.dylib (but nothing else).

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

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

For pkg-config to find icu4c you may need to set:
  export PKG_CONFIG_PATH="/usr/local/opt/icu4c/lib/pkgconfig"
...
==> Upgrading libffi 3.2.1 -> 3.3 
...
==> Caveats
libffi is keg-only, which means it was not symlinked into /usr/local,
because macOS already provides this software and installing another version in
parallel can cause all kinds of trouble.

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

For pkg-config to find libffi you may need to set:
  export PKG_CONFIG_PATH="/usr/local/opt/libffi/lib/pkgconfig"
....
==> Upgrading binutils 2.32 -> 2.34 
...
==> Upgrading libidn2 2.1.0 -> 2.3.0 
...
==> Upgrading boost-build 1.68.0 -> 1.72.0_1 
...
==> Upgrading libpng 1.6.36 -> 1.6.37 
...
==> Upgrading freetype 2.9.1 -> 2.10.1
...
==> Upgrading python 3.7.2_1 -> 3.7.7 
==> Installing dependencies for python: xz
...
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink Frameworks/Python.framework/Headers
Target /usr/local/Frameworks/Python.framework/Headers
is a symlink belonging to python@2. You can unlink it:
  brew unlink python@2

To force the link and overwrite all conflicting files:
  brew link --overwrite python

To list all files that would be deleted:
  brew link --overwrite --dry-run python

Possible conflicting files are:
/usr/local/Frameworks/Python.framework/Headers -> /usr/local/Cellar/python@2/2.7.15_2/Frameworks/Python.framework/Headers
/usr/local/Frameworks/Python.framework/Python -> /usr/local/Cellar/python@2/2.7.15_2/Frameworks/Python.framework/Python
/usr/local/Frameworks/Python.framework/Resources -> /usr/local/Cellar/python@2/2.7.15_2/Frameworks/Python.framework/Resources
/usr/local/Frameworks/Python.framework/Versions/Current -> /usr/local/Cellar/python@2/2.7.15_2/Frameworks/Python.framework/Versions/Current
==> /usr/local/Cellar/python/3.7.7/bin/python3 -s setup.py --no-user-cfg install
==> /usr/local/Cellar/python/3.7.7/bin/python3 -s setup.py --no-user-cfg install
==> /usr/local/Cellar/python/3.7.7/bin/python3 -s setup.py --no-user-cfg install
==> 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

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
...
==> Upgrading boost 1.68.0_1 -> 1.72.0_2 
...
==> Upgrading smartmontools 7.0 -> 7.1 
...
==> Upgrading pango 1.42.4_1 -> 1.44.7 
...
==> Installing pango dependency: glib
...
==> Installing pango dependency: lzo
...
==> Installing pango dependency: cairo
...
==> Installing pango dependency: fribidi
...
==> Installing pango dependency: graphite2
...
==> Installing pango dependency: harfbuzz
...
==> Installing pango
...
==> Upgrading openjpeg 2.3.0 -> 2.3.1 
...
==> Installing openjpeg dependency: libtiff
...
==> Installing openjpeg
...
==> Upgrading libsigc++ 2.10.1 -> 3.0.3 
...
==> Upgrading gdk-pixbuf 2.38.0 -> 2.40.0 
...
==> Upgrading bdw-gc 8.0.2 -> 8.0.4 
...
==> Upgrading shared-mime-info 1.10 -> 1.15 
...
==> Upgrading atk 2.30.0 -> 2.36.0 
...
==> Upgrading potrace 1.15 -> 1.16 
...
==> Upgrading nss 3.42 -> 3.51.1 
==> Installing dependencies for nss: nspr
==> Installing nss dependency: nspr
...
==> Installing nss
...
==> Upgrading webp 1.0.1 -> 1.1.0 
...
==> Upgrading gobject-introspection 1.58.3 -> 1.64.1_1 
==> Installing dependencies for gobject-introspection: pkg-config
==> Installing gobject-introspection dependency: pkg-config
...
==> Installing gobject-introspection
...
==> Upgrading emacs 26.1_1 -> 26.3 
...
==> Installing emacs dependency: libtasn1
...
==> Installing emacs dependency: p11-kit
...
==> Installing emacs dependency: libevent
...
==> Installing emacs dependency: unbound
...
To have launchd start unbound now and restart at startup:
  sudo brew services start unbound
  ...
==> Pouring gnutls-3.6.13.high_sierra.bottle.tar.gz
Certificate will expire
Certificate will not expire
ripetuti decine di volte
...
To have launchd start emacs now and restart at login:
  brew services start emacs
Or, if you don't want/need a background service you can just run:
  emacs
  ...
==> Installing dependencies for htop: ncurses
...
==> Installing htop
...
==> Upgrading pangomm 2.42.0 -> 2.42.1 
...
==> Installing pangomm dependency: cairomm
...
==> Installing pangomm
...
==> Upgrading atkmm 2.24.2_1 -> 2.28.0_2 
...
==> Upgrading libcroco 0.6.12 -> 0.6.13_1 
...
==> Upgrading gsl 2.5 -> 2.6 
...
==> Upgrading librsvg 2.44.12 -> 2.48.4 
...
==> Installing gtkmm
...
==> Upgrading pcre2 10.32 -> 10.34 
...
==> Caveats
Bash completion has been installed to:
  /usr/local/etc/bash_completion.d

zsh completions have been installed to:
  /usr/local/share/zsh/site-functions
  ...
==> Upgrading libomp 7.0.0 -> 10.0.0 
...
==> Upgrading nmap 7.70 -> 7.80_1 
...
==> Upgrading poppler 0.73.0 -> 0.88.0 
==> Installing dependencies for poppler: qt
==> Installing poppler dependency: qt
...
==> Installing poppler
...
==> Upgrading imagemagick 7.0.8-24 -> 7.0.10-10 
...
==> Installing imagemagick dependency: libde265
...
==> Installing imagemagick dependency: x265
...
==> Installing imagemagick dependency: ilmbase
...
==> Installing imagemagick dependency: openexr
...
==> Installing imagemagick
...
==> Upgrading automake 1.16.1_1 -> 1.16.2 
...
==> Upgrading git 2.20.1 -> 2.26.2 
...
==> Upgrading wget 1.20.1_3 -> 1.20.3_2 
...
==> Upgrading multitail 6.4.2 -> 6.5.0 
...

Bash completion has been installed to:
  /usr/local/etc/bash_completion.d

zsh completions and functions have been installed to:
  /usr/local/share/zsh/site-functions

Emacs Lisp files have been installed to:
  /usr/local/share/emacs/site-lisp/git
MacBook-Pro-di-Fabio:homebrew-core faxus$ C

Avatar utente
faxus
Stato: Non connesso
Pro-Expert 
Pro-Expert 
Avatar utente
Iscritto il: lun, 02 giu 2014 15:12
Messaggi: 29805
Località: Circondato dalle bufale

Top

Oggetto del messaggio: Re: Homebrew su OS X - Diamo la birra al Mac

Messaggio da faxus »

Poi dopo
Immagine
Vabbè, adesso basta, ci ha messo più di mezzora.

Cask e le applicazioni le aggiorno nel pomeriggio

Avatar utente
Kernel Panic
Stato: Non connesso
Software Expert Gold
Software Expert Gold
Avatar utente
Iscritto il: sab, 08 gen 2011 14:03
Messaggi: 27100
Località: Sicilia

Top

Oggetto del messaggio: Re: Homebrew su OS X - Diamo la birra al Mac

Messaggio da Kernel Panic »

Ma con "brew upgrade" non si aggiorna tutto in un colpo solo, incluso "cask"?

Avatar utente
faxus
Stato: Non connesso
Pro-Expert 
Pro-Expert 
Avatar utente
Iscritto il: lun, 02 giu 2014 15:12
Messaggi: 29805
Località: Circondato dalle bufale

Top

Oggetto del messaggio: Re: Homebrew su OS X - Diamo la birra al Mac

Messaggio da faxus »

Eh, magari

Avatar utente
Kernel Panic
Stato: Non connesso
Software Expert Gold
Software Expert Gold
Avatar utente
Iscritto il: sab, 08 gen 2011 14:03
Messaggi: 27100
Località: Sicilia

Top

Oggetto del messaggio: Re: Homebrew su OS X - Diamo la birra al Mac

Messaggio da Kernel Panic »

Urca, allora dopo mi dirai come fare ad aggiornare tutto :oops:

Avatar utente
Scialla
Stato: Non connesso
Expert
Expert
Avatar utente
Iscritto il: mer, 12 ago 2009 19:27
Messaggi: 16816
Località: Torino

Top

Oggetto del messaggio: Re: Homebrew su OS X - Diamo la birra al Mac

Messaggio da Scialla »

cask devo aggiornarlo anche io, brew l'ho aggiornato giorni fa quando ho installato nginx

però effettivamente, quando aggiorni home brew, dà il messaggio "Updated Casks" :D

P.S. (No Casks to upgrade)
 Il futuro (Apple)? Nammerda!

Di un costoso Mac si può fare a meno, di macOS no... (cit. fax)

Avatar utente
faxus
Stato: Non connesso
Pro-Expert 
Pro-Expert 
Avatar utente
Iscritto il: lun, 02 giu 2014 15:12
Messaggi: 29805
Località: Circondato dalle bufale

Top

Oggetto del messaggio: Re: Homebrew su OS X - Diamo la birra al Mac

Messaggio da faxus »

Scialla ha scritto:
gio, 30 apr 2020 19:51
... quando aggiorni home brew, dà il messaggio "Updated Casks" ...
Ovvio.

Io intendevo le applicazioni.
Aggiornare Cask software è un attimo, in mezzo alla cascata di roba.

Le applicazioni sono sempre più complicate.
E poi ci vuole tempo.

Infatti non l'ho fatto sono dovuto andare a fare bancomat.
Domani è tutto bloccato, anche coll'autocertificazione

Avatar utente
Kernel Panic
Stato: Non connesso
Software Expert Gold
Software Expert Gold
Avatar utente
Iscritto il: sab, 08 gen 2011 14:03
Messaggi: 27100
Località: Sicilia

Top

Oggetto del messaggio: Re: Homebrew su OS X - Diamo la birra al Mac

Messaggio da Kernel Panic »

Segnalo che MacUpdate continua a segnalare aggiornamenti di Homebrew come fosse una applicazione stand-alone ..... :?