croczilla.com 
 home   zap   svg   xtf   jssh   bits&pieces   blog   personal   
  home > zap > lists > zap-devel > Archive > 2006 > 2006-12 > Zap does not compile under Linux / "Marc Petit-Huguenin" <marc@8x8.com>

zap-devel mailing list

To subscribe, send a mail with subject 'subscribe' to zap-devel(at)croczilla.com. Likewise, to unsubscribe, send a mail with subject 'unsubscribe' to zap-devel(at)croczilla.com.

[ << ] [ >> ]

[ Offer-answer support. / Siddharth Toshniwal ... ] [ symmetic NATs / Madhuri Patwardhan ... ]

Zap does not compile under Linux
"Marc Petit-Huguenin" <marc(at)8x8.com>
2006-12-06 01:11:32 [ FULL ]
Hi,

Zap no longer compiles under Linux:

checking if pnggccrd.c can be compiled without PNG_NO_MMX_CODE... no
configure: error: SVG requires cairo gfx

If I remove ac_add_options --enable-default-toolkit=gtk2 from the
mozconfig, Zap compiles but there is nothing in the Zap window.

Any help appreciated.
[...]

Re: [zap-devel] Zap does not compile under Linux
Alex Fritze <alex(at)croczilla.com>
2006-12-06 08:40:04 [ FULL ]
Hi Marc,

Marc Petit-Huguenin wrote:[...]

You now need
ac_add_options --enable-default-toolkit=cairo-gtk2

But even with this option the current build fails somewhere during 
linking (hidden symbol 'nsMemory::Alloc()' is referenced by DSO).

Investigating...

Cheers,
Alex

Re: [zap-devel] Zap does not compile under Linux
"Marc Petit-Huguenin" <marc(at)8x8.com>
2006-12-06 17:10:25 [ FULL ]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Alex,

Alex Fritze wrote:[...][...][...]

Hmm, the build succeed with the option above, but it still fails at runtime:

JavaScript error: chrome://zap/content/zap.js, line 2150: wSidebarTree
has no properties

- --
Marc Petit-Huguenin
Home: marc(at)petit-huguenin.org
Work: marc(at)8x8.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFdvl/9RoMZyVa61cRAuEtAJ9YavtGqxYa9JJO6IHLAQigeiySVQCdGnYe
VEfwcqDT7olisCH6sIORYvk=
=QTIu
-----END PGP SIGNATURE-----

Re: [zap-devel] Zap does not compile under Linux
Alex Fritze <alex(at)croczilla.com>
2006-12-08 16:17:51 [ FULL ]
Marc Petit-Huguenin wrote:[...][...][...]

The JavaScript error is now fixed. The problem was that our xul-overlay 
processing instructions were in a wrong location, and Mozilla has 
apparently become a bit stricter in this respect.

I'm still working on the Linux build failure.

Cheers,
Alex

Re: [zap-devel] Zap does not compile under Linux
"Marc Petit-Huguenin" <marc(at)8x8.com>
2006-12-08 16:37:40 [ FULL ]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Alex,

Alex Fritze wrote:[...][...]
>>> You now need
>>> ac_add_options --enable-default-toolkit=cairo-gtk2
>>>
>>> But even with this option the current build fails somewhere during
>>> linking (hidden symbol 'nsMemory::Alloc()' is referenced by DSO).
>>>     [...][...]

Everything's working fine now for me.  Thanks.
[...]


- --
Marc Petit-Huguenin
Home: marc(at)petit-huguenin.org
Work: marc(at)8x8.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFeZTT9RoMZyVa61cRAv12AKCI3gpjPYPwVNW2r8/aGyk0M4gKlQCfey4r
y9joF3N3DFHTWUklDTkC3So=
=wKkB
-----END PGP SIGNATURE-----

Re: [zap-devel] Zap does not compile under Linux
Alex Fritze <alex(at)croczilla.com>
2006-12-15 10:01:09 [ FULL ]
Alex Fritze wrote:
>>> You now need
>>> ac_add_options --enable-default-toolkit=cairo-gtk2
>>>
>>> But even with this option the current build fails somewhere during
>>> linking (hidden symbol 'nsMemory::Alloc()' is referenced by DSO). 
   
It appears that xulrunner now requires gcc version 4. I was using 
version 3.3.6.

Cheers,
Alex

MailBoxer