Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Feb 2002 12:01:13 +0100 (MET)
From:      Thomas Schuerger <schuerge@wjpserver.CS.Uni-SB.DE>
To:        freebsd-ports@freebsd.org
Subject:   Mesa3 installation not working with XFree 4.x?
Message-ID:  <200202231101.g1NB1DJ10280@wjpserver.cs.uni-sb.de>

next in thread | raw e-mail | index | archive | help
Hi!

I tried to reinstall the Mesa3 port to make xlockmore work again.
xlockmore complained that an opengl library is missing. So I tried to
make xlockmore again, but it complains that some header files are
missing on my system.


Making xlockmore says:

---------

cc -Wnested-externs -Wno-format -std=c89 -U__STRICT_ANSI__ -c
-DHAVE_CONFIG_H
-DDEF_FILESEARCHPATH=\"/usr/X11R6/lib/X11/app-defaults/%N%C%S:/usr/X11R6/lib/X11/app-defaults/%N%S\"
-I. -I.. -I../.. -I/usr/X11R6/include  -I/usr/X11R6/include/X11
-I/usr/X11R6/include -O2 -march=pentiumpro -pipe ./resource.c
In file included from vis.h:30,
                 from ./resource.c:69:
visgl.h:19: GL/gl.h: No such file or directory
visgl.h:20: GL/glx.h: No such file or directory
In file included from vis.h:30,
                 from ./resource.c:69:
visgl.h:25: syntax error before `*'
visgl.h:25: warning: data definition has no type or storage class
*** Error code 1

Stop in /new/data3/ports/x11/xlockmore/work/xlockmore-5.02/xlock.
*** Error code 1

Stop in /new/data3/ports/x11/xlockmore/work/xlockmore-5.02.
*** Error code 1

Stop in /new/data3/ports/x11/xlockmore.
*** Error code 1

Stop in /new/data3/ports/x11/xlockmore.
*** Error code 1

Stop in /new/data3/ports/x11/xlockmore.
Exit 1

--------

Reinstalling graphics/Mesa3 didn't fix that, because Mesa3 only
installs GL/glut.h on my system. I had a look in pkg-plist for that
port and found the following:

%%XFREE3:%%etc/mesa.conf
%%XFREE3:%%include/GL/gl.h
%%XFREE3:%%include/GL/gl_mangle.h
%%XFREE3:%%include/GL/glu.h
%%XFREE3:%%include/GL/glu_mangle.h
include/GL/glut.h
%%XFREE3:%%include/GL/glx.h
%%XFREE3:%%include/GL/glx_mangle.h
...

I have XFree86 4.x on my system, so make install probably doesn't
install the required header files containing "%%XFREE3..." in the
above file. How can this be fixed?


Greetings,
Thomas.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202231101.g1NB1DJ10280>