Ideas for Wiki Improvement - Topic: Build Instructions

marie
Sun, 17 Nov 2019 20:02:45 +0000
Forum and website feedback

Hi there!

I am referencing to this page:
https://www.slicer.org/wiki/Documentation/Nightly/Developers/Build_Instructions#BUILD_Slicer

I finally figured out how to build Slicer!!! (Ubuntu 18.04) Anyway, it took me soo long to fix my problem. The following notes would have helped a lot:

BUILD Slicer

…
$ make -j

When you use the -j option of make you won’t typically see the error message so run make without -j to see where it actually errors out. Source: [Installation issues: macOS Mojave 10.14.6]

Second I had to face this problem:
https://issues.slicer.org/view.php?id=4616
So it would be really nice to find a note for Ubuntu >=18.04 :

open Slicer-SuperBuild/LibArchive/libarchive/archive_pack_dev.c

do the following changes (see line 55 and following):
#include <string.h>
#endif
#ifdef HAVE_SYS_TYPES_H
//#include <sys/types.h>
#include <sys/sysmacros.h>
#endif
#ifdef HAVE_SYS_STAT_H
#include <sys/stat.h>

I think these hints aren’t given anywhere in the wiki. Maybe they could be helpful.

4 posts - 3 participants