Giter Site home page Giter Site logo

Build Error for v1.3 about pamix HOT 17 CLOSED

patroclos avatar patroclos commented on August 16, 2024 1
Build Error for v1.3

from pamix.

Comments (17)

patroclos avatar patroclos commented on August 16, 2024

This is quite strange, as nothing changed about the configure.ac script.
Did you run autoreconf -i?

from pamix.

Vaelatern avatar Vaelatern commented on August 16, 2024

Yes. Really unsure as to what is wrong here.

from pamix.

Vaelatern avatar Vaelatern commented on August 16, 2024

My version:
autoreconf (GNU Autoconf) 2.69

from pamix.

patroclos avatar patroclos commented on August 16, 2024

Well, thats even stranger, as I have the same version

from pamix.

Vaelatern avatar Vaelatern commented on August 16, 2024

Same issue for autoreconf -fi and autoreconf -i

from pamix.

patroclos avatar patroclos commented on August 16, 2024

I think the latest commit should fix things for you, since your problem only seems to be with the arguments

from pamix.

Vaelatern avatar Vaelatern commented on August 16, 2024

When I apply your latest commit, d102ab2, I get a similar error:

checking for a BSD-compatible install... /builddir/.xbps-PAmix/wrappers/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
./configure: line 2903: syntax error near unexpected token `ac_ext=cpp'
./configure: line 2903: `ac_ext=cpp'

Which is 3 lines after AX_CXX_COMPILE_STDCXX_11() is present in the configure script. I don't know if that is intentional.

from pamix.

Vaelatern avatar Vaelatern commented on August 16, 2024

My autotools complains when I change the patch:

./configure: line 2900: syntax error near unexpected token `11'
./configure: line 2900: `AX_CXX_COMPILE_STDCXX(11)'

From reading the docs it seems this should not be an issue.
Perhaps some m4 settings need tuning?

from pamix.

patroclos avatar patroclos commented on August 16, 2024

I think you may be required to surround the arguments in rectangular brackets
for example: AX_CXX_COMPILE_STDCXX([11], [noext], [mandatory])

from pamix.

Vaelatern avatar Vaelatern commented on August 16, 2024

This was after I did so.

from pamix.

patroclos avatar patroclos commented on August 16, 2024

so did you change something regarding autoconf and/or was the configure script working for you prior to 1.3?

from pamix.

Vaelatern avatar Vaelatern commented on August 16, 2024

In 1.2 only a makefile was used. Basically, both of these invocations failed: AX_CXX_COMPILE_STDCXX([11])
AX_CXX_COMPILE_STDCXX(11)

from pamix.

patroclos avatar patroclos commented on August 16, 2024

Oh, I was assuming you were on the master branch.
I was able to reproduce your issue, you need to install autoconf-archive and reconfigure

from pamix.

Vaelatern avatar Vaelatern commented on August 16, 2024

Excellent! Thank you!

from pamix.

Cheaterman avatar Cheaterman commented on August 16, 2024

Thanks for the simple answer, I ran into this today - this is a relatively uptodate Gentoo, probably the autoconf-archive package is simply missing from the current ebuild dependencies. :-)

from pamix.

patroclos avatar patroclos commented on August 16, 2024

@Cheaterman Thats strange, autoconf-archive should be in ebuild dependencies since this bug

from pamix.

Cheaterman avatar Cheaterman commented on August 16, 2024

@patroclos Thanks a lot for your answer and interest! I can confirm that my other computers' Portage trees all include ebuilds that properly depend on sys-devel/autoconf-archive, so I guess my Portage tree on that machine was much more outdated than I expected. Sorry for the bump everyone, my bad!

from pamix.

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.