Re: Statically linking and figuring out the build system
Brian Paul <[email protected]>
| Newsgroups | gmane.comp.video.mesa3d.user |
|---|---|
| Message-ID | <[email protected]> |
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 > [email protected] > https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.freedesktop.org_mailman_listinfo_mesa-2Dusers&d=DwIGaQ&c=uilaK90D4TOVoH58JNXRgQ&r=Ie7_encNUsqxbSRbqbNgofw0ITcfE8JKfaUjIQhncGA&m=zVwY-5KuVg8nb3t-dd76t2jHm73MvaaETkjNRjVJdso&s=vH8Cb7f8vEpdWTphVfN6OIWDLyT4BEPiI8bf1VNZo5k&e= > _______________________________________________ mesa-users mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-users