From owner-freebsd-ports Thu Feb 27 22:40:32 2003 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E5E4A37B401; Thu, 27 Feb 2003 22:40:29 -0800 (PST) Received: from creme-brulee.marcuscom.com (rdu57-17-158.nc.rr.com [66.57.17.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id 08BFC43F3F; Thu, 27 Feb 2003 22:40:29 -0800 (PST) (envelope-from marcus@FreeBSD.org) Received: from [192.168.1.4] (shumai.marcuscom.com [192.168.1.4]) by creme-brulee.marcuscom.com (8.12.7/8.12.7) with ESMTP id h1S6dgZX041466; Fri, 28 Feb 2003 01:39:42 -0500 (EST) (envelope-from marcus@FreeBSD.org) Subject: Building an FAQ aka Solving the Mozilla problem From: Joe Marcus Clarke To: questions@FreeBSD.org Cc: ports@FreeBSD.org Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-2HXRSgnjcELF+EOKr0cm" Organization: FreeBSD, Inc. Message-Id: <1046414422.44133.41.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 Date: 28 Feb 2003 01:40:22 -0500 X-Spam-Status: No, hits=-6.3 required=5.0 tests=PGP_SIGNATURE_2 autolearn=ham version=2.50 X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --=-2HXRSgnjcELF+EOKr0cm Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Sorry for the cross-post, but this is getting a lot of air time on both lists. Since I have never really encountered the problems described in the recent onslaught of emails, I can only offer regurgitated help from other users, and some common sense best practices. Updates to this are welcome. When I'm done, I'll post it to my GNOME FAQ. Q. When I launch Mozilla, all I see is, " No running window found." and nothing ever happens. How do I fix this? A. This problem is usually indicative of a font issue. As of 1.2a, Mozilla is built with Xft2 support by default. This support allows Mozilla to render anti-aliased fonts. However, Xft2 can be problematic if your font setup is not correct. Here are some things you can try to remedy the problem. 1. Decide if you really want anti-aliased fonts in Mozilla. If not, you can simply rebuild Mozilla after adding WITHOUT_XFT to /etc/make.conf.=20 This will return Mozilla to the look and feel of 1.1 and earlier. 2. Make sure all your font files under /usr/X11R6/lib/X11/fonts have 0444 permissions. That is, make sure the font files are readable by all users. 3. Make sure you have the following in the Module section of your XF86Config file: Load "type1" Load "freetype" 4. Make sure you don't have the mozilla-fonts port or package installed. If you do, delete it, then run fc-cache -v -f as root. 5. Make sure ${PREFIX}/etc/fonts/fonts.conf exists (where ${PREFIX} is the prefix where Mozilla is inatalled). 6. Try running fc-cache -f -v as root to force a rebuild of the Xft fontconfig caches. 7. Try removing or renaming ~/.mozilla. 8. Try rebuilding print/freetype2, x11-fonts/fontconfig, and x11-fonts/Xft. 9. Remove or rename ~/.fonts.conf if it exists. 10. If you are using XFree86 from CVS (i.e. 4.2.99.x), manually install print/freetype2, x11-fonts/fontconfig, and x11-fonts/Xft from ports. 11. Make sure you're not building Mozilla with non-default CFLAGS or CPU optimizations. Make sure CFLAGS is set to -O -pipe, and try commenting out CPUTYPE in /etc/make.conf (if such an entry exists). If none of this works, add the following to /etc/make.conf: CFLAGS=3D "-O -g -pipe" STRIP=3D Then edit Mozilla's Makefile and remove the line that says "--enable-strip". Then rebuild fontconfig, Xft, and Mozilla. Then, launch Mozilla using the command mozilla -g. At the (gdb) prompt, type run. When Mozilla crashes, type bt, and send the resulting backtrace along with the output of fc-cache -v -f and fc-list -v to freebsd-gnome@freebsd.org. Joe --=20 Joe Marcus Clarke FreeBSD GNOME Team :: marcus@FreeBSD.org http://www.FreeBSD.org/gnome --=-2HXRSgnjcELF+EOKr0cm Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQA+XwRVb2iPiv4Uz4cRAqp5AJsGrGWI+B4EUy2SrEzC2PByfFou0wCgib1M q53p29ZGZ+Jw47xQjdZCyTk= =ApT5 -----END PGP SIGNATURE----- --=-2HXRSgnjcELF+EOKr0cm-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message