Root building: webgui requires http

If the webgui component is selected but not http, the compialtion will fail:

gmake[2]: *** Brak reguł do zrobienia obiektu 'gui/webdisplay/RHTTP', wymaganego przez 'gui/webdisplay/G__ROOTWebDisplay.cxx'. Stop.
gmake[1]: *** [CMakeFiles/Makefile2:38292: gui/webdisplay/CMakeFiles/G__ROOTWebDisplay.dir/all] Błąd 2

(sorry for wrong language) but it says that no rules to make RHTTP required by webdisplay. One needs to enable also http component to make it working. Cmake macros should probably detect that and pull http or give a feedback to the user about conflicting options, and should abort at configure step.


ROOT v6.30/02
Built for linuxx8664gcc on Nov 30 2023, 12:17:54
From heads/master@tags/v6-30-02
With c++ (Gentoo 13.2.1_p20231014 p9) 13.2.1 20231014

Was build (befire fixing it) with following options:

-DPYTHON_EXECUTABLE=/usr/bin/python3.11 -DDEFAULT_SYSROOT= -DCLING_BUILD_PLUGINS=OFF -Dexceptions=ON -Dfail-on-missing=ON -Dgnuinstall=OFF -Dshared=ON -Dsoversion=ON -Dbuiltin_llvm=ON -Dbuiltin_clang=ON -Dbuiltin_afterimage=OFF -Dbuiltin_cfitsio=OFF -Dbuiltin_davix=OFF -Dbuiltin_fftw3=OFF -Dbu
iltin_freetype=OFF -Dbuiltin_ftgl=OFF -Dbuiltin_gl2ps=OFF -Dbuiltin_glew=OFF -Dbuiltin_gsl=OFF -Dbuiltin_lz4=OFF -Dbuiltin_lzma=OFF -Dbuiltin_nlohmannjson=YES -Dbuiltin_openssl=OFF -Dbuiltin_pcre=OFF -Dbuiltin_tbb=off -Dbuiltin_unuran=OFF -Dbuiltin_vc=OFF -Dbuiltin_vdt=OFF -Dbuiltin_veccore=OFF -Dbuiltin_xrootd=OF
F -Dbuiltin_xxhash=OFF -Dbuiltin_zlib=OFF -Dbuiltin_zstd=OFF -Dalien=OFF -Darrow=OFF -Dasimage=yes -Dbonjour=off -Dcastor=off -Dccache=OFF -Dcefweb=OFF -Dclad=OFF -Dcocoa=no -Dcuda=no -Dcudnn=no -Dcxxmodules=OFF -Ddataframe=ON -Ddavix=no -Ddcache=OFF -Dfcgi=no -Dfftw3=no -Dfitsio=no -Dfortran=yes -Dgdml=yes -Dgfal
=OFF -Dgminimal=OFF -Dgviz=no -Dhttp=no -Dimt=no -Dlibcxx=no -Dmathmore=yes -Dmemstat=OFF -Dminimal=OFF -Dminuit2=yes -Dminuit=yes -Dmlp=yes -Dmonalisa=OFF -Dmpi=no -Dmysql=no -Dodbc=no -Dopengl=yes -Doracle=no -Dpgsql=no -Dpyroot=yes -Dpyroot_legacy=OFF -Dpythia6=no -Dpythia8=no -Dqt5web=no -Dr=no -Droofit=yes -D
root7=yes -Drootbench=OFF -Droottest=OFF -Drpath=OFF -Druntime_cxxmodules=OFF -Dshadowpw=no -Dspectrum=ON -Dsqlite=no -Dssl=no -Dtcmalloc=OFF -Dtesting=no -Dtmva=no -Dtmva-cpu=yes -Dtmva-gpu=no -Dtmva-pymva=yes -Dtmva-rmva=no -Dunuran=no -Dvc=no -Dvdt=OFF -Dveccore=OFF -Dvecgeom=OFF -Dvmc=no -Dx11=yes -Dxml=yes -D
xrootd=no -Drfio=no -Dldap=no -Dchirp=no -Dhdfs=no

Hi Rafal ,

You did specify -Dhttp=no.
Either enable it on or you also need to disable -Dwebgui=no


It is clear for me what I did, I later changed it to -Dhttp=yes, but I think there should be diagnostics which detects that and tells the user that he made mistake. That’s what I proposed.

I see.

I will just disable webgui compilation if http is disabled.
By default compilation of http is always ON, therefore one only can intentionally disable it.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.