GraphicsMagick installation error on FreeBSD - installation

When trying to install Graphicsmagick binaries to FreeBSD using
sudo pkg install GraphicsMagick
via SSH shell, I get this error message:
/usr/local/lib/libpkg.so.3: Undefined symbol "openat"
What is wrong?

You need to update FreeBSD. You're trying to use a port too current for the system you are running. You can either perform a binary upgrade, or you can update the source and build the kernel & world.

Related

Error Installing DBD::MariaDB on Mac OS Sierra - Fails on Creating t/MariaDB.mtest

I am having difficulty getting the DBD::MariaDB module to install on an instance of OSX 10.12.6. I am using homebrew and perlbrew, and other cpan modules installed without issue with cpanm.
I have used homebrew to install openssl and mysql-connector-c as the cpan Install page recommended.
Rather than trying to use cpanm for this, I am attempting to install manually so I can specify a mysql_config location. I have a heavily customized instance of MariaDB 10.2.21 installed so nothing is "default." If it's relevant, my MariaDB configuration was based off a brew install.
I am stuck at this point: Failed to create t/MariaDB.mtest: No such file or directory at /Documents/DBD-MariaDB-1.21/Makefile.PL line 415. Fails to make the file and I'm doing this with user directories with perlbrew.
Using Perl 5.26.1 on perlbrew 0.86 (latest). Not sure what to actually do here. Not sure why I'm unable to make the file in a user folder.
Did I miss a crucial step?

Getting an error, Port gmake not found, while trying to setup for AOSP build environment

I'm following an instruction from https://source.android.com/setup/build/initializing to build the environment.
I'm at the section Installing the JDK where I have to install gmake, libsdl, git, and gnupg using MacPort.
POSIXLY_CORRECT=1 sudo port install gmake libsdl git gnupg
But I'm getting an error, Error: Port gmake not found.
I'm using macOS Sierra.
Any solution to this?
I assume you followed the installation instructions from:
https://www.macports.org/install.php
Note that you ought to have run sudo port -v selfupdate to update your local copy of the port tree.
Try the port diagnose command to see if it detects any of the more commonly encountered problems.

Cannot install lektor in pyenv virtualenv: `clang' exists in these (other) Python versions

I'm trying to install lektor into a new virtualenv using pyenv virtualenv. I have no problem making a new virtualenv with Python 3.7.0, but when I try to pip install lektor, I get a build failure with watchdog and the following error message:
pyenv: clang: command not found
The `clang' command exists in these Python versions:
anaconda3-5.0.0
error: command 'clang' failed with exit status 127
I understand that the anaconda3 version has clang, but I also have a version installed in /usr/bin. The output of which -a clang is:
$PYENV_ROOT/shims/clang
/usr/bin/clang
Can I manually set the shim to point to usr/bin? Or is there a different solution to this issue?
This is a rotten solution, but it does work. By taking the shim for clang and temporarily moving it (e.g., mv $PYENV_ROOT/shims/clang ~/Desktop), watchdog can be installed, then the clang shim can be moved back to the original location. A better option would be for pyenv to default to the system versions of programs if a shim doesn't point anywhere in a given environment…
Alternative solution
The pyenv plugin pyenv-which-ext takes care of this class of issues by checking for the existence of utilities in the normal $PATH after seeing that they aren't present in the current environment. It's a quick install via Homebrew, took care of all my issues.

gdk_display_get_name: assertion 'GDK_IS_DISPLAY (display)' failed trying to run pidgin

I compiled and installed pidgin on my MacOSx Mavericks, everything seem to went fine on make install but when I try to start pidgin from terminal
I get following error:
$ pidgin
(Pidgin:68719): Gdk-CRITICAL **: gdk_display_get_name: assertion 'GDK_IS_DISPLAY (display)' failed
Pidgin 2.10.11
** (Pidgin:68719): WARNING **: cannot open display: unset
can anyone help getting rid of this message ?
So to install Pidgin first I ran ./configure with following arguments. --disable-screensaver --disable-sm --disable-gtkspell --disable-gstreamer --disable-vv --disable-meanwhile --disable-avahi --disable-dbus --disable-nss --disable-gnutls then I ran make to build a compile for my osx mavericks. then make install . In doing all the proces I discovered I need boost python binding, for which I installed boost via macports using sudo port install libboost . But when I tried to run Pidgin I got the above error mentioned in the post, so I discovered Pidgin cannot find the display required. For which I had to install XQuartz restarting installing XQuartz took a while and I relogged in and then Pidgin worked. On my OSx now the value of DISPLAY environment variable points to /tmp/launch-DXOhcE/org.macosforge.xquartz:0

Installing Boost port in MacPorts

I just installed MacPorts and am trying to install the boost port. When I type:
sudo port install boost
however, I get an error that says
Unable to open port: invalid command name "compiler.blacklist"
How can I fix this issue? When I try to do the installation in Pallet instead, nothing happens after choosing install and pressing "start."
Thank you for any help you can provide
You're running an outdated version of MacPorts. Run sudo port selfupdate. If that fails, you can try to get more information on the type of failure using sudo port -d selfupdate. If that doesn't help either you can just use the most recent installer from the MacPorts website to update your installation.

Resources