Installing Epiphany web browser from source

I want to get into development, but I always have trouble installing other programs from source. The problem is hilighted at the bottom. Help would be appreciated.

jeff@linux-3cw1:~/epiphany-2.30.2> ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... no
checking how to create a ustar tar archive... gnutar
checking whether to disable maintainer-specific portions of Makefiles... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for style of include used by make... none
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... none
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/i586-suse-linux/bin/ld
checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/i586-suse-linux/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/i586-suse-linux/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for library containing strerror... none required
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) none
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) none
checking for ANSI C header files... (cached) yes
checking for glib-genmarshal... no
checking for glib-mkenums... no
checking whether NLS is requested... yes
checking for intltool >= 0.40.0... 0.41.1 found
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.12.1
checking for XML::Parser... ok
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether gcc understands -Wno-sign-compare... yes
checking what warning flags to pass to the C compiler... -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare
checking what language compliance flags to pass to the C compiler... 
checking whether to build tests... yes
checking for DEPENDENCIES... configure: error: Package requirements (
		  glib-2.0 >= 2.19.7
		  gmodule-2.0
		  gthread-2.0
		  gio-unix-2.0 >= 2.19.7
		  gtk+-2.0 >= 2.19.5
		  gtk+-unix-print-2.0 >= 2.19.5
		  ice
		  x11
		  sm
		  libxml-2.0 >= 2.6.12
		  libxslt >= 1.1.7
		  gconf-2.0
		  libstartup-notification-1.0 >= 0.5
		  
		  webkit-1.0 >= 1.1.22
		  libsoup-gnome-2.4 >= 2.29.91
		  gnome-keyring-1 >= 2.26.0
		  ) were not met:

No package 'glib-2.0' found
No package 'gmodule-2.0' found
No package 'gthread-2.0' found
No package 'gio-unix-2.0' found
No package 'gtk+-2.0' found
No package 'gtk+-unix-print-2.0' found
No package 'ice' found
No package 'x11' found
No package 'sm' found
No package 'libxml-2.0' found
No package 'libxslt' found
No package 'gconf-2.0' found
No package 'libstartup-notification-1.0' found
No package 'webkit-1.0' found
No package 'libsoup-gnome-2.4' found
No package 'gnome-keyring-1' 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 DEPENDENCIES_CFLAGS
and DEPENDENCIES_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

jeff@linux-3cw1:~/epiphany-2.30.2> 

So the normal sequence would be …

./configure 
make 
sudo make install

I did not see any errors that would stop using Make. But, I must ask why go to this trouble since the can just open YaST / Software Management and install Epiphany without compiling any code?

Thank You,

I ran make, but this happened:

jeff@linux-3cw1:~/epiphany-2.30.2> make
make: *** No targets specified and no makefile found.  Stop.
jeff@linux-3cw1:~/epiphany-2.30.2> 

Installing Epiphany from the repos misses the point, which is to learn. As a matter of fact, I already have Epiphany installed. Again, this is purely a learning exercise.

Well, if nobody can explain this within a few days, then I might try compiling something else. Although, it would be nice to compile Epiphany, since it is an important app made by the Gnome devs. If I can’t compile something made by Gnome devs, then surely I’ll be worse at compiling Sourceforge or FSF projects.

Installing Epiphany from the repos misses the point, which is to learn. As a matter of fact, I already have Epiphany installed. Again, this is purely a learning exercise.

Well, if nobody can explain this within a few days, then I might try compiling something else. Although, it would be nice to compile Epiphany, since it is an important app made by the Gnome devs. If I can’t compile something made by Gnome devs, then surely I’ll be worse at compiling Sourceforge or FSF projects.
Can we assume you looked through any included documentation to identify any additional steps that might be required? I can only say that I seldom compile applications into openSUSE and get all I need from the repository system. Unless you want to start writing in C or some other programming, the need to compile most needed applications just does not exist. The exceptions seem to be WAN drivers and if you want to compile your own Kernel. I can help you on the latter if that would make you happy, but really, this is an exercise looking for a reason to exist in my opinion. I have had some success in compiling the programs that come with the Linux Format Magazine and if you really are persistent in wanting to do this, I would go buy their magazine with CD. They have instructions in the Mag and online as well.

Thank You,

Hi!

  • install the pattern devel_rpm_build
zypper in -t pattern devel_rpm_build
  • copy the following directory to your user home directory
cp -r /usr/src/packages/ ~/rpmbuild
  • As user, install the src rpm package for epiphany:
rpm -ivh http://download.opensuse.org/source/distribution/11.3/repo/oss/suse/src/epiphany-2.30.2-3.3.src.rpm
  • Look in the file ~/rpmbuild/SPECS/epiphany.spec for any prerequisite or option you might be missing.

Okay, now do I need to type in each dependency into the package manager to find out? That’s a lot of stuff! And I thought it was the configure script that was the problem?

BuildRequires:  libwebkit-devel
BuildRequires:  libxslt-devel
%if 0%{suse_version} > 1110
BuildRequires:  lsb-release
%else
BuildRequires:  lsb
%endif
BuildRequires:  mozilla-nss-devel
BuildRequires:  startup-notification-devel
BuildRequires:  translation-update-upstream
BuildRequires:  update-desktop-files
Requires:       %{name}-branding
Requires:       %{name}-lang = %{version}
Requires:       gnome-icon-theme
Requires:       iso-codes
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%gconf_schemas_prereq

j mitchell wrote:

>
> Okay, now do I need to type in each dependency into the package manager
> to find out? That’s a lot of stuff! And I thought it was the configure
> script that was the problem?
>
To install the build dependencies for a package use zyypper


zypper si -D <package you want to build>

More info here
http://en.opensuse.org/SDB:Zypper_usage_11.3#Source_packages_and_build_dependencies


openSUSE 11.3 64 bit | Intel Core2 Quad Q8300@2.50GHz | KDE 4.5 | GeForce
9600 GT | 4GB Ram
openSUSE 11.3 64 bit | Intel Core2 Duo T9300@2.50GHz | KDE 4.5 | Quadro FX
3600M | 4GB Ram