[Mesa-dev] make install broken

Eric Anholt eric at anholt.net
Mon Nov 12 21:30:06 PST 2012


Brian Paul <brianp at vmware.com> writes:

> I don't know if this is a recent regression.
>
> Anyway, I configured with:
>
> ./autogen.sh --with-gallium-drivers=svga --with-dri-drivers= 
> --enable-debug --prefix=/usr
>
> make install fails with:
>
> gmake[3]: Entering directory `/extra/projects/Mesa-head/mesa/src/glx'
> /bin/mkdir -p ../../lib;
> ln -f .libs/libGL.so.1.2.0 ../../lib/libGL.so.1
> ln -sf libGL.so.1 ../../lib/libGL.so
> gmake[4]: Entering directory `/extra/projects/Mesa-head/mesa/src/glx'
> test -z "/usr/lib" || /bin/mkdir -p "/usr/lib"
>   /bin/sh ../../libtool   --mode=install /usr/bin/install -c 
> libGL.la '/usr/lib'
> libtool: install: error: cannot install `libGL.la' to a directory not 
> ending in /usr/local/lib
>
>
> I don't know where /usr/local is coming from.  I also tried 
> --exec-prefix=/usr but no change.

Did you re-./configure without a make clean?  google suggests that's
usually the problem.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20121112/caa20616/attachment.pgp>


More information about the mesa-dev mailing list