Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fastjet compile failed on MacOS 14.5 #5503

Open
hanseopark opened this issue Jun 12, 2024 · 0 comments
Open

fastjet compile failed on MacOS 14.5 #5503

hanseopark opened this issue Jun 12, 2024 · 0 comments

Comments

@hanseopark
Copy link

hanseopark commented Jun 12, 2024

I get a lot of error for #include "version" like
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cstddef:41:
./version:1:1: error: expected unqualified-id
1.1.0

it should occur that is not distinguish VERSION and version in fjcontrib during make
I fixed temporary to change the file of VERSION to VERSION.txt like

# FastJet Contrib
pushd fjcontrib
  find . -type f -name 'VERSION' -exec mv {} {}.txt \;
  sed -i '' 's/VERSION/VERSION.txt/g' configure
  sed -i '' 's/VERSION/VERSION.txt/g' ./scripts/internal/generate-html-contents.pl
  sed -i '' 's/VERSION/VERSION.txt/g' ./scripts/internal/release-fjcontrib.sh
  sed -i '' 's/VERSION/VERSION.txt/g' ./scripts/internal/package.sh
  sed -i '' 's/VERSION/VERSION.txt/g' ./scripts/release-contrib.sh
  ./configure --fastjet-config=$INSTALLROOT/bin/fastjet-config \
              CXXFLAGS="$CXXFLAGS" \
              CFLAGS="$CFLAGS" \
              CPATH="$CPATH" \
              C_INCLUDE_PATH="$C_INCLUDE_PATH"
  make ${JOBS:+-j$JOBS}
  make install
  make fragile-shared ${JOBS:+-j$JOBS}
  make fragile-shared-install
popd

If it is not temporary problem, it should be fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant