Ah, my PATH contained a ~ character which made cmake to quote the whole string. Obviously this is a bad thing to have and should be avoided. Funny that this never was a problem except with arts theory build.

Thanks for asking the questions!

BTW: I use cmake 3.5.1 (from March 2016) which is the current version in the Ubuntu 16.04 LTS repos.

Cheers,
Jonas


On 06.03.2018 11:26, Oliver Lemke wrote:
True, that the quotes screw it up. But the question is why they appear for you, 
but not for others. This is the first time I hear about this problem. That's 
what confuses me and I'm trying to wrap my head around what triggers this 
issue. :-)

Which cmake version do you use?

Cheers,
Oliver


On 6 Mar 2018, at 11:17, Jonas Hagen <jonas.ha...@iap.unibe.ch> wrote:

Hi Oliver

I'm using Ubuntu 16.04 LTS and the bash shell. The problem is that the PATH= 
assignment in front of the makeindex command is in quotes. In bash this does 
not work:

user@host:/$ "VAR=value" ls
VAR=value: command not found

whereas this does work:

user@host:/$ VAR=value ls
...

I could not figure out how to make proper quoting. But the PATH assignment is 
not needed in front of makeindex, as it is called with an absolute path.

Cheers,
Jonas


On 06.03.2018 07:06, Oliver Lemke wrote:
Hi Jonas,

Thanks for the feedback. I'm curious why this happens in your case. On which 
operating system are you? Is your makeindex command located in /usr/bin ('which 
makeindex')?

Cheers,
Oliver


On 5 Mar 2018, at 12:04, Jonas Hagen <jonas.ha...@iap.unibe.ch> wrote:

Hi all,

When building ARTS, the task "Generating arts_theory.stage1" fails with:

/bin/sh: PATH<my_whole_path_var>:/usr/bin:: No such file or directory

See verbose output in the attachment. For me, just removing the path in front 
of the makeindex command resolves the problem (see attached patch). Maybe there 
are better solutions. I think this has been around for quite a while, until now 
we just ignored the error, as the important parts are being built before this 
error happens. Maybe this is useful to somebody.

Best regards,
Jonas Hagen


<build_error.txt><arts_makeindex.patch>_______________________________________________
arts_dev.mi mailing list
arts_dev.mi@lists.uni-hamburg.de
https://mailman.rrz.uni-hamburg.de/mailman/listinfo/arts_dev.mi
--
Jonas Hagen
Institute of Applied Physics
University of Bern
Sidlerstr. 5, CH-3012 Bern, Switzerland
Tel: +41 31 631 8923


--
Jonas Hagen
Institute of Applied Physics
University of Bern
Sidlerstr. 5, CH-3012 Bern, Switzerland
Tel: +41 31 631 8923

_______________________________________________
arts_dev.mi mailing list
arts_dev.mi@lists.uni-hamburg.de
https://mailman.rrz.uni-hamburg.de/mailman/listinfo/arts_dev.mi

Reply via email to