gnome2 meta install - broke at epiphany

I installed 9.1 Release yesterday, portsnap fetch, extract, update, got X up without a hitch, moved into /usr/ports/x11/gnome2/ and did # portmaster .

Admittedly, I'm a newb, and am stuck at Epiphany. I don't know how to get portmaster to continue. If I do the same command as above, or [cmd=]portmaster -dy --no-confirm x11/gnome2[/cmd], as I was told in IRC channel, then Epiphany does the same every time.

If I understand the output correctly, the first problem is that the install can't find webkitgtk-1.0. I don't blame it because I can't either... I did find, locate, ls /usr/ports/*/*webkit*, and no results. FreeBSD.org/ports shows a new version of Webkits.

I tried:

Code:
cd /usr/ports/www/epiphany/
make rmconfig
make config

Then I de-selected all dependencies when running portmaster again. That didn't help.

Please tell me how to fix the install process of gnome2, with OR without Epiphany.

TIA, Brian

Code:
FreeBSD hog 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243826: Tue Dec  4 06:55:39 UTC 2012    root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

Code:
CC     libephymain_la-ephy-window.lo
  CC     libephymain_la-pdm-dialog.lo
  CC     libephymain_la-popup-commands.lo
  CC     libephymain_la-prefs-dialog.lo
  CC     libephymain_la-window-commands.lo
  CC     libephymain_la-ephy-type-builtins.lo
  CCLD   libephymain.la
  CC     epiphany-ephy-main.o
ephy-main.c: In function 'main':
ephy-main.c:450: warning: 'g_thread_init' is deprecated (declared at /usr/local/
include/glib-2.0/glib/deprecated/gthread.h:260)
  CCLD   epiphany
  GEN    Epiphany-2.30.gir
Package webkitgtk-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `webkitgtk-1.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'webkitgtk-1.0' found
In file included from <stdin>:4:
/usr/ports/www/epiphany/work/epiphany-2.30.6/embed/ephy-embed.h:25:25: error: gl
ib-object.h: No such file or directory
/usr/ports/www/epiphany/work/epiphany-2.30.6/embed/ephy-embed.h:26:21: error: gt
k/gtk.h: No such file or directory
In file included from /usr/ports/www/epiphany/work/epiphany-2.30.6/embed/ephy-em
bed.h:28,
                 from <stdin>:4:
/usr/ports/www/epiphany/work/epiphany-2.30.6/embed/ephy-web-view.h:29:18: error:
 glib.h: No such file or directory
/usr/ports/www/epiphany/work/epiphany-2.30.6/embed/ephy-web-view.h:31:27: error:
 webkit/webkit.h: No such file or directory
In file included from <stdin>:10:
/usr/ports/www/epiphany/work/epiphany-2.30.6/embed/ephy-favicon-cache.h:30:35: e
rror: gdk-pixbuf/gdk-pixbuf.h: No such file or directory
In file included from /usr/ports/www/epiphany/work/epiphany-2.30.6/embed/ephy-hi
story.h:29,
                 from <stdin>:11:
../lib/ephy-node.h:29:25: error: libxml/tree.h: No such file or directory
../lib/ephy-node.h:30:30: error: libxml/xmlwriter.h: No such file or directory
In file included from /usr/ports/www/epiphany/work/epiphany-2.30.6/lib/egg/egg-e
ditable-toolbar.h:25,
                 from <stdin>:18:
/usr/ports/www/epiphany/work/epiphany-2.30.6/lib/egg/egg-toolbars-model.h:25:21:
 error: gdk/gdk.h: No such file or directory
Error while processing the source.
gmake[4]: *** [Epiphany-2.30.gir] Error 1
gmake[4]: Leaving directory `/usr/ports/www/epiphany/work/epiphany-2.30.6/src'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/usr/ports/www/epiphany/work/epiphany-2.30.6/src'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/ports/www/epiphany/work/epiphany-2.30.6/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/www/epiphany/work/epiphany-2.30.6'
gmake: *** [all] Error 2
*** [do-build] Error code 1

Stop in /usr/ports/www/epiphany.
*** [build] Error code 1

Stop in /usr/ports/www/epiphany.

===>>> make failed for www/epiphany
===>>> Aborting update

===>>> Update for www/epiphany failed
===>>> Aborting update

Terminated

===>>> You can restart from the point of failure with this command line:
       portmaster <flags> x11/gnome2 www/epiphany x11-themes/gnome-themes www/ev
olution-webcal www/gnome-user-share www/apache22 devel/apr1 databases/db42 www/m
od_dnssd x11-themes/gnome-backgrounds x11/gdm x11/gnome-session x11/gnome-applet
s x11/gnome-screensaver security/pam_helper x11/xscreensaver-gnome-hacks graphic
s/gle x11/gnome-terminal
 
Package webkitgtk-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `webkitgtk-1.0.pc'
Rebuild & reinstall www/webkit-gtk2. If that does not solve the problem, re-build all gtk-ports epiphany depends on. See the full list by:
[CMD="/usr/ports> #"]make all-depends-list -C www/epiphany | grep gtk[/CMD]
 
Problems building Gnome2, errors in Epiphany

[ Thread merged in -- Mod. ]

Hi all,

I'm having some problems building Gnome2. I have pastebin(s) [1] of information, with what are hopefully the relevant sections pasted here.

The first error is about a missing package (webkitgtk-1.0) and a missing gtk.h file. I portsnap'd earlier today, so I think I'm up-to-date. I should mention that I had some very helpful assistance on IRC yesterday, but the suggestions to `# make deinstall # make install` in Epiphany didn't work out. [EDIT: I also tried `make deinstall; make install clean` in www/webkit-gtk2, too, but that didn't seem to help solve the error.]

Please let me know if there's any additional information I can provide.
Thanks in advance for your time & trouble.

EDIT: I wasn't sure if this should be in the Window Managers > Gnome subforum or in the Ports & Packages subforum. Mods, please move appropriately. Thanks.

[1] pastebins:
Missing package error: http://pastebin.com/50e9NAfb
Second pastebin: http://pastebin.com/daeeWRS6

Missing webkitgtk-1.0.pc error (for posterity):
Code:
Package webkitgtk-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `webkitgtk-1.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'webkitgtk-1.0' found
In file included from <stdin>:4:
/usr/ports/www/epiphany/work/epiphany-2.30.6/embed/ephy-embed.h:25:25: error: glib-object.h: No such file or directory
/usr/ports/www/epiphany/work/epiphany-2.30.6/embed/ephy-embed.h:26:21: error: gtk/gtk.h: No such file or directory
In file included from /usr/ports/www/epiphany/work/epiphany-2.30.6/embed/ephy-embed.h:28,
                 from <stdin>:4:
/usr/ports/www/epiphany/work/epiphany-2.30.6/embed/ephy-web-view.h:29:18: error: glib.h: No such file or directory
/usr/ports/www/epiphany/work/epiphany-2.30.6/embed/ephy-web-view.h:31:27: error: webkit/webkit.h: No such file or directory
In file included from <stdin>:10:
/usr/ports/www/epiphany/work/epiphany-2.30.6/embed/ephy-favicon-cache.h:30:35: error: gdk-pixbuf/gdk-pixbuf.h: No such file or directory
In file included from /usr/ports/www/epiphany/work/epiphany-2.30.6/embed/ephy-history.h:29,
                 from <stdin>:11:
../lib/ephy-node.h:29:25: error: libxml/tree.h: No such file or directory
../lib/ephy-node.h:30:30: error: libxml/xmlwriter.h: No such file or directory
In file included from /usr/ports/www/epiphany/work/epiphany-2.30.6/lib/egg/egg-editable-toolbar.h:25,
                 from <stdin>:18:
/usr/ports/www/epiphany/work/epiphany-2.30.6/lib/egg/egg-toolbars-model.h:25:21: error: gdk/gdk.h: No such file or directory
Error while processing the source.
gmake[4]: *** [Epiphany-2.30.gir] Error 1
gmake[4]: Leaving directory `/usr/ports/www/epiphany/work/epiphany-2.30.6/src'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/usr/ports/www/epiphany/work/epiphany-2.30.6/src'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/ports/www/epiphany/work/epiphany-2.30.6/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/www/epiphany/work/epiphany-2.30.6'
gmake: *** [all] Error 2
*** [do-build] Error code 1

Stop in /usr/ports/www/epiphany.
 
@cpu82 - Thanks; I didn't search broadly enough. I don't have high hopes, but I'll try the suggestion mentioned there.
 
@Beeblebrox - thanks for this. I'm in the process of trying this now.

For anyone else needing those gtk dependencies:
/usr/ports> # make all-depends-list -C www/epiphany | grep gtk
Code:
/usr/ports/graphics/gtk-update-icon-cache
/usr/ports/x11-toolkits/py-gtk2
/usr/ports/www/webkit-gtk2
/usr/ports/x11-toolkits/gtk20
/usr/ports/textproc/gtk-doc
/usr/ports/x11-themes/gtk-engines2

Hopefully that list is relatively static. :D
 
Beeblebrox said:
Rebuild & reinstall www/webkit-gtk2. If that does not solve the problem, re-build all gtk-ports epiphany depends on. See the full list by:
[CMD="/usr/ports> #"]make all-depends-list -C www/epiphany | grep gtk[/CMD]

Tried the above, there is no result.
 
@cpu82 - I think I see. So I guess the fix/solution is that one of the packages listed in the other thread installs webkitgtk-1.0.pc. I'm letting the build run through the evening - it seems like it takes it ~4 hours to get to its failure point - so I'll check back on it later.

Thanks again for the help.
 
Confirming @sergey104's results - cleaning and re-installing the recommended ports doesn't fix the breakage in Epiphany.

Any other suggestions? Thanks a bunch.
 
Last edited by a moderator:
Skip Epiphany install

You can skip the Epiphany install and continue the Gnome2 installation. Just remove x11/gnome2 and www/epiphany from the portmaster command (you can use the below command). Attached are the installation steps I documented for reference. I could not get pkg to work yet even though I used the repository from http://pkgbeta.freebsd.org/freebsd:9:x86:32/latest/. So, I used portmaster for the whole process.
Code:
portmaster x11-themes/gnome-themes www/evolution-webcal www/gnome-user-share www/apache22 devel/apr1 databases/db42 www/mod_dnssd x11-themes/gnome-backgrounds x11/gdm x11/gnome-session x11/gnome-applets x11/gnome-screensaver security/pam_helper x11/xscreensaver-gnome-hacks graphics/gle graphics/freeglut x11/gnome-terminal

===>>> Done displaying pkg-message files

===>>> The following actions were performed:
        Installation of x11-themes/gnome-themes (gnome-themes-2.32.1_1)
        Installation of www/evolution-webcal (evolution-webcal-2.32.0_2)
        Installation of databases/db42 (db42-4.2.52_5)
        Installation of devel/apr1 (apr-1.4.6.1.4.1_3)
        Installation of www/apache22 (apache22-2.2.24)
        Installation of www/mod_dnssd (ap22-mod_dnssd-0.6_8)
        Installation of www/gnome-user-share (gnome-user-share-2.30.1_2)
        Installation of x11-themes/gnome-backgrounds (gnome-backgrounds-2.32.0)
        Installation of x11/gnome-session (gnome-session-2.32.1_2)
        Installation of x11/gdm (gdm-2.30.7_2)
        Installation of x11/gnome-applets (gnome-applets-2.32.1.1_4)
        Installation of security/pam_helper (pam_helper-1.0)
        Installation of graphics/freeglut (freeglut-2.8.0)
        Installation of graphics/gle (gle-3.1.0_3)
        Installation of x11/xscreensaver-gnome-hacks (xscreensaver-gnome-hacks-5
.12_1)
        Installation of x11/gnome-screensaver (gnome-screensaver-2.30.2_3)
        Installation of x11/gnome-terminal (gnome-terminal-2.32.1_2)
 

Attachments

  • FreeBSD9-1-GNOME2-Install-Tasks.txt
    12.5 KB · Views: 219
Back
Top