You are not logged in.

#1 2006-12-28 22:12:37

ckristi
Member
From: Bucharest, Romania
Registered: 2006-11-21
Posts: 225

Gnash on Arch64

Has anyone succeeded in compiling gnash on Arch64?
I tried to compile gnash-0.7.2 and gnash-cvs from AUR.. and both failed at compile time. I got sick and tired of waiting for Adobe to release their flash-player for 64bit architectures and I don't like running 32-bit apps on a 64bit distro/OS.
If you succeeded in compiling gnash.. pretty please.. heeelp. I'll stick to Arch32 until there's a resolution.. but I'll keep my Arch64 up2date meanwhile ;-).


In love I believe and in Linux I trust

Offline

#2 2006-12-29 00:29:24

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Re: Gnash on Arch64

I'm running gnash 0.7.2 from AUR. Works fine here smile

Offline

#3 2006-12-29 01:05:52

ckristi
Member
From: Bucharest, Romania
Registered: 2006-11-21
Posts: 225

Re: Gnash on Arch64

How did you compile it? My compilation ends with lots of errors about ISO C++ that does not allow some kind of attribution. The error appears somewhere in the glib's header (.h) files.  sad Are you sure we're both talking about Arch64 with no glib from testing..


In love I believe and in Linux I trust

Offline

#4 2006-12-29 01:18:05

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Re: Gnash on Arch64

can you please post the last few lines?

Offline

#5 2006-12-29 07:06:28

ckristi
Member
From: Bucharest, Romania
Registered: 2006-11-21
Posts: 225

Re: Gnash on Arch64

Here are the last errors "spitted" out:

/usr//include/glib-2.0/glib/gstring.h:146: error: expected constructor, destructor, or type conversion before '*' token
/usr//include/glib-2.0/glib/gstring.h:154: error: 'G_END_DECLS' does not name a type
/usr//include/glib-2.0/glib/giochannel.h:84: error: expected `}' before 'GLIB_SYSDEF_POLLIN'
/usr//include/glib-2.0/glib/giochannel.h:85: error: expected initializer before 'GLIB_SYSDEF_POLLOUT'
/usr//include/glib-2.0/glib/giochannel.h:90: error: expected declaration before '}' token
make[3]: *** [gtk.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [gtk_glue_gtkglext.lo] Error 1
make[3]: Leaving directory `/home/kristi/Arch-PKGBUILDS/gnash/src/gnash-0.7.2/gui'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/kristi/Arch-PKGBUILDS/gnash/src/gnash-0.7.2/gui'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/kristi/Arch-PKGBUILDS/gnash/src/gnash-0.7.2'
make: *** [all] Error 2

And some other interesting errors:

/usr//include/glib-2.0/glib/gstring.h:68: error: ISO C++ forbids declaration of 'GString' with no type

In love I believe and in Linux I trust

Offline

#6 2006-12-29 12:35:36

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Re: Gnash on Arch64

still no problems here. what version form AUR do you try? the new 0.7.2-2? make sure you enable the x86_64 build switch. also check your configure output.

please also check your error message. i guess there's something more short before that "missing a header" or like that.

Offline

#7 2006-12-29 19:21:53

colnago
Member
From: Victoria, BC
Registered: 2004-03-25
Posts: 438

Re: Gnash on Arch64

I just tried 0.7.2-2 again and it compiled for me.

Offline

#8 2006-12-29 19:43:18

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Gnash on Arch64

Is Klash working yet?

Offline

#9 2006-12-29 23:22:34

ckristi
Member
From: Bucharest, Romania
Registered: 2006-11-21
Posts: 225

Re: Gnash on Arch64

Yes.. I'm trying gnash-0.7.2-2. How do I enable the x86_64 switch? If you're referring at the makepkg.conf .. then.. yep.. all is set and other packages build just fine on my Arch64. I see an updated glib. I'll try a recompile after the update and I'll come back to tell you if it works now. Thanks everyone for trying to help me with this.


In love I believe and in Linux I trust

Offline

#10 2006-12-29 23:44:29

ckristi
Member
From: Bucharest, Romania
Registered: 2006-11-21
Posts: 225

Re: Gnash on Arch64

Ok.. I ran makepkg with "|less".. and I discovered that it says it cannot find glibconfig.h and cairo.h. I verified my installation and they seem to exist and they're in the right place.. Is it maybe a -I directive missing/not added by configure!?

Later edit.. it also says something about missing gdkglext-config.h file.. but this exists too.


In love I believe and in Linux I trust

Offline

#11 2006-12-30 17:23:56

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Gnash on Arch64

Cool, it actually works (sort of). In embeds into Firefox alright, but Konqueror doesn't exactly like it. It will open if you do 'open with' and 'Gnash'. I guess it's better this way; There's no 'Flash Block' extension to Konqueror that I'm aware of.

How about adding KDE support to the PKGBUILD?

Offline

#12 2006-12-30 22:57:18

ckristi
Member
From: Bucharest, Romania
Registered: 2006-11-21
Posts: 225

Re: Gnash on Arch64

@skottish:
I would appreciate more if you could tell me how to make it work on my system.. not how great it's working for yourself. But I guess I'm waiting in vain for a resolution.


In love I believe and in Linux I trust

Offline

#13 2006-12-30 23:14:39

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Gnash on Arch64

To enable 64 bit, remove the brackets on line 21 of the PKGBUILD:

  "$CARCH" = "x86_64"  && EXTRAOPTS="--with-gcc-arch=x86_64" 

If you want KDE to be able to see it, change the configure options on line 22 to read:

./configure --prefix=/usr --enable-sound=sdl --enable-klash 

Hope this helps.

Offline

#14 2006-12-31 00:14:19

ckristi
Member
From: Bucharest, Romania
Registered: 2006-11-21
Posts: 225

Re: Gnash on Arch64

Removing the brackets is not a solution. The brackets are there because between them there's a condition as far as I know. It means "if $CARCH="x86_64" then ... ". Anyway, removing the brackets will result in an error. :-( As far as I can see, you just tried it on Arch32.. and this is not my case.. I'm kinda happy with the proprietary FlashPlayer on my 32bit Arch, but I would very much like to have some kind of flash support on my 64bit Arch also... without juggling with 32bit compatibility and such.
Thanks anyway and sorry for being a little rude on my previous post, skottish.


In love I believe and in Linux I trust

Offline

#15 2006-12-31 01:17:30

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Gnash on Arch64

I'm on Arch64 and I compiled the code twice today doing exactly what I suggested...

If it isn't working for you, please just wait a bit. The 64 bit team is small; It may take them a while to focus on this particular issue. Give them a little time.

Offline

#16 2006-12-31 08:47:56

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Re: Gnash on Arch64

you need "pkgconfig" installed. that's all.

Offline

#17 2006-12-31 15:28:51

ckristi
Member
From: Bucharest, Romania
Registered: 2006-11-21
Posts: 225

Re: Gnash on Arch64

Oh... how dumb I feel. ;-) Thank you very much. That did the trick. I wish all of you a happy new year!!!


In love I believe and in Linux I trust

Offline

#18 2007-01-03 05:53:08

ckristi
Member
From: Bucharest, Romania
Registered: 2006-11-21
Posts: 225

Re: Gnash on Arch64

I've seen you modified the PKGBUILD file so it requires pkgconfig now and I also realised that there's something else to modify in that file:

confilcts=('flashplugin' 'flashplugin-beta')

should be:

conflicts=('flashplugin' 'flashplugin-beta')

In love I believe and in Linux I trust

Offline

#19 2007-01-03 09:53:07

timtux
Member
From: Gävle, Sweden
Registered: 2005-10-04
Posts: 178
Website

Re: Gnash on Arch64

ckristi wrote:

I've seen you modified the PKGBUILD file so it requires pkgconfig now and I also realised that there's something else to modify in that file:

confilcts=('flashplugin' 'flashplugin-beta')

should be:

conflicts=('flashplugin' 'flashplugin-beta')

conflicts=('flashplugin' 'flashplugin-beta') to
confilcts=('flashplugin' 'flashplugin-beta')

huh, change it to the same? tongue


http://timtux.net/ - my personal blog about almost everything

Offline

#20 2007-01-03 10:46:20

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Re: Gnash on Arch64

conflicts!=confilcts

Offline

#21 2007-01-03 13:46:35

timtux
Member
From: Gävle, Sweden
Registered: 2005-10-04
Posts: 178
Website

Re: Gnash on Arch64

ah, my bad hmm


http://timtux.net/ - my personal blog about almost everything

Offline

#22 2007-01-03 23:05:25

tgc
Member
From: DK
Registered: 2004-03-09
Posts: 96

Re: Gnash on Arch64

AndyRTR wrote:

conflicts!=confilcts

I corrected the type, and uploaded a new version to the AUR, enjoy smile

Offline

#23 2007-03-22 07:22:04

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Offline

Board footer

Powered by FluxBB