Re: [dev] surf: web browser on archlinux

From: Luca Postregna <luca.postregna_AT_gmail.com>
Date: Thu, 2 Jul 2009 21:37:53 +0200

In my gentoo-box, with:

#> eix webkit -Ic
[I] net-libs/webkit-gtk (0_p40220-r1_AT_07/02/2009): Open source web browser
engine
Found 2 matches.

I get this error:

#> make clean install
cleaning
surf build options:
CFLAGS = -std=c99 -pedantic -Wall -Werror -O0 -I. -I/usr/include
-I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1
-I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/webkit-1.0
-DVERSION="0.0"
LDFLAGS = -L/usr/lib -lc -lwebkit-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0
-lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo
-lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0
CC = cc
CC surf.c
surf.c:26: error: expected specifier-qualifier-list before ‘WebKitDownload’
surf.c:31: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
‘*’ token
surf.c:43: error: expected ‘)’ before ‘*’ token
surf.c:44: error: expected declaration specifiers or ‘...’ before
‘WebKitDownload’
surf.c: In function ‘destroyclient’:
surf.c:83: error: ‘Client’ has no member named ‘next’
surf.c:83: error: ‘Client’ has no member named ‘next’
surf.c:85: error: ‘Client’ has no member named ‘next’
surf.c:85: error: ‘Client’ has no member named ‘next’
surf.c:87: error: ‘Client’ has no member named ‘next’
surf.c: At top level:
surf.c:105: error: expected ‘)’ before ‘*’ token
surf.c:116: error: expected declaration specifiers or ‘...’ before
‘WebKitDownload’
surf.c: In function ‘initdownload’:
surf.c:121: error: ‘Client’ has no member named ‘download’
surf.c:121: error: ‘o’ undeclared (first use in this function)
surf.c:121: error: (Each undeclared identifier is reported only once
surf.c:121: error: for each function it appears in.)
cc1: warnings being treated as errors
surf.c:123: error: implicit declaration of function
‘webkit_download_get_suggested_filename’
surf.c:123: error: assignment makes pointer from integer without a cast
surf.c:127: error: implicit declaration of function
‘webkit_download_set_destination_uri’
surf.c:127: error: ‘Client’ has no member named ‘download’
surf.c:128: error: ‘Client’ has no member named ‘progress’
surf.c:132: error: implicit declaration of function
‘webkit_download_get_uri’
surf.c:132: error: ‘Client’ has no member named ‘download’
surf.c:132: error: passing argument 3 of ‘webkit_web_view_load_html_string’
makes pointer from integer without a cast
surf.c:133: error: ‘Client’ has no member named ‘download’
surf.c:133: error: ‘download’ undeclared (first use in this function)
surf.c:134: error: ‘Client’ has no member named ‘download’
surf.c:135: error: implicit declaration of function ‘webkit_download_start’
surf.c:135: error: ‘Client’ has no member named ‘download’
surf.c: In function ‘geturi’:
surf.c:145: error: implicit declaration of function
‘webkit_web_view_get_uri’
surf.c:145: error: cast to pointer from integer of different size
surf.c: In function ‘keypress’:
surf.c:203: error: passing argument 2 of ‘gtk_clipboard_set_text’ makes
pointer from integer without a cast
surf.c: In function ‘loadstart’:
surf.c:277: error: ‘Client’ has no member named ‘progress’
surf.c: In function ‘loaduri’:
surf.c:317: error: implicit declaration of function
‘webkit_web_view_load_uri’
surf.c:318: error: ‘Client’ has no member named ‘progress’
surf.c: In function ‘newclient’:
surf.c:389: error: ‘Client’ has no member named ‘download’
surf.c:390: error: ‘Client’ has no member named ‘title’
surf.c:391: error: ‘Client’ has no member named ‘next’
surf.c: In function ‘progresschange’:
surf.c:438: error: ‘Client’ has no member named ‘progress’
surf.c: In function ‘stop’:
surf.c:467: error: ‘Client’ has no member named ‘download’
surf.c:468: error: implicit declaration of function ‘webkit_download_cancel’
surf.c:468: error: ‘Client’ has no member named ‘download’
surf.c:471: error: ‘Client’ has no member named ‘download’
surf.c: In function ‘updatetitle’:
surf.c:490: error: ‘Client’ has no member named ‘title’
surf.c:491: error: ‘Client’ has no member named ‘title’
surf.c:492: error: ‘Client’ has no member named ‘title’
surf.c:494: error: ‘Client’ has no member named ‘progress’
surf.c:495: error: ‘Client’ has no member named ‘title’
surf.c:497: error: ‘Client’ has no member named ‘title’
surf.c:497: error: ‘Client’ has no member named ‘progress’
surf.c: In function ‘main’:
surf.c:504: error: ‘SoupSession’ undeclared (first use in this function)
surf.c:504: error: ‘s’ undeclared (first use in this function)
surf.c:549: error: implicit declaration of function
‘webkit_get_default_session’
surf.c:551: error: ‘cookiejar’ undeclared (first use in this function)
surf.c:551: error: implicit declaration of function
‘soup_cookie_jar_text_new’
surf.c:552: error: implicit declaration of function
‘soup_session_add_feature’
surf.c:552: error: implicit declaration of function ‘SOUP_SESSION_FEATURE’
make: *** [surf.o] Error 1

what is the problem?

On Thu, Jul 2, 2009 at 1:29 PM, totoloco <totoloco_AT_gmail.com> wrote:

> There is a PKGBUILD to install surf on archlinux.
> http://aur.archlinux.org/packages.php?ID=27863
>
> --
> salU
> www.ushcompu.com.ar
>
>

-- 
http://www.infis.units.it/~lucapost/
GPG KeyID: 549FA5C6
Luca Postregna
Received on Thu Jul 02 2009 - 19:37:53 UTC

This archive was generated by hypermail 2.2.0 : Thu Jul 02 2009 - 19:48:02 UTC