`cado-nfs.py --server` checks for binaries even if it does not intend to run them.
@vmatrat reports the following.
If we don't actually build the binaries, the following fails miserably:
./cado-nfs.py 2342947198749817349827349827349122313213131321382138271827382734 --server
[...]
Info:HTTP server: If you want to start additional clients, remember to add their hosts to server.whitelist
Info:Polynomial Selection (size optimized): Starting
Info:Polynomial Selection (size optimized): 0 polynomials in queue from previous run
Info:HTTP server: Got notification to stop serving Workunits
Info:HTTP server: Shutting down HTTP server
Traceback (most recent call last):
File "/tmp/cado-nfs/./cado-nfs.py", line 202, in <module>
factors = factorjob.run()
^^^^^^^^^^^^^^^
File "/tmp/cado-nfs/./scripts/cadofactor/cadotask.py", line 6332, in run
last_status = task.run()
^^^^^^^^^^
File "/tmp/cado-nfs/./scripts/cadofactor/cadotask.py", line 2002, in run
self.submit_one_wu()
File "/tmp/cado-nfs/./scripts/cadofactor/cadotask.py", line 2246, in submit_one_wu
p = cadoprograms.Polyselect(admin=adstart, admax=adend,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/cado-nfs/./scripts/cadofactor/cadoprograms.py", line 695, in __init__
super().__init__(locals(), **kwargs)
File "/tmp/cado-nfs/./scripts/cadofactor/cadoprograms.py", line 416, in __init__
raise Exception("Binary executable file %s not found (did you run \"make\" ?)" % execfile)
Exception: Binary executable file /tmp/cado-nfs/build/coffee/polyselect not found (did you run "make" ?)
Since the server is not about running the programs by itself, it should not require the binaries to be present.