pkgsrc-Users archive

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

[LINUX] Issues with motif-2.3.4nb3 build



It seems that pkgsrc is not copying a required .la file into 
${PREFIX}/x11/motif/work/.buildlink/lib/

That file is 'libuuid.la' (part of the util-linux package in Slackware).

So the build failed with:

========================================
libtool: link: warning: `/usr/pkgsrc/x11/motif/work/.buildlink/lib/libSM.la' 
seems
 to be moved
/bin/grep: /usr/pkgsrc/x11/motif/work/.buildlink/lib/libuuid.la: No such file 
or d
irectory
/bin/sed: can't read /usr/pkgsrc/x11/motif/work/.buildlink/lib/libuuid.la: No 
such
 file or directory
libtool: link: `/usr/pkgsrc/x11/motif/work/.buildlink/lib/libuuid.la' is not a 
val
id libtool archive
make[3]: *** [libXm.la] Error 1
make[3]: Leaving directory `/usr/pkgsrc/x11/motif/work/motif-2.3.4/lib/Xm'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/pkgsrc/x11/motif/work/motif-2.3.4/lib/Xm'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/pkgsrc/x11/motif/work/motif-2.3.4/lib'
make: *** [all-recursive] Error 1
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/x11/motif
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/x11/motif
========================================

To make things work, I edited every .la file in

        /usr/pkgsrc/x11/motif/work/.buildlink/lib/

that contained a reference to 'libuuid.la', replacing

        /usr/pkgsrc/x11/motif/work/.buildlink/lib/libuuid.la

with:
        /usr/lib/libuuid.la

and continued the build. Come to think of it, I could probably have
copied 'libuuid.la' by hand into .buildlink/lib/ , but my experience
with both .la files and the buildlink mechanism is so scarce, that what
was likely the easiest way wasn't readily apparent.

Anyway, on Linux 'libuuid.la' is a dependency listed in these .la files
used to build motif: libSM.la, libXt.la, libXaw7.la, libXmu.la .


Home | Main Index | Thread Index | Old Index