Skip to content
This repository has been archived by the owner on Apr 5, 2022. It is now read-only.

Download fails #101

Open
flber opened this issue Sep 30, 2020 · 4 comments
Open

Download fails #101

flber opened this issue Sep 30, 2020 · 4 comments

Comments

@flber
Copy link

flber commented Sep 30, 2020

After using the command go1.15.2 get github.com/diamondburned/gtkcord3, go outputs this error and fails to install gtkcord3

# 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
# github.com/diamondburned/gtkcord3/gtkcord/ningen
../go/src/github.com/diamondburned/gtkcord3/gtkcord/ningen/ningen.go:69:5: cannot use (*ningen.State)(nil) (type *ningen.State) as type Presencer in assignment:
	*ningen.State does not implement Presencer (wrong type for Presence method)
		have Presence(discord.GuildID, discord.UserID) (*discord.Presence, error)
		want Presence(discord.Snowflake, discord.Snowflake) (*discord.Presence, error)
../go/src/github.com/diamondburned/gtkcord3/gtkcord/ningen/ningen.go:82:9: e.ID.Valid undefined (type discord.EmojiID has no field or method Valid)

Any help in getting this to work would be appreciated

@diamondburned
Copy link
Owner

Top part of the error has to do with missing dependencies.

Bottom has to do with #97.

@flber
Copy link
Author

flber commented Oct 1, 2020

What dependency am I missing? I couldn't find a package named cairo with apt, snap, or go

@emmggi
Copy link

emmggi commented Oct 18, 2020

I have cairo and it doesn't build for me either.

go1.15.3
cairo-1.17.2+25+gaee96d175-1

I tried cloning then building it and go getting it but no dice.

@micwoj92
Copy link
Contributor

micwoj92 commented Nov 3, 2020

should be fixed now.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants