error response of makemake  [SOLVED]

option, parallelism,...

Moderators: fgoudreault, mcote

Forum rules
Please have a look at ~abinit/doc/config/build-config.ac in the source package for detailed and up-to-date information about the configuration of Abinit 8 builds.
For a video explanation on how to build Abinit 7.x for Linux, please go to: http://www.youtube.com/watch?v=DppLQ-KQA68.
IMPORTANT: when an answer solves your problem, please check the little green V-like button on its upper-right corner to accept it.
Locked
User avatar
jzwanzig
Posts: 504
Joined: Mon Aug 17, 2009 9:25 am

error response of makemake

Post by jzwanzig » Fri Jul 09, 2010 2:50 pm

Hi, in my 6.3.0-private branch, after merging trunk/6.3.0-public and solving the three minor conflicts, makemake fails with:


... various abilint outputs successful, not copied here...

Autotools framework (for Autoconf)
----------------------------------

BEGIN
* Generating aclocal.m4...done.
* Generating config.h.in...done.
* Generating configure script...done.
* Generating Makefile.in for each directory:
* All done.
END

Branch parameters
-----------------

BEGIN
* BN: 6.3.0-private BR: 6.3.0-private BS: 6.3.0-private
* B: 6.3.0 C: 6.3.0
* branch revision: 6.3.0-private
* branch has uncommitted changes
END

test: 341: test: unexpected operator

--
Time elapsed : 68s


but I have no uncommitted changes, I don't know how to continue. Any suggestions?

thanks,
Joe
Josef W. Zwanziger
Professor, Department of Chemistry
Canada Research Chair in NMR Studies of Materials
Dalhousie University
Halifax, NS B3H 4J3 Canada
jzwanzig@gmail.com

User avatar
jzwanzig
Posts: 504
Joined: Mon Aug 17, 2009 9:25 am

Re: error response of makemake  [SOLVED]

Post by jzwanzig » Tue Jul 13, 2010 5:33 pm

Hi, I've just found and fixed the two bugs in makemake causing the problems. The fix is contained in my 6.3.0-public branch. The problems were:

lines 213 and 214, awk should use print $2 and print $3 respectively, to get the correct information out of ${branch_info}

lines 329 and 330: test on multiple conditions with -a had the wrong syntax (word "test" was repeated for the second condition).

Joe
Josef W. Zwanziger
Professor, Department of Chemistry
Canada Research Chair in NMR Studies of Materials
Dalhousie University
Halifax, NS B3H 4J3 Canada
jzwanzig@gmail.com

Locked