You are not logged in.
Hi,
I wanted to try to optimized my firefox build, so I went to package cvs (http://cvs.archlinux.org/cgi-bin/viewcv … ag=CURRENT)
and downloaded everything.
Now I run makepkg and everything runs ok. I didn't modified the PKGBUILD.
Now when I install the new package and try to run firefox, I get:
-(nicolas@di8500:0)-(9 files:36K@Fichiers)-(0 jobs)-(13:54)-
-(~/Fichiers:$)-> firefox
*** loading the extensions datasource
*** ExtensionManager:_updateManifests: no access privileges to application directory, skipping.
*** loading the extensions datasource
*** ExtensionManager:_updateManifests: no access privileges to application directory, skipping.
[...]
And this goes on forever...
What could be wrong? Can the CFLAGS cause this? Here are what I've tryed:
export CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -mmmx -msse -msse2 -mfpmath=sse -fprefetch-loop-arrays -ffast-math"
export CXXFLAGS="${CFLAGS} -fvisibility-inlines-hidden"
Thank you very much.
Offline
1. abs is your friend: run "abs" and the entire cvs.archlinux.org will be sync-ed to /var/abs (you can get the entire mozilla-firefox dir from there)
2. did you makepkg as root? (not doing this might cause problems with some packages).
:: / my web presence
Offline
Thanks for the "abs" thing...
I didn't ran makpkg as root, but isn't fakeroot supposed to take care of this?
I'll try doing so...
Offline
Sure you didn't miss things? Looks like the initialization tarball wasn't unpacked in your build.
Offline
I've checked and "mozilla-firefox-nonroot.tar.gz" was extracted...
I'll just try again using "abs" files...
Thanks for the help.
Offline
once you have installed it, run it as root once, then it should work,
Offline
For some times, I had this CTAGS in my /etc/makepkg.conf:
export CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -mmmx -msse -msse2 -mfpmath=sse -fprefetch-loop-arrays"
I then added "-ffast-math" yesterday.
Anything done after compiling with both tags didn't work (even running as root).
I switched back to the default
export CFLAGS="-march=i686 -O2 -pipe -Wl,-O1"
export CXXFLAGS="-march=i686 -O2 -pipe -Wl,-O1"
And now my own compiled firefox works... So It seems that this is a cflag error...
Anyone know witch flag could break it?
Offline
once you have installed it, run it as root once, then it should work,
i think that's what the nonroot tarball is - all those silly files firefox creates on first run as root
Offline
As maintainer we don't bother about these stupid CFLAG issues, but when looking at gentoo... they filter out bad cflags in their ebuilds because too many people are using way too much optimization.
Offline