Building Issue Osimis Webviewer

166 views
Skip to first unread message

Thomas Fromm

unread,
Oct 31, 2020, 3:54:19 AM10/31/20
to orthan...@googlegroups.com
Hi,

I'm struggeling building the Osimis Webviewer 1.4.0 on CentOS 8.
(Cant't use container in that scenario, need to build it by myself.)

Basically I'm doing the following:

git clone --depth 1 --branch 1.4.0
https://bitbucket.org/osimis/osimis-webviewer-plugin.git
cd osimis-webviewer-plugin
git checkout 1.4.0
git config --global core.abbrev 8
VERSION_FULL=$(git describe --tags --long --dirty=-dirty)

mkdir backend/build
cd backend/build
%{__build_env} "cmake .. \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DORTHANC_FRAMEWORK_VERSION=1.5.0 \
-DORTHANC_FRAMEWORK_SOURCE=web \
-DVIEWER_VERSION_FULL=$VERSION_FULL"

The error always is:
CMake Error at
build/Orthanc-1.5.0/Resources/CMake/DownloadPackage.cmake:182 (message):
The package was not uncompressed at the proper location. Check the CMake
instructions.
Call Stack (most recent call first):
WebViewerPlugin/WebViewerPlugin.cmake:76 (DownloadPackage)
CMakeLists.txt:54 (include)


I tried also to install the orthanc using ORTHANC_FRAMEWORK_SOURCE=hg
with the same result. Same result I get on Ubuntu too. (Also with
Webviewer 1.3.1.)

Any ideas how to solve this?

kind regards,
tf

Sébastien Jodogne

unread,
Nov 2, 2020, 1:52:55 AM11/2/20
to Orthanc Users
Hello,

Here are the instructions I have just used to build the Osimis Web viewer on Ubuntu 18.04:

$ cd osimis-webviewer-plugin/
$ git fetch --all && git pull
$ git checkout 1.4.0
$ mkdir backend/build
$ cd backend/build/
$ cmake .. -DCMAKE_BUILD_TYPE=Debug -DSTANDALONE_BUILD=ON -DVIEWER_VERSION_FULL=1.4.0 -DORTHANC_FRAMEWORK_VERSION=1.6.1 -DJS_CLIENT_PATH=`pwd`/frontend-build
$ make

On CentOS, you might have to add the "-DSTATIC_BUILD=ON" option when invoking CMake (not sure about this).

This is an adapted version of my following earlier post:

Sébastien-

Thomas Fromm

unread,
Nov 5, 2020, 11:26:17 AM11/5/20
to orthan...@googlegroups.com
Hi again,

any hints regarding this issue are welcome :-)

Thansk in advance,
tf

Am 31.10.20 um 08:54 schrieb Thomas Fromm:

Sébastien Jodogne

unread,
Nov 5, 2020, 11:37:50 AM11/5/20
to Orthanc Users

Stephen Douglas Scotti

unread,
Nov 5, 2020, 12:26:57 PM11/5/20
to Orthanc Users
Just and FYI.  I've been following this thread and I just tried following Sébastien's instructions on an UBUNTU VM 18.04 and it compiles fine:

Thomas Fromm

unread,
Nov 5, 2020, 3:11:06 PM11/5/20
to orthan...@googlegroups.com

Thanks, I indeed missed the answer :-)

OK, build runs in that way. Unfortunality it makes building it for
centos 7+6 a bit more complex, since it requires Mercurial.
The shipped versions of Mercurial in these distribution versions have
issues with the certificate delivered by the orthanc repository.

A working ORTHANC_FRAMEWORK_SOURCE=web would be nice at this point, but
the MD5 of the 1.6.1 tarball is missing.



Am 05.11.20 um 17:37 schrieb Sébastien Jodogne:
> --
> You received this message because you are subscribed to the Google
> Groups "Orthanc Users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to orthanc-user...@googlegroups.com
> <mailto:orthanc-user...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/orthanc-users/ee170ad6-4796-4ac6-abb7-ec55c424c1e4o%40googlegroups.com
> <https://groups.google.com/d/msgid/orthanc-users/ee170ad6-4796-4ac6-abb7-ec55c424c1e4o%40googlegroups.com?utm_medium=email&utm_source=footer>.

Sébastien Jodogne

unread,
Nov 6, 2020, 7:52:01 AM11/6/20
to Orthanc Users
I've just committed a changeset to allow the use of "ORTHANC_FRAMEWORK_SOURCE=web":

Build instructions have also been uploaded to:

HTH,
Sébastien-
Reply all
Reply to author
Forward
0 new messages