OpenPrinting / system-config-printer

Graphical user interface for CUPS administration
GNU General Public License v2.0
163 stars 90 forks source link

Every version after 1.5.15 fails: `./configure: line 3133: syntax error: unexpected word (expecting ")")` #287

Closed PureTryOut closed 2 years ago

PureTryOut commented 2 years ago

The only commands I run here are the following:

./bootstrap
./configure \
    --build=$CBUILD \
    --host=$CHOST \
    --prefix=/usr \
    --sysconfdir=/etc \
    --mandir=/usr/share/man \
    --localstatedir=/var
zdohnal commented 2 years ago

@PureTryOut what is your values for $CBUILD and $CHOST? I can't reproduce the issue on the latest HEAD.

Are you trying this in your cloned repo of this project? What OS do you use?

PureTryOut commented 2 years ago

This is work to update the Alpine Linux package. So it doesn't use a cloned version of the repo but rather the last release tarball.

Both $CBUILD and $CHOST are set to x86_64-alpine-linux-musl.

zdohnal commented 2 years ago

@PureTryOut the release tarball has a pregenerated configure, does the pregenerated one work for you? Because if you run ./bootstrap, you generate a new configure based on your local tools, so the lines in the error message don't match with the shipped one and I can't check them...

Still I'm not able to reproduce, even with your values...

PureTryOut commented 2 years ago

I... Totally missed that it already had a configure :scream: That works like a dream, thanks! Since you can't reproduce this and the pregenerated one works fine I'll close this issue.