Text archives Help
- From: Frank Sainsbury <frank@circ.med.utas.edu.au>
- To: scirun-users@sci.utah.edu
- Subject: [SCIRUN-USERS] Problems on OSX compiling Teem, hdf5
- Date: Tue, 22 Mar 2005 09:40:06 +1100 (EST)
Hi All
I had a number off issues compiling:
on OSX
needed -l z flag building teem in third party..
Could not find it in Makefile so just
gcc -o
/usr/local/SCIRun/Thirdparty/1.24/Darwin/gcc-3.3-32bit/lib/libteem.dylib
\
-dynamic -dynamiclib -fno-common
-L/usr/local/SCIRun/Thirdparty/1.24/Darwin/gcc-3.3-32bit/lib
../darwin.32/obj/754.o ../darwin.32/obj/rand48.o ../darwin.32/obj/array.o
../darwin.32/obj/miscAir.o ../darwin.32/obj/parseAir.o ../darwin
.
.
-l z
I used the following to download other thirdparty, note address for hdf5
wasnt in install documents.
#petc
wget
ftp://ftp.mcs.anl.gov/pub/petsc/software_old/v2.1.6.petsc.tar.gz
tar -xf v2.1.6.petsc.tar.gz
cd pet*
PETSC_DIR=`pwd`; export PETSC_DIR
export PETSC_ARCH=darwin7.7.0
./config/configure.py --with-mpi=0
make
make all; make test
#hDF5
wget
ftp://ftp.ncsa.uiuc.edu/HDF/HDF5/hdf5-1.6.4/src/hdf5-1.6.4.tar.gz
CC=gcc
CXX=g++
export CC CXX
tar -xf zlib-1.1.4.tar
cd hdf5*4
./configure --enable-threadsafe --with-pthread=/usr
--prefix=/usr/local/hdf5
make all
make install
===========================================================================
== The SCIRun Users mailing list: send email to majordomo@sci.utah.edu ==
== for more details. ==
== Please acknowledge use of SCIRun in your papers and reports: ==
== see
http://software.sci.utah.edu/scirun-biopse_citation.bib ==
===========================================================================
- [SCIRUN-USERS] Problems on OSX compiling Teem, hdf5, Frank Sainsbury, 03/21/2005
Archive powered by MHonArc 2.6.16.