blog2i2j / firmware-mod-kit

Automatically exported from code.google.com/p/firmware-mod-kit
0 stars 0 forks source link

Check for basic pre-requisites on run #41

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Tired, always the same dependency people are missing. We need to at least check 
for it. Will do when I can if you don't beat me to it. Recommend isolation into 
a new script so it can be referenced by any script. check-prereqs.sh or 
something.

Original issue reported on code.google.com by jeremy.collake@gmail.com on 2 Nov 2011 at 1:52

GoogleCodeExporter commented 9 years ago
This would probably be easiest to do with a configure script.

From the other bug reports, it looks like the crc32 function has been removed 
from zlib in Ubuntu, and possibly there have been some other changes? If this 
is the case, we might consider including a version of zlib that we know works 
and build everything against that.

Original comment by heffne...@gmail.com on 4 Nov 2011 at 1:05

GoogleCodeExporter commented 9 years ago
Agreed. I am not sure if it was removed, or simply changed in its prototype. 
Either way, same difference, and we need to link against the older one.

Original comment by jeremy.collake@gmail.com on 4 Nov 2011 at 1:13

GoogleCodeExporter commented 9 years ago
Don't need to do this as the issue was in the Makefiles, but I still think a 
simple configure script to check for pre-requisites is a good idea. I'll put on 
in the src directory.

Original comment by heffne...@gmail.com on 4 Nov 2011 at 3:12

GoogleCodeExporter commented 9 years ago
Added a configure script to check for basic functions/headers as well as zlib 
prior to running make.

Original comment by heffne...@gmail.com on 5 Nov 2011 at 6:47