bug-gnuzilla
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compiling IceCat on gNewSense2.0


From: Eric Padman
Subject: Re: Compiling IceCat on gNewSense2.0
Date: Wed, 21 May 2008 17:44:46 +1200

On Tue, 2008-05-20 at 23:57 -0500, Luis A. Guzman Garcia wrote:
> Hi, everyone!
> 
> I'm new in the list.
> My name is Luis Alberto, from Mexico.
> I'm also a gNewSense user (as you can see in the subject) :)
> 
> Well, i have been using IceCat (binaries), and they work great. So much
> that i decided that it will be my main browser (we currently have
> Epiphany), so i tried to compile it form the source code.
> 
> I would like your help with this;
> Since i'm not an expert i did it by "trial and error" , here's how i did
> it:
> 1. I ran ./config and got some errors from the GKT PATH and others, i
> got passed the ./config by installing these packages. (some of them not
> extremely necessary)
> 
> sudo apt-get install ftgl-dev libotf-dev libxft-dev libpango1.0-dev doxygen 
> autoconf libgtk2.0-dev libnm-glib-dev libidl-dev
> 
> 2. After finishing ./configure i used -make-, and after ~30 min i got this.
> 
> -----------
> .........
> make[2]: se ingresa al directorio 
> `/opt/icecat-2.0.0.13-g1/widget/src/gtkxtbin'
> gtk2xtbin.c
> gcc -o gtk2xtbin.o -c -I../../../dist/include/system_wrappers -include 
> ../../../config/gcc_hidden.h -DMOZILLA_INTERNAL_API -DOSTYPE=\"Linux2.6\" 
> -DOSARCH=\"Linux\" -DBUILD_ID=0000000000 -D_IMPL_GTKXTBIN_API -DUSE_XIM  
> -I../../../dist/include/xpcom -I../../../dist/include/gtkxtbin 
> -I../../../dist/include -I../../../dist/include/nspr    
> -I../../../dist/sdk/include -I.       -Wall -W -Wno-unused -Wpointer-arith 
> -Wcast-align -Wno-long-long -pedantic -pthread -pipe  -DNDEBUG -DTRIMMED -O 
> -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 
> -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 
> -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 
> -I/usr/include/pixman-1     -include ../../../mozilla-config.h 
> -DMOZILLA_CLIENT -Wp,-MD,.deps/gtk2xtbin.pp gtk2xtbin.c
> En el fichero incluído de gtk2xtbin.h:44,
>                  de gtk2xtbin.c:46:
> ../../../dist/include/system_wrappers/X11/Intrinsic.h:3:32: error: 
> X11/Intrinsic.h: No existe el fichero ó directorio
> In file included from gtk2xtbin.c:46:
> gtk2xtbin.h:78: error: expected specifier-qualifier-list before ‘Widget’
> gtk2xtbin.h:104: error: expected declaration specifiers or ‘...’ before 
> ‘String’
> gtk2xtbin.h:113: error: expected specifier-qualifier-list before 
> ‘XtTranslations’
> gtk2xtbin.h:117: aviso: struct no tiene miembros
> gtk2xtbin.h:120: error: expected specifier-qualifier-list before ‘Widget’
> gtk2xtbin.h:149: aviso: struct no tiene miembros
> En el fichero incluído de gtk2xtbin.c:61:
> ../../../dist/include/system_wrappers/X11/Shell.h:3:28: error: X11/Shell.h: 
> No existe el fichero ó directorio
> En el fichero incluído de gtk2xtbin.c:63:
> ../../../dist/include/system_wrappers/X11/StringDefs.h:3:33: error: 
> X11/StringDefs.h: No existe el fichero ó directorio
> .........
> -----------
> 
> The error goes recursive around gtk2xtbin.c and at the end i got 
> -----------
> .........
> make[2]: *** [gtk2xtbin.o] Error 1
> make[2]: se sale del directorio `/opt/icecat-2.0.0.13-g1/widget/src/gtkxtbin'
> make[1]: *** [tier_9] Error 2
> make[1]: se sale del directorio `/opt/icecat-2.0.0.13-g1'
> make: *** [default] Error 2
> address@hidden:/opt/icecat-2.0.0.13-g1$
> -----------
> 
> I didn't continue with -make install- because most likely it will fail.
> 
> Any suggestion? :P
> 
> Thanks in advance and again hi everybody.

Hi,

It's my first time posting to this list as well, so hello everybody.

Building IceCat (or for that matter Firefox) from source is not
something I've done before but I might be able to offer you a hint.

gNewSense 2.0 has Firefox 2 in the repositories so you can run sudo
apt-get build-dep firefox-2 to make sure you have all the appropriate
build dependencies.

The Mozilla dev pages might help you as well:
http://developer.mozilla.org/en/docs/Build_Documentation

Cheers,
Eric (MentalNotes)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]