-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
./configure errors out #236
Comments
You must be trying to build from the git repo, as that |
Hi @pooler, sorry for the late reply!
|
I'm unable to reproduce your issue under a fresh installation of Ubuntu on WSL2.
Something about your setup seems off. The latest Ubuntu still comes with autoconf 2.69, so where does version 2.71 come from? |
I installed it from Homebrew |
It seems likely that the issue lies with your software environment rather than with cpuminer. I've not encountered any problems building cpuminer on any version of Ubuntu, under WSL or otherwise. I've also had no problems with autoconf 2.71 on other distros. |
Hey, so oddly enough, using the apt version of autoconf, rather than the linuxbrew worked for me |
Same Error how did you fixed it ? |
Are you using Linuxbrew?
If so, try to install install autoconf through apt instead :)
…On Tue, Aug 2, 2022, 15:58 essaraza ***@***.***> wrote:
Same Error how did you fixed it ?
—
Reply to this email directly, view it on GitHub
<#236 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABEDMUGLJUI267QF6HB6JEDVXESQDANCNFSM4555JF7A>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Getting the same "Some: command not found" error when running configure. Some time has passed and it seems |
I just tried building again for a few hours and kind of went full circle and am back to getting the syntax error from the broken comment in the configure file. I tried removing that block with the syntax error but that cascades into creating more errors I was getting a page fault also trying to build with the "CFLAGS="-O3"" optimization flag but dropping that flag fixed the page fault issue. I am on a slower computer but can build Bitcoin core and other larger projects without problems, so there may be some kind of cyclical inclusion happening that bloats the executable until it crashes the OS. Additionally I get an error that the 'libjansson' library is not being provided with a version number which minerd requires, and I believe the fix to that part is that the libjansson version in the build script must not be lower than the version installed on the OS, so using the latest version of libjansson stops my build from completing also. I tried uninstalling and re-installing autoconf, automake, autotools, libtools, autotools-dev, re-downloaded the source a couple of times so I was building with a clean slate, tried running autoupdate as it suggests in the build warning but could not find a path that worked. Here are the errors I am getting below in case they are of some help ( I was able to see the second error by building without optimizations flags but the program terminates itself right after the error is shown ) -
I have tried on Ubuntu 20.04.5 LTS and on MX linux bookworm ( I also got an error regarding incompatibility with 386x CPUs but both of my computers are 64 bit CPUs ) |
From running
./configure CFLAGS="-O3"
, I get:Note, I'm using Ubuntu on WSL2.
It seems that ./configure is not generated properly, since some comments aren't commented out.
I've attached my ./configure file as a txt.
configure.txt
Any idea what to do?
Commenting out the comments just created more errors further down;
The text was updated successfully, but these errors were encountered: