pkgsrc-Users archive

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

[net/liblive] Problem on GNU/Linux



Package version: liblive-20080725
OS: GNU/Linux 2.6.26
Compiler: GCC 3.3.6

The package builds but fails to install with this error:
----------------------------------------------------------------------
[...]
=> Creating installation directories
cd /mnt/pkgsrc/pkgsrc/net/liblive/work/live/BasicUsageEnvironment
&&                                             libtool --mode=install
/usr/bin/install -c -o root -g root
        -m 555 libBasicUsageEnvironment.la /usr/pkg/lib
libtool: install: `libBasicUsageEnvironment.la' is not a valid libtool
 archive
Try `libtool --help --mode=install' for more information.
*** Error code 1
----------------------------------------------------------------------

It seems that the '-DBSD=1' option in 'files/config.netbsd' is the
problem. I have created a file 'files/config.linux' with this option
removed and modified the Makefile like this:
----------------------------------------------------------------------
[...]
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "Linux"
do-configure:
        ${CP} ${FILESDIR}/config.linux ${WRKSRC}
        cd ${WRKSRC} && ${SH} ./genMakefiles ${LOWER_OPSYS}
.else
do-configure:
        ${CP} ${FILESDIR}/config.netbsd ${WRKSRC}
        ${CP} ${FILESDIR}/config.netbsd ${WRKSRC}/config.dragonfly
        ${CP} ${FILESDIR}/config.netbsd ${WRKSRC}/config.darwin
        cd ${WRKSRC} && ${SH} ./genMakefiles ${LOWER_OPSYS}
.endif
[...]
----------------------------------------------------------------------
and now it installs as expected.


Regards,

Michael Baeuerle


Home | Main Index | Thread Index | Old Index