Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build.sh: Error messages when downloading tar unclear #296

Open
feefladder opened this issue Mar 5, 2024 · 1 comment
Open

build.sh: Error messages when downloading tar unclear #296

feefladder opened this issue Mar 5, 2024 · 1 comment

Comments

@feefladder
Copy link

So, in stead of cloning the repo, I decided to download the tar archive.

wget https://github.com/ossimlabs/ossim/releases/download/v2.12.0/ossim-2.12.0.tar.gz
tar -xvf ossim-2.12.tar.gz
ossim-2.12/scripts/build.sh

first, it says: Error: Cannot locate the cmake config script expected at /home/user/git/LISEM/local/ossim/cmake/scripts/ossim-cmake-config.sh. Cannot continue.
Which is not true, the script exists but errors:

ossim-2.12/cmake/scripts/ossim-cmake-config.sh

gives

CMake Error at CMakeLists.txt:114 (add_subdirectory):
  add_subdirectory given source "ossim" which is
  not an existing directory.


-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) 
CMake Warning at CMakeLists.txt:281 (MESSAGE):
  File ossim/share/ossim/geoids/egm96.grd not
  found for install!


CMake Error: File ossim/cmake/packaging/pkgconfig/ossim.pc.in does not exist.
CMake Error at CMakeLists.txt:307 (configure_file):
  configure_file Problem configuring file

because the dir is named ossim-2.12 in stead of ossim
renaming the dir works :)

@feefladder
Copy link
Author

Whoops, actually what the script says is correct!

Caused by line 34 in env.sh

but the name is hard-coded in a lot of places. Maybe adding something in the error that the directory really needs to be called ossim

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant