Comments (13)
the cmake command executes like this
cmake
..
-DCMAKE_C_FLAGS_RELEASE=-DNDEBUG
-DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG
-DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/freecell-solver/6.0.1_1
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_FIND_FRAMEWORK=LAST
-DCMAKE_VERBOSE_MAKEFILE=ON
-Wno-dev
-DCMAKE_OSX_SYSROOT=/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk
-DBUILD_TESTING=OFF
-DKDE_INSTALL_QMLDIR=lib/qt5/qml
-DKDE_INSTALL_PLUGINDIR=lib/qt5/plugins
-DCMAKE_INSTALL_BUNDLEDIR=/usr/local/Cellar/freecell-solver/6.0.1_1/bin
from fc-solve.
Hi @mjobin-mdsol !
Thanks for your work.
the cmake command executes like this
cmake .. -DCMAKE_C_FLAGS_RELEASE=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/freecell-solver/6.0.1_1 -DCMAKE_BUILD_TYPE=Release -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_VERBOSE_MAKEFILE=ON -Wno-dev -DCMAKE_OSX_SYSROOT=/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -DBUILD_TESTING=OFF -DKDE_INSTALL_QMLDIR=lib/qt5/qml -DKDE_INSTALL_PLUGINDIR=lib/qt5/plugins -DCMAKE_INSTALL_BUNDLEDIR=/usr/local/Cellar/freecell-solver/6.0.1_1/bin
I don't expect it to succeed without the backslashes. For what it's worth, this command succeeds here - followed by a successful gmake
(i'm on mageia v8 x86-64):
#! /bin/sh
#
# brew-build-fcs.sh
cmake \
.. \
-DCMAKE_C_FLAGS_RELEASE=-DNDEBUG \
-DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG \
-DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/freecell-solver/6.0.1_1 \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_FIND_FRAMEWORK=LAST \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-Wno-dev \
-DCMAKE_OSX_SYSROOT=/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk \
-DBUILD_TESTING=OFF \
-DKDE_INSTALL_QMLDIR=lib/qt5/qml \
-DKDE_INSTALL_PLUGINDIR=lib/qt5/plugins \
-DCMAKE_INSTALL_BUNDLEDIR=/usr/local/Cellar/freecell-solver/6.0.1_1/bin \
What you can try is using dtruss or similar or lldb or gdb ( https://en.wikipedia.org/wiki/LLDB_(debugger) ) on the cmake to see why it fails without an error (which is abnormal behaviour). Then you can try using newer and/or older cmake versions.
Good luck, and thanks!
from fc-solve.
@mjobin-mdsol : ping! any news?
from fc-solve.
I don't believe the missing backslashes were the problem.
I think that just brew who display the command in multi-line for easy reading, but it runs as a string without multi-line breaker
I'm not too sure how to insert a debugger into a brew compile stack
maybe I can actually add a ruby debugger, trace it until cmake gets called and see if I can capture the actual error message
from fc-solve.
-- Check if the system is big endian - little endian
CMake Warning at CMakeLists.txt:229 (find_package):
By not providing "FindRinutils.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Rinutils",
but CMake did not find one.
Could not find a package configuration file provided by "Rinutils" with any
of the following names:
RinutilsConfig.cmake
rinutils-config.cmake
Add the installation prefix of "Rinutils" to CMAKE_PREFIX_PATH or set
"Rinutils_DIR" to a directory containing one of the above files. If
"Rinutils" provides a separate development package or SDK, be sure it has
been installed.
Can't locate Moo.pm in @INC (you may need to install the Moo module) (@INC contains: /usr/local/Cellar/perl/5.32.0/lib/perl5/site_perl/5.32.0/darwin-thread-multi-2level /usr/local/Cellar/perl/5.32.0/lib/perl5/site_perl/5.32.0 /usr/local/Cellar/perl/5.32.0/lib/perl5/5.32.0/darwin-thread-multi-2level /usr/local/Cellar/perl/5.32.0/lib/perl5/5.32.0 /usr/local/lib/perl5/site_perl/5.32.0) at /tmp/freecell-solver-20200916-32738-14zamxm/freecell-solver-6.0.1/scripts/gen-c-lookup-files.pl line 10.
BEGIN failed--compilation aborted at /tmp/freecell-solver-20200916-32738-14zamxm/freecell-solver-6.0.1/scripts/gen-c-lookup-files.pl line 10.
CMake Error at CMakeLists.txt:279 (MESSAGE):
/usr/local/bin/perl
/tmp/freecell-solver-20200916-32738-14zamxm/freecell-solver-6.0.1/scripts/gen-c-lookup-files.pl
failed!
-- Configuring incomplete, errors occurred!
See also "/tmp/freecell-solver-20200916-32738-14zamxm/freecell-solver-6.0.1/build/CMakeFiles/CMakeOutput.log".
from fc-solve.
ok, looks like I can just cpan Moo
I wonder if that fits find in the recipe...
from fc-solve.
ok, looks like I can just
cpan Moo
I wonder if that fits find in the recipe...
cpan Moo
is needed by the some of the Perl code (perhaps I should verify it is present though). "rinutils" is https://github.com/shlomif/rinutils/ which is used by the C code and should also be installed (albeit I recall bundling it inside the source tarball so it may not be separately needed).
from fc-solve.
@mjobin-mdsol : hi! I checked and rinutils is indeed included in the source tarball.
from fc-solve.
next two errors
Traceback (most recent call last):
File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'random2'
CMake Warning at CMakeLists.txt:1008 (MESSAGE):
Could not find the python3's random2 module - please install it.
Traceback (most recent call last):
File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'pysol_cards'
CMake Error at CMakeLists.txt:997 (MESSAGE):
Could not find the python3's pysol_cards module - please install it.
Call Stack (most recent call first):
CMakeLists.txt:1011 (ASSERT_PYTHON3_MODULE_PRESENCE)
from fc-solve.
dependencies on both python and perl, this must be a fun project to maintain ;)
from fc-solve.
ok, I got it to build locally, I still have an issue with my homebrew recipe, but its clearly not related to fc-solve
thanks for your help
this is my updated recipe.
https://invent.kde.org/mjobin/homebrew-kde/-/blob/master/Formula/freecell-solver.rb
from fc-solve.
dependencies on both python and perl, this must be a fun project to maintain ;)
Heh, heh. Use the right tool for the job... And it is fun to maintain.
from fc-solve.
ok, I got it to build locally, I still have an issue with my homebrew recipe, but its clearly not related to
fc-solve
thanks for your help
this is my updated recipe.
https://invent.kde.org/mjobin/homebrew-kde/-/blob/master/Formula/freecell-solver.rb
Great! Thanks for sharing the recipe and updating me about the progress. You're welcome. Good luck in making more progress.
from fc-solve.
Related Issues (20)
- Convert libavl/avl.{c,h} to rb.{c,h} from the libavl-2.0.3 distribution HOT 1
- "fc-solve -g eight_board" segfaults on Mageia v6 HOT 1
- «The command line parameter "(null)" requires an argument and was not supplied with one.» HOT 1
- Add a screenshot and some text to clarify which cards are lying on the carpet in the README.html HOT 1
- On the automated solver page, clarify that it can solve other games besides Freecell HOT 2
- Build fails: missing Shlomif_Common.cmake HOT 4
- Number the steps in solution HOT 8
- Convert cmake config to GNUInstallDirs HOT 4
- You tried to plan twice HOT 3
- missing source file in 6.0.0 HOT 7
- An improper locking due to the unreleased lock before program exit HOT 4
- Suggestions about error handlings for locking HOT 2
- freecell-solver-6.6.0: test suite is failing HOT 29
- Add a compile-time option for the offloading queue to use Amazon S3 instead of a local disk HOT 2
- sscanf safety check HOT 1
- cpanratings.perl.org no longer exists HOT 1
- six usage HOT 1
- Cannot compile on non-glibc POSIX systems: sys/cdefs.h is a glibc-specific header
- tidyall cache files pollute the released tarballs HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fc-solve.