#116 Configure fails to create Makefile on cygwin system

open
nobody
None
5
2008-02-20
2008-02-20
No

Trying to build octplot downloaded yesterday to run on cygwin system. Reverted gcc to version 3.3.3 before running ./configure with no options. After first ./configure, downloaded and installed fltk yesterday and ran demos with no problems. Running ./configure again resulted in sed reporting errors:

config.status: creating Makefile
sed: file ./confstatWe1gYi/subs-1.sed line 32: unterminated `s' command
config.status: creating src/Makefile
sed: file ./confstatWe1gYi/subs-1.sed line 32: unterminated `s' command
config.status: creating high_level/Makefile
sed: file ./confstatWe1gYi/subs-1.sed line 32: unterminated `s' command
config.status: creating tests/Makefile
sed: file ./confstatWe1gYi/subs-1.sed line 32: unterminated `s' command
config.status: creating fonts/Makefile
sed: file ./confstatWe1gYi/subs-1.sed line 32: unterminated `s' command
config.status: creating demos/Makefile
sed: file ./confstatWe1gYi/subs-1.sed line 32: unterminated `s' command
config.status: creating src/octplot_enable.m
sed: file ./confstatWe1gYi/subs-1.sed line 32: unterminated `s' command

Discussion

  • roelschlaeger

    roelschlaeger - 2008-02-20

    result of ./configure

     
  • Shai Ayal

    Shai Ayal - 2008-03-07

    Logged In: YES
    user_id=136223
    Originator: NO

    Hi

    Sorry it took my ages to reply -- too little time, too mush todo ...

    I don't have a cygwin system anymore to test but I would suggest to try the following
    1. completely delete the octplot dist dir and then unpack it again from the tar.gz file, and try again
    2. if this fails, try to re-generate configure: in the dist dir, type: ./reconf
    you might have to install automake for this to work

    Thanks for using octplot, and sorry for nor being more responsive

    Shai

     
  • Hĺvard Korsvoll

    Hi

    I have the same problem trying to compile it on CentOS 5.4 x86_64.

    I have tracked down the error to the parsing of fltk-config.
    On my system I get this from fltk-config:
    $ /usr/bin/fltk-config --use-gl --libs
    /usr/lib64/libfltk.a
    /usr/lib64/libfltk_gl.a

    This results is a LIBS variable with two lines:
    /usr/lib64/libfltk.a
    /usr/lib64/libfltk_gl.a -lfltk_gl -lGLU -lGL -lfltk -lfreetype

    which makes a line break in the sed command.

    I don't have the time to make a patch for this. But trying to compile this on a fairly modern system should reproduce this error.

     
  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2010-08-10

    Hi folks, the problem is the same on MacOSX with fltk-config. Here's the output of diff on configure that solves the problem:

    4813c4813
    < LIBS="$LIBS `$FLTK_CONFIG $fltkconf_args --use-gl --libs`"
    ---
    > LIBS="$LIBS `$FLTK_CONFIG $fltkconf_args --use-gl --libs | tr '\n' '\ '`"

    as you can see, the --libs argument ot fltk-configure behaves badly and the newline must be removed.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks