On Tue, Oct 12, 2021 at 08:43:35AM +0100, Vance Briggs wrote:
> It is failing to build a few of the dependencies for pyproj. In my
> troubleshooting I had installed build_essential, but have removed it again
> as it didn't solve the issue, but that could have been another problem.
> I'll add it back in to the Dockerfile and retry.
build-essential is... well... essential. It pulls in little things
like the C compiler and the libc development files. I'd be surprised
if anything worked without it.
> Here is the first error:
[snip]
> pyproj/_geod.c:645:10: fatal error: geodesic.h: No such file or directory
> 645 | #include "geodesic.h"
> | ^~~~~~~~~~~~
> compilation terminated.
> error: command '/usr/bin/gcc' failed with exit code 1
> ----------------------------------------
> ERROR: Failed building wheel for pyproj
$ apt-file search geodesic.h
geographiclib-doc: /usr/share/doc/geographiclib/html/geodesic.html
grass-doc: /usr/share/doc/grass-doc/html/d.geodesic.html
libboost1.74-dev: /usr/include/boost/graph/detail/geodesic.hpp
libproj-dev: /usr/include/geodesic.h
sagemath-doc: /usr/share/doc/sagemath/html/en/reference/hyperbolic_geometry/sage/geometry/hyperbolic_space/hyperbolic_geodesic.html
It looks like you need "libproj-dev" for that one. You will
probably need to do this repeatedly until you've found all the
dependencies (or, if you're lucky, there will be some documentation
for this package online that says what the build dependencies are on
Debian/Ubuntu).
[snip]
This one appears to be numpy that's missing, which is odd as I'd
expect pip to be able to find that one. Maybe it wasn't declared in
the package's dependencies for some reason. It should be installable
with pip or apt.
Hugo.
Hugo Mills | Go not to the elves for counsel, for they will say
hugo@...
carfax.org.uk | both no and yes.
http://carfax.org.uk/ |
PGP: E2AB1DE4 |