You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am currently trying to build SmartSim on OS X. It's failing on a requirement for gtk++.
I do have gtk and cairo installed via homebrew on the Mac. Gtk seems to be installed correctly, but I am getting this error message
configure: error: Package requirements (gtk+-2.0) were not met:
Package xcb-shm was not found in the pkg-config search path.
Perhaps you should add the directory containing `xcb-shm.pc'
to the PKG_CONFIG_PATH environment variable
Package 'xcb-shm', required by 'cairo', not found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables GTK_CFLAGS
and GTK_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
The text was updated successfully, but these errors were encountered:
Unfortunately I don't have OS X so I can only guess how to solve this problem.
From what I can tell, it looks like Homebrew is installing xcb-shm in an unusual place or not setting up the environment to use it correctly. It sounds like you may need to change your PKG_CONFIG_PATH slightly, suggested by Homebrew/legacy-homebrew#14123
It also suggests that this problem is common when compiling software which depends on Cairo.
I am currently trying to build SmartSim on OS X. It's failing on a requirement for gtk++.
I do have gtk and cairo installed via homebrew on the Mac. Gtk seems to be installed correctly, but I am getting this error message
configure: error: Package requirements (gtk+-2.0) were not met:
Package xcb-shm was not found in the pkg-config search path.
Perhaps you should add the directory containing `xcb-shm.pc'
to the PKG_CONFIG_PATH environment variable
Package 'xcb-shm', required by 'cairo', not found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables GTK_CFLAGS
and GTK_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
The text was updated successfully, but these errors were encountered: