gnunn1 / tilix

A tiling terminal emulator for Linux using GTK+ 3
https://gnunn1.github.io/tilix-web
Mozilla Public License 2.0
5.36k stars 293 forks source link

error during compiling tilix #2152

Closed dacorsa closed 1 year ago

dacorsa commented 1 year ago

HI i always compile tilix successfully on my ubuntu 22.04, but now i have an error:

make: *** Nessuna regola per generare l'obiettivo «clean». Arresto. Starting Performing "release" build using /usr/bin/dmd for x86_64. Up-to-date gtk-d:gtkd 3.9.0: target for configuration [library] is up to date. Up-to-date gtk-d:vte 3.9.0: target for configuration [library] is up to date. Building tilix ~master: building configuration [default] source/gx/tilix/prefeditor/prefdialog.d(960,16): Error: unable to read module xml source/gx/tilix/prefeditor/prefdialog.d(960,16): Expected 'std/xml.d' or 'std/xml/package.d' in one of the following import paths: import path[0] = source/ import path[1] = /root/.dub/packages/gtk-d-3.9.0/gtk-d/generated/gtkd import path[2] = /root/.dub/packages/gtk-d-3.9.0/gtk-d/generated/vte import path[3] = /usr/include/dmd/phobos import path[4] = /usr/include/dmd/druntime/import

Can you help me?

best regards

dacorsa commented 1 year ago

someone can help me?

i have installed this, but same error occurs:

sudo apt install r-cran-xml r-cran-base64enc r-cran-digest r-cran-readmzxmldata

Best regards

dacorsa commented 1 year ago

maybe the version r-cran-xml è già alla versione più recente (3.99-0.10-1) is not good?

std/math/hardware.d(336,2): Error: undefined identifier optStrategy std/math/hardware.d(428,2): Error: undefined identifier optStrategy std/math/hardware.d(451,2): Error: undefined identifier optStrategy std/math/hardware.d(1101,2): Error: undefined identifier optStrategy

someone can help me?

best regards

cifvts commented 1 year ago

I think the problem is that std/xml.d has been deprecated[1] and recently removed[2]. Either the code need to use the module from the https://github.com/dlang/undeaD repository or need to use a different library. They suggested dxml but has not been updated recently, while serialized seems to be active.

[1] https://dlang.org/changelog/2.092.0.html#deprecate-xml [2] https://dlang.org/changelog/2.101.0.html#remove-std-xml

ximion commented 1 year ago

Fixed in master. (and duplicate of https://github.com/gnunn1/tilix/issues/2151)