Opened 8 years ago

Closed 8 years ago

#91 closed defect (invalid)

run_autotools & configure insert carriage returns in libtool file

Reported by: kibaek.kim Owned by: stefan
Priority: major Component: build system
Version: 0.7 Keywords:
Cc:

Description

I am trying to use BuildTools? for my own solver, since it utilizes many coin-or packages.

Based on the web manual, I have created configure.ac and Makefile.am files in proper directories of my project directory. BuildTools?/run_autotools has been successfully executed and created configure and other files. And ./configure has also been successfully done. But running make file gives a syntax error when using libtool file. When looking into libtool file, I have found that libtool file contains lots of carriage returns. After eliminating all carriage returns by tr -d '\r' libtool command, everything has run successfully.

I have found this issue on Mac OSX and Red Hat Enterprise.

Change History (2)

comment:1 Changed 8 years ago by stefan

I don't know where the carriage returns come from. The libtool file is written by configure, maybe you check if they are already in there. configure is written by autoconf.

The BuildTools don't do anything to extra add carriage returns, as far as I know.

comment:2 Changed 8 years ago by lou

  • Resolution set to invalid
  • Status changed from new to closed

The most likely problem is that you created the libtool file on a PC (end-of-line CR LF) and transferred it to Max OS X or Unix (end-of-line LF) without properly converting the end-of-line convention. If you have this problem working entirely on a single operating system, reopen the ticket.

Closing.

Note: See TracTickets for help on using tickets.