Skip to content

Compilation issue with default shells (non-POSIX compatible ./configure file) #7

@Davoodeh

Description

@Davoodeh

Hello,
I noticed that the file ./sources/configure is not POSIX compitable and uses arrays while it is marked to be run with the default shell of the system via a #! /bin/sh.
This causes compilation issues in some setups in which the default shell is not a modern shell such as zsh or bash (in my case my shell is dash).
This can be avoided by changning it to #!/bin/bash or making the file POSIX compatible.

Unfortunately I couldn't do that by myself since I'm not exactly sure how this configure gets generated or works in the first place xD

./configure: 13537: Syntax error: "(" unexpected
==> ERROR: A failure occurred in build().
    Aborting...

That line is:

PYTHON_COMPAT=( python2.7 python2.6 )

So, yeah... that's all I could find out by my limited knowledge...
Sorry for bad English...

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions