Skip to content

Bootstrap character terminations mess up build on Windows  #25

@minhalhasham

Description

@minhalhasham

Hi Tom! Minhal here. Just went to clone and build on Win11 v23H2 build 22631.3447. Using cygwin with autoconf 2.7, automake 1.16.5-1, and gcc 11.4.

After running ./bootstrap, I got :
$ ./bootstrap ./bootstrap: line 2: $'\r': command not found '.toreconf-2.72: error: unrecognized option '- autoreconf-2.72: Try '/usr/bin/autoreconf-2.72 --help' for more information.
Seems like some weirdness between line breaks in Linux and Windows. Running autoreconf -vi manually worked and then the remainder of the build process was fine.

Just figured I'd flag this, and thank you for continuing to maintain all these picoquant repos!

EDIT: A workaround if you want to continue to use ./bootstrap is to have a text editor convert line endings from CRLF to LF

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions