Or as one-liner:
aclocal && autoconf && automake -a
You may also run:
autoreconf -i
-------------
These commands will configure, build/compile, and install the program:
cd audio-recorder*
./configure
make clean
make
sudo make install # run this as root or sudo! AT LEAST ONCE.
-------------
Notice: KILL or QUIT previous instances of the program !
pkill audio-recorder
Then re-run the program
src/audio-recorder
--------------
Good luck.
Osmo (Moma) Antero
Portugal
2018-07-31 15:06 GMT+01:00 Jan Tojnar <email address hidden>:
> Running `pkg-config --cflags gio-unix-2.0` in the package prints the
> following:
>
> -I/nix/store/l1v16k68v3njjw281fbfk20zxsb52q35-glib-2.56.0-dev/include
> /gio-unix-2.0/
> -I/nix/store/l1v16k68v3njjw281fbfk20zxsb52q35-glib-2.56.0-dev/include/
> glib-2.0
> -I/nix/store/ycpkd4jxpy913v6fxf4b5mmy9bz81vsy-
> glib-2.56.0/lib/glib-2.0/include
>
> I think the issue is that the gio-unix-2.0 cflags are not passed to the
> dbus-player.c file.
>
> --
> You received this bug notification because you are subscribed to Audio
> Recorder.
> https://bugs.launchpad.net/bugs/1784622
>
> Title:
> Undeclared dependency on gio-unix-2.0
>
> Status in Audio Recorder:
> New
>
> Bug description:
> I am building audio-recorder 2.1.3 on NixOS and getting the following
> error:
>
> ```
> dbus-player.c:22:10: fatal error: gio/gdesktopappinfo.h: No such file or
> directory
> #include <gio/gdesktopappinfo.h>
> ^~~~~~~~~~~~~~~~~~~~~~~
> compilation terminated.
> make[1]: *** [Makefile:463: dbus-player.o] Error 1
> make[1]: Leaving directory '/build/trunk/src'
> make: *** [Makefile:439: all-recursive] Error 1
> ```
>
> Downstream issue: https://github.com/NixOS/nixpkgs/issues/36468
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/audio-recorder/+bug/1784622/+subscriptions
>
--
Sent from my PC, laptop or phone with Ubuntu-Linux.
Hello,
Yes, I may agree with you.
Looks like some systems prefer gio-unix-2.0 instead of gio-2.0. /developer. gnome.org/ ch03.html
F.eks some pure Unix systems: https:/
gio/stable/
NixOS is a Linux-distro, but the packaging and package system is different
from Debian or Fedora.
You should study two (2) options.
Option 1)
Include the glib-unix.h in the dbus-player.h or .c file.
The re-compile.
Ref: /developer. gnome.org/ glib/stable/ glib-UNIX- specific- utilities- and-integration .html
https:/
----
Option 2)
Try this.
Would you please edit the "configure.ac" and add gio-unix-2.0 to it.
Check you library version with
pkg-config --modversion gio-unix-2.0
The lines may look like this:
PKG_CHECK_ MODULES( GLIB_UNIX, glib-unix-2.0 >= 2.0) GLIB_UNIX_ CFLAGS) GLIB_UNIX_ LIBS)
AC_SUBST(
AC_SUBST(
------- ------- ------- ------- ----
The reset and re-configure the source:
cd audio-recorder*
make clean
aclocal
autoconf
automake -a
Or as one-liner:
aclocal && autoconf && automake -a
You may also run:
autoreconf -i
-------------
These commands will configure, build/compile, and install the program:
cd audio-recorder*
./configure
make clean
make
sudo make install # run this as root or sudo! AT LEAST ONCE.
-------------
Notice: KILL or QUIT previous instances of the program !
pkill audio-recorder
Then re-run the program
src/audio-recorder
--------------
Good luck.
Osmo (Moma) Antero
Portugal
2018-07-31 15:06 GMT+01:00 Jan Tojnar <email address hidden>:
> Running `pkg-config --cflags gio-unix-2.0` in the package prints the store/l1v16k68v 3njjw281fbfk20z xsb52q35- glib-2. 56.0-dev/ include store/l1v16k68v 3njjw281fbfk20z xsb52q35- glib-2. 56.0-dev/ include/ store/ycpkd4jxp y913v6fxf4b5mmy 9bz81vsy- 56.0/lib/ glib-2. 0/include /bugs.launchpad .net/bugs/ 1784622 c:22:10: fatal error: gio/gdesktopapp info.h: No such file or pinfo.h> ~~~~~~~ ~~~~~~~ ~~ /github. com/NixOS/ nixpkgs/ issues/ 36468 /bugs.launchpad .net/audio- recorder/ +bug/1784622/ +subscriptions
> following:
>
> -I/nix/
> /gio-unix-2.0/
> -I/nix/
> glib-2.0
> -I/nix/
> glib-2.
>
> I think the issue is that the gio-unix-2.0 cflags are not passed to the
> dbus-player.c file.
>
> --
> You received this bug notification because you are subscribed to Audio
> Recorder.
> https:/
>
> Title:
> Undeclared dependency on gio-unix-2.0
>
> Status in Audio Recorder:
> New
>
> Bug description:
> I am building audio-recorder 2.1.3 on NixOS and getting the following
> error:
>
> ```
> dbus-player.
> directory
> #include <gio/gdesktopap
> ^~~~~~~
> compilation terminated.
> make[1]: *** [Makefile:463: dbus-player.o] Error 1
> make[1]: Leaving directory '/build/trunk/src'
> make: *** [Makefile:439: all-recursive] Error 1
> ```
>
> Downstream issue: https:/
>
> To manage notifications about this bug go to:
> https:/
>
--
Sent from my PC, laptop or phone with Ubuntu-Linux.