Subject: Re: MesaLib on Linux
To: Martti Kuparinen <martti.kuparinen@iki.fi>
From: John R. Shannon <john@johnrshannon.com>
List: tech-pkg
Date: 01/21/2004 05:28:49
=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Yes, I was. Try this patch:

# cat patch-mklib
$NetBSD$

=2D --- bin/mklib.orig      2004-01-14 16:18:18.000000000 -0700
+++ bin/mklib
@@ -214,7 +214,7 @@ case $ARCH in
        rm -f ${LIBNAME}_pic.a ${LIBNAME}.so.${VERSION}
        ar cq ${LIBNAME}_pic.a ${OBJECTS}
        ranlib ${LIBNAME}_pic.a
=2D -       ld -x -Bshareable -Bforcearchive -o ${LIBNAME}.so.${VERSION}
${LIBNAME}_pic.a
+       ld -x -Bshareable -o ${LIBNAME}.so.${VERSION} ${LIBNAME}_pic.a
        FINAL_LIBS=3D"${LIBNAME}_pic.a ${LIBNAME}.so.${VERSION}"
        ;;



On Wednesday 21 January 2004 05:26 am, Martti Kuparinen wrote:
> Anyone else having problems with MesaLib?
>
> Martti
>
> # uname -srm
> Linux 2.6.1 i686
>
> =3D=3D=3D> Installing for MesaLib-6.0
> for lib in libGL.so.1.5 libGLw.so.1.0 libOSMesa.so.6.0; do
>    install -c -o root -g root -m 444
> /export/netbsd/pkgsrc/graphics/MesaLib/work/Mesa-6.0/lib/${lib}
> /usr/pkg/lib/; cd /usr/pkg/lib && /bin/ln -s ${lib} ${lib%%.[0-9]};    cd
> /usr/pkg/lib && /bin/ln -s ${lib%%.[0-9]}            ${lib%%.[0-9].[0-9]};
> install -c -o root -g root -m 444
> /export/netbsd/pkgsrc/graphics/MesaLib/work/Mesa-6.0/lib/${lib%%.*}_pic.a
>          /usr/pkg/lib/;         done;
> install: cannot stat
> `/export/netbsd/pkgsrc/graphics/MesaLib/work/Mesa-6.0/lib/libGL.so.1.5': =
No
> such file or directory
> *** Error code 1
>
> Stop.
> bmake: stopped in /usr/pkgsrc/graphics/MesaLib
> *** Error code 1

=2D --=20

John R. Shannon
john@johnrshannon.com
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)

iEYEARECAAYFAkAOcIEACgkQOKbCxya4HYty+ACggjddYV1lUi7mLxWuWbGpaoAT
o6YAn09RMZ3okqaThDrrk+21axn4kXO1
=3D4q8B
=2D----END PGP SIGNATURE-----