Opened 22 months ago
Last modified 22 months ago
#1569 new Bug
Delphes Installation on Mac OS Ventura 13.1
Reported by: | Torrey Saxton | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | Delphes code | Version: | Delphes 3 |
Keywords: | Cc: |
Description
Dear Experts,
I had run into issues installing Delphes on Mac Ventura 13.1. I had tried through 2 ways:
1) MadGraph command install Delphes
2) Using wget, and installing directly through untarring the folder and running the make file.
Both methods resulted in an error saying that Delphes could only be used on Mac OSX 10.7 or later.
I followed a fix for 12.1 at https://cp3.irmp.ucl.ac.be/projects/delphes/ticket/1542, but it did not quite work for me.
A fix I found but am unsure will work for the future is:
/path/to/delphes_directory/doc/Makefile.arch
in which the lines :
ifeq ($(PLATFORM),macosx)
MACOSX_MINOR := $(shell sw_vers | sed -n 's/ProductVersion://p' | cut -d . -f 2)
ifeq ($(MACOSX_DEPLOYMENT_TARGET),)
MACOSXTARGET := 10.$(MACOSX_MINOR)
else
MACOSXTARGET := $(MACOSX_DEPLOYMENT_TARGET)
endif
endif
should be replaced by,
ifeq ($(PLATFORM),macosx)
ROOTLIBDIR := $(shell $(RC) --libdir)
MACOSX_MAJOR := $(strip $(shell sw_vers | sed -n 's/ProductVersion://p'))
MACOSX_MINOR := $(strip $(shell sw_vers | sed -n 's/ProductVersion://p' | cut -d . -f 2))
ifeq ($(MACOSX_DEPLOYMENT_TARGET),)
MACOSXTARGET := $(MACOSX_MAJOR).$(MACOSX_MINOR)
else
MACOSXTARGET := $(MACOSX_DEPLOYMENT_TARGET)
endif
endif
This installed Delphes with warnings generated, but other than that seems to have worked.
Thank you for your time.
Thank you for sharing this information.
I think a similar fix is already in the git repository. This version can be downloaded from the following link:
https://github.com/delphes/delphes/archive/master.zip