New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to install (on Ubuntu)? #85
Comments
Hi,
It depends on system; e.g. Ubuntu in your case. For Ubuntu distribution, I think it convenient to generate deb package by hand. Each repositories for
At least, below 14 packages should be installed in your system:
P.S. When install the above packages, the software could be built in your local system Cheers. |
Thank you for your answer. But |
@francoisromain thanks for this updated list of build dependancies for ubuntu 22.04. Very helpful, much appreciated.
well... @takaswie is great so he probably will just update the git to fix that now that you have mentioned it But in the meantime (if you cannot wait for that), then it should be possible manually build and install it onto your system with the following set of cmds: # build lib
mkdir -p ~/.builds/firewire
cd ~/.builds/firewire
git clone https://github.com/alsa-project/libhinawa
cd libhinawa
meson --prefix=/usr build-directory
meson compile -C build-directory
meson test -C build-directory
sudo meson install -C build-directory
# build crate
mkdir -p ~/.builds/firewire
cd ~/.builds/firewire
git clone https://github.com/alsa-project/hinawa-rs.git
cd hinawa-rs
git submodule update --init --recursive
./generate.py (or something like that, at least it worked for me with the recent v0.3x release) |
Oops, indeed. I've never pushed the branch from my local repository to the remote repository since releases of libhinawa has already been in Debian/Ubuntu official repositories. I'm waiting for v2.5.1 packaging: For convenience, I pushed it now: I'm sorry to puzzle you. |
I note that the step is not required just to build the software since the software is configured |
Hi, Today I finished relevant work for hinawa-rs/hitaki-rs/alsa-gobject-rs to depends on glib crate v0.15, and commit to master so that whole codes are based on them. I updated README.rst to simplify dependency description. It's enough just to take care of Cheers. |
Hello Takashi, I generated the deb files for libhinawa also. Then, I installed the 14 generated packages you listed above. example:
Now when I go back to the Same error when I run What am i doing wrong here? |
btw also... not sure why you have |
Oops, I forget that ll of the FFI crates ( Would I ask you to install generated I'm sorry to use your time for the task like dogfooding... I should have added details into install section of README. Cheers |
I intentionally split stuffs of deb packaging from software source since they can intercept process to import source code into official deb source repository (https://salsa.debian.org). |
Thank you again :). I already installed
|
It means that generated 'alsa-gobject-dev' package is not installed into your system. The package includes pkg-config files for all of included libraries such as libalsactl0 and libalsatimer0. |
Ok it works! 😄 🥳 Here is a recap of the whole process to install a firewire driver on Ubuntu 22.04
Thank you very much for your time making these drivers and for your help. I have 2 more questions for now :
You can close the issue. |
Closed. |
Hello,
I am new to this. Sorry for my stupid questions.
I just would like to install the firewire driver for the fireface 802 on ubuntu 22.04.
I cloned this repo, then I installed the dependencies:
rust
andcargo
,libudev1
,gobject-introspection
,meson
,ninja-build
,build-essential
andlibgtk2.0-dev
Now I would like to install
libhinawa
,libhitaki
andalsa-gobject
. So I cloned the 3 repos to build them. But in the docs, I don't understand what are thedirectory-to-install
and thebuild-directory
variables.Could you explain how to do it please?
The text was updated successfully, but these errors were encountered: