SimulaVR / libxcb-errors

Other
0 stars 1 forks source link

Autoreconf errors when trying to build #1

Open Thesola10 opened 2 years ago

Thesola10 commented 2 years ago

I am currently trying to build SimulaVR/Simula using the installSimula utility, but I always end up with the following error:

building '/nix/store/f7zgf6yfagdxic9pdnh45i9yvjvm7i8p-libxcb-errors-0.0.0.drv'...
error: builder for '/nix/store/f7zgf6yfagdxic9pdnh45i9yvjvm7i8p-libxcb-errors-0.0.0.drv' failed with exit code 1;
       last 10 log lines:
       > Makefile.am:17: error: Libtool library used but 'LIBTOOL' is undefined
       > Makefile.am:17:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
       > Makefile.am:17:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
       > Makefile.am:17:   If 'LT_INIT' is in 'configure.ac', make sure
       > Makefile.am:17:   its definition is in aclocal's search path.
       > Makefile.am: installing './depcomp'
       > Makefile.am:29: error: 'pkgconfig_DATA' is used but 'pkgconfigdir' is undefined
       > Makefile.am:19: error: 'xcbinclude_HEADERS' is used but 'xcbincludedir' is undefined
       > parallel-tests: installing './test-driver'
       > autoreconf: error: automake failed with exit status: 1

I already have a single-user install of Nix atop Arch Linux, currently on nixpkgs unstable.

haruki7049 commented 3 days ago

Hey @Thesola10

The commit 6b011619a6682ca53ec33a26ad5da97531920545 on 2024 can be built with nix-build command. Perhaps, Is your commit d93f56af7e13b49069ceb4d740c7992bc1d79594 ?

On 2024, this issue is resolved. Try out the commit 6b011619a6682ca53ec33a26ad5da97531920545 .

Steps to reproduce

To build successful

On commit hash 6b011619a6682ca53ec33a26ad5da97531920545 , build with nix-build

To fail build

On commit hash d93f56af7e13b49069ceb4d740c7992bc1d79594 , build with nix-build

My machine's nix-info

$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.6.59, NixOS, 24.11 (Vicuna), 24.11.20241107.85f7e66`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.24.10`
 - nixpkgs: `/nix/store/gg86rfp39vc7chqsszk32q7995hz4943-source`