Alexander, The build of MacPorts' atlas 3.9.76 completed without error on ppc darwin9 in only 10 hours. They do only build the static libs. On the other hand, I notice that the INSTALL.txt in atlas 3.9.76 has a section...
********************** BUILDING DYNAMIC/SHARED LIBRARIES ********************** ATLAS natively builds to a static library (i.e. libs that usually end in ".a" under unix and ".lib" under windows). ATLAS always builds such a library, but it can also optionally be requested to build a dynamic/shared library (typically ending in .so for unix or .dll windows). In order to do so, you must tell ATLAS up front to compile with the proper flags (the same is true when building netlib's LAPACK, see the LAPACK note below). Assuming you are using the gnu C and Fortran compilers, you can add the following commands to your configure command: -Fa alg -fPIC to force ATLAS to be built using position independent code (required for a dynamic lib). If you use non-gnu compilers, you'll need to use -Fa to pass the correct flag(s) to append to force position independent code for each compiler (don't forget the gcc compiler used in the index files). NOTE: Since gcc uses one less int register when compiling with this flag, this could potentially impact performance of the architectural defaults, but we have not seen it so far. After you build is complete, you can cd to the OBJdir/lib directory, and ask ATLAS to build the .so you want. If you want all libraries, including the Fortran77 routines, the target choices are : shared : Create shared versions of ATLAS's sequential libs ptshared : Create shared versions of ATLAS's threaded libs If you want only the C routines (eg. you don't have a fortran compiler): cshared : Create shared versions of ATLAS's sequential libs cptshared : Create shared versions of ATLAS's threaded libs ...and I don't see any place in atlas.info where we use 'make shared' or 'make ptshared'. Also note that the makes/Make.lib file has a section... # ======================================================================= # The following commands are to build dynamib libraries on OS X (in BETA) # ======================================================================= dylib : rm -rf $(tmpd) ; mkdir $(tmpd) cd $(tmpd) ; ar x ../liblapack.a cd $(tmpd) ; ar x ../libf77blas.a cd $(tmpd) ; ar x ../libcblas.a cd $(tmpd) ; ar x ../libatlas.a cd $(tmpd) ; $(LIBTOOL) -dynamic -o ../libsatlas.dylib \ -install_name $(LIBINSTdir)/libsatlas.dylib -current_version $(VER) \ *.o $(LIBS) $(F77SYSLIB) $(F77SYSLIB) rm -rf $(tmpd) ptdylib : rm -rf $(tmpd) ; mkdir $(tmpd) cd $(tmpd) ; ar x ../libptlapack.a cd $(tmpd) ; ar x ../libptf77blas.a cd $(tmpd) ; ar x ../libptcblas.a cd $(tmpd) ; ar x ../libatlas.a cd $(tmpd) ; $(LIBTOOL) -dynamic -o ../libtatlas.dylib \ -install_name $(LIBINSTdir)/libtatlas.dylib -current_version $(VER) \ *.o $(LIBS) $(F77SYSLIB) rm -rf $(tmpd) cdylib : libclapack.a rm -rf $(tmpd) ; mkdir $(tmpd) cd $(tmpd) ; ar x ../libclapack.a cd $(tmpd) ; ar x ../libcblas.a cd $(tmpd) ; ar x ../libatlas.a cd $(tmpd) ; $(LIBTOOL) -dynamic -o ../libsatlas.dylib \ -install_name $(LIBINSTdir)/libsatlas.dylib -current_version $(VER) \ *.o $(LIBS) rm -rf $(tmpd) ptcdylib : libptclapack.a rm -rf $(tmpd) ; mkdir $(tmpd) cd $(tmpd) ; ar x ../libptclapack.a cd $(tmpd) ; ar x ../libptcblas.a cd $(tmpd) ; ar x ../libatlas.a cd $(tmpd) ; $(LIBTOOL) -dynamic -o ../libtatlas.dylib \ -install_name $(LIBINSTdir)/libtatlas.dylib -current_version $(VER) \ *.o $(LIBS) rm -rf $(tmpd) libclapack.dylib : libcblas.dylib libatlas.dylib liblapack.a rm -rf $(tmpd) ; mkdir $(tmpd) cd $(tmpd) ; ar x ../liblapack.a rm -f $(tmpd)/*C2F $(tmpd)/*f77wrap* cd $(tmpd) ; $(LIBTOOL) -dynamic -o ../libclapack.dylib \ -install_name $(LIBINSTdir)/libclapack.dylib \ -current_version $(VER) \ *.o ../libcblas.dylib ../libatlas.dylib -lgcc_s.1 $(LIBS) rm -rf $(tmpd) xtst_lp: $(DYNlibs) $(ICC) $(CDEFS) -o $@ $(mySRCdir)/qr.c $(DYNlibs) -Wl,--rpath ./ xtst : $(DYNlibs) $(ICC) $(CDEFS) -o $@ $(mySRCdir)/test_dynlink.c $(DYNlibs) \ -Wl,--rpath ./ xtry_lp: $(ICC) $(CDEFS) -o $@ $(mySRCdir)/qr.c libsatlas.so -Wl,--rpath ./ xtry_lp_pt: $(ICC) $(CDEFS) -o $@ $(mySRCdir)/qr.c libtatlas.so -Wl,--rpath ./ xtry : $(ICC) $(CDEFS) -o $@ $(mySRCdir)/test_dynlink.c libsatlas.so \ -Wl,--rpath ./ xtry_pt : $(ICC) $(CDEFS) -o $@ $(mySRCdir)/test_dynlink.c libtatlas.so \ -Wl,--rpath ./ so perhaps we would have better luck if atlas.info used 'make dylib' and friends rather than manually crafting the shared libs. Jack ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Fink-devel mailing list Fink-devel@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.apple.fink.devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel