[Mesa-dev] --libdir config option not working?

Matt Turner mattst88 at gmail.com
Fri Aug 23 13:35:50 PDT 2013


On Fri, Aug 23, 2013 at 1:20 PM, Brian Paul <brianp at vmware.com> wrote:
>
> I don't normally do a 'make install' when I'm working, but I'm trying to do
> that now on a 64-bit fedora 19 system.
>
> I want libGL.so*, etc to go into /usr/lib64/ so I configured like this:
>
> ./configure --prefix=/usr --libdir=/usr/lib64 --with-gallium-drivers=svga
> --with-dri-drivers=swrast --enable-xa
>
> But 'make install' fails:
>
> [...]
> gmake[6]: Entering directory
> `/home/brian/projects/VM/mesa/src/mesa/drivers/dri/swrast'
> gmake[6]: Nothing to be done for `install-exec-am'.
>  /bin/mkdir -p '/usr/lib64/dri'
>  /bin/sh ../../../../../libtool   --mode=install /bin/install -c
> swrast_dri.la '/usr/lib64/dri'
> libtool: install: error: cannot install `swrast_dri.la' to a directory not
> ending in /usr/lib/dri
> gmake[6]: *** [install-driLTLIBRARIES] Error 1
> gmake[6]: Leaving directory
> `/home/brian/projects/VM/mesa/src/mesa/drivers/dri/swrast'
>
> For some reason, libtool doesn't like /usr/lib64/dri
>
> Any ideas?

I just configured my mesa directory with your configuration line, and
ended up with a similar error upon make install.

I think it was because my previously configured and built tree was
built with some other prefix and libdir.

After running git clean -dfx (although make clean would probably be
fine) and configuring with your line, it worked.


More information about the mesa-dev mailing list