pkgsrc-Users archive

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

Re: wip/slurm build on NetBSD 7.1.1




Thanks, Benny - that's a good point.  But that only improves the workaround.

The real solution is to get the configure script to generate these link flags itself on NetBSD, as it does on CentOS.  Using autoreconf did not help.

Trying to block some time to dig into the autoconf setup...

On 02/28/18 01:47, Benny Siegert wrote:
Instead of this, you probably want to add libslurmfull.la <http://libslurmfull.la> libslurmdb.la <http://libslurmdb.la> on the libtool link line. This will make libtool substitute the correct link flags.

Jason Bacon <outpaddling%yahoo.com@localhost <mailto:outpaddling%yahoo.com@localhost>> schrieb am Mi., 28. Feb. 2018, 07:49:


    I'm hitting a build issue with wip/slurm, where the configure script
    fails to insert the proper link flags on NetBSD 7.1.1, while working
    fine on CentOS.

    I can hack my way through the build phase by adding the following in
    post-configure:

    -L${WRKSRC}/src/api/.libs -lslurmfull -L${WRKSRC}/src/db_api/.libs
    -lslurmdb

    The SUBST entry for this is in the Makefile, but commented out.

    Wondering if there's an autoconf/lbtool wiz out there who has seen
    something like this and might have a suggestion.

    Latest is committed to wip.

    Thanks,

         JB



Home | Main Index | Thread Index | Old Index