I forgot to add, setting CPPFLAGS etc on the command line should
initialize the string of options passed to gcc during the make phase -
these should be options first passed to the gcc invocation on the
command line. You can confirm this by searching config.log for the exact
line. So gcc should search the dirs you specified first before looking
up the standard dirs.
-- Manoj
Manoj Rajagopalan wrote:
> 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
>
>
_______________________________________________
meep-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss