Hi Christian,
the following worked for me. I simply removed the build directory
after a failed build without the uuid-dev package. Here are the exact
steps:
1. Install a minimal Ubuntu 12.04 (either 32 or 64-bit)
2. sudo apt-get install mercurial
3. hg clone
https://code.google.com/p/orthanc/
4. mkdir orthancbuild
5. cd orthancbuild
6. sudo apt-get install cmake
7. sudo apt-get install build-essential
8. cmake -DSTATIC_BUILD=ON -DCMAKE_BUILD_TYPE=Release ../orthanc
9. the "install uuid-dev" package appears
10. sudo apt-get install uuid-dev
11. cmake -DSTATIC_BUILD=ON -DCMAKE_BUILD_TYPE=Release ../orthanc
12. the "install uuid-dev" package appears again...
Rebooting the system did not help, however removing the orthancbuild
directory did. So 11. and 12. should be.
11. cd ..
12. rm -rf orthancbuild
13. mkdir orthancbuild
14. cd orthancbuild
15. cmake -DSTATIC_BUILD=ON -DCMAKE_BUILD_TYPE=Release ../orthanc
16. install unzip error
17. sudo apt-get install unzip
18. cmake -DSTATIC_BUILD=ON -DCMAKE_BUILD_TYPE=Release ../orthanc
19. make
20. ./Orthanc
Sebastien, is there a way for cmake to check for the unzip dependency?
It is needed for the dcmtk archive during the static build.
peter