Coder Social home page Coder Social logo

Comments (4)

alonbl avatar alonbl commented on May 17, 2024

this is different issue... you need to have access to pkg.m4 on the machine you run make dist.

so when trying this, always use recent development machine to perform the packaging, then transfer the tarball to the build machine. this way you always generate the up-to-date artifacts requires for the build.

from netdata.

ktsaou avatar ktsaou commented on May 17, 2024

You lost me...

Let's assume I have this machine only and I am trying to install the development version of netdata (the most common case, until we release it), how can I install it?

I tried also as root. Same result.

Note also this:

./configure: line 3902: PKG_PROG_PKG_CONFIG: command not found

Is there something the user can do to configure it?

from netdata.

alonbl avatar alonbl commented on May 17, 2024

well... autoconf process separate between development machine and build machine.
developer have autoconf/automake/libtool/perl and other tools at his machine, while build requirements are minimum shell and POSIX tools.
the way it is achieved is by generating code at developer machine and have it available for build machine.
configure script is a good example, it is generated out of many files.
one of them, which is missing in this environment is pkg.m4 which is the code of pkg-config.
so your options are:

  1. for development use your machine, for build/test use the older machine. this is the best practice. run autoreconf -ivf && ./configure && make dist at development machine, extract and build tarball on build machine.
  2. locate the package that provide /usr/share/aclocal/pkg.m4, usually it will be something like pkgconfig or pkgconfig-devel, install it, then run autoreconf -ivf.
  3. copy pkg.m4 to package's m4 directory from a machine it is available, then run autoreconf -ivf.

from netdata.

ktsaou avatar ktsaou commented on May 17, 2024

ok. I found pkg-config was missing.

Alter installing it and running . /etc/profile, everything works.

from netdata.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.