On Wednesday, August 7, 2013 8:05:42 AM UTC+2, Travis Scrimshaw wrote:
>
> Okay, python works from the build directory for cygwin32, even though the 
> spkg install still fails. I couldn't install the mpir spkg on my cygwin64; 
> here's the log:
>
> $ sage -i mpir 
> Found package mpir in spkg/standard/mpir-2.6.0.p3.spkg 
> mpir-2.6.0.p3 
> ==================================================== 
> Extracting package 
> /home/Travis/sage-5.11.rc0/spkg/standard/mpir-2.6.0.p3.spkg 
> -rwxr-xr-x 1 Administrators None 3990211 Aug 6 16:59 
> /home/Travis/sage-5.11.rc0 /spkg/standard/mpir-2.6.0.p3.spkg 
> Finished extraction 
> **************************************************** 
> Host system: 
> CYGWIN_NT-6.0 Travis-Notebook 1.7.22(0.268/5/3) 2013-07-22 17:06 x86_64 
> Cygwin 
> **************************************************** 
> C compiler: gcc 
> C compiler version: 
> Using built-in specs. 
> COLLECT_GCC=gcc 
> COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-cygwin/4.8.1/lto-wrapper.exe 
> Target: x86_64-pc-cygwin 
> Configured with: 
> /cygdrive/i/szsz/tmpp/cygwin64/gcc/gcc-4.8.1-3/src/gcc-4.8.1/co nfigure 
> --srcdir=/cygdrive/i/szsz/tmpp/cygwin64/gcc/gcc-4.8.1-3/src/gcc-4.8.1 -- 
> prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin 
> --libexecdi r=/usr/lib --datadir=/usr/share --localstatedir=/var 
> --sysconfdir=/etc --dataroo tdir=/usr/share --docdir=/usr/share/doc/gcc -C 
> --build=x86_64-pc-cygwin --host=x 86_64-pc-cygwin --target=x86_64-pc-cygwin 
> --without-libiconv-prefix --without-li bintl-prefix --enable-shared 
> --enable-shared-libgcc --enable-static --enable-ver 
> sion-specific-runtime-libs --enable-bootstrap --disable-__cxa_atexit 
> --with-dwar f2 --with-tune=generic 
> --enable-languages=c,c++,fortran,lto,objc,obj-c++ --enabl e-graphite 
> --enable-threads=posix --enable-libatomic --enable-libgomp --disable- 
> libitm --enable-libquadmath --enable-libquadmath-support --enable-libssp 
> --enabl e-libgcj-sublibs --disable-java-awt --disable-symvers 
> --with-ecj-jar=/usr/share/ java/ecj.jar --with-gnu-ld --with-gnu-as 
> --with-cloog-include=/usr/include/cloog -isl --without-libiconv-prefix 
> --without-libintl-prefix --with-system-zlib 
> Thread model: posix 
> gcc version 4.8.1 (GCC) 
> **************************************************** 
> Applying patches to upstream sources... 
> ./spkg-install: line 19: ../patches/*.patch: No such file or directory 
> Building MPIR with the C++ interface and (only) shared libraries. 
> Checking what CFLAGS MPIR would use if they were empty... 
> checking build system type... penryn-unknown-cygwin 
> checking host system type... penryn-unknown-cygwin 
> checking for a BSD-compatible install... /usr/bin/install -c 
> checking whether build environment is sane... yes 
> checking for a thread-safe mkdir -p... /usr/bin/mkdir -p 
> checking for gawk... gawk 
> checking whether make sets $(MAKE)... yes 
> checking whether make supports nested variables... yes 
> checking whether to enable maintainer-specific portions of Makefiles... no 
> checking ABI=32 
> checking compiler gcc -m32 -O2 -fomit-frame-pointer ... no 
> checking compiler gcc -O2 -fomit-frame-pointer ... rm: cannot remove 
> `a.exe': De vice or resource busy 
> rm: cannot remove `a.exe': Device or resource busy 
> rm: cannot remove `a.exe': Device or resource busy 
> rm: cannot remove `a.exe': Device or resource busy 
> rm: cannot remove `a.exe': Device or resource busy 
> rm: cannot remove `a.exe': Device or resource busy 
> rm: cannot remove `a.exe': Device or resource busy 
> yes 
> checking compiler gcc -O2 -fomit-frame-pointer has sizeof(long)==4... no 
> configure: error: could not find a working compiler, see config.log for 
> details 
> Error configuring MPIR (with CFLAGS unset). 
> Consult /home/Travis/sage-5.11.rc0/spkg/build/mpir-2.6.0.p3/src/config.log 
> for f or details. 
> real 0m16.100s 
> user 0m2.798s 
> sys 0m8.340s 
> ************************************************************************ 
> Error installing package mpir-2.6.0.p3 
> ************************************************************************ 
> Please email sage-devel (http://groups.google.com/group/sage-devel) 
> explaining the problem and including the relevant part of the log file 
>  /home/Travis/sage-5.11.rc0/logs/pkgs/mpir-2.6.0.p3.log 
> Describe your computer, operating system, etc. 
> If you want to try to fix the problem yourself, *don't* just cd to 
> /home/Travis/sage-5.11.rc0/spkg/build/mpir-2.6.0.p3 and type 'make' or 
> whatever is appropriate. 
> Instead, the following commands setup all environment variables 
> correctly and load a subshell for you to debug the error: 
>  (cd '/home/Travis/sage-5.11.rc0/spkg/build/mpir-2.6.0.p3' && 
> '/home/Travis/sag e-5.11.rc0/sage' --sh) 
> When you are done debugging, you can type "exit" to leave the subshell.
> ************************************************************************
>  
> Should I try it without the gcc for cygwin and use the one sent with Sage?
>  
>
Both should be fine.

But the
rm: cannot remove `a.exe': De vice or resource busy 
rm: cannot remove `a.exe': Device or resource busy 
rm: cannot remove `a.exe': Device or resource busy 
rm: cannot remove `a.exe': Device or resource busy 
rm: cannot remove `a.exe': Device or resource busy 
rm: cannot remove `a.exe': Device or resource busy 
rm: cannot remove `a.exe': Device or resource busy  
part looks very fishy...

Anyway, I think that the spkg I uploaded lacks some changes for Cygwin 64, 
I'll up a new one a little later.
I think the current one still forces ABI=32 which may explain the gcc 
failure.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to