When I run, it say:
# pkg-config --cflags -- eina evas ecore-evas ecore-evas ecore-input ecore eina evas ecore-evas ecore-input ecore evas ecore ecore-evas ecore-input evas
Package openssl was not found in the pkg-config search path.
Perhaps you should add the directory containing `openssl.pc'
to the PKG_CONFIG_PATH environment variable
Package 'openssl', required by 'emile', not found
pkg-config: exit status 1
I has been installed EFL.
Thanks.
I also ran into this
Hi, is this on macOS by any chance? I think I know what is going on, let's see if I can update the bootstrap to correctly setup openssl as well
for me, it is on Ubuntu 18.04
I have updated the bootstrap script which may help solve the issue - can you please re-run the bash command and let me know if this changes things?
(it appears to be a bug in the debian packaging info whereby emile does not report that it depends upon openssl, but the development files require it to be present...)
Nothing change :(
My go env:
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/admin/Library/Caches/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/admin/Workspace"
GOPROXY=""
GORACE=""
GOROOT="/usr/local/go"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/3l/hzjprd7113v18j7409h6m3g80000gn/T/go-build240995875=/tmp/go-build -gno-record-gcc-switches -fno-common"
Can you please paste the output of the command line when the bootstrap is running?
Thanks
Can you please paste the output of the command line when the bootstrap is running?
Thanks
admin@admins-MacBook-Pro:~$ bash -c "$(curl -fsSL https://raw.githubusercontent.com/fyne-io/bootstrap/master/bootstrap.sh)"
[INFO ] All dependencies installed, downloading bootstrapper
[INFO ] Updating Fyne APIs
[INFO ] Running Fyne examples
Hi,
This is confusing - the latest change to bootstrap should have meant that it cannot get directly to "All dependencies installed". I guess some caching could exist.
If you manually install libssl-dev and then re-run bootstrap does it work correctly?
Same issue on macOS 10.13.6. openssl is installed with Homebrew and is up to date.
Hi,
If you run “brew link openssl” does it work?
Do you know where the openssl.pc file is installed to?
Still not working. Looks like it's actually installed using something other than Homebrew. Not sure how or when, but homebrew gives Warning: Refusing to link macOS-provided software: openssl when asking it to create the links.
The file appears to be installed to /usr/local/opt/openssl/lib/pkgconfig/openssl.pc
That makes sense, as macOS has it's own version of some dependencies but lacks some of the developer facilities to discover them..
If you execute the following before launching the go does it work better?
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/opt/openssl/lib/pkgconfig
It seems like that should fix things, and if so I think the bootstrap / docs could be updated to fix.
That fixes it! If you want I can submit a PR For that. Should I add that export to my .bash_profile, or is it only needed for the setup script?
Also, not sure if this is related, but I'm getting a different error now when running the Hello Fyne example. It doesn't prevent the application form launching, but it seems like it'd be good to paste. Let me know if I should be opening a separate issue for this.
dbus[34734]: Dynamic session lookup supported but failed: launchd did not provide a socket path, verify that org.freedesktop.dbus-session.plist is loaded!
ERR<34734>:eldbus lib/eldbus/eldbus_core.c:1063 _connection_get() Error connecting to bus of type 2. error name: org.freedesktop.DBus.Error.NoMemory error message: Not enough memory
## Copy & Paste the below (until EOF) into a terminal, then hit Enter
eina_btlog << EOF
/usr/local/opt/efl/lib/libeina.1.dylib 0x44108f6 0x43ff000
/usr/local/opt/efl/lib/libeina.1.dylib 0x4411c62 0x43ff000
/usr/local/opt/efl/lib/libeina.1.dylib 0x4411b55 0x43ff000
/usr/local/Cellar/efl/1.21.0/lib/libeldbus.1.dylib 0x5517168 0x5510000
/usr/local/Cellar/efl/1.21.0/lib/libeldbus.1.dylib 0x55173f0 0x5510000
/usr/local/opt/efl/lib/ecore/system/upower/v-1.21/module.so 0x4eeebfc 0x4eeb000
/usr/local/opt/efl/lib/libeina.1.dylib 0x44197e7 0x43ff000
/usr/local/opt/efl/lib/libeina.1.dylib 0x4419fe7 0x43ff000
/usr/local/opt/efl/lib/libecore.1.dylib 0x446fbc2 0x446c000
/usr/local/opt/efl/lib/libevas.1.dylib 0x45845e6 0x456c000
/private/var/folders/9_/jrlngbms3pvcm4mjs9k5mwq00000gp/T/___Fyne 0x40c57fa 0x4000000
/private/var/folders/9_/jrlngbms3pvcm4mjs9k5mwq00000gp/T/___Fyne 0x4055c80 0x4000000
EOF
ERR<34734>:eina_safety lib/eldbus/eldbus_core.c:1126 eldbus_connection_get() safety check failed: conn == NULL
## Copy & Paste the below (until EOF) into a terminal, then hit Enter
eina_btlog << EOF
/usr/local/opt/efl/lib/libeina.1.dylib 0x44108f6 0x43ff000
/usr/local/opt/efl/lib/libeina.1.dylib 0x4411c62 0x43ff000
/usr/local/opt/efl/lib/libeina.1.dylib 0x4411b55 0x43ff000
/usr/local/opt/efl/lib/libeina.1.dylib 0x4422bd2 0x43ff000
/usr/local/Cellar/efl/1.21.0/lib/libeldbus.1.dylib 0x551741d 0x5510000
/usr/local/opt/efl/lib/ecore/system/upower/v-1.21/module.so 0x4eeebfc 0x4eeb000
/usr/local/opt/efl/lib/libeina.1.dylib 0x44197e7 0x43ff000
/usr/local/opt/efl/lib/libeina.1.dylib 0x4419fe7 0x43ff000
/usr/local/opt/efl/lib/libecore.1.dylib 0x446fbc2 0x446c000
/usr/local/opt/efl/lib/libevas.1.dylib 0x45845e6 0x456c000
/private/var/folders/9_/jrlngbms3pvcm4mjs9k5mwq00000gp/T/___Fyne 0x40c57fa 0x4000000
/private/var/folders/9_/jrlngbms3pvcm4mjs9k5mwq00000gp/T/___Fyne 0x4055c80 0x4000000
EOF
ERR<34734>:eina_safety lib/eldbus/eldbus_object.c:192 eldbus_object_get() safety check failed: conn == NULL
## Copy & Paste the below (until EOF) into a terminal, then hit Enter
eina_btlog << EOF
/usr/local/opt/efl/lib/libeina.1.dylib 0x44108f6 0x43ff000
/usr/local/opt/efl/lib/libeina.1.dylib 0x4411c62 0x43ff000
/usr/local/opt/efl/lib/libeina.1.dylib 0x4411b55 0x43ff000
/usr/local/opt/efl/lib/libeina.1.dylib 0x4422bd2 0x43ff000
/usr/local/Cellar/efl/1.21.0/lib/libeldbus.1.dylib 0x551b9e8 0x5510000
/usr/local/opt/efl/lib/ecore/system/upower/v-1.21/module.so 0x4eeec19 0x4eeb000
/usr/local/opt/efl/lib/libeina.1.dylib 0x44197e7 0x43ff000
/usr/local/opt/efl/lib/libeina.1.dylib 0x4419fe7 0x43ff000
/usr/local/opt/efl/lib/libecore.1.dylib 0x446fbc2 0x446c000
/usr/local/opt/efl/lib/libevas.1.dylib 0x45845e6 0x456c000
/private/var/folders/9_/jrlngbms3pvcm4mjs9k5mwq00000gp/T/___Fyne 0x40c57fa 0x4000000
/private/var/folders/9_/jrlngbms3pvcm4mjs9k5mwq00000gp/T/___Fyne 0x4055c80 0x4000000
EOF
ERR<34734>:ecore_system_upower modules/ecore/system/upower/ecore_system_upower.c:446 _ecore_system_upower_init() could not get object name=org.freedesktop.UPower, path=/org/freedesktop/UPower
## Copy & Paste the below (until EOF) into a terminal, then hit Enter
eina_btlog << EOF
/usr/local/opt/efl/lib/libeina.1.dylib 0x44108f6 0x43ff000
/usr/local/opt/efl/lib/libeina.1.dylib 0x4411c62 0x43ff000
/usr/local/opt/efl/lib/libeina.1.dylib 0x4411b55 0x43ff000
/usr/local/opt/efl/lib/ecore/system/upower/v-1.21/module.so 0x4eeed39 0x4eeb000
/usr/local/opt/efl/lib/libeina.1.dylib 0x44197e7 0x43ff000
/usr/local/opt/efl/lib/libeina.1.dylib 0x4419fe7 0x43ff000
/usr/local/opt/efl/lib/libecore.1.dylib 0x446fbc2 0x446c000
/usr/local/opt/efl/lib/libevas.1.dylib 0x45845e6 0x456c000
/private/var/folders/9_/jrlngbms3pvcm4mjs9k5mwq00000gp/T/___Fyne 0x40c57fa 0x4000000
/private/var/folders/9_/jrlngbms3pvcm4mjs9k5mwq00000gp/T/___Fyne 0x4055c80 0x4000000
EOF
ERR<34734>:eina_safety lib/eldbus/eldbus_core.c:1437 eldbus_name_owner_changed_callback_del() safety check failed: conn == NULL
## Copy & Paste the below (until EOF) into a terminal, then hit Enter
eina_btlog << EOF
/usr/local/opt/efl/lib/libeina.1.dylib 0x44108f6 0x43ff000
/usr/local/opt/efl/lib/libeina.1.dylib 0x4411c62 0x43ff000
/usr/local/opt/efl/lib/libeina.1.dylib 0x4411b55 0x43ff000
/usr/local/opt/efl/lib/libeina.1.dylib 0x4422bd2 0x43ff000
/usr/local/opt/efl/lib/ecore/system/upower/v-1.21/module.so 0x4eeed7d 0x4eeb000
/usr/local/opt/efl/lib/ecore/system/upower/v-1.21/module.so 0x4eeed3e 0x4eeb000
/usr/local/opt/efl/lib/libeina.1.dylib 0x44197e7 0x43ff000
/usr/local/opt/efl/lib/libeina.1.dylib 0x4419fe7 0x43ff000
/usr/local/opt/efl/lib/libecore.1.dylib 0x446fbc2 0x446c000
/usr/local/opt/efl/lib/libevas.1.dylib 0x45845e6 0x456c000
/private/var/folders/9_/jrlngbms3pvcm4mjs9k5mwq00000gp/T/___Fyne 0x40c57fa 0x4000000
/private/var/folders/9_/jrlngbms3pvcm4mjs9k5mwq00000gp/T/___Fyne 0x4055c80 0x4000000
EOF
ERR<34734>:evas-gl_common modules/evas/engines/gl_common/evas_gl_context.c:202 evas_gl_symbols() GL extension string was empty
## Copy & Paste the below (until EOF) into a terminal, then hit Enter
eina_btlog << EOF
/usr/local/opt/efl/lib/libeina.1.dylib 0x44108f6 0x43ff000
/usr/local/opt/efl/lib/libeina.1.dylib 0x4411c62 0x43ff000
/usr/local/opt/efl/lib/libeina.1.dylib 0x4411b55 0x43ff000
/usr/local/opt/efl/lib/evas/modules/engines/gl_generic/v-1.21/module.so 0x1240fd1d 0x12400000
/usr/local/opt/efl/lib/evas/modules/engines/gl_cocoa/v-1.21/module.so 0xbdd336b 0xbdcb000
/usr/local/opt/efl/lib/evas/modules/engines/gl_cocoa/v-1.21/module.so 0xbdd2b86 0xbdcb000
/usr/local/opt/efl/lib/libevas.1.dylib 0x45efb02 0x456c000
/usr/local/opt/efl/lib/ecore_evas/engines/cocoa/v-1.21/module.so 0x4ef34b9 0x4eeb000
/usr/local/opt/efl/lib/libecore_evas.1.dylib 0x453d4ce 0x452e000
/usr/local/opt/efl/lib/libecore_evas.1.dylib 0x453e6d3 0x452e000
/private/var/folders/9_/jrlngbms3pvcm4mjs9k5mwq00000gp/T/___Fyne 0x40c56ae 0x4000000
/private/var/folders/9_/jrlngbms3pvcm4mjs9k5mwq00000gp/T/___Fyne 0x4055c80 0x4000000
EOF
Hi,
A PR would be great - but as you guessed this is needed every time a Fyne app is built, not just for the setup script.
.bash_profile is a good place to put it I would think - it's a shame that homebrew does not include a command to set this.
The other errors are related to DBus not working by default but that is not a problem.
I have mentioned to the EFL team that it would be better to not continually throw developer errors but we've not got that resolved yet.
That makes sense, as macOS has it's own version of some dependencies but lacks some of the developer facilities to discover them..
If you execute the following before launching the go does it work better?
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/opt/openssl/lib/pkgconfigIt seems like that should fix things, and if so I think the bootstrap / docs could be updated to fix.
It's work now. Thanks (y)
I've created a fork with the changes, however I can't seem to submit a PR and I keep getting logged out and getting 404 errors on my work. I'm guessing it's something to do with GitHub's incident earlier today, so I'm going to wait until that calms down.
@komuw This has been fixed for macOS users - I don't think the same fix works for Ubuntu though. Did you have the exact same error (Package 'openssl', required by 'emile', not found) or was it just similar?
Most helpful comment
for me, it is on Ubuntu 18.04