Skip to content
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

Confusing build errors on linux (suggested change to readme) #44

Closed
ForestJohnson opened this issue Mar 17, 2020 · 1 comment
Closed
Labels
linux specific to the linux implementation

Comments

@ForestJohnson
Copy link

ForestJohnson commented Mar 17, 2020

$ go build
# pkg-config --cflags  -- cairo cairo-gobject gobject-2.0
Package cairo was not found in the pkg-config search path.
Perhaps you should add the directory containing `cairo.pc'
to the PKG_CONFIG_PATH environment variable
No package 'cairo' found
Package cairo-gobject was not found in the pkg-config search path.
Perhaps you should add the directory containing `cairo-gobject.pc'
to the PKG_CONFIG_PATH environment variable
No package 'cairo-gobject' found
pkg-config: exit status 1
# pkg-config --cflags  -- gdk-3.0 glib-2.0 gobject-2.0
Package gdk-3.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gdk-3.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gdk-3.0' found
pkg-config: exit status 1

I suggest a change something like this to the readme although im not 100% sure what should go there, at least this worked for me on ubuntu:

https://github.com/ForestJohnson/dialog/pull/1/files

@ForestJohnson ForestJohnson changed the title Confusing build errors (suggested change to readme) Confusing build errors on linux (suggested change to readme) Mar 17, 2020
@sqweek sqweek closed this as completed in 8a3d98e Sep 11, 2020
@sqweek
Copy link
Owner

sqweek commented Sep 11, 2020

These were indirect dependencies via gotk3. I've just stopped using that package in favour of direct cgo and updated the readme to note the dependency on gtk3 headers/libraries.

@sqweek sqweek added the linux specific to the linux implementation label Sep 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
linux specific to the linux implementation
Projects
None yet
Development

No branches or pull requests

2 participants