[Mesa-users] Problem with libGLU.so on mesa installation from source
Seshadri Kumar
nayakan88 at gmail.com
Fri Jun 15 09:32:05 UTC 2018
Ken,
Thanks for the pointer to that reference! I was able to install
freeglut-3.0.0 from that guide.
However, I cannot install the latest version of FreeGLUT which I got from
the mesa download site, which is 7.9.2. And this is why.
Brian suggested that I simply configure and make. But there is one problem.
There is no configuration file. Look at the directories I get when I unpack
the tarball:
skumar at KumarLaptop:~/Software/src/Mesa/Mesa-7.9.2$ ls
include src
skumar at KumarLaptop:~/Software/src/Mesa/Mesa-7.9.2$ ls include
GL
skumar at KumarLaptop:~/Software/src/Mesa/Mesa-7.9.2$ ls include/GL
glutf90.h glut.h
skumar at KumarLaptop:~/Software/src/Mesa/Mesa-7.9.2$ ls src/
glut
skumar at KumarLaptop:~/Software/src/Mesa/Mesa-7.9.2$ ls src/glut/
beos glx
skumar at KumarLaptop:~/Software/src/Mesa/Mesa-7.9.2$ ls src/glut/glx
capturexfont.c glut.def glut_hel12.c glut_mesa.c
glut_swap.c glut_winmisc.c win32_menu.c
depend glut_dials.c glut_hel18.c glut_modifier.c
glut_swidth.c layerutil.c win32_util.c
fxglut.def glut_dstr.c glut_init.c glut_mroman.c
glut_tablet.c layerutil.h win32_winproc.c
glut_8x13.c glut_event.c glut_input.c glut_overlay.c
glut_teapot.c Makefile win32_x11.c
glut_9x15.c glut_ext.c glutint.h glut.pc.in
glut_tr10.c Makefile.cygnus win32_x11.h
glut_bitmap.c glut_fcb.c glut_joy.c glut_ppm.c
glut_tr24.c Makefile.mgw
glutbitmap.h glut_fullscrn.c glut_key.c glut_roman.c
glut_util.c Makefile.sgi
glut_bwidth.c glut_gamemode.c glut_keyctrl.c glut_shapes.c
glut_vidresize.c Makefile.win
glut_cindex.c glut_get.c glut_keyup.c glut_space.c
glut_warp.c stroke.h
glut_cmap.c glut_glxext.c glut_menu2.c glut_stroke.c
glutwin32.h win32_glx.c
glut_cursor.c glut_hel10.c glut_menu.c glutstroke.h
glut_win.c win32_glx.h
skumar at KumarLaptop:~/Software/src/Mesa/Mesa-7.9.2$ ls src/glut/
beos/ glx/
skumar at KumarLaptop:~/Software/src/Mesa/Mesa-7.9.2$ ls src/glut/beos/
beos_x11.cpp glutbitmap.h glutColor.cpp glut_ext.c
glutInit.cpp glutOverlay.cpp glutstroke.h glut_util.c
beos_x11.h glutBlocker.cpp glutCursor.cpp glutGet.cpp glutint.h
glut_roman.c glut_swidth.c glut_vidresize.c
glut_8x13.c glutBlocker.h glutCursors.h glut_hel10.c
glutMenu.cpp glut_shapes.c glut_teapot.c glutWindow.cpp
glut_9x15.c glut_bwidth.c glutDstr.cpp glut_hel12.c glutMenu.h
glutState.h glut_tr10.c glutWindow.h
glut_bitmap.c glutCallback.cpp glutEvent.cpp glut_hel18.c
glut_mroman.c glut_stroke.c glut_tr24.c Makefile
skumar at KumarLaptop:~/Software/src/Mesa/Mesa-7.9.2$
But now you might say, there are makefiles inside the src/glut/glx and
src/glut/beos directories, why don't I simply make them? I tried that, but
they are looking for a file that does not exist in the tarball:
skumar at KumarLaptop:~/Software/src/Mesa/Mesa-7.9.2/src/glut/glx$ pwd
/home/skumar/Software/src/Mesa/Mesa-7.9.2/src/glut/glx
skumar at KumarLaptop:~/Software/src/Mesa/Mesa-7.9.2/src/glut/glx$ make
Makefile:18: ../../../configs/current: No such file or directory
make: *** No rule to make target '../../../configs/current'. Stop.
skumar at KumarLaptop:~/Software/src/Mesa/Mesa-7.9.2/src/glut/glx$ grep -i
configs Makefile
include $(TOP)/configs/current
skumar at KumarLaptop:~/Software/src/Mesa/Mesa-7.9.2/src/glut/glx$
As you have seen, the TOP directory contains only two subdirectories, src
and include.
Thanks,
Kumar
On Fri, Jun 15, 2018 at 7:59 AM, Ken Moffat <zarniwhoop at ntlworld.com> wrote:
> On Thu, Jun 14, 2018 at 07:49:46PM -0600, Brian Paul wrote:
> > On 06/14/2018 09:19 AM, Seshadri Kumar wrote:
> > > Hi,
> > >
> > > I had gotten glu from that site, and even compiled it. I just realized
> > > what went wrong. I did not use the --with-prefix= flag to install the
> > > libraries in the same location as the main mesa.
> > >
> > > I did that, and now I can see the libGLU.so.
> > >
> > > I have one more question. How do I install GLUT?
> >
> > IIRC, you do ./configure --prefix=something ; make, like for GLU.
> >
>
> Perhaps Kumar might like to look at
> www.linuxfromscratch.org/blfs/read.html (the development versions of
> the sysv or systemd books) - chapter 25, freeglut-3.0.0.
>
> and obviously change -DCMAKE_INSTALL_PREFIX to match Mesa and GLU.
>
> And I'll add a warning - parts of these books WILL change, but for
> building only freeglut that should not matter.
>
> Please note that dependencies (cmake in this case) mention our
> current version, an older but recent version will probably also
> work.
>
> ĸen
> --
> Keyboard not found, Press F1 to continue
> _______________________________________________
> mesa-users mailing list
> mesa-users at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-users
>
--
Dr. Seshadri Kumar
Creo, ergo sum (I Create, Therefore I Am)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-users/attachments/20180615/b161c010/attachment.html>
More information about the mesa-users
mailing list