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

FreeBSD compilation fails with ./configure: [[: not found #6343

Closed
jTd7bPLFb opened this issue Oct 23, 2024 · 4 comments · Fixed by #6451
Closed

FreeBSD compilation fails with ./configure: [[: not found #6343

jTd7bPLFb opened this issue Oct 23, 2024 · 4 comments · Fixed by #6451
Assignees
Milestone

Comments

@jTd7bPLFb
Copy link

jTd7bPLFb commented Oct 23, 2024

Before, I could compile dash core (dashd, dash-cli) without issues on FreeBSD.
After latest git pull, it's not possible anymore.
fails with
./configure: [[: not found

to compile as before

git clone https://github.com/dashpay/dash

export CXXFLAGS="-I/usr/local/include -pthread"
export CPPFLAGS="-I/usr/local/include -pthread"
export LDFLAGS="-L/usr/local/lib"

./configure --without-miniupnpc --enable-wallet --without-bdb
--with-gui=no --disable-tests --disable-bench MAKE=gmake
gmake -jnproc

System information
FreeBSD 14.1
x86

@sergDash
Copy link

sergDash commented Dec 2, 2024

try this:

git checkout v21.1.1
cp src/dashbls/configure.ac ../
git checkout v22.0.0-rc.2
cp ../configure.ac src/dashbls/configure.ac

@jTd7bPLFb
Copy link
Author

jTd7bPLFb commented Dec 2, 2024

Yes, this made the compilation possible.

any change you can make the fix permanent for the new versions?

@sergDash
Copy link

sergDash commented Dec 2, 2024

I'm not a developer, but an ordinary fanatic :)

@knst knst self-assigned this Dec 2, 2024
@jTd7bPLFb
Copy link
Author

thanks.
devs don't seem to care though ..;-< ¯_(ツ)_/¯
once again, thank you for the workaround, I can not run my mns in native freebsd jails instead of linuxulator jails.

@PastaPastaPasta PastaPastaPasta assigned kwvg and unassigned knst Dec 3, 2024
@PastaPastaPasta PastaPastaPasta added this to the 22.1 milestone Dec 3, 2024
PastaPastaPasta added a commit to PastaPastaPasta/dash that referenced this issue Dec 6, 2024
…atures@7e747e8a as 62fa665

f25a936 build: stop tracking cmake dependency relic_conf.h.in (Kittywhiskers Van Gogh)
62fa665 Squashed 'src/dashbls/' changes from 4e070243ae..7e747e8a07 (Kittywhiskers Van Gogh)
b1b3840 revert: stop tracking cmake dependency relic_conf.h.in (Kittywhiskers Van Gogh)

Pull request description:

  ## Additional Information

  * Closes dashpay#6343
  * Includes [bls-signatures#102](dashpay/bls-signatures#102) and [bls-signatures#104](dashpay/bls-signatures#104)

  ## Breaking Changes

  None expected.

  ## Checklist:

  - [x] I have performed a self-review of my own code **(note: N/A)**
  - [x] I have commented my code, particularly in hard-to-understand areas **(note: N/A)**
  - [x] I have added or updated relevant unit/integration/functional/e2e tests **(note: N/A)**
  - [x] I have made corresponding changes to the documentation **(note: N/A)**
  - [x] I have assigned this pull request to a milestone _(for repository code-owners and collaborators only)_

ACKs for top commit:
  PastaPastaPasta:
    utACK f25a936
  UdjinM6:
    utACK f25a936

Tree-SHA512: 394a02a50f57538e9d12f836fd1ea1598d8a20e2d0079fcb44bb317a42a64a638a1ef906222f2d3bab06d2c0b8cfac43c6e0055d87fbdb86abe680c53ecd6b7a
PastaPastaPasta added a commit to PastaPastaPasta/dash that referenced this issue Dec 6, 2024
…atures@7e747e8a as 62fa665

f25a936 build: stop tracking cmake dependency relic_conf.h.in (Kittywhiskers Van Gogh)
62fa665 Squashed 'src/dashbls/' changes from 4e070243ae..7e747e8a07 (Kittywhiskers Van Gogh)
b1b3840 revert: stop tracking cmake dependency relic_conf.h.in (Kittywhiskers Van Gogh)

Pull request description:

  ## Additional Information

  * Closes dashpay#6343
  * Includes [bls-signatures#102](dashpay/bls-signatures#102) and [bls-signatures#104](dashpay/bls-signatures#104)

  ## Breaking Changes

  None expected.

  ## Checklist:

  - [x] I have performed a self-review of my own code **(note: N/A)**
  - [x] I have commented my code, particularly in hard-to-understand areas **(note: N/A)**
  - [x] I have added or updated relevant unit/integration/functional/e2e tests **(note: N/A)**
  - [x] I have made corresponding changes to the documentation **(note: N/A)**
  - [x] I have assigned this pull request to a milestone _(for repository code-owners and collaborators only)_

ACKs for top commit:
  PastaPastaPasta:
    utACK f25a936
  UdjinM6:
    utACK f25a936

Tree-SHA512: 394a02a50f57538e9d12f836fd1ea1598d8a20e2d0079fcb44bb317a42a64a638a1ef906222f2d3bab06d2c0b8cfac43c6e0055d87fbdb86abe680c53ecd6b7a
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

Successfully merging a pull request may close this issue.

5 participants