[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mesa3d-users
Subject:    Re: [Mesa-users] Statically linking and figuring out the build system
From:       Brian Paul <brianp () vmware ! com>
Date:       2017-11-10 17:24:10
Message-ID: 5A05E0BA.7030707 () vmware ! com
[Download RAW message or body]

On 11/09/2017 09:04 PM, Reepca Russelstein wrote:
> Normally I'd just ask the direct question, but I get the feeling I'm a
> bit out of my depth here, so I'll just explain completely what I'm
> trying to do.
> 
> I want to compile llvmpipe and get a nice, shiny, libGL.so that I can
> toss on another machine I have little control over (can't install
> stuff to it) and have it work like a charm. So I checked out the
> latest mesa, ran ./autogen.sh (after making sure I had all the
> requirements installed), ran ./configure, ran "make linux-llvm" like
> the instructions said, and got the message
> 
> make: *** No rule to make target 'llvm-linux'.  Stop.

I need to update that documentation...

-Brian

> 
> so that was weird. I tried using scons, and the instructions worked
> there. I verified that it worked on my system using LD_LIBRARY_PATH
> and glxinfo, then chucked it onto the other system to test, at which
> point it complained about being unable to find necessary libraries.
> 
> So I did a lot of mostly-fruitless searching trying to find out how to
> get a statically-linked build of llvmpipe. I stumbled on the
> --enable-static flag for the automake-based build system, but using
> just --enable-static=yes caused ./configure to complain about DRI
> being unable to be built as a static library, so I tried
> 
> ./configure --enable-static=yes --enable-shared=DRI
> 
> which also failed with the same error. I very much don't want to dive
> into reading through makefiles and such, so I'd like your help in
> figuring out:
> 
> - How to get a statically-linked libGL.so when building with scons
> - How to get a statically-linked libGL.so when building with make
> - How to build llvmpipe with make
> - Most importantly, where can I find up-to-date information about this
> stuff if not at mesa3d.org?
> 
> Thanks.
> _______________________________________________
> mesa-users mailing list
> mesa-users@lists.freedesktop.org
> https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.freedesktop.org_mailman_l \
> istinfo_mesa-2Dusers&d=DwIGaQ&c=uilaK90D4TOVoH58JNXRgQ&r=Ie7_encNUsqxbSRbqbNgofw0ITc \
> fE8JKfaUjIQhncGA&m=zVwY-5KuVg8nb3t-dd76t2jHm73MvaaETkjNRjVJdso&s=vH8Cb7f8vEpdWTphVfN6OIWDLyT4BEPiI8bf1VNZo5k&e=
>  

_______________________________________________
mesa-users mailing list
mesa-users@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic