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

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

Related

Getting this error message while installing solana: error: failed to run custom build command for `prost-build v0.10.1`

I'm got this error after running this command: ./scripts/cargo-install-all.sh .
error: failed to run custom build command for `prost-build v0.10.1`
I'm installing solana on m1 mac
Anyone please help me with this.
The prost-build crate compilation is failing because it can't find protocol-buffer implementation, and the crate build.rs tries to compile it via cmake (which you don't have installed).
I solved it by installing protocol-buffers directly, but since there are problems with the pre-compiled binary in M1 you have to compile it locally. It's simple:
git clone https://github.com/protocolbuffers/protobuf.git
cd protobuf
brew install autoconf
brew install automake
brew install Libtool
autoreconf -i
./autogen.sh
./configure
make
make check
sudo make install
export PATH=/opt/usr/local/bin:$PATH
This works!!!

Make install fails macOS Catalina

I am trying to install OpenCV to use in C++ on my macOS Catalina using the tutorial here: https://www.learnopencv.com/install-opencv-4-on-macos/ . However, near the end when I have to run make install
I get an error saying
Install the project...
-- Install configuration: "RELEASE"
CMake Error at cmake_install.cmake:36 (file):
file cannot create directory: /installation/OpenCV-/share/licenses/opencv4.
Maybe need administrative privileges.
make: *** [install] Error 1
I tried running as root with:
sudo make install
However I get the same error.
I also tried changing the CMAKE_INSTALL_PREFIX to another folder I created which I was the owner of, however this did not work either.
What could I do to make the installation successful?
Thank you.

GraphicsMagick installation error on FreeBSD

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.

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.

Configuration issues trying to install Ruby on Mac

When I run rvm install ruby-1.9.3, I get this error message when configuring
Error running ' ./configure --prefix=/Users/robbor911/.rvm/rubies/ruby-1.9.3-p125 --enable-shared --disable-install-doc --with-libyaml --with-opt-dir=/Users/robbor911/.rvm/usr ', please read /Users/robbor911/.rvm/log/ruby-1.9.3-p125/configure.log
There has been an error while running configure. Halting the installation.
All posts on this issue so far tell users to download XCode and install it, but I have it installed-- it even runs successfully.
From what I've gather, my problem has something to do with the terminal unable to locate the compiler's necessary for the download.
I even managed to locate the compilers at Xcode/Contents/Developer/usr/bin and Xode/Contents/Developer/usr/llvm-gcc-4.2/bin
Does anyone know why, when I installed XCode, my compilers weren't set up properly or how I can manually correct this issue?
I just ran across this issue the other day. The way I was able to get it running:
1) I downloaded and installed this package from Github.
2) ran rvm get head && rvm reload && rvm reinstall 1.9.3
Worked for me. Running OS Lion 10.7
Xcode 4.3 no longer installs the command-line tools by default. You can install them from the Downloads pane in Xcode's preferences.

Resources