Comments (9)
These all look like issues with getting the dynamic libs from Alien:gdal.
Not sure if it is a system or share install, but it might be worth adding more debugging to the test suite. Something like this:
warn 'Alien::gdal install type is: ' . Alien::gdal->install_type;
Rebuilding Alien::gdal on each system takes a lot of resources, so I'd like to avoid uploading a new version of it until it's really necessary.
from geo-gdal-ffi.
The errors are also for Alien::gdal 1.11 and 1.13. Maybe there is something in that?
from geo-gdal-ffi.
Alien::gdal prints out its dynamic libs during testing, so we can cross check that way also.
As one example, the failing BSD rig has dynamic libs for Alien::gdal: http://www.cpantesters.org/cpan/report/81bf8cce-f448-11e8-acc3-94b892bdfc8e
This is during testing, though, and not the final installation location, so maybe something changes?
from geo-gdal-ffi.
One more http://www.cpantesters.org/cpan/report/17620bc0-fcce-11e8-8354-cb55eff47a06
from geo-gdal-ffi.
I think we need to instrument the tests to run code like that below and upload a dev release.
Alien::Base uses FFI::CheckLib to search for dynamic libs, so if a direct call returns an empty list then it is missing a dir in the path or there is an issue with FFI::CheckLib.
use FFI::CheckLib qw /find_lib/;
print find_lib (lib => 'gdal');
from geo-gdal-ffi.
It's just speculation, but I wonder if it is due to the require Alien::gdal
call being inside the BEGIN block?
Geo-GDAL-FFI/lib/Geo/GDAL/FFI.pm
Lines 1458 to 1460 in 1867fb1
I would normally expect this to affect all perl versions, though.
from geo-gdal-ffi.
I'm getting fails for Alien::freexl which are possibly related. The dynamic_libs, cflags and libs methods all return empty.
http://www.cpantesters.org/cpan/report/81a624fc-0e18-11e9-afbf-aec3b07506ca
There are similar failing cases for several other of my alien distros.
@plicease might have some sense of why an alien that compiles will have empty cflags, dynamic_libs etc.
from geo-gdal-ffi.
This was possibly caused by incomplete dynamic libs being listed due to dependencies.
If so then it might be fixed by shawnlaffan/perl-alien-gdal@0b19413
This is in Alien::gdal 1.15, which is now on cpan.
from geo-gdal-ffi.
This should be fixed now Alien::gdal updates the rpaths of the dynamic libraries.
shawnlaffan/perl-alien-gdal#22
from geo-gdal-ffi.
Related Issues (20)
- FFI::Platypus::Declare is now a separate distribution, needs to be added to Makefile.PL HOT 1
- Can't locate FFI/Platypus/Declare.pm in @INC HOT 2
- Drive by comment: consider ignore_not_found HOT 1
- Add recent OGRGeometry functions HOT 6
- ubuntu 20.04 unable to install using cpan or cpanm HOT 10
- How to do coordinate transformations in Geo::GDAL::FFI HOT 2
- Is the data dir check needed for GDAL >= 2.3.1? HOT 1
- Should Geo::GDAL::FFI::Band inherit from Geo::GDAL::FFI::Object? HOT 1
- Tests fail on FreeBSD as NITF is not found HOT 17
- warning received during loading $FFI::Platypus 'used only once' HOT 1
- Type of the function argument(s) incorrect for GDALInvGeoTransform and GDALApplyGeoTransform HOT 3
- Typo in Geometry.pm
- Thread safety issue. HOT 23
- Add Geo::GDAL::FFI::Layer::GetFeatureCount method
- Tests: use Test::TempDir::Tiny
- test failures in t/00.t
- Fails to build with GDAL 3.8.0 HOT 13
- Release version 0.11 to CPAN HOT 1
- CI: update dependencies, refresh caches
- POD: remove version number
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from geo-gdal-ffi.