Re: amber-developers: Re: AMBER: xleap on iMac G5

From: Scott Brozell <sbrozell.scripps.edu>
Date: Sun, 7 May 2006 14:28:53 -0700

Hi,

My trick knee tells me that space-less is the way to go.
My guess is that the space was used inside configure merely
as a token separator.
A safety play might be to have a '.' or a '/' as the first char after the L:

-Lbanana
->
-L./banana

I didnt do an exhaustive search, but many man pages show spaceless:

linux:
       -Lsearchdir

mac:
       -Ldir Add dir to the list of directories in which to search

sgi:
 This option can be
          specified without a space between -L and dir.

Scott

On Sun, 7 May 2006, Mengjuei Hsieh wrote:

> Hi,
>
> After a little bit discussion with Xuebin, that convinces me that it would
> be better to eliminate the space between -L and path.
>
> --- configure.orig 2006-05-07 13:41:12.000000000 -0700
> +++ configure 2006-05-07 13:41:39.000000000 -0700
> .. -203,7 +203,7 ..
> use_lmod=LMOD_UNAVAILABLE
> fi
> xhome='/usr/X11R6'
> -xlibs="-L $xhome/lib"
> +xlibs="-L$xhome/lib"
>
> machine=`uname -m`
> if [ "$machine" = "em64t" ] || [ "$machine" = "x86_64" ] || [ "$x86_64" =
> "yes" ]; then
>
>
> Best,
> --
> Mengjuei Hsieh, Luo group, Molecular Biology and Biochemistry, University of
> California Irvine. Tel: 49562, Address: 3144 Natural Science I building,
> UCI, Irvine CA 92697-3900. Group Homepage: http://rayl0.bio.uci.edu/
>
>
> > From: "David A. Case" <case.scripps.edu>
> > Reply-To: "amber-developers.scripps.edu" <amber-developers.scripps.edu>
> > Date: Sat, 6 May 2006 14:07:26 -0700
> > To: "amber-developers.scripps.edu" <amber-developers.scripps.edu>
> > Subject: amber-developers: Re: AMBER: xleap on iMac G5
> >
> > On Fri, May 05, 2006, Mengjuei Hsieh wrote:
> >
> >> Beside checking the existence of /usr/X11R6/lib, you might want to
> >> eliminate the space between "-L" and "/usr/X11R6/lib" in your config.h
> >> file.
> >>
> >
> > Is this a bug in configure? Does anyone know for sure whether there is
> > supposed (not not supposed) to be a space between the "-L" and the directory?
> > Does it depend on the OS?
> >
> > The amber9 configure script is not consistent here, but I don't understand why
> > this didn't break earlier in our testing. Is there something special about
> > macosx?
> >
> > ...thanks...dave
> >
>
>
Received on Tue May 09 2006 - 17:06:48 PDT
Custom Search