I am a newcomer to gnome app building. I am trying to build polari app using gnome builder on Ubuntu 18.04. I am getting the following error
meson /home/yuvraj/Projects/polari . --prefix /app
The Meson build system
Version: 0.45.1
Source dir: /home/yuvraj/Projects/polari
Build dir: /home/yuvraj/.var/app/org.gnome.Builder/cache/gnome-builder/projects/Polari/builds/default-host-master
Build type: native build
Project name: polari
Native C compiler: cc (gcc 7.3.0 "cc (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0")
Build machine cpu family: x86_64
Build machine cpu: x86_64
Program gjs found: YES (/usr/bin/gjs)
Program js60 found: NO
Program desktop-file-validate found: YES (/usr/bin/desktop-file-validate)
Program appstream-util found: YES (/usr/bin/appstream-util)
Found pkg-config: /usr/bin/pkg-config (0.29.1)
Native dependency gio-2.0 found: YES 2.56.3
Native dependency gtk+-3.0 found: YES 3.22.30
Native dependency telepathy-glib found: YES 0.24.1
Native dependency gobject-introspection-1.0 found: YES 1.56.1
Native dependency gjs-1.0 found: NO found '1.52.5' but need: '>= 1.53.90'
meson.build:40:0: ERROR: Invalid version of dependency, need 'gjs-1.0' ['>= 1.53.90'] found '1.52.5'.
I did try installing all the build dependencies, but still no help.
The build profile is default
and Runtime is host operating system
Found the solution accidentally. First of all internet connection must be good. Second the build profile must be that of the project not the default one. Third runtime must be org.gnome.Sdk, here the builder may crash sometimes but eventually will work.
Related
Since an updates I'm not able to compile my Qt code for my Desktop environment. Qmake tells me
Project ERROR: Unknown module(s) in QT: script
Does anyone know, which package I need to install on Ubuntu 19.04 to enable the script module for Qt?
I had the same issue in Ubuntu 18.04, Qt 5.
It can be solved by installing the qtscript5-dev package:
sudo apt-get install qtscript5-dev
I tried to build a C/C++ project with NetBeans on my macOS Sierra, and got the following error message:
The following required libraries were not found:
gnutls
Maybe some development libraries/packages are missing?
I do have gnutls installed. How can I tell NetBeans where to look for it?
Create a symbolic link to gnutils inside /usr/local/bin, e.g.
ln -s /usr/local/Cellar/gnutls/3.5.14/bin /usr/local/bin/gnutls
I'm trying to upgrade my Vim to MacVim by running:
$ brew install macvim --with--override-system-vim
I'm getting this error message saying that the package cannot be compiled:
configure: creating cache auto/config.cache
checking whether make sets $(MAKE)... yes
checking for gcc... clang
checking whether the C compiler works... no
configure: error: in `/private/tmp/macvim-20161028-10122-1pp1odr/macvim-snapshot-113/src':
configure: error: C compiler cannot create executables
See `config.log' for more details
I have Xcode 8.1 installed on my machine. But brew seems to think it's a pre-release version:
Warning: You are using a pre-release version of Xcode.
You may encounter build failures or other breakages.
Please create pull-requests instead of filing issues.
Upgrading to Mavericks, I appear to have broken my Ruby on Rails development environment, which requires ruby 1.9.3 because of various gem dependencies. Within that app directory, I'm trying to reinstall ruby 1.9.3-p547:
rvm reinstall ruby-1.9.3-p547
I then get an error:
checking whether the C compiler works... no
configure: error: in `/Users/dsfaulkenberry/.rvm/src/ruby-1.9.3-p547':
configure: error: C compiler cannot create executables
Looking at the config.log file (~/.rvm/src/ruby-1.9.3-p547/config.log), I see:
dyld: Library not loaded: /usr/local/opt/cloog-ppl015/lib/libcloog.0.dylib
Referenced from: /usr/local/Cellar/gcc46/4.6.4/gcc/libexec/gcc/x86_64-apple-darwin12.4.0/4.6.4/cc1
Reason: image not found
I can see that other people have encountered issues vis-à-vis upgrading to Mavericks and having c compiler issues, but I can't find any referencing this specific library or what I should do (reinstall gcc? is that even a thing I can do?)
Many solutions mention accepting an XCode license agreement, which I have done, and the problem persists.
Reinstalling gcc46 solved the issue for me:
brew uninstall gcc46 && brew install gcc46
Can't run 'gdb ./a.out' or even 'gdb --help' without getting:
$ gdb ./a.out
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
ImportError: No module named site
Ubuntu Desktop 12.04 LTS is up to date. Works in 'root'. I'd rather not hardcode a $PYTHONHOME location. Any hints appreciated. Baffled.
update: when I set $PYTHONHOME I get:
$ PYTHONHOME=/usr/lib/python2.7 gdb ./a.out
ImportError: No module named site
update: I do have python-dev installed for native module creation.
Thx
Could you be running into this bug? Do you have python and python-libs installed?