Open Anime4000 opened 7 years ago
Sorry, I can't really help you since I don't have a Windows installation available to test with!
Since it looks like the check
library is missing or pkg-config
is not available (in the mingw build that you are using), it is probably easiest to just remove the following lines from configure.ac
and rerun the commands you are using to build.
# The check library is used for the unit testing. Not bothering to
# implement an --enable-tests option, as they are only run by "make
# check" so there is no user-level difference. If the unit tests
# won't even *compile* there is probably a better solution than just
# turning them off, and build time is minimal.
PKG_CHECK_MODULES(CHECK,[check],
AC_MSG_RESULT([enabled: unit testing]),
AC_MSG_RESULT([disabled: unit testing]))
AM_CONDITIONAL([HAVE_CHECK],[test -z "${CHECK_PKG_ERRORS}"])
Let me know if that helps.
@frekky maybe you can install Windows via VM like VirtualBox.
However, after install check
via https://libcheck.github.io/check/web/install.html#mingwsource
can't compile
What version of autotools are you using? If you can download and install a later version of autotools in mingw by source following a similar method, that might help. Also make sure you have pkg-config
available. Did you have any luck by removing those lines from configure.ac
?
I use XhmikosR's Builds for MSYS/Mingw
it has pkg-config
removing few lines configure.ac
can't compile, check.h
missing, I sure install correctly
If you need to run iodine reliably and haven't got a working Windows build system, the easiest solution right now is to get a minimal Linux installation (ie. Debian 8) running on a VM and build/run inside the VM.
well, other option is using Raspberry Pi, will this iodine compile on ARM CPU?
Yes, it should do. If using Raspbian (or most Debian-based Linux distributions) you would need to have a number of packages installed first. The following should work, assuming you have an internet connection:
apt-get update
apt-get install build-essential check automake autoconf pkg-config
Then following the build instructions should result in a working binary.
Yes, it should do. Make sure you have the build-essential
and check
packages installed (if using Raspbian/Debian).
Yes, it should do. Make sure you have the build-essential
and check
packages installed (if using Raspbian/Debian).
Hello @frekky ... I successfully build your version of iodine under Windows,
pacman -Syu
, close terminal (no type exit)MSYS2 MSYS
at Start Menu and run pacman -Su
pacman -S base-devel git mingw-w64-x86_64-toolchain zlib-devel yasm cmake
Terminal log here: https://gist.github.com/Anime4000/03bb3d18b0cfdfa9e2439e3dc045d0c2
I attach my version builds, can test on VM, for my self, still not test yet, just having successful builds iodine-frekky.zip
I notice that you remove Windows code... no wonder it keep asking root even I run as admin 😄
I using XhmikosR's Builds for MSYS (GCC 7.1.0) and it has a bit older autoconf, I can simply update by get latest source and make install
however, for long time, your build a bit different, which is need
autoconf
I run this command
and this error came in
sorry, I new into autoconf 🙇