configure: error: expected an absolute directory name for --prefix
Manuel López-Ibáñez
lopezibanez@gmail.com
Sun May 28 21:06:00 GMT 2006
Thanks Andrew, that is exactly what I did, although I was expecting
configure to be smart enough to use that trick on my behalf.
On 28/05/06, Andrew Pinski <pinskia@physics.uc.edu> wrote:
>
> On May 28, 2006, at 1:58 PM, Manuel López-Ibáñez wrote:
>
> > Dear all,
> >
> > Doesn't autotools support relative paths in configure?
>
> The reason why you cannot pass relative paths for --prefix is because
> --prefix is passed
> down to all of the makefiles and others which is going to have the
> wrong prefix.
>
> Just use an absolute path constructed with `pwd`/...... .
>
> -- Pinski
More information about the Gcc
mailing list