Comments (11)
Homebrew's pkg-config
only reports packages installed by Homebrew. You have two options:
brew install gtk+
- Temporarily remove Homebrew from your
PATH
before installing Outliner withPATH=/usr/bin:/bin
from outliner.
Thanks for the clarification and helpful suggestions @sjackman!
from outliner.
I will look into this and see if I can figure it out. You should be able to manually install the dependencies listed in the README to get you going in the meantime (if you haven’t done this already).
from outliner.
Everything seems to be working properly in my environment. What distribution are you attempting to build from?
from outliner.
You should be able to manually install the dependencies listed in the README to get you going in the meantime (if you haven’t done this already).
I didn't do it manually on purpose, to help with debugging this issue.
What distribution are you attempting to build from?
I'm on elementaryOS 5.1 Hera.
from outliner.
Well that is strange. I will admit that the app script is one that I got from someone else so I don’t know exactly how install-deps works. I will try to do some more debugging by setting up a clean elementary OS virtual machine.
from outliner.
I'm stumped. I installed elementary OS Hera in a brand new virtual machine, installed dpkg-dev so that the dpkg-checkbuilddeps was available, ran './app install-deps', and I was able to get Outliner compiled without further issue.
Here is the important part of the output after running './app install-deps'. Notice that libgtk-3-dev is getting installed as part of this process (this was the library that your environment seems to be missing):
trevorw@trevorw-VirtualBox:~/Downloads/Outliner-master$ ./app install-deps
sudo apt install meson valac debhelper libcairo2-dev libgranite-dev libgtk-3-dev libxml2-dev libwebkit2gtk-4.0-dev libmarkdown2-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
gir1.2-vte-2.91 libido3-0.1-0
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
autoconf automake autopoint autotools-dev dh-autoreconf dh-strip-nondeterminism gir1.2-gee-0.8 gir1.2-granite-1.0
gir1.2-harfbuzz-0.0 gir1.2-javascriptcoregtk-4.0 gir1.2-soup-2.4 gir1.2-webkit2-4.0 icu-devtools libarchive-cpio-perl
libatk-bridge2.0-dev libatk1.0-dev libatspi2.0-dev libcairo-script-interpreter2 libdbus-1-dev libdrm-amdgpu1
libdrm-common libdrm-dev libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libdrm2 libegl1-mesa-dev libepoxy-dev
libexpat1-dev libfile-stripnondeterminism-perl libfontconfig1-dev libfreetype6-dev libgdk-pixbuf2.0-dev
libgee-0.8-dev libgles1 libglib2.0-dev libglib2.0-dev-bin libglvnd-core-dev libglvnd-dev libgraphite2-dev
libharfbuzz-dev libharfbuzz-gobject0 libice-dev libicu-dev libicu-le-hb-dev libicu-le-hb0 libicu60 libiculx60
libjavascriptcoregtk-4.0-18 libjavascriptcoregtk-4.0-dev libltdl-dev libmail-sendmail-perl libmarkdown2 libopengl0
libpango1.0-dev libpcre16-3 libpcre3-dev libpcre32-3 libpcrecpp0v5 libpixman-1-dev libpng-dev libpng-tools
libpthread-stubs0-dev libsigsegv2 libsm-dev libsoup2.4-dev libsys-hostname-long-perl libtool libvala-0.40-0
libwayland-bin libwayland-client0 libwayland-cursor0 libwayland-dev libwayland-egl1 libwayland-server0
libwebkit2gtk-4.0-37 libx11-dev libx11-doc libx11-xcb-dev libxau-dev libxcb-dri2-0-dev libxcb-dri3-dev
libxcb-glx0-dev libxcb-present-dev libxcb-randr0-dev libxcb-render0-dev libxcb-shape0-dev libxcb-shm0-dev
libxcb-sync-dev libxcb-xfixes0-dev libxcb1-dev libxcomposite-dev libxcursor-dev libxdamage-dev libxdmcp-dev
libxext-dev libxfixes-dev libxft-dev libxi-dev libxinerama-dev libxkbcommon-dev libxml2 libxrandr-dev libxrender-dev
libxshmfence-dev libxtst-dev libxxf86vm-dev m4 mesa-common-dev ninja-build pkg-config po-debconf python3-distutils
python3-lib2to3 valac-0.40-vapi wayland-protocols x11proto-composite-dev x11proto-core-dev x11proto-damage-dev
x11proto-dev x11proto-fixes-dev x11proto-input-dev x11proto-randr-dev x11proto-record-dev x11proto-xext-dev
x11proto-xf86vidmode-dev x11proto-xinerama-dev xorg-sgml-doctools xtrans-dev zlib1g-dev
Suggested packages:
autoconf-archive gnu-standards autoconf-doc dh-make dwz libcairo2-doc libglib2.0-doc libgraphite2-utils libgtk-3-doc
libice-doc icu-doc libtool-doc libpango1.0-doc libsm-doc libsoup2.4-doc gfortran | fortran95-compiler gcj-jdk
libwayland-doc libxcb-doc libxext-doc m4-doc libmail-box-perl
The following NEW packages will be installed:
autoconf automake autopoint autotools-dev debhelper dh-autoreconf dh-strip-nondeterminism gir1.2-gee-0.8
gir1.2-granite-1.0 gir1.2-harfbuzz-0.0 gir1.2-javascriptcoregtk-4.0 gir1.2-soup-2.4 gir1.2-webkit2-4.0 icu-devtools
libarchive-cpio-perl libatk-bridge2.0-dev libatk1.0-dev libatspi2.0-dev libcairo-script-interpreter2 libcairo2-dev
libdbus-1-dev libdrm-dev libegl1-mesa-dev libepoxy-dev libexpat1-dev libfile-stripnondeterminism-perl
libfontconfig1-dev libfreetype6-dev libgdk-pixbuf2.0-dev libgee-0.8-dev libgles1 libglib2.0-dev libglib2.0-dev-bin
libglvnd-core-dev libglvnd-dev libgranite-dev libgraphite2-dev libgtk-3-dev libharfbuzz-dev libharfbuzz-gobject0
libice-dev libicu-dev libicu-le-hb-dev libicu-le-hb0 libiculx60 libjavascriptcoregtk-4.0-dev libltdl-dev
libmail-sendmail-perl libmarkdown2 libmarkdown2-dev libopengl0 libpango1.0-dev libpcre16-3 libpcre3-dev libpcre32-3
libpcrecpp0v5 libpixman-1-dev libpng-dev libpng-tools libpthread-stubs0-dev libsigsegv2 libsm-dev libsoup2.4-dev
libsys-hostname-long-perl libtool libwayland-bin libwayland-dev libwebkit2gtk-4.0-dev libx11-dev libx11-doc
libx11-xcb-dev libxau-dev libxcb-dri2-0-dev libxcb-dri3-dev libxcb-glx0-dev libxcb-present-dev libxcb-randr0-dev
libxcb-render0-dev libxcb-shape0-dev libxcb-shm0-dev libxcb-sync-dev libxcb-xfixes0-dev libxcb1-dev libxcomposite-dev
libxcursor-dev libxdamage-dev libxdmcp-dev libxext-dev libxfixes-dev libxft-dev libxi-dev libxinerama-dev
libxkbcommon-dev libxml2-dev libxrandr-dev libxrender-dev libxshmfence-dev libxtst-dev libxxf86vm-dev m4
mesa-common-dev meson ninja-build pkg-config po-debconf python3-distutils python3-lib2to3 valac valac-0.40-vapi
wayland-protocols x11proto-composite-dev x11proto-core-dev x11proto-damage-dev x11proto-dev x11proto-fixes-dev
x11proto-input-dev x11proto-randr-dev x11proto-record-dev x11proto-xext-dev x11proto-xf86vidmode-dev
x11proto-xinerama-dev xorg-sgml-doctools xtrans-dev zlib1g-dev
The following packages will be upgraded:
libdrm-amdgpu1 libdrm-common libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libdrm2 libicu60
libjavascriptcoregtk-4.0-18 libvala-0.40-0 libwayland-client0 libwayland-cursor0 libwayland-egl1 libwayland-server0
libwebkit2gtk-4.0-37 libxml2
15 upgraded, 124 newly installed, 0 to remove and 73 not upgraded.
from outliner.
Hmm... libgtk-3-dev
is actually installed; I ran sudo apt install libgtk-3-dev
and it said
libgtk-3-dev is already the newest version (3.22.30-1ubuntu4).
I still get the same error
Run-time dependency gtk+-3.0 found: NO (tried pkgconfig and cmake)
If I try to manually install all the dependencies from the readme, the output is:
...
The following additional packages will be installed:
libvala-0.40.0
The following packages will be upgraded:
libvala-0.40.0 valac
...
Does that make sense to you?
from outliner.
Hmmm... looks like this was caused by having pkg-config
installed via Linuxbrew. I ran brew uninstall pkg-config
and now the ./app install
command succeeds 🤷♂
Do you think there's anything the installation script could to do bypass that problem (or at least provide a more relevant error message)?
from outliner.
I'm not sure that I have any ideas on how to detect this type of problem. As such, I am not going to implement anything more than what currently exists. If you or someone else would like to provide a pull request with something that makes sense, I will consider integrating it. Though I'm not sure that this type of problem is one that a typical user would run into.
from outliner.
Yes, I agree. I have no idea how this could be avoided either. Maybe @sjackman could offer some insight regarding the issue with Linuxbrew's pkg-config
?
Anyway, since the problem is resolved, I'll go ahead and close this issue for now; it will nevertheless serve as documentation should anyone come across the same problem.
from outliner.
Related Issues (20)
- Mouse navigation: Selection HOT 1
- Visual cue to indicate autosaving - eg. Greyed out Save button HOT 2
- Click and drag behaviour inconsistent HOT 4
- Stuck Activity Animation HOT 2
- unexpected behavior when row is collapsed HOT 2
- Indenting a row into a collapsed row does not expand it HOT 1
- Ctrl-delete/backspace selects more than previous word HOT 6
- Undo'ing multiple control-delete operations inserts the words in reversed order HOT 1
- Searching doesn't work? HOT 1
- Port to Odin sandboxed SDK HOT 10
- Select multiple row to apply HOT 1
- Package as Flatpak for elementary OS 6 HOT 4
- Add your stripe key to appdata HOT 2
- Opens the same document twice HOT 2
- Update screenshots for Odin/Flatpak HOT 1
- Flatpak requests access to host filesystem HOT 1
- Adjusting zoom breaks visible font size HOT 1
- Cyrillics exporting is broken HOT 2
- Distribution Options HOT 4
- Save-Dialog seems broken. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from outliner.