In your meep "unpack" dir, run

    ./configure --help

Look at the documentation for CFLAGS, CPPFLAGS, CXXFLAGS, LDFLAGS. You 
might just need to set CPPFLAGS and LDFLAGS but if that doesn't work try 
setting the others too to point to the structure inside your home dir.

   On the gcc command line if you specify include and library-search 
directories, gcc first searches those before looking inside the standard 
directories  - I vaguely remember reading this somewhere. Look up the 
GCC manual for accurate specifications.

    In your case it is going to be hard to tell whether gcc actually 
used your home dir files to link against or if it went to 
/usr/local/{bin,lib}. I'd suggest you rename or remove the 
/usr/local/bin files, compile and link to the ones in your home dir, and 
restore them later.

   Does someone know a better way of doing this?

cheers!
Manoj



Mani Chandra wrote:
> Hi
> I'm trying to install all the requisite files,libs etc..into a directory 
> in my home .Now suppose I installed HDF5 in this directory,how do I make 
> the ./configure script of  h5utils search for the requisites in this 
> particular folder and not my /usr/local/bin/... etc cause I've installed 
> there too but I want to just start out the installation fresh and do 
> everything in this particular directory.Also I want to make the 
> ./configure script of meep too to search in this folder and not the 
> standard folders cause I did the installation before and I messed things 
> up...
> 
> And while compiling files how do I make the compiler search only in this 
> folder for the libs,include etc and not the standard locations?
> Thx..
> Mani chandra
> 
> 
> ------------------------------------------------------------------------
> Forgot the famous last words? Access your message archive online. Click 
> here. 
> <http://in.rd.yahoo.com/tagline_webmessenger_4/*http://in.messenger.yahoo.com/webmessengerpromo.php>
>  
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> meep-discuss mailing list
> [email protected]
> http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

_______________________________________________
meep-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Reply via email to