I turned parallel build support off. It looks like it does try to do some optimizations for multiple CPUs, but it doesn't actually like to build that way--my recollection is that it gave missing files errors, due to the threads not being in sync.
An easy thing to try is a newer release version. You'd need to edit /sw/fink/dists/stable/main/finkinfo/sci/atlas.info and update the Version and the Source-MD5 fields. Then see if that builds. On 1/11/12 8:15 PM, Juan Courcoul wrote: > OK, I'll bite… > > Can try a build on my late 2011 MBP w/ 10.7.2 & 4.2.1. Any special > config you'd like me to try? Like a parallel build of 8, or > something? > > J. Courcoul > > On Jan 11, 2012, at 7:16 AM, Alexander Hansen wrote: > > > * Don't use text attachments, because they get lost when people > reply to your message. * > > On 1/10/12 10:14 PM, Haysam DAHMAN wrote: >>>> Hello, I am not able to compile atlas package in fink. I am >>>> getting errors "ar: fatal error in /usr/bin/ranlib". I heard >>>> it is an issue with MAC OS X 10.7, could you please confirm >>>> if anyone was able to compile it on mac os lion or not? >>>> >>>> Thanks, Haysam >>>> >>>> N.B. I have macbook pro 7.1 with OSX lion 10.7.2 >>>> >>>> > > ar r /sw/src/fink.build/atlas-3.9.11-12/bld/lib/libatlas.a > ATL_dMBJBmm.o ATL_dIBNBmm.o ATL_dIBJBmm.o ATL_dgemm.o ATL_dGetNB.o > ATL_dGetNCNB.o ATL_dgemmNN.o ATL_dgemmNT.o ATL_dgemmTN.o > ATL_dgemmTT.o ATL_dNCmmIJK.o ATL_dNCmmJIK.o ATL_dNCmmIJK_c.o > ATL_dNCmmJIK_c.o ATL_daliased_gemm.o ATL_dAgemmNN.o ATL_dAgemmNT.o > ATL_dAgemmTN.o ATL_dAgemmTT.o ATL_dmmJIK.o ATL_dmmIJK.o > ATL_dmmJKI.o ATL_dmmK.o ATL_dmmBPP.o ATL_dmmJITcp.o > ATL_dcol2blk_aX.o ATL_drow2blkT_aX.o ATL_dcol2blk_a1.o > ATL_drow2blkT_a1.o ATL_dputblk_bX.o ATL_dputblk_b1.o > ATL_dputblk_bn1.o ATL_dputblk_b0.o ar: fatal error in > /usr/bin/ranlib make[6]: *** [dlib.grd] Error 1 make[5]: *** [dlib] > Error 2 make[4]: *** [dmmlib] Error 2 make[3]: *** > [res/atlas_zdNKB.h] Error 2 make[2]: *** > [/sw/src/fink.build/atlas-3.9.11-12/bld/tune/blas/gemm/res/atlas_zdNKB.h] > > Error 2 > ERROR 804 DURING CACHE EDGE DETECTION!!. cd > /sw/src/fink.build/atlas-3.9.11-12/bld ; make error_report make -f > Make.top error_report uname -a 2>&1 >> bin/INSTALL_LOG/ERROR.LOG > gcc -v 2>&1 >> bin/INSTALL_LOG/ERROR.LOG Using built-in specs. > COLLECT_GCC=gcc > COLLECT_LTO_WRAPPER=/sw/lib/gcc4.6/libexec/gcc/x86_64-apple-darwin11.2.0/4.6.2/lto-wrapper > > Target: x86_64-apple-darwin11.2.0 > Configured with: ../gcc-4.6.2/configure --prefix=/sw > --prefix=/sw/lib/gcc4.6 --mandir=/sw/share/man > --infodir=/sw/lib/gcc4.6/info > --enable-languages=c,c++,fortran,lto,objc,obj-c++,java > --with-gmp=/sw --with-libiconv-prefix=/sw --with-ppl=/sw > --with-cloog=/sw --with-mpc=/sw --with-system-zlib > --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib > --program-suffix=-fsf-4.6 --enable-cloog-backend=isl Thread model: > posix gcc version 4.6.2 (GCC) gcc -V 2>&1 >> > bin/INSTALL_LOG/ERROR.LOG gcc: error: unrecognized option '-V' gcc: > fatal error: no input files compilation terminated. make[4]: > [error_report] Error 1 (ignored) gcc --version 2>&1 >> > bin/INSTALL_LOG/ERROR.LOG tar cf error_Core264SSE3.tar Make.inc > bin/INSTALL_LOG/* gzip --best error_Core264SSE3.tar mv > error_Core264SSE3.tar.gz error_Core264SSE3.tgz Error report > error_<ARCH>.tgz has been created in your top-level ATLAS > directory. Be sure to include this file in any help request. cat: > ../../CONFIG/error.txt: No such file or directory cat: > ../../CONFIG/error.txt: No such file or directory make[1]: *** > [build] Error 255 make: *** [build] Error 2 ### execution of > /var/tmp/tmp.2.0q36Kk failed, exit code 2 Removing runtime > build-lock... Removing build-lock package... /sw/bin/dpkg-lockwait > -r fink-buildlock-atlas-3.9.11-12 (Reading database ... 16856 files > and directories currently installed.) Removing > fink-buildlock-atlas-3.9.11-12 ... Failed: phase compiling: > atlas-3.9.11-12 failed > > ------------- > > I can build atlas on Lion (that's why it's available at all > there), but I have older hardware than you do. > > ATLAS tries to optimize for the CPU of the machine where it's > being built. Our atlas package is kind of old, and may not be able > to understand your hardware properly. > > One of our maintainers who knows a lot more about it than I do > (cc'ed) has advocated that we hold off on updating it because we're > currently using their unstable branch. Unfortunately, the last > stable branch release was from May of last year. > > Alexander Hansen, Ph.D. Fink User Liaison > http://finkakh.wordpress.com/ > >> >> ------------------------------------------------------------------------------ >> >> Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex >> infrastructure or vast IT resources to deliver seamless, secure >> access to virtual desktops. With this all-in-one solution, easily >> deploy virtual desktops for less than the cost of PCs and save >> 60% on VDI infrastructure costs. Try it free! >> http://p.sf.net/sfu/Citrix-VDIinabox >> _______________________________________________ Fink-users >> mailing list Fink-users@lists.sourceforge.net List archive: >> http://news.gmane.org/gmane.os.macosx.fink.user Subscription >> management: >> https://lists.sourceforge.net/lists/listinfo/fink-users > > > ------------------------------------------------------------------------------ > > RSA(R) Conference 2012 > Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! > http://p.sf.net/sfu/rsa-sfdev2dev2 > _______________________________________________ Fink-users mailing > list Fink-users@lists.sourceforge.net List archive: > http://news.gmane.org/gmane.os.macosx.fink.user Subscription > management: > https://lists.sourceforge.net/lists/listinfo/fink-users ------------------------------------------------------------------------------ RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 _______________________________________________ Fink-users mailing list Fink-users@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users