View previous topic :: View next topic |
Author |
Message |
Freedomzen n00b

Joined: 05 May 2004 Posts: 4
|
Posted: Wed May 05, 2004 4:18 pm Post subject: Waimea from BMG will not build |
|
|
Hi all I am trying to build waimea from BMG but it fails on cairo
Code: | cairo_gl_surface.c: In function `_cairo_gl_surface_create_pattern':
cairo_gl_surface.c:680: error: `glitz_distance_fixed_t' undeclared (first use in this function)
cairo_gl_surface.c:680: error: (Each undeclared identifier is reported only once
cairo_gl_surface.c:680: error: for each function it appears in.)
cairo_gl_surface.c:680: error: syntax error before "radius"
cairo_gl_surface.c:686: error: `radius' undeclared (first use in this function)
cairo_gl_surface.c:692: warning: passing arg 3 of `glitz_surface_create_radial' makes integer from pointer without a cast
cairo_gl_surface.c:692: error: too few arguments to function `glitz_surface_create_radial'
make[2]: *** [cairo_gl_surface.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/cairo-0.1.22/work/cairo-0.1.22/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/cairo-0.1.22/work/cairo-0.1.22'
make: *** [all] Error 2
!!! ERROR: x11-libs/cairo-0.1.22 failed.
!!! Function src_compile, Line 21, Exitcode 2
!!! (no error message) |
any help would be appreciated there was noone on BMG irc that could help and google produced nothing TIA |
|
Back to top |
|
 |
kKDu Apprentice


Joined: 18 Aug 2003 Posts: 187
|
Posted: Wed May 05, 2004 5:31 pm Post subject: |
|
|
I get a error by the first package to install: glitz
Code: |
collect2: ld returned 1 exit status
make[2]: *** [libglitz-glx.la] Fehler 1
make[2]: *** Warte auf noch nicht beendete Prozesse...
gcc -shared .libs/libglitz_la-glitz.o .libs/libglitz_la-glitz_operator.o .libs/libglitz_la-glitz_surface.o .libs/libglitz_la-glitz_texture.o .libs/libglitz_la-glitz_rect.o .libs/libglitz_la-glitz_trap.o .libs/libglitz_la-glitz_tri.o .libs/libglitz_la-glitz_status.o .libs/libglitz_la-glitz_matrix.o .libs/libglitz_la-glitz_util.o .libs/libglitz_la-glitz_format.o .libs/libglitz_la-glitz_program.o .libs/libglitz_la-glitz_programmatic.o .libs/libglitz_la-glitz_color_range.o -lm -march=athlon-tbird -Wl,-soname -Wl,libglitz.so.1 -o .libs/libglitz.so.1.0.0
(cd .libs && rm -f libglitz.so.1 && ln -s libglitz.so.1.0.0 libglitz.so.1)
(cd .libs && rm -f libglitz.so && ln -s libglitz.so.1.0.0 libglitz.so)
ar cru .libs/libglitz.a libglitz_la-glitz.o libglitz_la-glitz_operator.o libglitz_la-glitz_surface.o libglitz_la-glitz_texture.o libglitz_la-glitz_rect.o libglitz_la-glitz_trap.o libglitz_la-glitz_tri.o libglitz_la-glitz_status.o libglitz_la-glitz_matrix.o libglitz_la-glitz_util.o libglitz_la-glitz_format.o libglitz_la-glitz_program.o libglitz_la-glitz_programmatic.o libglitz_la-glitz_color_range.o
ranlib .libs/libglitz.a
creating libglitz.la
(cd .libs && rm -f libglitz.la && ln -s ../libglitz.la libglitz.la)
make[2]: Leaving directory `/var/tmp/portage/glitz-0.1.0/work/glitz-0.1.0/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/glitz-0.1.0/work/glitz-0.1.0'
make: *** [all] Fehler 2
!!! ERROR: media-libs/glitz-0.1.0 failed.
!!! Function src_compile, Line 16, Exitcode 2
!!! (no error message)
|
_________________ http://www.vim.org |
|
Back to top |
|
 |
madbiker Guru


Joined: 12 Oct 2003 Posts: 439 Location: Victoria, BC, Canada
|
Posted: Wed May 05, 2004 6:06 pm Post subject: |
|
|
I get the same error as kKDu. |
|
Back to top |
|
 |
Stormy Eyes Veteran


Joined: 09 Apr 2003 Posts: 1064 Location: Watching God spit-shine my boots.
|
Posted: Wed May 05, 2004 6:14 pm Post subject: |
|
|
Are your copies of autoconf and automake up to date? Make sure you have the latest versions. |
|
Back to top |
|
 |
madbiker Guru


Joined: 12 Oct 2003 Posts: 439 Location: Victoria, BC, Canada
|
Posted: Wed May 05, 2004 6:37 pm Post subject: |
|
|
Code: |
* sys-devel/automake
Latest version available: 1.8.3
Latest version installed: 1.8.3
Size of downloaded files: 2,552 kB
Homepage: http://www.gnu.org/software/automake/automake.html
Description: Used to generate Makefile.in from Makefile.am
License: GPL-2
* sys-devel/autoconf
Latest version available: 2.59-r3
Latest version installed: 2.59-r3
Size of downloaded files: 1,336 kB
Homepage: http://www.gnu.org/software/autoconf/autoconf.html
Description: Used to create autoconfiguration files
License: GPL-2
|
Yep. |
|
Back to top |
|
 |
Freedomzen n00b

Joined: 05 May 2004 Posts: 4
|
Posted: Wed May 05, 2004 7:00 pm Post subject: |
|
|
Yes mine are all up to date glitz compiles fine and I have gensynced with bmg-main at least 3 times today I still get Code: | cairo_gl_surface.c: In function `_cairo_gl_surface_create_pattern':
cairo_gl_surface.c:680: error: `glitz_distance_fixed_t' undeclared (first use in this function)
cairo_gl_surface.c:680: error: (Each undeclared identifier is reported only oncecairo_gl_surface.c:680: error: for each function it appears in.)
cairo_gl_surface.c:680: error: syntax error before "radius"
cairo_gl_surface.c:686: error: `radius' undeclared (first use in this function)
cairo_gl_surface.c:692: warning: passing arg 3 of `glitz_surface_create_radial' makes integer from pointer without a cast
cairo_gl_surface.c:692: error: too few arguments to function `glitz_surface_create_radial'
make[2]: *** [cairo_gl_surface.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/cairo-0.1.22/work/cairo-0.1.22/src'make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/cairo-0.1.22/work/cairo-0.1.22'
make: *** [all] Error 2
!!! ERROR: x11-libs/cairo-0.1.22 failed.
!!! Function src_compile, Line 21, Exitcode 2
!!! (no error message) |
|
|
Back to top |
|
 |
Chickpea l33t

Joined: 03 Jun 2002 Posts: 846 Location: Vancouver WA
|
Posted: Wed May 05, 2004 7:29 pm Post subject: |
|
|
I too decided to try this this morning and I had problems with glitz. I think it is because glitz need libpixman. Right after I installed libpixman, i was able to get glitz to install....My ebuild processed died somewhere in the installing of libsvga-cairo.
I gave up....maybe when I am less bothered I will try again. |
|
Back to top |
|
 |
kKDu Apprentice


Joined: 18 Aug 2003 Posts: 187
|
Posted: Wed May 05, 2004 8:03 pm Post subject: |
|
|
I have emerged the newest automake, autoconf and libpixman. But nothing change if I try to emerge glitz. The same error as above. _________________ http://www.vim.org |
|
Back to top |
|
 |
kKDu Apprentice


Joined: 18 Aug 2003 Posts: 187
|
Posted: Fri May 07, 2004 7:59 am Post subject: |
|
|
Bump the glitz ebuild to glitz-0.1.1 solved the problem. _________________ http://www.vim.org |
|
Back to top |
|
 |
kKDu Apprentice


Joined: 18 Aug 2003 Posts: 187
|
Posted: Fri May 07, 2004 1:02 pm Post subject: |
|
|
You have also get the latest cairo via cvs, because 0.1.22 doesn't work with the new glitz-version. But then I got waimea working. Before you start waimea, delete all your old waimea stuff!
Good luck! _________________ http://www.vim.org |
|
Back to top |
|
 |
Corky Guru


Joined: 08 Jul 2003 Posts: 473 Location: Ethorehus, Norge
|
Posted: Fri May 07, 2004 1:33 pm Post subject: |
|
|
Hmm, I bumped the glitz ebuild, and have the latest versions of automake and autoconf, but still it refuses to build  _________________ Bunder for president ^o^ |
|
Back to top |
|
 |
Corky Guru


Joined: 08 Jul 2003 Posts: 473 Location: Ethorehus, Norge
|
Posted: Fri May 07, 2004 2:15 pm Post subject: |
|
|
This it the error I get with both glitz 0.0.1 and 0.1.1
Code: | (cd .libs && rm -f libglitz.so.1 && ln -s libglitz.so.1.0.0 libglitz.so.1)
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lglitz
collect2: ld returned 1 exit status
(cd .libs && rm -f libglitz.so && ln -s libglitz.so.1.0.0 libglitz.so)
make[2]: *** [libglitz-glx.la] Error 1
make[2]: *** Waiting for unfinished jobs....
ar cru .libs/libglitz.a libglitz_la-glitz.o libglitz_la-glitz_operator.o libglitz_la-glitz_surface.o libglitz_la-glitz_texture.o libglitz_la-glitz_rect.o libglitz_la-glitz_trap.o libglitz_la-glitz_tri.o libglitz_la-glitz_status.o libglitz_la-glitz_matrix.o libglitz_la-glitz_util.o libglitz_la-glitz_format.o libglitz_la-glitz_program.o libglitz_la-glitz_programmatic.o libglitz_la-glitz_color_range.o
ranlib .libs/libglitz.a
creating libglitz.la
(cd .libs && rm -f libglitz.la && ln -s ../libglitz.la libglitz.la)
make[2]: Leaving directory `/var/tmp/portage/glitz-0.1.1/work/glitz-0.1.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/glitz-0.1.1/work/glitz-0.1.1'
make: *** [all] Error 2
!!! ERROR: media-libs/glitz-0.1.1 failed.
!!! Function src_compile, Line 16, Exitcode 2
!!! (no error message)
|
Any ideas? _________________ Bunder for president ^o^ |
|
Back to top |
|
 |
() l33t

Joined: 25 Nov 2002 Posts: 610
|
Posted: Fri May 07, 2004 2:19 pm Post subject: |
|
|
There's a subtle bug in the glitz ebuild, emake seems to spawn off an extra process, so its down to hit or miss wether libglitz is built before the other process needs it (that's my impression anyway). Changing from emake to make solved the problem for me at least. _________________ to be concerned is good |
|
Back to top |
|
 |
Corky Guru


Joined: 08 Jul 2003 Posts: 473 Location: Ethorehus, Norge
|
Posted: Fri May 07, 2004 2:27 pm Post subject: |
|
|
() wrote: | There's a subtle bug in the glitz ebuild, emake seems to spawn off an extra process, so its down to hit or miss wether libglitz is built before the other process needs it (that's my impression anyway). Changing from emake to make solved the problem for me at least. |
That worked for me as well, thanks
(good spot by the way) _________________ Bunder for president ^o^ |
|
Back to top |
|
 |
joem Retired Dev


Joined: 20 Dec 2002 Posts: 508 Location: Bloomington, In
|
Posted: Sat May 08, 2004 12:50 am Post subject: |
|
|
I posted an updated glitz ebuild with a few fixes and a new snapshot of waimea from today. |
|
Back to top |
|
 |
vificunero Apprentice


Joined: 25 Jul 2003 Posts: 244 Location: Milan Italy EU
|
Posted: Sat May 08, 2004 8:12 am Post subject: |
|
|
dst wrote: | I posted an updated glitz ebuild with a few fixes and a new snapshot of waimea from today. |
Yes. It works here. Thank's. _________________ vificunero@jabber.org |
|
Back to top |
|
 |
lavacano Apprentice


Joined: 29 May 2005 Posts: 190 Location: Poulsbo, WA
|
Posted: Sun Sep 11, 2005 5:59 pm Post subject: |
|
|
its funny because keyword x86 isnt supposed to break things and ~x86 is. .0.3.* versions of both work better. _________________ Sincerely,
Chadwick Ferguson |
|
Back to top |
|
 |
|