Thank you for the suggestion!  I tried updating homebrew first instead of the 
yasm part, since that seemed more all-encompassing, and see what happens first. 
 It went fine, then at the end, it read:

==> Migrating /Library/Caches/Homebrew to /Users/emilycollins/Library/Caches/Hom
==> Deleting /Library/Caches/Homebrew...
Already up-to-date.
Error: Could not link:
/usr/local/share/doc/homebrew

Please delete these paths and run `brew update`.
Error: Could not link:
/usr/local/share/man/man1/brew.1

Please delete these paths and run `brew update`.
==> Migrating HOMEBREW_REPOSITORY (please wait)...
Error: Could not link:
/usr/local/share/doc/homebrew

Please delete these paths and run `brew update`.
Error: Could not link:
/usr/local/share/man/man1/brew.1

Please delete these paths and run `brew update`.
==> Migrated HOMEBREW_REPOSITORY to /usr/local/Homebrew!
Homebrew no longer needs to have ownership of /usr/local. If you wish you can
return /usr/local to its default ownership with:
  sudo chown root:wheel /usr/local


How do I 'delete these paths'?   Should I bother to change ownership?  And then 
I'll try updating again (would the yasm thing also be necessary, then?)... 
Also, again thanks for pointing out the right commands to use, for someone not 
familiar navigating Homebrew.


--------------------------------------------
On Thu, 9/29/16, [email protected] <[email protected]> 
wrote:

 Subject: libav-tools Digest, Vol 63, Issue 8
 To: [email protected]
 Date: Thursday, September 29, 2016, 6:00 AM
 
 Send libav-tools mailing list
 submissions to
     [email protected]
 
 To subscribe or unsubscribe via the World Wide Web, visit
     https://lists.libav.org/mailman/listinfo/libav-tools
 or, via email, send a message with subject or body 'help'
 to
     [email protected]
 
 You can reach the person managing the list at
     [email protected]
 
 When replying, please edit your Subject line so it is more
 specific
 than "Re: Contents of libav-tools digest..."
 
 
 Today's Topics:
 
    1. Re: Question about a 404 encountered
 during download
       (Luca Barbato)
 
 
 ----------------------------------------------------------------------
 
 Message: 1
 Date: Wed, 28 Sep 2016 17:00:59 +0200
 From: Luca Barbato <[email protected]>
 To: [email protected]
 Subject: Re: [libav-tools] Question about a 404 encountered
 during
     download
 Message-ID: <[email protected]>
 Content-Type: text/plain; charset=windows-1252
 
 On 27/09/16 22:20, Emily Collins wrote:
 > This isn't exactly a bug, so I didn't want to send a
 report of one, but I encountered a 404 Not Found when trying
 to download some libav tools, that I was hoping I could get
 a pointer with!  Apologies for the newbie question...
 I'm not adept with running command lines in my terminal
 window, but I use the DownloadHelper add-on in Firefox that
 required getting libav to convert certain video
 formats.  As I have a Mac (OS 10.12), their suggestion
 was to paste the following line in my terminal window in
 Homebrew:  brew install libav --with-fdk-aac
 --with-ffplay --with-freetype --with-libass --with-libquvi
 --with-libvorbis --with-libvpx --with-opus --with-x265
 > I did that, and got various errors about tools not
 being installed and files not being writeable.  Found
 what commands to type to fix it thanks to Google, tried
 again, and it said it was installing all the necessary libav
 tools (x264, xvid, libpng, freetype, fdk-).  All of
 them installing up to when it got to libpng, at which point
 got:
 > ==> Installing libav dependency: libpng
 > ==> Downloading 
 > https://downloads.sf.net/project/libpng/libpng16/1.6.16/libpng-1
 > 
 > curl: (22) The requested URL returned error: 404 Not
 Found
 > Error: Failed to download resource "libpng"
 > Download failed: 
 > https://downloads.sf.net/project/libpng/libpng16/1.6.16/libpng-1.6.16.tar.xz
 > 
 > And now I'm not sure what command to give it next to
 try it again, since it's hard to narrow down the answer in a
 search, or even know what kind of command I'm looking for,
 being unfamiliar.  Would appreciate any pointers!
 
 You might update homebrew since looks like the dependency
 libpng is
 pointing to a wrong link.
 
 brew update and try again =)
 
 lu
 
 
 
 ------------------------------
 
 Subject: Digest Footer
 
 _______________________________________________
 libav-tools mailing list
 [email protected]
 https://lists.libav.org/mailman/listinfo/libav-tools
 
 
 ------------------------------
 
 End of libav-tools Digest, Vol 63, Issue 8
 ******************************************
 
_______________________________________________
libav-tools mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-tools

Reply via email to