Skip to content

autogen.sh error: dirname missing operand + autotools not detected #157

@Mukulkanojia123

Description

@Mukulkanojia123

Bug Description

While running ./autogen.sh after successfully executing synclibs.sh, the script fails with the following errors:

dirname: missing operand
Try 'dirname --help' for more information.
Unable to find autotools

🔁 Steps to Reproduce

  1. Clone the repository
  2. Run ./synclibs.sh (runs successfully)
  3. Run ./autogen.sh
  4. Observe the error

Environment

  • OS: Windows
  • Shell: MINGW64 (Git Bash)
  • GCC Version: 6.3.0 (MinGW)

Additional Output

which: no aclocal in (PATH...)

Expected Behavior

autogen.sh should run successfully and generate the required configuration files.


Actual Behavior

The script fails due to:

  • dirname: missing operand
  • Autotools (e.g., aclocal, autoconf, automake) not being detected

Possible Cause

  • Missing autotools dependencies (autoconf, automake, libtool)
  • Or a variable being passed empty to dirname inside the script

Request

Please confirm:

  • Required dependencies for Windows/MINGW64 setup
  • Whether additional setup steps are needed for autotools
  • Or if there's an issue in the script handling empty variables

Screenshot

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions