|
|||||||||
| Register | FAQ | Top Statistics | Today's Posts | Donate | Gallery | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
#1
|
|||||
|
|||||
|
Building Firefox from source
(creates debs to install in opt)
At the end of the build - in your /Build1 directory, you should have a firefox3 deb that you can install with kpackage.
__________________
Simply Mepis = Simply Freedom. Registered Linux User: #448772 MEPIS 8.5 - 32bit KDE4 : Antec 300 case, Corsair 520HX PSU, Asus P5Q Pro Mobo, Q6600 G0 quad core @ 3Ghz, Xigmatek HDT-S1283 Cooler, 4Gb Corsair Dominator DDR2 1066, Gigabyte GTX260 OC, 2 x WD 500Gb Sata2, Asus Sata CD/DVD Rom, Logitech - Wave Kb, G5 Mouse, X230 2.1 Sound, DSE 'generic' Webcam. Everything works ! |
|
#2
|
|||
|
|||
|
This all went well until the final stage, when I got this;
>>> dpkg-buildpackage: set CFLAGS to default value: -g -O2 dpkg-buildpackage: set CPPFLAGS to default value: dpkg-buildpackage: set LDFLAGS to default value: dpkg-buildpackage: set FFLAGS to default value: -g -O2 dpkg-buildpackage: set CXXFLAGS to default value: -g -O2 dpkg-buildpackage: source package firefox3 dpkg-buildpackage: source version 3.6.3-0mlrepo3 dpkg-buildpackage: source changed by cjn <cjn@accord> dpkg-buildpackage: host architecture amd64 fakeroot debian/rules clean dh_testdir dh_testroot rm -f build-stamp configure-stamp # Add here commands to clean up after the build process. rm -rf mozilla-1.9.1 dh_clean dpkg-source -b firefox3-3.6.3 dpkg-source: info: using source format `1.0' dpkg-source: info: building firefox3 in firefox3_3.6.3-0mlrepo3.tar.gz dpkg-source: info: building firefox3 in firefox3_3.6.3-0mlrepo3.dsc debian/rules build dh_testdir # Add here commands to configure the package tar xjvf firefox*.tar.bz2 tar: firefox*.tar.bz2: Cannot open: No such file or directory tar: Error is not recoverable: exiting now tar: Child returned status 2 tar: Error exit delayed from previous errors make: *** [configure-stamp] Error 2 dpkg-buildpackage: failure: debian/rules build gave error exit status 2 >>> Can you help me to fix it? |
|
#3
|
||||
|
||||
|
I'll try my own build of 3.6 later today. Sometimes when Mozilla release a vastly new incremental build, you have to get right inside their configs because they change quite a few names.
The walkthrough worked with the 3.5.x series - probably won't with 3.6.x Give me some time to check it out. I'll advise in due course. |
|
#4
|
|||
|
|||
|
Much obliged!
Couldn't resist going to 3.6 :)
__________________
Mepis-8.5rel01_64 |
|
#5
|
||||
|
||||
|
Brooko, I reused your community repo source to build my own 3.6 debs in Package Sharing, but had to tweak a few lines in the /debian folder...let me see if I can find it...OK, FF 3.6 uses xulrunner 1.9.2, so just grep or use Kfind to find all instances of 1.9.1 in the /debian folder and replace with 1.9.2, and the build should succeed.
Zevon, in addition to that, it looks like you failed at the start when the script could not find an appropriate firefox*.tar.bz2 source tarball to extract. What is the name of the file you downloaded, and where was it?
__________________
Mencoder's an amazing program--it can do just about everything--and I can't get it do anything! Tux Radar Podcast 7 Last edited by Stevo : 04-04-2010 at 05:56 PM. |
|
#6
|
||||
|
||||
|
Thanks Stevo
Yep I remember doing that last time going from 3.4 to 3.5. I think what I'll do is build the latest and greatest for the CR - then anyone can use the new source to build their own if they want to have a go. |
|
#7
|
|||
|
|||
|
Quote:
"firefox-3.6.3.source.tar.bz2" placed in the /Build1 directory. |
|
#8
|
||||
|
||||
|
re-read Brooko's original instructions, step 4 and step 5
|
|
#9
|
|||
|
|||
|
Thanks, that got me further along to..
patch -p0 < debian/patches/moz_appdir.patch can't find file to patch at input line 3 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- mozilla-1.9.1/build/unix/mozilla.in 2007-10-05 08:29:26.000000000 +0100 |+++ mozilla-1.9.1/build/unix/mozilla.in 2008-07-06 15:43:22.000000000 +0100 -------------------------- File to patch: Skip this patch? [y] Skipping patch. 1 out of 1 hunk ignored make: *** [configure-stamp] Error 1 dpkg-buildpackage: failure: debian/rules build gave error exit status 2 Too tired to do any more right now. (01:24) |
|
#10
|
||||
|
||||
|
Well....I see some instances of 1.9.1 right there in the error that were not changed to 1.9.2.
Quote:
|
![]() |
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Cannot locate GuardDog in Mepis 8 | mich | Newbies | 15 | 01-10-2010 10:33 PM |
| most excellent E17 repo*** ;-) (jaunty?) | loco | Regulars | 0 | 10-10-2009 03:05 PM |
| Compiz-Fusion from Debian Sid (0.7.6) looks portable.... | Stevo | Composite Window Managers | 9 | 09-08-2008 01:47 AM |
| Unresolved - Trouble getting video to play in Mepis 7.0 | JawsThemeSwimming428 | Video-Related | 25 | 01-03-2008 12:48 AM |
| Debian-multimedia.org / Mirrors | Saist | General Topics | 1 | 09-27-2007 12:21 AM |