Configuring UDPCast fails on Raspberry Pi 4
-
@Mark-Shelton Good catch! I think @george1421 has installed FOG on RaspbarryPi but not sure about version 3 or 4. Anyway, should be something we can fix.
Please edit
fogproject/lib/common/functions.sh
in the source folder you use to install FOG. Jump to line 356 and add those two lines of code to make it look like this:tar xvzf "$udpcasttmp" >>$workingdir/error_logs/fog_error_${version}.log 2>&1 cd $udpcastout wget -qO config.guess "http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess" wget -qO config.sub "http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub" errorStat $? dots "Configuring UDPCast" ./configure >>$workingdir/error_logs/fog_error_${version}.log 2>&1 errorStat $?
Save and then re-run the installer.
@Tom-Elliott I would think this change shouldn’t hurt other systems. Though it seems a bit over the top to add this in general if it’s only an issue on Raspberry Pi systems.
-
@Tom-Elliott I might just add a similar check to what we see here: https://github.com/rec/echomesh/blob/master/code/python/echomesh/base/Platform.py#L19
@Mark-Shelton Can you please run
grep BCM2708 /proc/cpuinfo
and post output here? -
@Sebastian-Roth thank you for such a quick answer! It’s 8:44pm where I am in Australia so I’ll make the change tomorrow and see how we go.
-
@Sebastian-Roth…and will upload the result from the grep also…
-
@Sebastian-Roth Both Pi2 and Pi3. But I never used the udpcast from my FOG-Pi servers. I do have a solar powered FOG server though.
-
@Sebastian-Roth Output as requested…
processor : 0
BogoMIPS : 108.00
Features : fp asimd evtstrm crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3processor : 1
BogoMIPS : 108.00
Features : fp asimd evtstrm crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3processor : 2
BogoMIPS : 108.00
Features : fp asimd evtstrm crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3processor : 3
BogoMIPS : 108.00
Features : fp asimd evtstrm crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3Hardware : BCM2835
Revision : c03111
Serial : 10000000a46e436e
Model : Raspberry Pi 4 Model B Rev 1.1Regards, Mark
-
@Mark-Shelton Thanks for the information. Please let us know if compilation works fine adding the wget commands as mentioned below.
We shall add this as a bug fix soon.
-
@Sebastian-Roth I made the changes and re-ran the install. Same result unfortunately.
I have attached the error log and install log[1_1582602880272_fog_error_1.5.7.log](Uploading 100%) [0_1582602880271_foginstall.log](Uploading 100%)
-
-
@Mark-Shelton Thanks for testing and letting us know. It’s not quite the same result really. The new timestamp is
2008-01-23
this time.Though it turns out those links have changed as well. Please try changing the wget calls and just to make sure also add the
chmod
call - then re-run the installer.wget -qO config.guess "https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess" wget -qO config.sub "https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub" chmod +x config.guess config.sub
-
@Sebastian-Roth that worked. Thanks very much.
-
@Mark-Shelton Great, thanks for the feedback. I just added a fix to the code.