nyxt icon indicating copy to clipboard operation
nyxt copied to clipboard

Help for Building on Asahi Linux

Open arcxne opened this issue 5 months ago • 3 comments

Hey there, I'm super excited to try this browser but am struggling to build this on Asahi Linux. If there's a guide somewhere, that'd be great!

I am using Fedora Asahi Remix 40 on M1 Pro.

I've trying building directly from source but I constantly get issues, with my current one being "history-tree" not found.

Sorry if I'm doing anything wrong, I have no idea what's happening and have been using ChatGPT to help me! Any help will be appreciated :)

Here were my steps:

git clone <repo_name>
cd nyxt
git submodule update --init --recursive     # realised that I forgot to include submodules...
vi ~/.sbclrc (see ~/.sbclrc below)
sbcl
* (require 'asdf)
* (asdf:load-asd "/home/fedora/libraries/nasdf/nasdf.asd")
* (asdf:load-asd "/home/fedora/nyxt/nyxt.asd")
* (dolist (dep '(alexandria                 # all yanked from the nyxt.asd file
               bordeaux-threads
               calispel
               cl-base64
               cl-colors2
               cl-gopher
               cl-json
               cl-ppcre
               cl-ppcre-unicode
               cl-prevalence
               cl-qrencode
               cl-tld
               closer-mop
               dissect
               moptilities
               dexador
               enchant
               flexi-streams
               history-tree
               iolib
               iolib/os
               lass
               local-time
               lparallel
               log4cl
               ndebug
               nclasses
               nfiles
               njson/cl-json
               nhooks
               nkeymaps
               nsymbols/star
               #-sbcl osicat
               parenscript
               prompter
               py-configparser
               quri
               serapeum
               str
               phos
               plump
               clss
               spinneret
               slynk
               slynk/arglists
               slynk/fancy-inspector
               slynk/indentation
               slynk/mrepl
               slynk/package-fu
               slynk/stickers
               slynk/trace-dialog
               sqlite
               swank
               swank/exts
               trivia
               trivial-clipboard
               trivial-features
               trivial-garbage
               trivial-package-local-nicknames
               trivial-types
               unix-opts))
  (ql:quickload dep))
* (asdf:make :nyxt/gi-gtk-application)

Error:

debugger invoked on a ASDF/FIND-COMPONENT:MISSING-DEPENDENCY in thread
#<THREAD tid=21640 "main thread" RUNNING {10053C04C3}>:
  Component ASDF/USER::HISTORY-TREE not found, required by
  #<NASDF-SYSTEM "nyxt">

~/.sbclrc:

#-quicklisp
(let ((quicklisp-init (merge-pathnames "quicklisp/setup.lisp"
                                       (user-homedir-pathname))))
  (when (probe-file quicklisp-init)
    (load quicklisp-init)))

#-quicklisp
(let ((quicklisp-init (merge-pathnames "quicklisp/setup.lisp"
                                       (user-homedir-pathname))))
  (when (probe-file quicklisp-init)
    (load quicklisp-init)))

(require 'asdf)
(push (merge-pathnames "quicklisp/" (user-homedir-pathname)) asdf:*central-registry*)

arcxne avatar Aug 27 '24 15:08 arcxne