Slackware This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
02-06-2010, 03:11 PM
|
#1
|
|
Member
Registered: Dec 2008
Location: New York
Distribution: Slack -current, Aptosid, Squeeze
Posts: 207
Rep:
|
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.
|
|
|
|
02-06-2010, 03:41 PM
|
#2
|
|
Senior Member
Registered: Mar 2005
Location: USA
Distribution: Slackware
Posts: 1,133
|
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.
|
|
|
|
02-06-2010, 04:55 PM
|
#3
|
|
Member
Registered: Feb 2007
Posts: 336
Rep: 
|
I have midori 0.2.2 here and it doesn't depend on libunique. Not built from slakcbuilds.org though.
|
|
|
|
02-06-2010, 05:44 PM
|
#4
|
|
Member
Registered: Dec 2008
Location: New York
Distribution: Slack -current, Aptosid, Squeeze
Posts: 207
Original Poster
Rep:
|
Quote:
Originally Posted by disturbed1
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.
|
|
|
|
10-11-2010, 10:57 AM
|
#5
|
|
LQ Newbie
Registered: Oct 2010
Posts: 3
Rep:
|
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 12:21 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|