Opened 11 years ago
Closed 11 years ago
#463 closed defect (fixed)
C++ example build errors if libhdf4-alt-dev is installed
Reported by: | hholzgra | Owned by: | Peter Baumann |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | manuals_and_examples | Version: | 8.5 |
Keywords: | Cc: | ||
Complexity: | Medium |
Description
The current build system takes care of either linking against df and mdhdf libraries, or the dfalt/mdhdf alternatives that are needed on e.g. current Ubuntu as the non-alt package conflicts with gdal …
The c++ example still has -ldf -lmdhdf hardcoded in Makefile.am though, and so building the c++ example in manuals_and_examples/examples/c++ fails with linker errors …
Attachments (1)
Change History (4)
by , 11 years ago
comment:1 by , 11 years ago
great catch, thanks!
Could I ask you to submit the patch, which you kindly provided, via patch manager (see menu list top right), as you are the owner and have to agree to use the code (I am not allowed to do that).
Thanks again!
comment:2 by , 11 years ago
Can't i just say that i contribute this under BSD (without advertising claus) license terms?
Agreeing to contribution terms can be tricky depending on the jurisdiction you work in, it is not really a problem for me in .de working for a .fi company, but i know from several of my .us colleagues that it can become pretty tricky over there …
comment:3 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
first, thanks for the patch!
Unfortunately, due to licensing issues and code provenance (OSGeo is watching us closely!) we need to have strong emphasis on this. Also, the project needs to run _one_ licensing scheme, mixing GPL and BSD results in a legal nowhereland which might kill the project. Thanks for your understanding!
remove unnecessary -ldf -lmdhdf from example Makefile.am