compile firefox-3.0 source code



Hi everyone!
Now, I using ubuntu 8.04 and I want to compile Firefox source code.
But when I compile have error of other packages dependency. I will
describe below
1. downloaded Firefox-3.0 source code: firefox-3.0.3-source.tar.bz2
2. tar firefox-3.0.3-source.tar.bz2
3. cd mozilla
4. create .mozconfig file with content :

. $topsrcdir/browser/config/mozconfig
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/../firefox-build

ac_add_options --prefix=/usr

ac_add_options --with-system-zlib
ac_add_options --with-system-png
ac_add_options --with-system-jpeg
ac_add_options --enable-system-cairo

ac_add_options --enable-official-branding

ac_add_options --enable-canvas

ac_add_options --enable-strip

ac_add_options --disable-tests

ac_add_options --disable-installer

ac_add_options --disable-accessibility

ac_add_options --enable-xinerama

ac_add_options --with-default-mozilla-five-home=/usr/lib/firefox-3.0
5. make -f client.mk build
" ...
checking for png_get_valid in -lpng... yes
checking for png_get_acTL in -lpng... no
configure: error: --with-system-png won't work because the
system's libpng doesn't have APNG support
*** Fix above errors and then restart with "make -f
client.mk build"
... "
I installed libpng1.2.15, and I think it's old version and doesn't have
APNG support so I download libpng1.2.27 source code.
However when compile libpng1.2.27 it have error and I don't know how to
fix error
1. downloaded
ftp://ftp.tu-chemnitz.de/.SAN0/pub/linux/sunsite.unc-mirror/distributions/zenwalk/i486/zenwalk-5.2/source/l/libpng/libpng-1.2.27.tar.bz2

2. tar libpng-1.2.27.tar.bz2
3. cd libpng-1.2.27
3. ./configure # --> it' OK!
4. make check
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H
-I. -DPNG_CONFIGURE_LIBPNG -g -O2 -MT libpng12_la-png.lo
-MD -MP -MF .deps/libpng12_la-png.Tpo -c -o libpng12_la-png.lo `test -f
'png.c' || echo './'`png.c
./libtool: line 839: X--tag=CC: command not found
./libtool: line 872: libtool: ignoring unknown tag : command not
found
./libtool: line 839: X--mode=compile: command not found
./libtool: line 1005: *** Warning: inferring the mode of
operation is deprecated.: command not found
./libtool: line 1006: *** Future versions of Libtool will require
--mode=MODE be specified.: command not found
./libtool: line 1149: Xgcc: command not found
./libtool: line 1149: X-DHAVE_CONFIG_H: command not found
./libtool: line 1149: X-I.: command not found
./libtool: line 1149: X-DPNG_CONFIGURE_LIBPNG: command not found
./libtool: line 1149: X-g: command not found
./libtool: line 1149: X-O2: command not found
./libtool: line 1149: X-MT: command not found
./libtool: line 1149: Xlibpng12_la-png.lo: command not found
./libtool: line 1149: X-MD: command not found
./libtool: line 1149: X-MP: command not found
./libtool: line 1149: X-MF: command not found
./libtool: line 1149: X.deps/libpng12_la-png.Tpo: No such file or
directory
./libtool: line 1149: X-c: command not found
./libtool: line 1200: Xlibpng12_la-png.lo: command not found
./libtool: line 1205: libtool: compile: cannot determine name of
library object from `': command not found
make: *** [libpng12_la-png.lo] Error 1


Please help me to fix error, and tell me if you have a good tutorial
about compile source code on linux

Thanks very much!
ThanhDD

--
=====================================================
Dao Duy Thanh
Toshiba Software Development Vietnam (TSDV) Co., Ltd.
-----------------------------------------------------
Addr: Floor 16, VIT Building
519 Kim ma street, Hanoi, Viet Nam
E-mail: thanhdd@xxxxxxxxxxx
Tel: +84-4-220-8801 ext.160
Mobile: +84-09-79-048-168
====================================================


--------------------------------------
This mail was scanned by BitDefender


--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



Relevant Pages

  • Re: C++/TCL Need Solution to Compile Error c2784
    ... There's always the "Platform SDK" from MSDN if you need the window.h stuff, ... Since I'm using the Command Prompt rather than the GUI to compile the ... I then tried to compile your source code and I kept getting the same ...
    (comp.lang.tcl)
  • Re: Debugging Newbie Question
    ... The CLR does not understand this source code and so before it ... ASP.NET, however, ASP.NET will compile your page's source code and cache ... the debugger will have IL and x86 created from ... in release mode assemblies. ...
    (microsoft.public.dotnet.faqs)
  • Re: Debugging Newbie Question
    ... The CLR does not understand this source code and so before it ... ASP.NET will compile your page's source code and cache the result ... > does this so that a debugger can attach to the code and allow you to step ... > release mode assemblies. ...
    (microsoft.public.dotnet.faqs)
  • The curse of constant fields
    ... feature in the Java language, and decided to write up about it. ... in a class, compile the changed class, and run the code manually to ... A quick search through the source code shows that there is no other ... This is true even if the usage itself is not ...
    (comp.lang.java.programmer)
  • Re: creaping coupling......
    ... In C++ it would be trivial to break that source code dependency, ... When you compile a .java module, ... In Java and C# it's asserted at compile time. ...
    (comp.object)