Skip to content
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

Build instructions do not work, AM_GNU_GETTEXT #25

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

minger0
Copy link

@minger0 minger0 commented Apr 23, 2023

add dependency list to readme

Fixes #24

@@ -21,6 +21,9 @@ the source tree.
BUILDING FROM SOURCE
======================================================================

Install dependencies
sudo apt install build-essential ca-certificates gcc make automake libtool libguestfs-tools libguestfs-dev libnbd-dev gettext libpcre2-dev libvirt-dev libxml2-dev libjansson-dev libosinfo-1.0-dev ocaml-findlib libvirt-ocaml-dev libguestfs-ocaml-dev libnbd-ocaml-dev
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The commit message is not clear - what do you mean by "AM_GNU_GETTEXT"? maybe you mean that the gettext package was missing?

But I think it will be better to use the equivalent of dnf builddep for apt based systems, installing the needed packages based on the package metadata. With this you get all the packages in most cases and there is no need to maintain this packages list.

If we go with actual package list, it should be sorted and formatted as one package per line:

sudo apt install \
    build-essential \
    ca-certificates \
    gcc \
    ...

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMHO better instructions would be just:

        apt-get build-dep virt-v2v
        apt-get install autoconf automake libtool-bin gettext

* OCaml oUnit2
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unrelated change

@nirs nirs changed the title #24 build instructions do not work, AM_GNU_GETTEXT Build instructions do not work, AM_GNU_GETTEXT Feb 26, 2024
@nirs
Copy link
Collaborator

nirs commented Feb 26, 2024

@minger0 I removed #24 from the title, and added a Fixes #24 to the commit message. This way your PR is linked to #24, so reviewers can understand your change better, and the issue will be closed automatically when the PR is merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

build instructions do not work, AM_GNU_GETTEXT
3 participants