[Slackbuilds-users] Fix to build perf on slackware-current: add WERROR=0 NO_LIBPYTHON=1

Andrea Mazzoleni amadvance at gmail.com
Fri Mar 13 12:02:45 UTC 2026


Just reporting that to successfully build "perf" on slackware-current, you
need to modify the perf.SlackBuild script by adding WERROR=0 NO_LIBPYTHON=1
to the make line.
Like this:

make \
  O=$BUILDDIR \
  DESTDIR=$PKG/ \
  prefix=/usr \
  EXTRA_CFLAGS="$SLKCFLAGS" \
  WERROR=0 \
  NO_LIBPYTHON=1 \
  install

Ciao,
Andrea
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20260313/a08f86a4/attachment-0001.htm>


More information about the SlackBuilds-users mailing list