Hi Daniel, What version of Mac are you using??. I'm using 10.5 and I having a lot of problems when trying to port some applications needed to compile overture. jg ----- Original Message ---- From: Daniel Appelo <appelo@xxxxxxxxxxx> To: overture@xxxxxxxxxxxxx Sent: Monday, January 21, 2008 6:47:19 PM Subject: [overture] Re: Fwd: Building Overture and cg on Mac OS X 10.4 Joel, the only things that I needed to change in Kyle's instructions were to: 1. Disable _i386_ in mapUtil/predicates.c 2. Remove -mlongcall from cg.v22X/config/make.Darwin and from Overture.v22X/config/MakeDefs.darwin For cgINS I think I also changed the LAPACK library flags somewhere but I don't remember exactly where. As I recall it I just removed a - L... Daniel On Jan 21, 2008, at 8:18 AM, Joel Guerrero wrote: > Hi Kyle, > > Sorry from bringing back again this topic, I wonder if you have the > instructions of how to compile overture on an intel mac??? > > > Have a nice day, > > joel > > ----- Original Message ---- > From: Kyle K. Chand <chand1@xxxxxxxx> > To: overture@xxxxxxxxxxxxx > Sent: Tuesday, November 13, 2007 5:21:25 PM > Subject: [overture] Re: Fwd: Building Overture and cg on Mac OS X 10.4 > > > Hi Joel, > > No, the instructions will not entirely work on an intel mac. Overture > and cg > have been built recently on intel macs and I will collect the > information > needed to do that. I'll try to post it this week. > > Sorry about that. > > Kyle > > On Tuesday 13 November 2007 07:56, Joel Guerrero wrote: >> Hi, >> >> Before trying to spend some time installing overture on my mac, I > wonder if >> this instructions also apply to an Intel based mac??? >> >> Regards, >> >> Joel >> >> ----- Original Message ---- >> From: Kyle K. Chand <chand1@xxxxxxxx> >> To: overture@xxxxxxxxxxxxx >> Sent: Friday, September 28, 2007 7:53:54 PM >> Subject: [overture] Fwd: Building Overture and cg on Mac OS X 10.4 >> >> >> I posted this very early to the new mailing list so I am repeating it >> for >> those who may not have seen it. Sorry to everyone who already saw > this >> on >> Monday. >> >> Kyle >> >> ---------- Forwarded Message ---------- >> >> Subject: [overture] Building Overture and cg on Mac OS X 10.4 >> Date: Monday 24 September 2007 08:40 >> From: "Kyle K. Chand" <chand1@xxxxxxxx> >> To: overture@xxxxxxxxxxxxx >> >> Here are some instructions for building Overture.v22 and cg.v22 on a >> mac. >> You will need to have fink installed (and fink Commander if you > wish). >> Note >> that there are two tar files attached: >> ov22_osx_build_patch.tar - should be untared in the Overture.v22 >> directory >> cgv22_osx_build_patch.tar - should be intared in the cg.v22 directory >> >> good luck! >> Kyle >> >> Overture and cg installation instructions for Mac OS X >> >> system info: >> Mac OS X 10.4.10 (PPC G4) >> Fink 0.8.1.rsync powerpc >> FinkCommander 0.5.4 (.release) >> >> steps: >> 0. install and update the Apple developer tools (an extra DVD that > came >> with >> the mac) 1. download A++P++-0.7.9d.wdh061229.tar.gz, Overture v22 > and >> cg.v22 >> 2. install hdf5 and openmotif using fink or fink commander (and X11 > if >> you >> did not get it with the developer tools) 3. install gcc42 and >> gcc42-shlibs >> using fink (NOTE: I had to do a Source->selfupdate-rsync to get > gcc42 >> to >> appear in fink commander). The compilers will be /sw/bin/g++-4 and >> /sw/bin/gfortran. 3.1 to make Overture's configure work: >> % cd /sw/bin; >> % sudo ln -s gcc-4 gcc; >> % sudo ln -s g++-4 g++ >> % set path = ( /sw/bin $path ) ; rehash >> - you need to make "g++" default to g++-4, >> ie `which g++` should return something that points to >> /sw/bin/g++-4 >> 4. unpack and install A++P++ >> 4.1 untar/gz A++P++ >> 4.2 % cd A++P++-0.7.9d >> 4.3 % setenv CC /sw/bin/gcc-4; setenv CXX /sw/bin/g++-4; setenv FC >> gfortran 4.4 % configure --with-CC="$CC -I/usr/include/malloc >> -mlongcall" >> --with-CXX="$CXX -I/usr/include/malloc -mlongcall" >> --disable-SHARED_LIBS >> --prefix=`pwd`/gcc-4.2 4.5 % make MAKE=make install >> 4.6 % setenv APlusPlus `pwd`/gcc-4.2/A++/install; setenv PPlusPlus >> $APlusPlus 5. unpack and install Overture >> 5.1 untar/gz Overture.v22.tar.gz >> 5.2 % cd Overture.v22 >> 5.3 % setenv HDF /sw; setenv MOTIF /sw; setenv XLIBS /usr/X11R6; >> setenv >> OpenGL $XLIBS; setenv Overture `pwd` 5.4 untar >> ov22_osx_build_patch.tar in >> the $Overture directory >> 5.5 % configure darwin precision=double CC=g++ cc=gcc FC=gfortran >> useHDF5 >> 5.6 % make >> 5.7 % setenv DYLD_LIBRARY_PATH > ${DYLD_LIBRARY_PATH}:${Overture}/lib >> 5.8 to generate some grids: % cd sampleGrids; perl generate.p >> 6. unpack and install cg >> 6.1 untar/gz >> 6.2 % cd cg.v22 >> 6.3 untar cgv22_osx_build_patch.tar in the cg.v22 directory >> 6.3 % setenv OV_OPENGL_HEADERS "-I$XLIBS/include" >> 6.4 % make mode=concise OS=Darwin >> 6.5 % setenv DYLD_LIBRARY_PATH >> >> >> > ${DYLD_LIBRARY_PATH}:`pwd`/common/lib:`pwd`/cns/lib:`pwd`/ins/ > lib:`pwd`/asf >> / lib:`pwd`/ad/lib:`pwd`/mp/lib 6.6 % make OS=Darwin check >> >> Notes: >> - % indicates the following text is a shell (csh) command. You can >> copy and paste the text following % into your shell to execute >> the command. >> - The instructions assume the csh shell. To set variables in sh, >> replace >> setenv VARIABLE VALUE >> with >> export VARIABLE=VALUE >> - On my G4 machine it took all day to build gcc42, so be patient... >> >> -- >> Kyle K. Chand >> mailto:chand1@xxxxxxxx >> phoneto: (925) 422 7740 >> >> ------------------------------------------------------- > > -- > Kyle K. Chand > mailto:chand1@xxxxxxxx > phoneto: (925) 422 7740 > > > > > > > > ______________________________________________________________________ > ______________ > Looking for last minute shopping deals? > Find them fast with Yahoo! Search. http://tools.search.yahoo.com/ > newsearch/category.php?category=shopping > ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ