pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/38378: mesalib doesn't build on (some?) linux



>Number:         38378
>Category:       pkg
>Synopsis:       mesalib doesn't build on (some?) linux
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Apr 07 05:35:00 +0000 2008
>Originator:     David A. Holland / dholland%eecs.harvard.edu@localhost
>Release:        Scientific Linux 4.2 (CentOS clone), pkgsrc of 20080402
>Organization:
>Environment:
System: Linux granger 2.6.9-42.0.10.ELsmp #1 SMP Tue Feb 27 08:38:56 CST 2007 
i686 i686 i386 GNU/Linux
Architecture: i386
Machine: i386
>Description:

make in graphics/MesaLib bombs linking .libs/libGL.so.1.0.5 with

        /usr/bin/ld: cannot find -lX11

The offending link line is

        /disk/disk0/pkgsrc/graphics/MesaLib/work/.gcc/bin/gcc -shared
          [lots of .o files]
          -L/disk/disk0/pkgsrc/graphics/MesaLib/work/.x11-buildlink/lib
          -L/disk/disk0/pkgsrc/graphics/MesaLib/work/.buildlink/lib 
          -Wl,-R/usr/X11R6/lib -Wl,-soname -Wl,libGL.so.1
          -o .libs/libGL.so.1.0.5
          -I/disk/disk0/pkgsrc/graphics/MesaLib/work/.buildlink/include
          -lX11 -lXext -lm

The problem appears to be that work/.buildlink/lib/libX11* doesn't
exist, although lots of other X libs are linked therein. (Same in
work/.x11-buildlink/lib...)

No idea why.

>How-To-Repeat:

bmake, given suitable install.

>Fix:

No idea.



Home | Main Index | Thread Index | Old Index