#21 syntax error on configure

developer
closed
5
2016-07-14
2012-01-29
hete
No

Using atlas 3.9.61 (on cygwin / Win 7 / core i3)

$ ../configure -t 2 --prefix=/usr/local/

gives the following result:

gcc -I/cygdrive/c/cygwin//home/Henning/download/ATLAS/cygwin/..//CONFIG/include -g -w -c /cygdrive/c/cygwin//home/Henning/download/ATLAS/cygwin/..//CONFIG/src/atlconf_misc.c
gcc -I/cygdrive/c/cygwin//home/Henning/download/ATLAS/cygwin/..//CONFIG/include -g -w -o xconfig /cygdrive/c/cygwin//home/Henning/download/ATLAS/cygwin/..//CONFIG/src/config.c atlconf_misc.o
./xconfig -d s /cygdrive/c/cygwin//home/Henning/download/ATLAS/cygwin/../ -d b /cygdrive/c/cygwin//home/Henning/download/ATLAS/cygwin -t 2

OS configured as WinNT (8)

Assembly configured as GAS_x8632 (1)

Vector ISA Extension configured as SSE3 (5,224)

Architecture configured as Corei2 (22)

Clock rate configured as 3292Mhz
Parallel make command configured as '$(MAKE)'

Pointer width configured as 64
Cannot detect CPU throttling.
gcc -I/cygdrive/c/cygwin//home/Henning/download/ATLAS/cygwin/..//CONFIG/include -g -w -o xisgcc /cygdrive/c/cygwin//home/Henning/download/ATLAS/cygwin/..//CONFIG/src/IsGcc.c atlconf_misc.o
gcc -I/cygdrive/c/cygwin//home/Henning/download/ATLAS/cygwin/..//CONFIG/include -g -w -c /cygdrive/c/cygwin//home/Henning/download/ATLAS/cygwin/..//CONFIG/src/probe_comp.c
gcc -I/cygdrive/c/cygwin//home/Henning/download/ATLAS/cygwin/..//CONFIG/include -g -w -o xprobe_comp probe_comp.o atlconf_misc.o
rm -f config1.out
make atlas_run atldir=/cygdrive/c/cygwin//home/Henning/download/ATLAS/cygwin exe=xprobe_comp args="-v 0 -o atlconf.txt -O 8 -A 22 -Si nof77 0 -b 64" \ redir=config1.out
make[1]: Entering directory `/home/Henning/download/ATLAS/cygwin'
cd /cygdrive/c/cygwin//home/Henning/download/ATLAS/cygwin ; ./xprobe_comp -v 0 -o atlconf.txt -O 8 -A 22 -Si nof77 0 -b 64 > config1.out
sh: -c: line 0: syntax error near unexpected token `('
sh: -c: line 0: `find $HOME/local /usr/local/bin /usr/bin /cygdrive/c/Program\ Files\ (x86)/MiKTeX\ 2.9/miktex/bin /cygdrive/c/Windows/system32 /cygdrive/c/Windows /cygdrive/c/Windows/System32/Wbem /cygdrive/c/Windows/System32/WindowsPowerShell/v1.0 /usr/lib/lapack -name '*gcc*' -exec ./xisgcc '{}' \; > /tmp/t57c.0 2>&1'
assertion "fpin" failed: file "/cygdrive/c/cygwin//home/Henning/download/ATLAS/cygwin/..//CONFIG/src/atlconf_misc.c", line 873, function: GetLinesFromFile
/bin/sh: line 1: 1404 Aborted (core dumped) ./xprobe_comp -v 0 -o atlconf.txt -O 8 -A 22 -Si nof77 0 -b 64 > config1.out
Makefile:106: recipe for target `atlas_run' failed
make[1]: *** [atlas_run] Error 134
make[1]: Leaving directory `/home/Henning/download/ATLAS/cygwin'
Makefile:117: recipe for target `IRun_comp' failed
make: *** [IRun_comp] Error 2
ERROR 512 IN SYSCMND: 'make IRun_comp args="-v 0 -o atlconf.txt -O 8 -A 22 -Si nof77 0 -b 64"'
mkdir src bin tune interfaces
cd src ; mkdir testing auxil blas lapack pthreads threads
cd src/blas ; \ mkdir f77reference reference gemv ger gemm kbmm \ level1 level2 level3 pklevel3
cd src/blas/reference ; mkdir level1 level2 level3
cd src/blas/level2 ; mkdir kernel
cd src/blas/pklevel3 ; mkdir gpmm sprk
cd src/blas/level3 ; mkdir rblas kernel
cd src/pthreads ; mkdir blas misc
cd src/pthreads/blas ; mkdir level1 level2 level3
cd src/threads ; mkdir blas lapack
cd src/threads/blas ; mkdir level3 level2
cd tune ; mkdir blas sysinfo lapack threads
cd tune/blas ; mkdir gemm gemv ger level1 level3
cd interfaces ; mkdir blas lapack
cd interfaces/lapack ; mkdir C F77
cd interfaces/lapack/C ; mkdir src testing
cd interfaces/lapack/F77 ; mkdir src testing
cd interfaces/blas ; mkdir C F77
cd interfaces/blas/C ; mkdir src testing
cd interfaces/blas/F77 ; mkdir src testing
cd interfaces/lapack ; mkdir C2F
cd interfaces/lapack/C2F ; mkdir src
mkdir ARCHS
make -f Make.top startup
make[1]: Entering directory `/home/Henning/download/ATLAS/cygwin'
Make.top:1: Make.inc: No such file or directory
make[1]: *** No rule to make target `Make.inc'. Stop.
make[1]: Leaving directory `/home/Henning/download/ATLAS/cygwin'
Makefile:487: recipe for target `startup' failed
make: *** [startup] Error 2
mv: cannot stat `lib/Makefile': No such file or directory
../configure: line 410: lib/Makefile: No such file or directory
../configure: line 411: lib/Makefile: No such file or directory
../configure: line 412: lib/Makefile: No such file or directory
../configure: line 413: lib/Makefile: No such file or directory
../configure: line 469: lib/Makefile: No such file or directory
DONE configure

I got no error reports.
Did I made any mistake or is there a bug?
best regards

Discussion

  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2012-02-04

    You still should be able to run 'make'.

     
    Last edit: Anonymous 2016-10-10
  • hete

    hete - 2012-02-06

    the result of make is:
    $ make
    make -f Make.top build
    make[1]: Entering directory `/home/Henning/download/ATLAS/cygwin'
    Make.top:1: Make.inc: No such file or directory
    make[1]: *** No rule to make target `Make.inc'. Stop.
    make[1]: Leaving directory `/home/Henning/download/ATLAS/cygwin'
    Makefile:482: recipe for target `build' failed
    make: *** [build] Error 2

    so this don't work

     
  • R. Clint Whaley

    R. Clint Whaley - 2012-03-07

    Yes, my windows support is currently broke. I have just gotten cygwin installed on a windows machine, and will hopefully fix this soon.

     
  • R. Clint Whaley

    R. Clint Whaley - 2012-03-07
    • assigned_to: nobody --> rwhaley
     
  • R. Clint Whaley

    R. Clint Whaley - 2012-03-07
    • milestone: --> developer
    • labels: --> Problems during configure
     
  • Li Peng

    Li Peng - 2012-03-25

    I'm encountered with the same issue and figured out that it is caused by the missed handling of parentheses in the system's path variable. In 64bit Windows systems (at least 64 bit Windows 7), there's a 'Program Files (x86)' directory which the tool doesn't escape the parentheses, that causes "find" error. Applying the following patch to CONFIG/src/atlconf_misc.c will solve this problem.

    679a680,691
    > else if (path[i] == '(')
    > {
    > *p = '\\';
    > p[1] = '(';
    > p += 2;
    > }
    > else if (path[i] == ')')
    > {
    > *p = '\\';
    > p[1] = ')';
    > p += 2;
    > }

     
  • R. Clint Whaley

    R. Clint Whaley - 2012-06-13

    Hi,

    I am very sorry for the looong delay, but I think I have gotten Windows fully supported in ATLAS 3.9.79. Using it, you can build 32-bit libs using either the cygwin compilers or the MinGW compilers, though you still need cygwin installed. The ATLAS installation guide that comes with the tarfile has Windows-specific installation instructions.

    Can you try 3.9.79 and let me know if it works for you?

    Many thanks,
    Clint

     
  • R. Clint Whaley

    R. Clint Whaley - 2012-06-13
    • status: open --> open-fixed
     
  • RRCC

    RRCC - 2013-01-13

    Hi Clint,

    I have the same problem mentioned in this thread with latest ATLAS version (3.10.1).
    cygwin running on Windows 7 (core i5).

    I created a $PATH that does not have any white spaces (which were creating some issues):

    $ echo $PATH
    /usr/local/bin:/usr/bin:/cygdrive/c/windows/System32/Wbem:/cygdrive/c/windows/System32/WindowsPowerShell/v1.0:/usr/bin:/cygdrive/c/gnuarm/bin:/usr/lib/lapack

    I tried with and without MinGW in $PATH (I have MinGW installed, however, I usually use gcc).

    I get messages similar to the ones reported at the beginning of this thread. Here's what I get (without MinGW in $PATH):

    $ ../configure -b 64 -D c -DPentiumCPS=2400 --with-netlib-lapack-tarfile=../../
    lapack-3.4.2.tgz

    gcc -I/cygdrive/c/proj1/ATLAS3.10.1/Linux_C2D64SSE3/..//CONFIG/include -g -w -c /cygdrive/c/proj1/ATLAS3.10.1/Linux_C2D64SSE3/..//CONFIG/src/atlconf_misc.c
    gcc -I/cygdrive/c/proj1/ATLAS3.10.1/Linux_C2D64SSE3/..//CONFIG/include -g -w -o xconfig /cygdrive/c/proj1/ATLAS3.10.1/Linux_C2D64SSE3/..//CONFIG/src/config.c atlconf_misc.o
    ./xconfig -d s /cygdrive/c/proj1/ATLAS3.10.1/Linux_C2D64SSE3/../ -d b /cygdrive/c/proj1/ATLAS3.10.1/Linux_C2D64SSE3 -b 64 -D c -DPentiumCPS=2400 -Si lapackref1

    OS configured as Win64 (9)

    Assembly configured as GAS_x8632 (1)

    Vector ISA Extension configured as SSE3 (6,448)

    Architecture configured as Corei1 (25)

    Clock rate configured as 2394Mhz

    Maximum number of threads configured as 4
    Parallel make command configured as '$(MAKE)'
    Cannot detect CPU throttling.
    gcc -I/cygdrive/c/proj1/ATLAS3.10.1/Linux_C2D64SSE3/..//CONFIG/include -g -w -o xisgcc /cygdrive/c/proj1/ATLAS3.10.1/Linux_C2D64SSE3/..//CONFIG/src/IsGcc.c atlconf_misc.o
    gcc -I/cygdrive/c/proj1/ATLAS3.10.1/Linux_C2D64SSE3/..//CONFIG/include -g -w -c /cygdrive/c/proj1/ATLAS3.10.1/Linux_C2D64SSE3/..//CONFIG/src/probe_comp.c
    gcc -I/cygdrive/c/proj1/ATLAS3.10.1/Linux_C2D64SSE3/..//CONFIG/include -g -w -o xprobe_comp probe_comp.o atlconf_misc.o
    rm -f config1.out
    make atlas_run atldir=/cygdrive/c/proj1/ATLAS3.10.1/Linux_C2D64SSE3 exe=xprobe_comp redir=config1.out \ args="-v 0 -o atlconf.txt -O 9 -A 25 -Si nof77 0 -V 448 -b 64
    -d b /cygdrive/c/proj1/ATLAS3.10.1/Linux_C2D64SSE3"
    make[1]: Entering directory /cygdrive/c/proj1/ATLAS3.10.1/Linux_C2D64SSE3' cd /cygdrive/c/proj1/ATLAS3.10.1/Linux_C2D64SSE3 ; ./xprobe_comp -v 0 -o atlconf.txt -O 9 -A 25 -Si nof77 0 -V 448 -b 64 -d b /cygdrive/c/proj1/ATLAS3.10.1/Linux_C2D64SSE3 > config1.out sh: -c: line 0: unexpected EOF while looking for matching ``' sh: -c: line 1: syntax error: unexpected end of file sh: -c: line 0: unexpected EOF while looking for matching ``' sh: -c: line 1: syntax error: unexpected end of file sh: -c: line 0: unexpected EOF while looking for matching ``' sh: -c: line 1: syntax error: unexpected end of file sh: -c: line 0: unexpected EOF while looking for matching ``' sh: -c: line 1: syntax error: unexpected end of file Cannot find MinGW gcc in /usr/bin, with names beginning with /usr/bin/x86_64-w64-mingw32-* ; Make sure MinGW is installed, then try again. If your MinGW compiler not named like this, specify them using file Makefile:106: recipe for targetatlas_run' failed
    make[1]: [atlas_run] Error 255
    make[1]: Leaving directory /cygdrive/c/proj1/ATLAS3.10.1/Linux_C2D64SSE3' Makefile:117: recipe for targetIRun_comp' failed
    make:
    [IRun_comp] Error 2
    ERROR 512 IN SYSCMND: 'make IRun_comp args="-v 0 -o atlconf.txt -O 9 -A 25 -Si nof77 0 -V 448 -b 64"'
    mkdir src bin tune interfaces
    cd src ; mkdir testing auxil blas lapack pthreads threads
    cd src/blas ; \ mkdir f77reference reference gemv ger gemm kbmm \ level1 level2 level3 pklevel3
    cd src/blas/reference ; mkdir level1 level2 level3
    cd src/blas/level2 ; mkdir kernel
    cd src/blas/pklevel3 ; mkdir gpmm sprk
    cd src/blas/level3 ; mkdir rblas kernel
    cd src/pthreads ; mkdir blas misc
    cd src/pthreads/blas ; mkdir level1 level2 level3
    cd src/threads ; mkdir blas lapack
    cd src/threads/blas ; mkdir level3 level2
    cd tune ; mkdir blas sysinfo lapack threads
    cd tune/blas ; mkdir gemm gemv ger level1 level3
    cd interfaces ; mkdir blas lapack
    cd interfaces/lapack ; mkdir C F77
    cd interfaces/lapack/C ; mkdir src testing
    cd interfaces/lapack/F77 ; mkdir src testing
    cd interfaces/blas ; mkdir C F77
    cd interfaces/blas/C ; mkdir src testing
    cd interfaces/blas/F77 ; mkdir src testing
    cd interfaces/lapack ; mkdir C2F
    cd interfaces/lapack/C2F ; mkdir src
    mkdir ARCHS
    make -f Make.top startup
    make[1]: Entering directory /cygdrive/c/proj1/ATLAS3.10.1/Linux_C2D64SSE3' Make.top:1: Make.inc: No such file or directory make[1]: *** No rule to make targetMake.inc'. Stop.
    make[1]: Leaving directory /cygdrive/c/proj1/ATLAS3.10.1/Linux_C2D64SSE3' Makefile:493: recipe for targetstartup' failed
    make: *** [startup] Error 2
    mv: cannot stat `lib/Makefile': No such file or directory
    ../configure: line 450: lib/Makefile: No such file or directory
    ../configure: line 451: lib/Makefile: No such file or directory
    ../configure: line 452: lib/Makefile: No such file or directory
    ../configure: line 453: lib/Makefile: No such file or directory
    ../configure: line 509: lib/Makefile: No such file or directory
    DONE configure

    Many thanks.

     
  • RRCC

    RRCC - 2013-01-14

    It was my problem. I did not have MinGW 64 installed on cygwin (and gcc does not seem to support 64 bit architecture).

    But now I have problem with make build. I will try to look for other threads on the topic.

     
  • theo

    theo - 2013-10-29

    Exactly the same here on Cygwin (32b), Window 7 64b on Pentium i7 (Sandy Bridge)@2.8GHz. Configure ending with:

    $ ../configure -b 32 -D c -DPentiumCPS=2793 --prefix=../atlas-win32-static --with-netlib-lapack-tarfile=/cygdrive/c/work/lapack-3.4.2.tgz
    ...LOTS OF OUTPUT...
    mkdir ARCHS
    make -f Make.top startup
    make[1]: Entering directory '/cygdrive/c/work/atlas3.11.11/ATLAS/win32'
    Make.top:1: Make.inc: No such file or directory
    make[1]: *** No rule to make target 'Make.inc'.  Stop.
    make[1]: Leaving directory '/cygdrive/c/work/atlas3.11.11/ATLAS/win32'
    Makefile:513: recipe for target 'startup' failed
    make: *** [startup] Error 2
    mv: cannot stat `lib/Makefile': No such file or directory
    ../configure: line 450: lib/Makefile: No such file or directory
    ../configure: line 451: lib/Makefile: No such file or directory
    ../configure: line 452: lib/Makefile: No such file or directory
    ../configure: line 453: lib/Makefile: No such file or directory
    ../configure: line 509: lib/Makefile: No such file or directory
    DONE configure
    

    End then

    $ make
    

    Fails as above.

     
  • R. Clint Whaley

    R. Clint Whaley - 2016-07-14
    • status: open-fixed --> closed
     
  • R. Clint Whaley

    R. Clint Whaley - 2016-07-14

    Sorry for the extreme neglect. I have overwhelmed, and have not been able to provide support for some time. In order to get back to even, I am mass closing existing old support requests.

    If your support request involved the stable release, please try the new 3.10.3BETA release that you can find under the developer releases. That is the release that I have updated to work better on modern hardware, including MacOS and Windows. If you still have a problem with 3.10.3BETA, please open up a new ticket, and I will try to get it fixed before the official 3.10.3 release. Please note t
    he updated ATLAS/doc/atlas_install.pdf: the online document is still for 3.10.2,
    and will remain so until 3.10.3's official release.

    If your support request involved the developer release, I recommend waiting for 3.11.39 before reopening, as I am currently in the middle of a major rewrite. If the problem persists into .39, I definitely want to hear about it.

    Thank you, and I am very sorry about my responsiveness on support.

     

Log in to post a comment.

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

Sign up for the SourceForge newsletter:





No, thanks