You are not logged in.
I have tried to build both Firefox-pgo and Firefox-pgo-beta and keep getting this error:
SyntaxError: invalid syntax
make[4]: *** [export] Error 1
make[4]: Leaving directory `/tmp/clyde-gary/firefox-pgo-beta/firefox-pgo-beta/src/mozilla-central/ff-pgo/config'
make[3]: *** [export_tier_base] Error 2
make[3]: Leaving directory `/tmp/clyde-gary/firefox-pgo-beta/firefox-pgo-beta/src/mozilla-central/ff-pgo'
make[2]: *** [tier_base] Error 2
make[2]: Leaving directory `/tmp/clyde-gary/firefox-pgo-beta/firefox-pgo-beta/src/mozilla-central/ff-pgo'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/tmp/clyde-gary/firefox-pgo-beta/firefox-pgo-beta/src/mozilla-central/ff-pgo'
make: *** [build] Error 2
Aborting...
error: Build failed
Any help fixing this would be appreciated.
Offline
add this patch http://repos.archlinux.org/wsvn/package … n2.7.patch
Give what you have. To someone, it may be better than you dare to think.
Offline
Can you explain how to add this patch, please?
Offline
add it to sources array and in build function patch -Np0 -i $srcdir/patchename, regenerate md5sums with makepkg -g and then makepkg
Give what you have. To someone, it may be better than you dare to think.
Offline
I can't seem to get my head wrapped around all this. I don't usually build packages. I either use the regular repos or AUR
Offline
I got it built by adding export PYTHON=python2 right before the first build in the pkgbuild. Does anybody know how to get the extensions working in this build?
Offline
I'm unable to build....stopping on this like and just freezing:
Xlib: extension "RANDR" missing on display ":99.0"
I saw another thread about this but it was very ambiguous. I'm not even sure that they were able to resolve it other than saying that Xlib 'can be ignored'.
Offline
I'm unable to build....stopping on this like and just freezing:
Xlib: extension "RANDR" missing on display ":99.0"
I saw another thread about this but it was very ambiguous. I'm not even sure that they were able to resolve it other than saying that Xlib 'can be ignored'.
Ehh, the compilation stops because of that?
Offline
@DarksideEE7
Maybe this hint will help: (This is the code for where your stopped at)
LD_PRELOAD="" /usr/bin/Xvfb -nolisten tcp -extension GLX :99 &
Did you figure it out yet?
Don't worry got me too. Make sure you have "xorg-server-xvfb" installed. It was split recently from xorg and you have to install it yourself now. It really needs to be added to the package dependencies.
Hope this helps!!
In solving a problem of this sort, the grand thing is to be able to reason backward. That is a very useful accomplishment, and a very easy one, but people do not practice it much. In the everyday affairs of life it is more useful to reason forward, and so the other comes to be neglected. There are fifty who can reason synthetically for one who can reason analytically. --Sherlock Holmes
Offline
I'm not even sure that they were able to resolve it other than saying that Xlib 'can be ignored'.
Yes, that message can be ignored. As I wrote earlier in this topic:
[T]hat's this problem.
Do not change your makepkg.conf, that's hardly ever necessary and won't solve this problem. Change the CFLAGS and CXXFLAGS in your PKGBUILD to something like (in your case):
export CFLAGS="-march=i686 -O2 -pipe" export CXXFLAGS="${CFLAGS}"
Another possiblity (you don't have to use them both) is to change .makepkg on-the-fly (at least it worked for me). Add this line to your PKGBUILD, just after "$srcdir"/mozconfig is copied to .mozconfig:
sed -i 's/--enable-optimize/--enable-optimize="-O2"/' .mozconfig
Offline
interesting: firefox 4.06beta cut down Sunspider benchmark to half:
firefox 3.6.x (no difference between updates) : 1340ms
firefox 4.0 beta: 766ms
finally firefox for linux is on par with windows. Not to mention that beta version is more stable than official
Offline
User on AUR reports, that ff 4.0 beta 7
And it builds and works fine with the same PKGBUILD.
Anybody tried to compile?
Offline
It compiles fine for me too, using it right now.
Offline
Compiled, works smoothly.
One problem - ReadItLater stopped syncing. Previously there was no problem with that. Beta7 has problem. I've compiled it with Firefox sync workaround:
#Firefox sync workaround
sed -i 's/--with-system-nss/--without-system-nss/' \
.mozconfig || return 1
Beta6 worked great with extension - now it's broken. Anybody encountered this?
Offline
I have no flash video in Firefox-pgo-beta 4.0b7build1-1 in Arch64. I have the stock flashplugin (10.1.102.64-1) from the multilib repository installed. I also tried replacing it with flashplugin-square from AUR. With either flashplugin, the plugin shows up in about:plugins, but I only see a black square for videos on youtube.
Any suggestions?
Edit: Update: Restarted firefox in safe-mode, and flash works. Looks like there might be a conflict with an extension.
Solved: Oddly enough, the problem was caused by a conflict with the Mr. Tech Link Wrapper extension.
Last edited by jt512 (2010-11-19 05:50:40)
Offline
Once going to http://translate.google.com, plugin-container (flash) starts eating loads of CPU and Firefox hangs for ~40 seconds. After that it unhangs, open page and says "some" plugin has crashed. I have Shockwave Flash 10.2 d161 installed.
It was 666th post, thank you very much.
Last edited by taavi (2010-11-25 07:55:03)
Offline
What version of Firefox do you use? I never experienced that with that page, neither using 3.6.X nor FF4b7.
666th post? I see 'Posts: 9'.
Last edited by Marcel- (2010-11-25 10:37:44)
Offline
local/firefox-pgo 3.6.12-1
666 in thread lol
Offline
Am new to trying out PGO, so I have a pretty dumb question, if I build on another machine (same architecture but different processor) will the optimizations cause problems running this package on my current machine?
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline
@ngoonee
AFAIK Should be problems.
Offline
I was building this for a while on my 64-bit athlon in a 32-bit chroot for my eee. I think as long as you don't use too specific CFLAGS (for the target) then there shouldn't be any problems.
You might not get the best optimizations, but at least it won't take days to compile on the slower cpu. (I'm guessing thats the reason).
Offline
I have a question... I have been using firefox-pgo-beta for a while now, and every time I get a new version, I remove 'libgnomeui' from the PKGBUILD. The reason is it pulls a lot of deps for me:
oscar@arch-laptop: [~] >>> yaourt -S libgnomeui
Lösenord:
löser beroenden...
letar efter interna konflikter...
Mål (10): libart-lgpl-2.3.21-1 libgnomecanvas-2.30.3-1 hal-info-0.20091130-1 dmidecode-2.11-1 hal-0.5.14-6 gnome-vfs-2.24.4-1
libbonobo-2.32.0-1 libgnome-2.32.0-3 libbonoboui-2.24.4-1 libgnomeui-2.24.4-1
(sorry it's in swedish)
For example, I don't want HAL on my system... Anyway, my question is, why is 'libgnomeui' in the makedepends? It always compiles without trouble, and it works beautifully without it.
Last edited by KlavKalashj (2011-02-02 21:50:30)
Offline
It's a makedepend and you can remove it afterwards, along with it's own dependencies.
Offline
It's a makedepend and you can remove it afterwards, along with it's own dependencies.
That does not answer my question... What I mean is, I don't have libgnomeui installed, and I remove it from makedepends in the PKGBUILD. I never install it. Firefox still compiles and runs fine, hence the question. Sorry if I'm being unclear, english is not my native language.
Offline
you need to put the following in mozconfig:
ac_add_options --disable-gnomeui --disable-gnomevfs
then do the sha256sum on mozconfig again and add it to PKGBUILD
"I know what you're thinking, 'cause right now I'm thinking the same thing. Actually, I've been thinking it ever since I got here:
Why oh why didn't I take the BLUE pill?"
Offline