You are not logged in.

#1 2008-02-29 14:40:06

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,556

Firefox PGO build as user

Sup Archers,

Out of curiosity, I tried to build Firefox 3 from CVS with PGO. I just followed the instructions and used the simple script from this page to launch firefox between the builds:

#!/bin/sh
 export NO_EM_RESTART=1
 mkdir $OBJDIR/_profileprofile
 $OBJDIR/dist/bin/firefox -no-remote -profile $OBJDIR/_profileprofile

Here comes the problem, if I run makepkg as user, the build will fail:

(firefox-bin:8960): libgnomevfs-WARNING **: Unable to create ~/.gnome2 directory: Permission denied
Could not create per-user gnome configuration directory `/root/.gnome2/': Permission denied
make: *** [profiledbuild] Error 1
==> ERROR: Build Failed.
    Aborting...

Just a simple permission issue. As expected, if I run makepkg as root, everything will be ok.

So what would be the proper way to build this as user and therefore not browse the internet as root when creating my profile ?

TIA

Offline

#2 2008-03-12 15:02:44

SpookyET
Member
Registered: 2008-01-27
Posts: 410

Re: Firefox PGO build as user

Offline

Board footer

Powered by FluxBB