[openib-general] [PATCH] make "prefix" the default where to find libraries.
Pete Wyckoff
pw at osc.edu
Wed Aug 16 07:15:37 PDT 2006
weiny2 at llnl.gov wrote on Fri, 11 Aug 2006 14:56 -0700:
> I have been using this patch to allow me to install somewhere other than
> /usr/local. Without this the dependancies do not work out right and here at
> LLNL /usr/local is a NFS mounted volume. Not good for building and testing on
> a single node.
>
> While I am not a configure expert I think this would make things easier for
> building the trunk.
You might find it easier to set these values in your environment
rather than editing all the configure files. For example,
prefix=/usr/local/openib-r8682
export CFLAGS="-g -I$prefix/include"
export CXXFLAGS=$CFLAGS
export LDFLAGS=-L$prefix/lib
Then run autogen.sh, configure --prefix=$prefix, make, make install
in each dir as usual.
-- Pete
More information about the general
mailing list