Showing posts with label x86_64. Show all posts
Showing posts with label x86_64. Show all posts

Friday, December 6, 2024

Ubuntu Multipass for x86 MBP

 

Ubuntu multipass

 
First download the tiny installer:
https://github.com/canonical/multipass/releases 
newer versions don't work on macos Monterey 12.6.7

Docs:

https://oscarchou.com/posts/handbook/multipass-command-cheatsheet/
https://medium.com/@karan.bk/modify-multipass-instances-update-resources-and-share-data-with-instance-c17315dd33d0
 https://medium.com/@karan.bk/a-beginners-guide-to-create-and-manage-ubuntu-vms-in-minutes-caa1684d9375
 

https://blog.humphd.org/multipass-on-macos/
https://fromanegg.com/post/2020/02/28/use-ubuntu-on-mac-os-with-multipass/
launch failed: multipass socket access denied

 https://github.com/canonical/multipass/issues/1437

 
 FYI, the new command is multipass auth. Note you must first issue multipass set local.passphrase as admin to set passphrase (and then enter this same passphrase when issuing the auth command).

H...Gi...4...!
 
 
https://discourse.ubuntu.com/t/ubuntu-frame-on-macos-including-apple-silicon-m1/28534 

Juju charms

charm-dev

Getting started with Juju 5 

 

 

 

 

 

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, October 14, 2021

emacs Universal build Intel x86_64 and arm64

emacs Intel, arm build

If you just want to install gnu emacs for macos and get going Emacs for MacOSX is the place to go.  

I did the builds on my early-2015 mbp with Big Sur 11.6.
  • read https://github.com/caldwell/build-emacs
  • download build scripts
 
I didn't install xcode.
xcode-select --install (installs command line tools)

install macports
sudo port install xz
./fetch-emacs-from-ftp -v ftp://ftp.gnu.org/gnu/emacs/
 
# port install xz
# if you need to convert xz to bz2
# xzcat -c emacs-27.2.tar.xz | bzip2 > emacs-27.2.tar.bz2

./build-emacs-from-tar -v emacs-27.2.tar.bz2 release 

Success:
Built Emacs-27.2-11.6-x86_64.tar.bz2, Emacs-27.2-11.6-x86_64-extra-source.tar

  • CODESIGN crash
Then I reproduced those same steps on an m1 mac mini with xcode13 installed and signed it:
  • ./combine-and-package -v --sign "Common Name" Emacs-27.2-11.6-arm64.tar.bz2 
    • replace "Common Name" with the name in the keychain access login cert.
  • see: code signing issue #103  
  • Success!  Thanks Emacs for MacOSX!
TODO:
Go back to the MBP and try the codesign step.