libGLU fails to install

Ewald Jenisch a at jenisch.at
Thu May 31 12:15:29 UTC 2007


During upgrading one of my systems, involving upgrading xorg I ran
into a problem.

I started the upgrade as per /usr/ports/UPDATING with these commands
(after cvsuping, pkgdb -F, make fetchindex of course):

export XORG_UPGRADE=yes
portupgrade -Rf libXft
portupgrade -a -x 'gstreamer*'

During this last step the upgrade fails in trying to upgrade libGLU
(/usr/ports/graphics/libGLU) with the following message:

===>  Installing for libGLU-6.5.3
===>   libGLU-6.5.3 depends on file: /usr/local/libdata/xorg/libraries - found
===>   libGLU-6.5.3 depends on shared library: GL.1 - found
===>   Generating temporary packing list
===>  Checking if graphics/libGLU already installed
install  -s -o root -g wheel -m 555 /usr/ports/graphics/libGLU/work/Mesa-6.5.3/src/glu/sgi/libGLU.so.1 /usr/local/lib
install: /usr/ports/graphics/libGLU/work/Mesa-6.5.3/src/glu/sgi/libGLU.so.1: No such file or directory
*** Error code 71

Stop in /usr/ports/graphics/libGLU.


When taking a look at
/usr/ports/graphics/libGLU/work/Mesa-6.5.3/src/glu/sgi there
definitefely is a libGLU.so.1

# ls -l /usr/ports/graphics/libGLU/work/Mesa-6.5.3/src/glu/sgi/
total 62
-rw-r--r--  1 root  wheel   4218 May 31 14:08 Makefile
-rw-r--r--  1 root  wheel   5612 Dec  8 00:16 Makefile.DJ
-rw-r--r--  1 root  wheel   4263 Dec  8 00:16 Makefile.orig
-rw-r--r--  1 root  wheel   4461 Dec  8 00:16 Makefile.win
-rw-r--r--  1 root  wheel  19685 Dec  8 00:16 descrip.mms
-rw-r--r--  1 root  wheel    189 Dec  8 00:16 dummy.cc
-rw-r--r--  1 root  wheel   2047 Apr 24 08:32 glu.def
drwxr-xr-x  2 root  wheel    512 May 31 14:08 include
lrwxr-xr-x  1 root  wheel     11 May 31 14:08 libGLU.so -> libGLU.so.1
drwxr-xr-x  5 root  wheel    512 May 31 14:08 libnurbs
drwxr-xr-x  2 root  wheel   1024 May 31 14:08 libtess
drwxr-xr-x  2 root  wheel    512 May 31 14:08 libutil
-rw-r--r--  1 root  wheel   5427 Dec  8 00:16 mesaglu.opt

as well as /usr/local/lib, so I wonder why the install fails


I've also tried "make deinstall" followed by "make reinstall" as well
as make distclean and re-building libGLU - to no extent.

Any ideas what could be wrong here?

Thanks in advance for any clue,
-ewald




More information about the freebsd-questions mailing list