LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 02-06-2010, 03:11 PM   #1
zbreaker
Member
 
Registered: Dec 2008
Location: New York
Distribution: Slack -current, Aptosid, Squeeze
Posts: 207

Rep: Reputation: 27
Midori & libunique


This problem affects both my -current and 64 bit multilib -current installs. Tried installing Midori from SlackBuilds but one of the depends (libunique) refuses to build on either system. Here's the log file from 64 multi -current.

[CODE]Unique 1.1.6

Configuration:
Maintainer flags: yes
Debug level: no
Build documentation: no
Build introspection data: no

Backends:
Unix Domain Socket: yes
D-BUS: yes

Default backend: dbus

make all-recursive
make[1]: Entering directory `/tmp/SBo/libunique-1.1.6'
Making all in build
make[2]: Entering directory `/tmp/SBo/libunique-1.1.6/build'
Making all in autotools
make[3]: Entering directory `/tmp/SBo/libunique-1.1.6/build/autotools'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/SBo/libunique-1.1.6/build/autotools'
make[3]: Entering directory `/tmp/SBo/libunique-1.1.6/build'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/tmp/SBo/libunique-1.1.6/build'
make[2]: Leaving directory `/tmp/SBo/libunique-1.1.6/build'
Making all in unique
make[2]: Entering directory `/tmp/SBo/libunique-1.1.6/unique'
GEN stamp-enum-types
GEN stamp-marshal
make all-recursive
make[3]: Entering directory `/tmp/SBo/libunique-1.1.6/unique'
Making all in bacon
make[4]: Entering directory `/tmp/SBo/libunique-1.1.6/unique/bacon'
CC libunique_bacon_la-uniquebackend-bacon.lo
/bin/sh ../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -DG_LOG_DOMAIN=\"Unique-Bacon\" -DG_DISABLE_SINGLE_INCLUDES -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/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/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -Werror -Wall -Wshadow -Wcast-align -Wno-uninitialized -Wempty-body -Wformat-security -Winit-self -O2 -fPIC -c -o libunique_bacon_la-uniquebackend-bacon.lo `test -f 'uniquebackend-bacon.c' || echo './'`uniquebackend-bacon.c
cc1: warnings being treated as errors
uniquebackend-bacon.c: In function 'unique_backend_bacon_get_type':
/usr/include/glib-2.0/glib/gthread.h:339: error: dereferencing pointer 'value_location.17' does break strict-aliasing rules
/usr/include/glib-2.0/glib/gthread.h:339: note: initialized from here
make[4]: *** [libunique_bacon_la-uniquebackend-bacon.lo] Error 1
make[4]: Leaving directory `/tmp/SBo/libunique-1.1.6/unique/bacon'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/SBo/libunique-1.1.6/unique'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/SBo/libunique-1.1.6/unique'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/SBo/libunique-1.1.6'
make: *** [all] Error 2

libunique:
Would you like to continue processing the rest of the
build queue or would you like to abort? If this failed
package is a dependency of another package in the queue
then it may not make sense to continue.
[CODE]

I've not had a lick of trouble with either system and other builds and the 64 bit is up to date with AlienBobs latest compilers. Any insight on this....I know I must be missing something somewhere.
 
Old 02-06-2010, 03:41 PM   #2
disturbed1
Senior Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware
Posts: 1,133
Blog Entries: 6

Rep: Reputation: 209Reputation: 209Reputation: 209
Try adding -fno-strict-aliasing to CFLAGS.

Libunique builds fine on gcc 4.3.3, but not 4.4.3. There's a handful of other apps that need the same CFLAG option to compile.
 
Old 02-06-2010, 04:55 PM   #3
gapan
Member
 
Registered: Feb 2007
Posts: 336

Rep: Reputation: 104Reputation: 104
I have midori 0.2.2 here and it doesn't depend on libunique. Not built from slakcbuilds.org though.
 
Old 02-06-2010, 05:44 PM   #4
zbreaker
Member
 
Registered: Dec 2008
Location: New York
Distribution: Slack -current, Aptosid, Squeeze
Posts: 207

Original Poster
Rep: Reputation: 27
Quote:
Originally Posted by disturbed1 View Post
Try adding -fno-strict-aliasing to CFLAGS.

Libunique builds fine on gcc 4.3.3, but not 4.4.3. There's a handful of other apps that need the same CFLAG option to compile.
Ah...that's it indeed...my thanks.
 
Old 10-11-2010, 10:57 AM   #5
adityachs
LQ Newbie
 
Registered: Oct 2010
Posts: 3

Rep: Reputation: 0
Question Help resolving same problem

Hi,

I had a similar issue(rather big). I am pretty new to linux. Now need to learn GTK programming. So installed Cygwin in my XP mechine.

Trying to install Anjuta. No luck. I am continuously getting errors. and resolving them with help of Google. Now I am struck here.

I am trying to install libunique-1.1.4(also tried 1.6) it throws lots of errors. I am not able to capture them. I tried to redirect to a file, but no luck.
Code:
$ make
make  all-recursive
make[1]: Entering directory `/cygdrive/d/softwares/llynux/libunique-1.1.4'
Making all in build
make[2]: Entering directory `/cygdrive/d/softwares/llynux/libunique-1.1.4/build'

Making all in autotools
make[3]: Entering directory `/cygdrive/d/softwares/llynux/libunique-1.1.4/build/
autotools'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/cygdrive/d/softwares/llynux/libunique-1.1.4/build/a
utotools'
make[3]: Entering directory `/cygdrive/d/softwares/llynux/libunique-1.1.4/build'

make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/cygdrive/d/softwares/llynux/libunique-1.1.4/build'
make[2]: Leaving directory `/cygdrive/d/softwares/llynux/libunique-1.1.4/build'
Making all in unique
make[2]: Entering directory `/cygdrive/d/softwares/llynux/libunique-1.1.4/unique
'
make  all-recursive
make[3]: Entering directory `/cygdrive/d/softwares/llynux/libunique-1.1.4/unique
'
Making all in bacon
make[4]: Entering directory `/cygdrive/d/softwares/llynux/libunique-1.1.4/unique
/bacon'
  CC     libunique_bacon_la-uniquebackend-bacon.lo
In file included from ../../glib/gstdio.h:24,
                 from uniquebackend-bacon.c:41:
../../glib/gprintf.h:23:18: error: glib.h: No such file or directory
In file included from ../../glib/gstdio.h:24,
                 from uniquebackend-bacon.c:41:
../../glib/gprintf.h:29: error: expected `=', `,', `;', `asm' or `__attribute__'
 before `gint'
../../glib/gprintf.h:31: error: expected `=', `,', `;', `asm' or `__attribute__'
 before `g_fprintf'
../../glib/gprintf.h:34: error: expected `=', `,', `;', `asm' or `__attribute__'
 before `g_sprintf'
../../glib/gprintf.h:38: error: expected `=', `,', `;', `asm' or `__attribute__'
 before `g_vprintf'
../../glib/gprintf.h:40: error: expected `=', `,', `;', `asm' or `__attribute__'
 before `g_vfprintf'
../../glib/gprintf.h:43: error: expected `=', `,', `;', `asm' or `__attribute__'
 before `g_vsprintf'
../../glib/gprintf.h:46: error: expected `=', `,', `;', `asm' or `__attribute__'
 before `g_vasprintf'
In file included from uniquebackend-bacon.c:41:
../../glib/gstdio.h:28: error: expected `=', `,', `;', `asm' or `__attribute__'
before `G_BEGIN_DECLS'
cc1: warnings being treated as errors
../../glib/gstdio.h:74: error: type defaults to `int' in declaration of `gchar'
../../glib/gstdio.h:74: error: expected `;', `,' or `)' before `*' token
../../glib/gstdio.h:77: error: type defaults to `int' in declaration of `gchar'
../../glib/gstdio.h:77: error: expected `;', `,' or `)' before `*' token
../../glib/gstdio.h:81: error: type defaults to `int' in declaration of `gchar'
../../glib/gstdio.h:81: error: expected `;', `,' or `)' before `*' token
../../glib/gstdio.h:84: error: type defaults to `int' in declaration of `gchar'
../../glib/gstdio.h:84: error: expected `;', `,' or `)' before `*' token
../../glib/gstdio.h:87: error: type defaults to `int' in declaration of `gchar'
../../glib/gstdio.h:87: error: expected `;', `,' or `)' before `*' token
../../glib/gstdio.h:90: error: type defaults to `int' in declaration of `gchar'
../../glib/gstdio.h:90: error: expected `;', `,' or `)' before `*' token
../../glib/gstdio.h:127: error: type defaults to `int' in declaration of `gchar'

../../glib/gstdio.h:127: error: expected `;', `,' or `)' before `*' token
../../glib/gstdio.h:130: error: type defaults to `int' in declaration of `gchar'

../../glib/gstdio.h:130: error: expected `;', `,' or `)' before `*' token
../../glib/gstdio.h:135: error: type defaults to `int' in declaration of `gchar'

../../glib/gstdio.h:135: error: expected `;', `,' or `)' before `*' token
../../glib/gstdio.h:137: error: type defaults to `int' in declaration of `gchar'

../../glib/gstdio.h:137: error: expected `;', `,' or `)' before `*' token
../../glib/gstdio.h:139: error: type defaults to `int' in declaration of `gchar'

../../glib/gstdio.h:139: error: expected `;', `,' or `)' before `*' token
../../glib/gstdio.h:141: error: type defaults to `int' in declaration of `gchar'

../../glib/gstdio.h:141: error: expected `;', `,' or `)' before `*' token
../../glib/gstdio.h:144: error: type defaults to `int' in declaration of `gchar'

../../glib/gstdio.h:144: error: expected `;', `,' or `)' before `*' token
../../glib/gstdio.h:152: error: type defaults to `int' in declaration of `gchar'

../../glib/gstdio.h:152: error: expected `;', `,' or `)' before `*' token
In file included from ../uniqueinternals.h:6,
                 from uniquebackend-bacon.c:43:
../uniqueapp.h:25:25: error: glib-object.h: No such file or directory
In file included from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from ../../unique/uniquemessage.h:26,
                 from ../uniqueapp.h:26,
                 from ../uniqueinternals.h:6,
                 from uniquebackend-bacon.c:43:
/usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30:21: error: gio/gio.h: No such
file or directory
In file included from /usr/include/gtk-2.0/gdk/gdkscreen.h:31,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from ../../unique/uniquemessage.h:26,
                 from ../uniqueapp.h:26,
                 from ../uniqueinternals.h:6,
                 from uniquebackend-bacon.c:43:
/usr/include/cairo/cairo.h:85: error: expected `=', `,', `;', `asm' or `__attrib
ute__' before `int'
In file included from /usr/include/pango-1.0/pango/pango-font.h:25,
                 from /usr/include/pango-1.0/pango/pango-attributes.h:25,
                 from /usr/include/pango-1.0/pango/pango.h:25,
                 from /usr/include/gtk-2.0/gdk/gdktypes.h:37,
                 from /usr/include/gtk-2.0/gdk/gdkscreen.h:32,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from ../../unique/uniquemessage.h:26,
                 from ../uniqueapp.h:26,
                 from ../uniqueinternals.h:6,
                 from uniquebackend-bacon.c:43:
/usr/include/pango-1.0/pango/pango-coverage.h:29: error: expected `=', `,', `;',
 `asm' or `__attribute__' before `typedef'
/usr/include/pango-1.0/pango/pango-coverage.h:38: error: expected `=', `,', `;',
 `asm' or `__attribute__' before `*' token
/usr/include/pango-1.0/pango/pango-coverage.h:39: error: expected `=', `,', `;',
 `asm' or `__attribute__' before `*' token
/usr/include/pango-1.0/pango/pango-coverage.h:40: error: expected `)' before `*'
 token
/usr/include/pango-1.0/pango/pango-coverage.h:41: error: expected `=', `,', `;',
 `asm' or `__attribute__' before `*' token
/usr/include/pango-1.0/pango/pango-coverage.h:42: error: expected `)' before `*'
 token
/usr/include/pango-1.0/pango/pango-coverage.h:44: error: expected `)' before `*'
 token
/usr/include/pango-1.0/pango/pango-coverage.h:47: error: expected `)' before `*'
 token
/usr/include/pango-1.0/pango/pango-coverage.h:50: error: expected `)' before `*'
 token
/usr/include/pango-1.0/pango/pango-coverage.h:53: error: expected `=', `,', `;',
 `asm' or `__attribute__' before `*' token
In file included from /usr/include/pango-1.0/pango/pango-font.h:26,
                 from /usr/include/pango-1.0/pango/pango-attributes.h:25,
                 from /usr/include/pango-1.0/pango/pango.h:25,
                 from /usr/include/gtk-2.0/gdk/gdktypes.h:37,
                 from /usr/include/gtk-2.0/gdk/gdkscreen.h:32,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from ../../unique/uniquemessage.h:26,
                 from ../uniqueapp.h:26,
                 from ../uniqueinternals.h:6,
                 from uniquebackend-bacon.c:43:
/usr/include/pango-1.0/pango/pango-types.h:28: error: expected `=', `,', `;', `a
sm' or `__attribute__' before `G_BEGIN_DECLS'
/usr/include/pango-1.0/pango/pango-types.h:43: error: expected `=', `,', `;', `a
sm' or `__attribute__' before `PangoGlyph'
/usr/include/pango-1.0/pango/pango-types.h: In function `pango_units_from_double
':
/usr/include/pango-1.0/pango/pango-types.h:64: error: expected declaration speci
fiers before `G_GNUC_CONST'
/usr/include/pango-1.0/pango/pango-types.h:65: error: expected `=', `,', `;', `a
sm' or `__attribute__' before `G_GNUC_CONST'
/usr/include/pango-1.0/pango/pango-types.h:72: error: empty declaration
In file included from /usr/include/pango-1.0/pango/pango-types.h:91,
                 from /usr/include/pango-1.0/pango/pango-font.h:26,
                 from /usr/include/pango-1.0/pango/pango-attributes.h:25,
                 from /usr/include/pango-1.0/pango/pango.h:25,
                 from /usr/include/gtk-2.0/gdk/gdktypes.h:37,
                 from /usr/include/gtk-2.0/gdk/gdkscreen.h:32,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from ../../unique/uniquemessage.h:26,
                 from ../uniqueapp.h:26,
                 from ../uniqueinternals.h:6,
                 from uniquebackend-bacon.c:43:
/usr/include/pango-1.0/pango/pango-gravity.h:27: error: expected declaration spe
cifiers before `G_BEGIN_DECLS'
/usr/include/pango-1.0/pango/pango-gravity.h:56: error: expected declaration spe
cifiers before `PangoGravity'
/usr/include/pango-1.0/pango/pango-gravity.h:81: error: storage class specified
for parameter `PangoGravityHint'
In file included from /usr/include/pango-1.0/pango/pango-gravity.h:97,
                 from /usr/include/pango-1.0/pango/pango-types.h:91,
                 from /usr/include/pango-1.0/pango/pango-font.h:26,
                 from /usr/include/pango-1.0/pango/pango-attributes.h:25,
                 from /usr/include/pango-1.0/pango/pango.h:25,
                 from /usr/include/gtk-2.0/gdk/gdktypes.h:37,
                 from /usr/include/gtk-2.0/gdk/gdkscreen.h:32,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from ../../unique/uniquemessage.h:26,
                 from ../uniqueapp.h:26,
                 from ../uniqueinternals.h:6,
                 from uniquebackend-bacon.c:43:
/usr/include/pango-1.0/pango/pango-matrix.h:28: error: expected declaration spec
ifiers before `G_BEGIN_DECLS'
/usr/include/pango-1.0/pango/pango-matrix.h:52: error: empty declaration
In file included from /usr/include/pango-1.0/pango/pango-gravity.h:97,
                 from /usr/include/pango-1.0/pango/pango-types.h:91,
                 from /usr/include/pango-1.0/pango/pango-font.h:26,
                 from /usr/include/pango-1.0/pango/pango-attributes.h:25,
                 from /usr/include/pango-1.0/pango/pango.h:25,
                 from /usr/include/gtk-2.0/gdk/gdktypes.h:37,
                 from /usr/include/gtk-2.0/gdk/gdkscreen.h:32,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from ../../unique/uniquemessage.h:26,
                 from ../uniqueapp.h:26,
                 from ../uniqueinternals.h:6,
                 from uniquebackend-bacon.c:43:
/usr/include/pango-1.0/pango/pango-matrix.h:87: error: expected declaration spec
ifiers before `GType'
/usr/include/pango-1.0/pango/pango-matrix.h:89: error: expected declaration spec
ifiers before `PangoMatrix'
/usr/include/pango-1.0/pango/pango-matrix.h:90: error: expected `)' before `*' t
oken
/usr/include/pango-1.0/pango/pango-matrix.h:92: error: expected `)' before `*' t
oken
/usr/include/pango-1.0/pango/pango-matrix.h:95: error: expected `)' before `*' t
oken
/usr/include/pango-1.0/pango/pango-matrix.h:98: error: expected `)' before `*' t
oken
/usr/include/pango-1.0/pango/pango-matrix.h:100: error: expected `)' before `*'
token
/usr/include/pango-1.0/pango/pango-matrix.h:102: error: type defaults to `int' i
n declaration of `PangoMatrix'
/usr/include/pango-1.0/pango/pango-matrix.h:102: error: expected `;', `,' or `)'
 before `*' token
/usr/include/pango-1.0/pango/pango-matrix.h:105: error: type defaults to `int' i
n declaration of `PangoMatrix'
/usr/include/pango-1.0/pango/pango-matrix.h:105: error: expected `;', `,' or `)'
 before `*' token
/usr/include/pango-1.0/pango/pango-matrix.h:108: error: type defaults to `int' i
n declaration of `PangoMatrix'
/usr/include/pango-1.0/pango/pango-matrix.h:108: error: expected `;', `,' or `)'
 before `*' token
/usr/include/pango-1.0/pango/pango-matrix.h:110: error: type defaults to `int' i
n declaration of `PangoMatrix'
/usr/include/pango-1.0/pango/pango-matrix.h:110: error: expected `;', `,' or `)'
 before `*' token
/usr/include/pango-1.0/pango/pango-matrix.h:112: error: type defaults to `int' i
n declaration of `PangoMatrix'
/usr/include/pango-1.0/pango/pango-matrix.h:112: error: expected `;', `,' or `)'
 before `*' token
/usr/include/pango-1.0/pango/pango-matrix.h:115: error: expected declaration spe
cifiers before `G_END_DECLS'
In file included from /usr/include/pango-1.0/pango/pango-gravity.h:98,
                 from /usr/include/pango-1.0/pango/pango-types.h:91,
                 from /usr/include/pango-1.0/pango/pango-font.h:26,
                 from /usr/include/pango-1.0/pango/pango-attributes.h:25,
                 from /usr/include/pango-1.0/pango/pango.h:25,
                 from /usr/include/gtk-2.0/gdk/gdktypes.h:37,
                 from /usr/include/gtk-2.0/gdk/gdkscreen.h:32,
                 from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31,
                 from /usr/include/gtk-2.0/gdk/gdk.h:32,
                 from ../../unique/uniquemessage.h:26,
                 from ../uniqueapp.h:26,
                 from ../uniqueinternals.h:6,
                 from uniquebackend-bacon.c:43:
/usr/include/pango-1.0/pango/pango-script.h:125: error: storage class specified
for parameter `PangoScript'
/usr/include/pango-1.0/pango/pango-script.h:127: error: expected declaration spe
cifiers before `PangoScript'
/usr/include/pango-1.0/pango/pango-script.h:129: error: expected declaration spe
cifiers before `PangoScriptIter'
/usr/include/pango-1.0/pango/pango-script.h:131: error: expected `)' before `*'
token
make[4]: *** [libunique_bacon_la-uniquebackend-bacon.lo] Error 1
make[3]: *** [all-recursive] Interrupt
make[2]: *** [all] Interrupt
make[1]: *** [all-recursive] Interrupt
make: *** [all] Interrupt


tcssatc@OSS-3F3B18 /cygdrive/d/softwares/llynux/libunique-1.1.4
$
I modified makefile like this : CFLAGS = -g -O2 -g -fno-strict-aliasing

But no luck. Also added path variables in .bash_profile
export PKG_CONFIG_PATH=/cygdrive/d/softwares/llynux/gnome-doc-utils-0.3.3:/cygdrive/d/softwares/llynux/glib-2.24.2
export PATH=${HOME}/bin:${PATH}:/cygdrive/d/softwares/llynux/glib-2.24.2

Please help me.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Best lightweight browser for Fluxbox ? Epiphany , Opera, Kazehakase, Midori, Arora ? tERn Linux - Software 19 05-13-2012 08:06 PM
LXer: Midori: lightweight browsing LXer Syndicated Linux News 0 09-21-2009 12:30 AM
Japanese canna won't work : Warning: かな漢字変&am OrganicOrange84 Debian 3 06-30-2005 02:28 PM
Phục hồi dữ liệu bị mất???, cứ pollsite General 1 06-27-2005 12:39 PM
Midori on GATEWAY aol thing... cheater1034 Linux - Laptop and Netbook 1 05-25-2005 07:51 PM


All times are GMT -5. The time now is 12:21 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration