Opened 8 years ago
Closed 8 years ago
#1116 closed How to (fixed)
compilation error
Reported by: | gigi | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | Delphes code | Version: | Delphes 3 |
Keywords: | Cc: |
Description (last modified by )
Hi all,
I am trying to compile Delphes 3.4.1 on my mac distribution 10.11.6 and I got the following compilation error:
ld: can't open output file for writing: Validation, errno=21 for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [Validation] Error 1 make: *** Waiting for unfinished jobs....
I have attached a log file with the full output of the compilation procedure if it may help.
Please, can you help me to figure out how to fix it?
Best regards,
Luigi
Attachments (1)
Change History (7)
by , 8 years ago
Attachment: | dephes_log.txt added |
---|
comment:1 by , 8 years ago
Hi Luigi,
Thanks for the log file. I see that a similar problem is discussed on the ROOT forum:
https://root-forum.cern.ch/t/link-problem-with-xcode-8-under-mac-os/21894
According to this discussion, the problem is due to some incompatibility between OS X 10.11, Xcode 8 and the Xcode command line tools.
Could it be that your Xcode version has a similar compatibility problem?
Best regards,
Pavel
comment:2 by , 8 years ago
Description: | modified (diff) |
---|
follow-up: 4 comment:3 by , 8 years ago
After some more googling, I think that I've found the source of the problem. Here is a link to exactly the same issue:
https://github.com/koalaman/shellcheck/issues/1
Looks like the problem isn't with Xcode but with the file and directory names.
The executable called Validation
can't be created because of the directory called validation
. For MacOSX, these are the same names because the filesystem is case insensitive.
comment:4 by , 8 years ago
Hi Pavel,
thanks for spotting out the problem. Indeed I changed the directory name in MakeFile and now it seems to work.
Best,
Luigi
comment:5 by , 8 years ago
I've renamed Validation
to DelphesValidation
and patched the 3.4.1 release.
comment:6 by , 8 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
compilation log