View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0000305 | mercury | Bug | public | 2013-12-03 00:02 | 2016-10-04 21:24 | ||||
Reporter | tantignac | ||||||||
Assigned To | juliensf | ||||||||
Priority | normal | Severity | block | Reproducibility | always | ||||
Status | closed | Resolution | no change required | ||||||
Platform | Mac | OS | Mac OS X | OS Version | 10.9 | ||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0000305: Error during the build with clang | ||||||||
Description | I tried to configure and build Mercury with clang on my computer but it seems to fail, outputting: ------------------------------------------------ MMAKE_DIR=`pwd`/scripts scripts/mmake MMAKEFLAGS= all /var/folders/bg/szy711t55qqgs0sssfxdj36h0000gn/T//mmake.ohG6jy:674: warning: undefined variable `DESTDIR' scripts/Mmake.vars:674: warning: undefined variable `DESTDIR' Mmake.common:135: warning: undefined variable `DESTDIR' make[1]: *** No rule to make target `.README.in', needed by `README'. Stop. make: *** [all] Error 2 ------------------------------------------------ I attached the output of the two commands to configure and to build. Would there is a way this issue could be solved? | ||||||||
Steps To Reproduce | $ ./configure --with-cc=clang $ make | ||||||||
Tags | No tags attached. | ||||||||
Attached Files |
|
Notes | |
juliensf (administrator) 2013-12-03 00:19 |
Can you confirm that the hidden file .README.in is present in the top-level of the source tree you have? It seems to be an issue with make; what version of that are you using? |
tantignac (reporter) 2013-12-03 00:36 |
Thank you for your answer. .README.in is in the directory from which I configure and build: -------------------------------------- $ ./configure --with-cc=clang […] $ ls -alrth .README.in -rw-r--r--@ 1 thibaudantignac staff 5,1K 30 avr 2013 .README.in -------------------------------------- The version of make is 3.81: -------------------------------------- $ make -v GNU Make 3.81 Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This program built for i386-apple-darwin11.3.0 -------------------------------------- |
juliensf (administrator) 2013-12-03 01:00 |
I can't see anything obviously wrong in the configuration log. What happens if you comment out the rule at Mmakefile:409 README: .README.in VERSION sed 's/@VERSION@/$(VERSION)/g' .README.in > README This problem appears to be specific to OS X 10.9, every recent version of Mercury is working on 10.8. |
tantignac (reporter) 2013-12-03 01:07 |
Thank you for the tip. Is is building now, hope it will ends without any further issue! |
juliensf (administrator) 2013-12-03 01:13 |
Please let me know if it is successful or not -- incidentally, what version of Mercury are you trying to install? |
tantignac (reporter) 2013-12-03 01:15 |
Ok, I'll let you know whent it will be eventually finished. Concerning the version, it is the 13.05.2 release. |
tantignac (reporter) 2013-12-03 04:55 |
It worked! -- Installation complete. Thank you for your support! |
Issue History | |||
Date Modified | Username | Field | Change |
---|---|---|---|
2013-12-03 00:02 | tantignac | New Issue | |
2013-12-03 00:02 | tantignac | File Added: logs.zip | |
2013-12-03 00:19 | juliensf | Note Added: 0000584 | |
2013-12-03 00:36 | tantignac | Note Added: 0000585 | |
2013-12-03 01:00 | juliensf | Note Added: 0000586 | |
2013-12-03 01:07 | tantignac | Note Added: 0000587 | |
2013-12-03 01:13 | juliensf | Note Added: 0000588 | |
2013-12-03 01:15 | tantignac | Note Added: 0000589 | |
2013-12-03 04:55 | tantignac | Note Added: 0000590 | |
2016-10-04 21:24 | juliensf | Assigned To | => juliensf |
2016-10-04 21:24 | juliensf | Status | new => closed |
2016-10-04 21:24 | juliensf | Resolution | open => no change required |