[ARMedslack] Setting up Slackware-current (> 2010/07/29) as a new distccd server

Niels Horn niels.horn at gmail.com
Sun Sep 5 12:54:55 UTC 2010


Hi,

I just added an extra box as a server for my distcc setup, but this
one uses Slackware-current.
Running the 'bwl' script from devtools fails after a while with:

Makefile:235: *** mixed implicit and normal rules.  Stop.

I traced this back to the new make version (3.82) in -current and
found a fix from the LFS guys, running a sed command to change the
manual/Makefile.
The following patch to the x-build script solves it:

--- x-build.orig        2010-09-05 08:27:53.000000000 -0300
+++ x-build     2010-09-05 09:00:28.000000000 -0300
@@ -193,6 +193,11 @@
 #for i in patches/*.patch ; do
 #  auto_apply_patch $i
 #done
+
+# Apply patch to build with make-3.82
+# (from: http://www.linuxquestions.org/questions/linux-from-scratch-13/glibc-not-compiling-in-chapter-6-9-a-824573/)
+sed -i 's/ot \$/ot:\n\ttouch $@\n$/' manual/Makefile
+
 set +x

 # Configure:

Hope this is useful for other people running into this :)

Regards,

Niels Horn
Rio de Janeiro, RJ
Brasil
site: www.nielshorn.net
e-mail: niels.horn at gmail.com


More information about the ARMedslack mailing list