roadlabs / cefpython

Automatically exported from code.google.com/p/cefpython
0 stars 0 forks source link

cefclient build error on CentOS 6 #72

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I have another problem trying to do a Centos 6 build. Hope this is the right 
place to report that / get help.

What steps will reproduce the problem?

1. Follow instructions from BuildOnLinux wiki page
2. After installing various build deps, cef_create_projects.sh successfully 
generated
build files
3. Build of the release version of cefclient required more build deps and kept 
going but I'm now stuck with:

What is the expected output? What do you see instead?

CXX(target) 
out/Release/obj.target/webcore_bindings/gen/webkit/bindings/V8DerivedSources19.o
  CXX(target) out/Release/obj.target/webcore_bindings/gen/webkit/ColorData.o
g++: out/Release/obj/gen/webkit/ColorData.cpp: No such file or directory
g++: no input files
make: *** [out/Release/obj.target/webcore_bindings/gen/webkit/ColorData.o] 
Error 1
make: *** Waiting for unfinished jobs....

I'm hoping this is not compiler issue, latest available for Centos 6 is 
installed.

What version of the product are you using? On what operating system?

CentOS Linux release 6.0 (Final)

g++ --version
g++ (GCC) 4.4.7 20120313 (Red Hat 4.4.7-3)

Chromium release url:
http://src.chromium.org/svn/releases/27.0.1453.110
CEF revision:
1290

Not sure whether the above is enough information, let me know please if I can 
provide anything else

Original issue reported on code.google.com by vkosovac@gmail.com on 9 Jul 2013 at 9:22

GoogleCodeExporter commented 9 years ago
CEF Python Forum is an appropriate place for such types of problems.

I've checked the g++ version on my machine:

    czarek@Czarek-Ubuntu64:~$ g++ --version
    g++ (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3

So is there no way for you to upgrade to a more recent version of g++?

Check if there were any warning messages in the console before the error
occured.

Try the g++ build again by deleting the "chromium/src/out" directory,
or try to update the g++ compiler, no other ideas for now.

Original comment by czarek.t...@gmail.com on 10 Jul 2013 at 6:49

GoogleCodeExporter commented 9 years ago
Czarek,

thanks for your assistance, I was able to build portable binaries on Fedora 17.

Cheers, Vlad

Original comment by vkosovac@gmail.com on 16 Jul 2013 at 3:34

GoogleCodeExporter commented 9 years ago
I've added information about the G++ version to the BuildOnLinux page:

  6. Make sure you are running an up to date version of G++, as of this writing 
  compiling works fine with G++ 4.6.3.

Also added Fedora 17 to the "Platforms tested" section, thanks for the info.

Original comment by czarek.t...@gmail.com on 16 Jul 2013 at 8:07

GoogleCodeExporter commented 9 years ago
Re Fedora 17 build, perhaps worth noting:

1] Fedora 17 version of subversion uninstalled and replaced with

svn, version 1.6.17-dev (under development)

[ svn co 
http://svn.apache.org/repos/asf/subversion/branches/1.6.x-r878590 
subversion ]

2] Building CEF Python module errors out even if the path to 
glibconfig.h is added to the "include_dirs" list
in "cef3/linux/setup/setup.py" script. My workaround was:

mkdir /usr/lib/i386-linux-gnu
cp -a /usr/lib/glib-2.0 /usr/lib/i386-linux-gnu
cp -a /usr/lib/gtk-2.0 /usr/lib/i386-linux-gnu  # this one is needed

3] Here is the list of build dependencies needed on the system (32bit):

autoconf
libtool
libtool-devel
libtool-ltdl-devel
python
python-devel
texinfo
which
db4-devel
swig
gettext
apr-devel
apr-util-devel
neon-devel
cyrus-sasl-devel
sqlite-devel
gnome-keyring-devel
dbus-devel
kdelibs-devel
httpd-devel
perl-devel
perl-ExtUtils-MakeMaker
perl-Test-More
perl-ExtUtils-Embed
java-devel-openjdk
junit
ruby-devel
ruby
gtk2-devel
nss-devel
GConf2-devel
pciutils-devel
libgnome-keyring-devel
libudev-devel
cups-devel
expatpp-devel
bison-devel
alsa-lib-devel
pulseaudio-libs-devel
wxPython-devel

Hope this helps someone out there.

Cheers, Vlad

Original comment by vkosovac@gmail.com on 16 Jul 2013 at 9:18

GoogleCodeExporter commented 9 years ago
Added a link to your comment on the BuildOnLinux wiki page.

Original comment by czarek.t...@gmail.com on 16 Jul 2013 at 9:31