-
-
Notifications
You must be signed in to change notification settings - Fork 242
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 build with plugins fails #344
Comments
PR #335 seems related |
With PR #350 and disabling all plugins it builds. |
A patch that fixes the CMake problems is at http://people.freebsd.org/~nwhitehorn/dino.diff. |
@nwhitehorn Thanks, works for me. Will you submit a PR? |
I also confirm that it builds now on FreeBSD 12. Thanks for your patch @nwhitehorn ! |
@Echolon the patch hasn't been merged into this repository it seems. Do you expect freebsd users to keep patching the source? I have checked, |
Hi link2xt, |
Could you merge the linked patch first? I don't have freebsd around anymore, so can't test, but the patch does reasonable things: replaces some hardcoded library names with variables. |
There are multiple issues, starting with
configure
script.Shebang in configure script is
#!/bin/bash
. On FreeBSD, bash is installed in/usr/local/bin/bash
. It should be replaced with either#!/usr/bin/env bash
or#!/bin/sh
.Then,
getopt
utility is used to parse long options. FreeBSDgetopt
does not support long options. Getopt with GNU-style options can be installed from ports, but it is installed in/usr/local/bin/getopt
which goes after/usr/bin/getopt
in PATH by default.After replacing
getopt
with/usr/local/bin/getopt
, I can runconfigure --help
and such.Then, even if I disable OMEMO plugin, it fails with
/usr/bin/ld: cannot find -lgcrypt
, so I have to add GCrypt toplugins/omemo/CMakeLists.txt
.Now I get error
error: Package 'libgcrypt' not found in specified Vala API directories or GObject-Introspection GIR directories
, don't know how to fix it.The text was updated successfully, but these errors were encountered: