Showing posts with label apple silicon. Show all posts
Showing posts with label apple silicon. Show all posts

Sunday, September 11, 2022

Audacity 3.2.1 and libraries

Audacity 3.2.1

Tried arm64 and x86_64 both available for download.  The libraries are available in FAT binaries; works great.

 
Ignore below:

Building FFmpeg import/export library notes

Visit 2: building m1 arm64 apple silicon native ffmpeg


port install automake fdk-aac git lame libass libtool libvorbis libvpx \
opus sdl shtool texi2html theora wget x264 x265 xvid nasm
 Error: Port fdk-aac not found 
Error: Port opus not found
Error: Port sdl not found 

Error: Port shtool not found 

Error: Port theora not found



Error: Port shtool not found


Corrections:
sudo port install libfdk-aac
sudo port install libopus
sudo port install libsdl
sudo port install libtheora



sudo port install automake libfdk-aac lame libass libtool libvorbis libvpx libopus libsdl texi2html libtheora wget x264 x265 xvid nasm

  


Install shtool manually:
https://www.gnu.org/software/shtool/

 --annoying of MacPorts to drop shtool?  brew has a formula



In /Users/b____/Documents/builds/ffmpeg_src/ffmpeg-4.4

./configure

WARNING: pkg-config not found, library detection may fail.



sudo port install pkgconfig 

./configure
make

sudo make install



The binary will be installed in:

/usr/local/bin/ffmpeg

 

Success building ffmpeg but ...



Still no ffmpeg.55.64bit.dylib !?!

Let's wait for Release 3.2

 

Visit 1: Building audacity


Thursday, August 11, 2022

Solved: bootable ssd big sur m1 apple silicon

Creating bootable external ssd  macos big sur m1 apple silicon

I installed macos Big Sur 11.6.8 on an external 256GB m.2 NVME ssd connected to the Thunderbolt port on an m1 Apple Silicon machine.  I used both the standalone installer downloaded from the App Store and from macos Recovery mode (holding down the power button).

Each time install would fail at the first reboot of the installer.

The install log in the Installer gives a hint:

 bridge device not found 

Problem:
 
The ssd is bus powered; it is not powered up when the installer restarts.

Solution:

The external ssd needs an external power source.  I connected the ssd to a port on a drive dock with its own power brick.  After installation you can plug the external ssd into the Thunderbolt port again.  


In addition, remember to set your internal drive as the startup drive (Apple menu> system prefs>Startup Disk) when you disconnect your external ssd.  Your system may not start correctly if you don't set the startup disk.

This applies to macos Big Sur 11.6.8.


 

 

 



Thursday, October 14, 2021

Download Xcode 13 xip

Download Xcode 13 xip

I went on a search for Xcode which is on the App Store but also just downloadable:

 https://download.developer.apple.com/Developer_Tools/Xcode_13/Xcode_13.xip

Monday, September 20, 2021

Docker Alpine Linux on m1 Apple Silicon

Docker on m1 Apple Silicon

  • Get the Docker.dmg for the m1 (580 MB)
  •  Install Docker
  •  launch Docker (CLI button next to run)

Alpine Linux on Docker

  • pull down the official Alpine Linux image for Docker
  • in your docker shell cli (see above) type:
docker pull alpine 

Alpine Linux 








Tuesday, September 7, 2021

Building Audacity on m1 apple silicon

Building Audacity on m1 apple silicon

Don't bother with all the stuff below.  Audacity is now available as an arm64 m1 native binary.  The x86_64 version works great too!  Great work developers!

DONE  

Visit 1

 
  • install macports for Big Sur 11.5.2
  • sudo port install audacity
  • Success, kind of, version 2.2.2 popped out in glorious Apple Silicon binary but I couldn't get the current 3.0.4.
  • pull request BUILDING.md typo, correction:
 cmake -GXcode -T buildsystem=1 -Daudacity_use_mad="off" -Daudacity_use_id3tag=off ../audacity
 
git clone https://github.com/audacity/audacity
  •  sudo pip3 install conan   
  • activated venv using py-env
  • master v3.1.0 failed check out 3.0.4
git clone -b release-3.0.4 --single-branch https://github.com/audacity/audacity
  • cmake and Xcode

cmake -GXcode -T buildsystem=1 ../audacity 

open Audacity.xcodeproj

  • rm -rf build/*
  • run cmake again:
 cmake -GXcode -T buildsystem=1 -Daudacity_use_mad="off" -Daudacity_use_id3tag=off ../audacity
 

 

 DO

 Using python3 venv virtual environment:

 BLOCKED 

  • conan install failing(use py-env)
  • source blocked for m1 compile; 
  • downloaded branch beta 12.2 wxwidget not included
  • wxwidget build error
  • Xcode does not build master branch 3.1.0 or 3.0.4
  • 3.0.4 builds then crashes immediately (Intel)
 

First, doing anything on an external USB3 hard drive is painfully slow compared to the blisteringly fast internal ssd.  macports took over an hour to install.

I think macports is finally falling behind since most sites talk about brew (meh). Macports has been working great so far.

I wish m1 virtual machine time was 3cents/hr
 
 

Info 

 



 

Friday, August 13, 2021

Apple m1 Big Sur 11.5.2 update

macos Big Sur 11.5.2: Large update 

took longer than I thought it would

Updated my 2020 Apple m1 mac mini model A2348 with Big Sur 11.5.2
  • mystery update no release notes
  • see the excellent eclecticlight blog for more info
  • blaaaaarrgh whaaaaaaa: the update bar on reboot looked frozen. ugh. Five minutes later the text appeared with a time estimate, whew!
  • please can't some big brains at apple reduce the SIZE of these updates? How about 300MB?
  • RESULT: everything seems fine so far
  • Relocated Items folder: /etc/group trustd 282
  • Get rid of Other user on login screen; how to hide other users