I'm following the build instruction posted here: https://gitlab.com/dalton/lsdalton/blob ... /README.md along with a very vanilla build (e.g. just running "./setup". After setup is run and I cd into the build directory, the make command fails quicky with:
=====
Scanning dependencies of target xcfun
[ 1%] Creating directories for 'xcfun'
[ 1%] Performing download step for 'xcfun'
[ 2%] No patch step for 'xcfun'
[ 2%] No update step for 'xcfun'
[ 2%] Performing configure step for 'xcfun'
CMake Error: The source directory "/mmfs1/shared_apps/packages/src/lsdalton/lsdalton/external/xcfun" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
make[2]: *** [external/xcfun-stamp/xcfun-configure] Error 1
make[1]: *** [CMakeFiles/xcfun.dir/all] Error 2
make: *** [all] Error 2
=====
Looking at the contents of the external/ directory I can see 8 subdirectories, but only the ls-openrsp subdirectory has any contents. Can someone advise?
Thanks,
Mike
lsdalton 2018 build error - missing xcfun
-
- Posts: 600
- Joined: 15 Oct 2013, 05:37
- First name(s): Peter
- Middle name(s): Robert
- Last name(s): Taylor
- Affiliation: Tianjin University
- Country: China
Re: lsdalton 2018 build error - missing xcfun
How did you get the code in the first place, via a git clone? I use (full disclosure: I know less than nothing about git... And I'm not an LSDalton developer, only Dalton.)
and I have had trouble in the past with otherwise not getting the "external" routines.
If this was the git command you used, then sorry, I have no other suggestions, but I would guess someone from the LSDalton mob will.
Best regards
Pete
git clone --recursive https://gitlab.com/dalton/lsdalton.git
and I have had trouble in the past with otherwise not getting the "external" routines.
If this was the git command you used, then sorry, I have no other suggestions, but I would guess someone from the LSDalton mob will.
Best regards
Pete
-
- Posts: 9
- Joined: 06 Feb 2020, 17:00
- First name(s): Mike
- Last name(s): Pacey
- Affiliation: Lancaster University
- Country: United Kingdom
Re: lsdalton 2018 build error - missing xcfun
Hi Pete,
Thanks for the suggestion but I'm afraid it didn't work. I found mention of the use of --recursive on another build guide page here: https://gitlab.com/dalton/lsdalton/tree/release/2018
That includes several git commands:
git clone --recursive https://gitlab.com/dalton/lsdalton.git
and (after cd'ing into the lsdalton directory that command creates) further running:
git checkout v2018.0
git submodule update
After running "./setup" and then "cd build; make" the compilation fails at the same point with same errors and the xcfun and other subdirs identically unpopulated.
Regards,
Mike
Thanks for the suggestion but I'm afraid it didn't work. I found mention of the use of --recursive on another build guide page here: https://gitlab.com/dalton/lsdalton/tree/release/2018
That includes several git commands:
git clone --recursive https://gitlab.com/dalton/lsdalton.git
and (after cd'ing into the lsdalton directory that command creates) further running:
git checkout v2018.0
git submodule update
After running "./setup" and then "cd build; make" the compilation fails at the same point with same errors and the xcfun and other subdirs identically unpopulated.
Regards,
Mike
- magnus
- Posts: 524
- Joined: 27 Jun 2013, 16:32
- First name(s): Jógvan Magnus
- Middle name(s): Haugaard
- Last name(s): Olsen
- Affiliation: Aarhus University
- Country: Denmark
Re: lsdalton 2018 build error - missing xcfun
I think the problem is that the submodules have been removed recently. Can you try the following?
Code: Select all
git clone --recursive -b v2018.0 https://gitlab.com/dalton/lsdalton.git
-
- Posts: 9
- Joined: 06 Feb 2020, 17:00
- First name(s): Mike
- Last name(s): Pacey
- Affiliation: Lancaster University
- Country: United Kingdom
Re: lsdalton 2018 build error - missing xcfun
Hi Jógvan,
Many thanks - after cloning with your recommended git command it builds without error. As my attempts to find an install guide seem to have lead me to a couple of out-of-date web pages, can I confirm that what I'm cloning here is the latest stable version of lsdalton?
Regards,
Mike
Many thanks - after cloning with your recommended git command it builds without error. As my attempts to find an install guide seem to have lead me to a couple of out-of-date web pages, can I confirm that what I'm cloning here is the latest stable version of lsdalton?
Regards,
Mike
- magnus
- Posts: 524
- Joined: 27 Jun 2013, 16:32
- First name(s): Jógvan Magnus
- Middle name(s): Haugaard
- Last name(s): Olsen
- Affiliation: Aarhus University
- Country: Denmark
Re: lsdalton 2018 build error - missing xcfun
Yes, that is correct. Version 2018.0 is the latest stable version of lsdalton.
Who is online
Users browsing this forum: No registered users and 0 guests