SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi there! I am having constant problems trying to compile Midori 0.5.9 browser under Sllackware 14.1 x64.
All dependencies including libunique, webkitgtk and vala are installed.
Error occurs on the 21% of the compilation in the midori-session.c.o file.
Code:
[ 21%] Building C object midori/CMakeFiles/midori-core.dir/midori-session.c.o
In file included from /usr/include/libsoup-gnome-2.4/libsoup/soup-cookie-jar-sqlite.h:9:0,
from /tmp/SBo/midori-0.5.9/midori/midori-session.c:20:
/usr/include/libsoup-2.4/libsoup/soup-cookie-jar-db.h:37:1: error: unknown type name ‘SOUP_AVAILABLE_IN_2_42’
SOUP_AVAILABLE_IN_2_42
^
/usr/include/libsoup-2.4/libsoup/soup-cookie-jar-db.h:38:7: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘soup_cookie_jar_db_get_type’
GType soup_cookie_jar_db_get_type (void);
^
/usr/include/libsoup-2.4/libsoup/soup-cookie-jar-db.h:40:1: error: unknown type name ‘SOUP_AVAILABLE_IN_2_42’
SOUP_AVAILABLE_IN_2_42
^
/usr/include/libsoup-2.4/libsoup/soup-cookie-jar-db.h:41:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
SoupCookieJar *soup_cookie_jar_db_new (const char *filename,
^
In file included from /tmp/SBo/midori-0.5.9/midori/midori-session.c:20:0:
/usr/include/libsoup-gnome-2.4/libsoup/soup-cookie-jar-sqlite.h:32:1: error: unknown type name ‘SOUP_AVAILABLE_IN_2_26’
SOUP_AVAILABLE_IN_2_26
^
/usr/include/libsoup-gnome-2.4/libsoup/soup-cookie-jar-sqlite.h: In function ‘SOUP_DEPRECATED_IN_2_42_FOR’:
/usr/include/libsoup-gnome-2.4/libsoup/soup-cookie-jar-sqlite.h:36:1: error: unknown type name ‘SOUP_AVAILABLE_IN_2_26’
SOUP_AVAILABLE_IN_2_26
^
/usr/include/libsoup-gnome-2.4/libsoup/soup-cookie-jar-sqlite.h:38:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘SoupCookieJar’
SoupCookieJar *soup_cookie_jar_sqlite_new (const char *filename,
^
In file included from /tmp/SBo/midori-0.5.9/midori/midori-session.c:21:0:
/usr/include/libsoup-gnome-2.4/libsoup/soup-gnome-features.h:13:1: error: unknown type name ‘SOUP_AVAILABLE_IN_2_26’
SOUP_AVAILABLE_IN_2_26
^
In file included from /usr/include/libsoup-2.4/libsoup/soup.h:34:0,
from /usr/include/webkitgtk-1.0/webkit/webkitglobals.h:29,
from /usr/include/webkitgtk-1.0/webkit/webkitenumtypes.h:42,
from /usr/include/webkitgtk-1.0/webkit/webkit.h:29,
from /tmp/SBo/midori-0.5.9/katze/katze.h:23,
from /tmp/SBo/midori-0.5.9/midori/midori-app.h:15,
from /tmp/SBo/midori-0.5.9/midori/midori-session.h:16,
from /tmp/SBo/midori-0.5.9/midori/midori-session.c:12:
/usr/include/libsoup-2.4/libsoup/soup-proxy-resolver-default.h:28:42: error: expected declaration specifiers or ‘...’ before ‘(’ token
#define SOUP_TYPE_PROXY_RESOLVER_DEFAULT (soup_proxy_resolver_default_get_type ())
^
/usr/include/libsoup-gnome-2.4/libsoup/soup-gnome-features.h:14:29: note: in expansion of macro ‘SOUP_TYPE_PROXY_RESOLVER_DEFAULT’
SOUP_DEPRECATED_IN_2_42_FOR(SOUP_TYPE_PROXY_RESOLVER_DEFAULT)
^
In file included from /tmp/SBo/midori-0.5.9/midori/midori-session.c:21:0:
/usr/include/libsoup-gnome-2.4/libsoup/soup-gnome-features.h:18:1: error: unknown type name ‘SOUP_AVAILABLE_IN_2_26’
SOUP_AVAILABLE_IN_2_26
^
/usr/include/libsoup-gnome-2.4/libsoup/soup-gnome-features.h:20:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘GType’
GType soup_gnome_features_2_26_get_type (void);
^
/usr/include/libsoup-gnome-2.4/libsoup/soup-gnome-features.h:23:1: error: unknown type name ‘SOUP_AVAILABLE_IN_2_28’
SOUP_AVAILABLE_IN_2_28
^
/usr/include/libsoup-gnome-2.4/libsoup/soup-gnome-features.h:25:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘GType’
GType soup_password_manager_gnome_get_type (void);
^
In file included from /tmp/SBo/midori-0.5.9/midori/midori-session.c:24:0:
/usr/include/libsoup-2.4/libsoup/soup-cache.h:40:27: error: storage class specified for parameter ‘SoupCache’
typedef struct _SoupCache SoupCache;
^
/usr/include/libsoup-2.4/libsoup/soup-cache.h:41:34: error: storage class specified for parameter ‘SoupCachePrivate’
typedef struct _SoupCachePrivate SoupCachePrivate;
^
/usr/include/libsoup-2.4/libsoup/soup-cache.h:48:3: error: storage class specified for parameter ‘SoupCacheability’
} SoupCacheability;
^
/usr/include/libsoup-2.4/libsoup/soup-cache.h:54:3: error: storage class specified for parameter ‘SoupCacheResponse’
} SoupCacheResponse;
^
/usr/include/libsoup-2.4/libsoup/soup-cache.h:59:3: error: storage class specified for parameter ‘SoupCacheType’
} SoupCacheType;
^
/usr/include/libsoup-2.4/libsoup/soup-cache.h:64:2: error: expected specifier-qualifier-list before ‘SoupCachePrivate’
SoupCachePrivate *priv;
^
/usr/include/libsoup-2.4/libsoup/soup-cache.h:61:1: warning: empty declaration [enabled by default]
struct _SoupCache {
^
/usr/include/libsoup-2.4/libsoup/soup-cache.h:71:2: error: expected specifier-qualifier-list before ‘SoupCacheability’
SoupCacheability (*get_cacheability) (SoupCache *cache,
^
/usr/include/libsoup-2.4/libsoup/soup-cache.h:78:3: error: storage class specified for parameter ‘SoupCacheClass’
} SoupCacheClass;
^
/usr/include/libsoup-2.4/libsoup/soup-cache.h:81:1: error: expected declaration specifiers before ‘SoupCache’
SoupCache *soup_cache_new (const char *cache_dir,
^
/usr/include/libsoup-2.4/libsoup/soup-cache.h:83:37: error: expected declaration specifiers or ‘...’ before ‘SoupCache’
void soup_cache_flush (SoupCache *cache);
^
/usr/include/libsoup-2.4/libsoup/soup-cache.h:84:37: error: expected declaration specifiers or ‘...’ before ‘SoupCache’
void soup_cache_clear (SoupCache *cache);
^
/usr/include/libsoup-2.4/libsoup/soup-cache.h:86:37: error: expected declaration specifiers or ‘...’ before ‘SoupCache’
void soup_cache_dump (SoupCache *cache);
^
/usr/include/libsoup-2.4/libsoup/soup-cache.h:87:37: error: expected declaration specifiers or ‘...’ before ‘SoupCache’
void soup_cache_load (SoupCache *cache);
^
/usr/include/libsoup-2.4/libsoup/soup-cache.h:89:37: error: expected declaration specifiers or ‘...’ before ‘SoupCache’
void soup_cache_set_max_size (SoupCache *cache,
^
/usr/include/libsoup-2.4/libsoup/soup-cache.h:91:37: error: expected declaration specifiers or ‘...’ before ‘SoupCache’
guint soup_cache_get_max_size (SoupCache *cache);
^
/tmp/SBo/midori-0.5.9/midori/midori-session.c:30:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
{
^
/tmp/SBo/midori-0.5.9/midori/midori-session.c:57:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
{
^
/tmp/SBo/midori-0.5.9/midori/midori-session.c:102:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
{
^
/tmp/SBo/midori-0.5.9/midori/midori-session.c:130:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
{
^
/tmp/SBo/midori-0.5.9/midori/midori-session.c:143:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
{
^
/tmp/SBo/midori-0.5.9/midori/midori-session.c:180:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
{
^
/tmp/SBo/midori-0.5.9/midori/midori-session.c:272:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
{
^
/tmp/SBo/midori-0.5.9/midori/midori-session.c:313:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
{
^
/tmp/SBo/midori-0.5.9/midori/midori-session.c:348:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
{
^
/tmp/SBo/midori-0.5.9/midori/midori-session.c:356:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
{
^
/tmp/SBo/midori-0.5.9/midori/midori-session.c:379:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
{
^
/tmp/SBo/midori-0.5.9/midori/midori-session.c:401:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
{
^
/tmp/SBo/midori-0.5.9/midori/midori-session.c:410:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token
{
^
/tmp/SBo/midori-0.5.9/midori/midori-session.c:137:1: error: declaration for parameter ‘midori_web_settings_get_accept_language’ but no such parameter
midori_web_settings_get_accept_language (MidoriWebSettings* settings);
^
/tmp/SBo/midori-0.5.9/midori/midori-session.c:123:1: error: declaration for parameter ‘midori_map_add_message’ but no such parameter
midori_map_add_message (SoupMessage* message);
^
In file included from /tmp/SBo/midori-0.5.9/midori/midori-session.c:24:0:
/usr/include/libsoup-2.4/libsoup/soup-cache.h:80:12: error: declaration for parameter ‘soup_cache_get_type’ but no such parameter
GType soup_cache_get_type (void);
^
/usr/include/libsoup-2.4/libsoup/soup-cache.h:78:3: error: declaration for parameter ‘SoupCacheClass’ but no such parameter
} SoupCacheClass;
^
/usr/include/libsoup-2.4/libsoup/soup-cache.h:59:3: error: declaration for parameter ‘SoupCacheType’ but no such parameter
} SoupCacheType;
^
/usr/include/libsoup-2.4/libsoup/soup-cache.h:54:3: error: declaration for parameter ‘SoupCacheResponse’ but no such parameter
} SoupCacheResponse;
^
/usr/include/libsoup-2.4/libsoup/soup-cache.h:48:3: error: declaration for parameter ‘SoupCacheability’ but no such parameter
} SoupCacheability;
^
/usr/include/libsoup-2.4/libsoup/soup-cache.h:41:34: error: parameter ‘SoupCachePrivate’ has incomplete type
typedef struct _SoupCachePrivate SoupCachePrivate;
^
/usr/include/libsoup-2.4/libsoup/soup-cache.h:41:34: error: declaration for parameter ‘SoupCachePrivate’ but no such parameter
/usr/include/libsoup-2.4/libsoup/soup-cache.h:40:27: error: declaration for parameter ‘SoupCache’ but no such parameter
typedef struct _SoupCache SoupCache;
^
In file included from /tmp/SBo/midori-0.5.9/midori/midori-session.c:20:0:
/usr/include/libsoup-gnome-2.4/libsoup/soup-cookie-jar-sqlite.h:34:7: error: declaration for parameter ‘soup_cookie_jar_sqlite_get_type’ but no such parameter
GType soup_cookie_jar_sqlite_get_type (void);
^
/tmp/SBo/midori-0.5.9/midori/midori-session.c:415:1: error: expected ‘{’ at end of input
}
^
/tmp/SBo/midori-0.5.9/midori/midori-session.c:415:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
make[2]: *** [midori/CMakeFiles/midori-core.dir/midori-session.c.o] Error 1
make[1]: *** [midori/CMakeFiles/midori-core.dir/all] Error 2
make: *** [all] Error 2
Any ideas here?
Thanks for help, guys.
-----
Slack 14.1 x64
Kernel: x86_64 Linux 3.10.17
GTK+ [GTK2], oxygen-gtk
4GB RAM
Another problem here. Why my webkitgtk during compilation tries to use some libraries located in /usr/lib instead of /usr/lib64 ?
Code:
/usr/lib/libgmodule-2.0.so: could not read symbols: File in wrong format
collect2: error: ld returned 1 exit status
make[1]: *** [libwebkitgtk-1.0.la] Error 1
make[1]: Leaving directory `/tmp/SBo/webkitgtk-2.4.9'
make: *** [all] Error 2
The same error was for libharfbuzz.so. I tried to do this workaround:
I just built Midori from the Slack Builds repo just fine a few days ago and it works great here on my multilib Slack 64 14.1 box. Are you sure you have all of Midori's dependencies up-to-date?
I just built Midori from the Slack Builds repo just fine a few days ago and it works great here on my multilib Slack 64 14.1 box. Are you sure you have all of Midori's dependencies up-to-date?
--D
Well, as I have mentioned 2 posts ago, I totally stuck with webkitgtk dependency. Compiler tries to take x86 libs at some point and I dunno why.
I do not run multilib but if you do you should have, among others a 32-bit version of packages glib2 (that contains libgmodule-2.0.so) and harfbuzz (that contains libharfbuzz). They are listed among those converted by massconvert32.sh according to this page, so either you missed a step trying to make your Slackware multilib or you didn't read the information bassmadrigal just linked you to, or both.
PS Now that I have read carefully the FAQ item linked to by bassmadrigal I realize that's what you should follow as linking a 64-bit program to 32-bt dependencies, even if possible, is probably not a good idea, in other words even having the 32-bit dependencies won't help in this case.
Last edited by Didier Spaier; 07-15-2015 at 04:13 PM.
Reason: PS added.
Ok, so I installed Midori last month on Slackware64 with multilib using Sbopkg so let me tell you what I did.
1. Started from a full Slackware install.
2. Updated and upgraded via slackpkg.
3. Setup multilib as detailed in the slackware docs.
4. Installed sbopkg.
5. Generated queues via sqg.
6. Installed midori via sbopkg with the queue file which installed everything in the right order.
So is/was your setup similar? As in, is this a full slackware install, are you using sbopkg or installing manually, etc.? Having said all of that, I didn't like Midori. Wasn't as stable for me for some reason. So now it's back to firefox for full browsing and dillo for the really simple stuff.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.