Menu

#6 cygwin configure problem

Closed
nobody
None
Medium
Defect
2009-10-29
2009-06-23
Anonymous
No

Originally created by: grshiplett

What steps will reproduce the problem?
1. cygwin ./configure writes 0 bytes Makefile
2. 0 bytes Makedef
3. 0 bytes paths.sh

What is the expected output? What do you see instead?
Makefile

What version of the product are you using? On what operating system?

Please provide any additional information below.
config.log ends with exit 0

console dump:

checking size of long... 4
checking for void*... yes
checking size of void*... 4
configure: creating ./config.status
config.status: creating Makedefs
sed: -e expression #1, char 586: invalid reference \1 on `s' command's RHS
config.status: creating test/Makefile
sed: -e expression #1, char 603: invalid reference \1 on `s' command's RHS
config.status: creating apps/ivib/plugins/Makefile
sed: -e expression #1, char 654: invalid reference \1 on `s' command's RHS
config.status: creating apps/ivib/Makefile
sed: -e expression #1, char 624: invalid reference \1 on `s' command's RHS
config.status: creating apps/oidoc/Makefile
sed: -e expression #1, char 627: invalid reference \1 on `s' command's RHS
config.status: creating apps/Makefile
sed: -e expression #1, char 603: invalid reference \1 on `s' command's RHS
config.status: creating lib/xml/Makefile
sed: -e expression #1, char 618: invalid reference \1 on `s' command's RHS
config.status: creating lib/gui/Makefile
sed: -e expression #1, char 618: invalid reference \1 on `s' command's RHS
config.status: creating lib/main/Makefile
sed: -e expression #1, char 621: invalid reference \1 on `s' command's RHS
config.status: creating lib/ipl/Makefile
sed: -e expression #1, char 618: invalid reference \1 on `s' command's RHS
config.status: creating lib/native/Makefile
sed: -e expression #1, char 627: invalid reference \1 on `s' command's RHS
config.status: creating lib/iyacc/test/Makefile
sed: -e expression #1, char 645: invalid reference \1 on `s' command's RHS
config.status: creating lib/iyacc/Makefile
sed: -e expression #1, char 624: invalid reference \1 on `s' command's RHS
config.status: creating lib/incl/Makefile
sed: -e expression #1, char 621: invalid reference \1 on `s' command's RHS
config.status: creating lib/parser/Makefile
sed: -e expression #1, char 627: invalid reference \1 on `s' command's RHS
config.status: creating lib/Makefile
sed: -e expression #1, char 600: invalid reference \1 on `s' command's RHS
config.status: creating base/common/Makefile
sed: -e expression #1, char 630: invalid reference \1 on `s' command's RHS
config.status: creating base/rtt/Makefile
sed: -e expression #1, char 621: invalid reference \1 on `s' command's RHS
config.status: creating base/oit/Makefile
sed: -e expression #1, char 621: invalid reference \1 on `s' command's RHS
config.status: creating base/oix/Makefile
sed: -e expression #1, char 621: invalid reference \1 on `s' command's RHS
config.status: creating base/Makefile
sed: -e expression #1, char 603: invalid reference \1 on `s' command's RHS
config.status: creating Makefile
sed: -e expression #1, char 586: invalid reference \1 on `s' command's RHS
config.status: creating paths.sh
sed: -e expression #1, char 586: invalid reference \1 on `s' command's RHS
config.status: creating base/h/version.h
sed: -e expression #1, char 617: invalid reference \1 on `s' command's RHS
config.status: creating base/h/define.h
sed: -e expression #1, char 615: invalid reference \1 on `s' command's RHS
config.status: creating base/h/auto.h
config.status: base/h/auto.h is unchanged
config.status: executing system commands
Summary:-
Installation prefix    : /usr/local
X11 graphics           : yes
jpeg library           : yes
Xft anti-aliased fonts : no
Xpm                    : yes
zlib compression       : yes
dynamic loading        : yes
mysql lib              : no
context switch         : config/system/cygwin_x86/rswitch.s

Discussion

  • Anonymous

    Anonymous - 2009-08-03

    Originally posted by: grshiplett

    checkout of tag 020809 also results in current Win Xp cygwin autoconf and ./configure
    producing a 0 byte Makefile

     
  • Anonymous

    Anonymous - 2009-08-03

    Originally posted by: grshiplett

    plan: ran autoconf under Cygwin then moved directory to Msys/1.0/home where ./configure
    does produce makefiles and tweak as needed there (in progress at this time)

     
  • Anonymous

    Anonymous - 2009-09-12

    Originally posted by: r.parl...@gmail.com

    Unfortunately I've not been able to reproduce this problem.  On my version of cygwin
    the configure script runs as expected and creates the makefiles correctly.  Latest
    svn should build and run the test suite successfully.

    Possibly your version of cygwin/sed has a bug mine doesn't.  My version of cygwin is
    4.10.  sed --version gives 4.1.5.

    One possible thing you could try is to edit the config.status file by hand to narrow
    down the problem.

    Kind regards
    R

    Status: Started

     
  • Anonymous

    Anonymous - 2009-10-26

    Originally posted by: grshiplett

    I am trying again today with 2.1 (linux Ubuntu built fine on my other box)

     
  • Anonymous

    Anonymous - 2009-10-26

    Originally posted by: grshiplett

    same error
    my sed --v  also gives 4.1.5
    as configure runs I seee nothing suspect until those errors
    The log has

    configure:7529: gcc -o conftest.exe -g -O2  -I/usr/include/freetype2  conftest.c -
    ldl -lm -lz -lXpm -ljpeg -lfreetype -lX11  >&5
    conftest.c: In function `main':
    conftest.c:41: error: `altzone' undeclared (first use in this function)
    conftest.c:41: error: (Each undeclared identifier is reported only once
    conftest.c:41: error: for each function it appears in.)
    configure:7535: $? = 1

     
  • Anonymous

    Anonymous - 2009-10-26

    Originally posted by: grshiplett

    log also has

    configure:7749: checking for struct tm.tm_zone
    configure:7780: gcc -c -g -O2  -I/usr/include/freetype2 conftest.c >&5
    conftest.c: In function `main':
    conftest.c:48: error: structure has no member named `tm_zone'
    configure:7786: $? = 1
    configure: failed program was:
    | /* confdefs.h.  */

     
  • Anonymous

    Anonymous - 2009-10-26

    Originally posted by: grshiplett

    Hooray ! A cygwin build is running ... I have never been able to get configure to
    gen a makefile
    Answer appears to have been that XP sys INSTALL env var was pointing into an MSYS
    bin and not into the cygwin/bin

     
  • Anonymous

    Anonymous - 2009-10-26

    Originally posted by: grshiplett

    We can close this "issue" !

     
  • Anonymous

    Anonymous - 2009-10-29

    Originally posted by: r.parl...@gmail.com

    Glad to hear this problem resolved itself.

    Regards
    R

    Status: Closed

     

Log in to post a comment.