Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 May 2011 07:47:25 -0400
From:      Jason Hellenthal <jhell@DataIX.net>
To:        freebsd-ports@freebsd.org
Subject:   Re: Firefox 4 with PGO compile error
Message-ID:  <20110525114725.GA74093@DataIX.net>
In-Reply-To: <20110525102651.GA2297@think.gnix.co.uk>
References:  <BANLkTi=bTrY9jnF17jEOzOZ-VZ_esZGw2A@mail.gmail.com> <BANLkTikypGsL=79s9WeFDdQnhd2Xwh2vdQ@mail.gmail.com> <20110525102651.GA2297@think.gnix.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help

--5mCyUwZo2JvN/JJP
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable


freebsd-ports,

On Wed, May 25, 2011 at 11:26:51AM +0100, Jamie Paul Griffin wrote:
> On Wed, May 25, 2011 at 11:39:36AM +0200, Daniel Nebdal wrote:
> =20
> > I *think* that error is because it expects a gnome session (or at
> > least a dbus server) to be available. If you used plain "su" to become
> > root, it won't have the right environment. Could you try either sudo
> > or su -m ?
>=20
> I built it yesterday with this option enabled and I don't have gnome on m=
y system, only fvwm2. I also su'd from my regular user id to build and inst=
all the port. group wheel,operator.
>=20

The build needs to have access to the Xserver as the user who is
building the port. Since you are root, the correct environment variables
would not be set as well no access to the server by its normal access
methods.

As your build-user:
(csh): setenv DISPLAY :0
or,
(sh): export DISPLAY=3D:0

As the X user:
xhost +local: +inet:localhost


That should fixup that problem. At the beggining of the build there
is a message about this but not with the procedures that need to be done
to build the server with PGO successfully and expects someone to look
further into setting that up. Maybe its time to provide some URL's to
some directly relavent pages...

Good luck.

--=20

 Regards, (jhell)
 Jason Hellenthal


--5mCyUwZo2JvN/JJP
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (FreeBSD)
Comment: http://bit.ly/0x89D8547E

iQEcBAEBAgAGBQJN3OxNAAoJEJBXh4mJ2FR+2lIH/jZE4VkQWlnbtjWCKQaA3Z4Z
wBIb0DyFSo/nWUrIcMwgFu6Z7rrwin2u4tmx2bOC0Yn5CrRn+L/5jOHSpX1MIDyx
NUPzMMFNJc2MKH4qh+2rZCERKLWSRCTr593Bg9TajaJTk+lIMJVWixJCGgxyuAY3
E2UGPXL1BWmdonDrIk6uRUsFhIa9FeqW3Q9ex6DBV6HHZjWN1OhTGka67KT5iDeJ
PoeLpjzVrMuqbgAxR/J3he69WW50SA2/pGwVbs85DZ+GJy56CzUBpewYa9pdOd8Z
qr2wPLGsoIFdNRzOtgrxeH6gM0kESvAA6Kzm2Hik0iZGZkra4bJevHW07+cB3zQ=
=VebG
-----END PGP SIGNATURE-----

--5mCyUwZo2JvN/JJP--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110525114725.GA74093>