Re: xfsprogs: only absolute run-paths are allowed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2010-07-21 at 13:13 -0400, Christoph Hellwig wrote:
> On Wed, Jul 21, 2010 at 04:31:01AM -0700, Christian Kujau wrote:
> > Hi,
> > 
> > I noticed that I can't use --prefix= any more for the ./configure script. 
> > Doing so makes libtool unhappy:
> > 
> > $ make configure
> > $ ./configure --prefix=/opt/xfsprogs
> > $ make
> > [...]
> > libtool: link: only absolute run-paths are allowed
> > make[2]: *** [libxfs.la] Error 1
> 
> The patch below should fix this issue.  Note that you need to do a
> 
> 	make realclean
> 	make configure
> 
> to regenerate the configure script first.

This looks OK to me.  Once you get confirmation
it works for Christian you can re-format your
description and commit it.  (I didn't see the
problem in my environment for some reason.)

Reviewed-by: Alex Elder <aelder@xxxxxxx>

> Index: xfsprogs-dev/configure.in
> ===================================================================
> --- xfsprogs-dev.orig/configure.in	2010-07-21 19:03:45.225494681 +0200
> +++ xfsprogs-dev/configure.in	2010-07-21 19:06:19.649494682 +0200
> @@ -65,12 +65,17 @@ esac
>  case $exec_prefix:$prefix in
>  NONE:NONE | NONE:/usr | /usr:*)
>    root_sbindir='/sbin'
> -  AC_SUBST([root_sbindir])
> -
>    root_libdir="/${base_libdir}"
> -  AC_SUBST([root_libdir])
> +  ;;
> +*)
> +  root_sbindir="${sbindir}"
> +  root_libdir="${libdir}"
> +  ;;
>  esac
>  
> +AC_SUBST([root_sbindir])
> +AC_SUBST([root_libdir])
> +
>  # Find localized files
>  LOCALIZED_FILES=""
>  for lfile in `find ${srcdir} -name '*.c' -type f || exit 1`; do
> 
> _______________________________________________
> xfs mailing list
> xfs@xxxxxxxxxxx
> http://oss.sgi.com/mailman/listinfo/xfs



_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs


[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux