Menu

Line endings libtool

2024-09-30
2024-10-04
  • William Kater

    William Kater - 2024-09-30

    Hello all.

    I am running a modified 3.2 install on WSL ubuntu. After messing with git for a bit it looks like I messed up my line endings. After running dos2unix on a bunch of files there is only one place where it keeps going wrong: libtool. Whenever i run configure it regenerates libtool, with the wrong line endings. I assumed it was a mistake in config.status, configure or configure.ac. However, running dos2unix on those files doesn't fix things either. I did use the -f flag as otherwise it won't convert the files it thinks are binary due to null characters.

    The only way I can get it to work is to rerun dos2unix -f libtool after running ./configure. The error occurs when running sudo make install.

    Any help would be greatly appreciated.

    Greetings,
    William

     

    Last edit: William Kater 2024-09-30
  • William Kater

    William Kater - 2024-10-04

    I solved the issue by running:
    find . -type f -exec dos2unix -f {} +
    Not sure what the problematic file was, but whats done is done.

     

Anonymous
Anonymous

Add attachments
Cancel