You are not logged in.

#1 2005-06-15 12:00:19

big_gie
Member
Registered: 2005-01-19
Posts: 637

mozilla-firefox compile but can't run

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

#2 2005-06-15 13:55:56

IceRAM
Member
From: Bucharest, Romania
Registered: 2004-03-04
Posts: 772
Website

Re: mozilla-firefox compile but can't run

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).

Offline

#3 2005-06-15 14:02:05

big_gie
Member
Registered: 2005-01-19
Posts: 637

Re: mozilla-firefox compile but can't run

Thanks for the "abs" thing... wink

I didn't ran makpkg as root, but isn't fakeroot supposed to take care of this?

I'll try doing so...

Offline

#4 2005-06-15 15:18:32

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: mozilla-firefox compile but can't run

Sure you didn't miss things? Looks like the initialization tarball wasn't unpacked in your build.

Offline

#5 2005-06-15 15:48:17

big_gie
Member
Registered: 2005-01-19
Posts: 637

Re: mozilla-firefox compile but can't run

I've checked and "mozilla-firefox-nonroot.tar.gz" was extracted...

I'll just try again using "abs" files...

Thanks for the help.

Offline

#6 2005-06-16 08:52:54

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: mozilla-firefox compile but can't run

once you have installed it, run it as root once, then it should work,

Offline

#7 2005-06-16 12:57:51

big_gie
Member
Registered: 2005-01-19
Posts: 637

Re: mozilla-firefox compile but can't run

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

#8 2005-06-16 15:19:00

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: mozilla-firefox compile but can't run

iphitus wrote:

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

#9 2005-06-17 07:00:14

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: mozilla-firefox compile but can't run

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

Board footer

Powered by FluxBB