Running "latest" cef on Debian 8?

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Running "latest" cef on Debian 8?

Postby alebo611 » Thu Jan 12, 2017 8:12 am

Hi
I am wondering if anyone has managed to run the cefsimple client on Debian 8 "Jessie"?

I have tried to run the cefsimple executable both from own-built sources, and from the pre-built binaries from spotify.
The own build results in a forever hanging process, and the pre-build from spotify result in "Illegal Instruction".

I see that officially, cef officially supports only the previous Debian 7, but 8 has been around for some time now.
alebo611
Techie
 
Posts: 10
Joined: Wed Dec 21, 2016 8:38 am

Re: Running "latest" cef on Debian 8?

Postby magreenblatt » Thu Jan 12, 2017 10:03 am

Can you run a Debug build with GDB and post the backtrace?
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm

Re: Running "latest" cef on Debian 8?

Postby alebo611 » Fri Jan 13, 2017 4:42 am

I have a question before I do that:

When I wrote "built from source", I actually followed the instruction on:
https://bitbucket.org/chromiumembedded/cef-project
which grabs a binary from spotify. So it seems kind of a "cheat"-build to me, or?
There is also another build tutorial:
https://bitbucket.org/chromiumembedded/ ... rom-source
which seems to build everything from source, which I have not tried yet. What is the relation between these two builds
and which do you recommend that I do?
alebo611
Techie
 
Posts: 10
Joined: Wed Dec 21, 2016 8:38 am

Re: Running "latest" cef on Debian 8?

Postby magreenblatt » Fri Jan 13, 2017 9:40 am

The "everything" build generates the binary distributions that are available for download from Spotify.

The binary distribution Debug build from Spotify includes symbol information. It should be sufficient to satisfy the gdb request.
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm

Re: Running "latest" cef on Debian 8?

Postby alebo611 » Fri Jan 13, 2017 10:07 am

As far as I can see there are not debug builds for linux on the spotify page.
Do you know if Spotify builds on Ubuntu or Debian? If not Debian, do you know any Debian pre-made builds from other webpages?
Do you know if there are any long term plans moving up the Debian version?
alebo611
Techie
 
Posts: 10
Joined: Wed Dec 21, 2016 8:38 am

Re: Running "latest" cef on Debian 8?

Postby magreenblatt » Fri Jan 13, 2017 10:22 am

You can download the "Standard Distribution" from http://opensource.spotify.com/cefbuilds/index.html and build with:

Code: Select all
cd /path/to/cef_binary_*
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Debug ..
make cefclient
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm

Re: Running "latest" cef on Debian 8?

Postby alebo611 » Sat Jan 14, 2017 7:46 am

Here is a backtrace attached from running the 2526 branch version
Attachments
stacktrace.txt
(2.06 KiB) Downloaded 399 times
alebo611
Techie
 
Posts: 10
Joined: Wed Dec 21, 2016 8:38 am

Re: Running "latest" cef on Debian 8?

Postby magreenblatt » Sat Jan 14, 2017 12:12 pm

2526 is very old. Use a supported version: https://bitbucket.org/chromiumembedded/ ... -supported
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 41 guests