svalinn / DAGMC

Direct Accelerated Geometry Monte Carlo Toolkit
https://svalinn.github.io/DAGMC
Other
97 stars 63 forks source link

Fails to configure: string sub-command REPLACE requires at least four arguments #781

Open yurivict opened 2 years ago

yurivict commented 2 years ago
/bin/mkdir -p /disk-samsung/freebsd-ports/science/dagmc/work/.build

-- CMAKE_BUILD_TYPE: Release

CMake Error at cmake/FindMOAB.cmake:7 (string):
  string sub-command REPLACE requires at least four arguments.
Call Stack (most recent call first):
  CMakeLists.txt:62 (find_package)

CMake Error at cmake/FindMOAB.cmake:17 (message):
  Could not find MOAB.  Set -DMOAB_DIR=<MOAB_DIR> when running cmake or use
  the $MOAB_DIR environment variable.
Call Stack (most recent call first):
  CMakeLists.txt:62 (find_package)

Rev. 472ac87 cmake-3.21.3 OS: FreeBSD 13

makeclean commented 2 years ago

Do you have MOAB installed? The MOAB mesh database rather than MOAB the queueing system?

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: @. @.> Sent: Saturday, October 9, 2021 1:50:52 AM To: svalinn/DAGMC @.> Cc: Subscribed @.> Subject: [svalinn/DAGMC] Fails to configure: string sub-command REPLACE requires at least four arguments (#781)

/bin/mkdir -p /disk-samsung/freebsd-ports/science/dagmc/work/.build

-- CMAKE_BUILD_TYPE: Release

CMake Error at cmake/FindMOAB.cmake:7 (string): string sub-command REPLACE requires at least four arguments. Call Stack (most recent call first): CMakeLists.txt:62 (find_package)

CMake Error at cmake/FindMOAB.cmake:17 (message): Could not find MOAB. Set -DMOAB_DIR= when running cmake or use the $MOAB_DIR environment variable. Call Stack (most recent call first): CMakeLists.txt:62 (find_package)

Rev. 472ac87https://github.com/svalinn/DAGMC/commit/472ac876cc2a060b299f5284b67f25fdbec483b6 cmake-3.21.3 OS: FreeBSD 13

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/svalinn/DAGMC/issues/781, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AASTUSXDBJUKVLBWVHRKL53UF6GWZANCNFSM5FUVCHSQ. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

yurivict commented 2 years ago

It is installed:

moab-5.2.1_2 Component for representing and evaluating mesh data

But the cmake script shouldn't break regardless.