From owner-freebsd-questions Wed Apr 24 21:39:34 2002 Delivered-To: freebsd-questions@freebsd.org Received: from pioneernet.net (mail.pioneernet.net [207.115.64.224]) by hub.freebsd.org (Postfix) with ESMTP id 4AE7C37B41A for ; Wed, 24 Apr 2002 21:39:20 -0700 (PDT) Received: from chip3.wiegand.org [66.114.152.128] by pioneernet.net (SMTPD32-6.06) id A305282F0152; Wed, 24 Apr 2002 21:16:05 -0700 Date: Wed, 24 Apr 2002 21:18:22 -0700 From: Chip Wiegand To: Joe Marcus Clarke Cc: tim@firstinitiallastname.com, freebsd-questions@FreeBSD.ORG Subject: Back to java problem WAS: Re: FreeBSD Port Mozilla - fails badly when I ran portupgrade Message-Id: <20020424211822.2a372993.chip@wiegand.org> In-Reply-To: <1019661645.8815.12.camel@gyros.marcuscom.com> References: <20020423231838.60e8f150.chip@wiegand.org> <20020424071622.Y34206-100000@fw.firstinitiallastname.com> <20020424074322.18ea1b22.chip@wiegand.org> <1019661645.8815.12.camel@gyros.marcuscom.com> Organization: Alternative Operating Systems X-Mailer: Sylpheed version 0.7.0claws (GTK+ 1.2.10; i386--freebsd4.5) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Sooo, on 24 Apr 2002 12:20:29 -0300 Joe Marcus Clarke wrote: > On Wed, 2002-04-24 at 11:43, Chip Wiegand wrote: > > Sooo, on Wed, 24 Apr 2002 07:18:06 -0700 (PDT) Tim Erlin > > wrote: > > > > > I didn't actually upgrade, but installed 0.9.9 alone. There were a > > > number of problems. Make sure that you install both the > > > linux-jdk13 and the/usr/ports/java/jdk13 first. Then the Mozilla > > > build should go more smoothly. > > > > > > --Tim > > > > > > I already have - > > linux-jdk-1.3.1.03 Sun Java Development Kit 1.3 for Linux > > When I try to install /usr/ports/java/jdk13 I get that failed > > install message about the BOOTDIR - > > > > chip3# make > > ===> Building for jdk-1.3.1p6_4 > > i386 Build started: 1.3.1-p6-chip-020424-07:38 > > ERROR: Your BOOTDIR environment variable does not point > > to a valid Java 2 SDK for bootstrapping this build. > > A Java 2 SDK 1.3.1 build must be bootstrapped against any > > 1.3 build. Please update your ALT_BOOTDIR setting, or > > just unset it, and start your build again. > > > > Exiting because of the above error(s). > > gmake: *** [sanity] Error 1 > > *** Error code 2 > > > > Stop in /usr/ports/java/jdk13. > > > > I also have jre-1.1.8 and javamwrapper-1.4 installed, fwiw. > > > > So, I'm kind of stuck. Don't know what to do next. > > Looks like you're environment is hosed. Do you have any "chip" > related environment variables set? Have you messed with the > compat.linux sysctls? > > Joe Okay, I portupgraded both versions of freetype that are installed and the portupgraded mozilla, and it actually finished without any errors. Great! I also have linux-jdk-1.3.1.03, jre-1.1.8 installed. When I try to build jkd13 I still get the error about no valid java for boostrapping (see above). Should I pkg_delete these and then reinstall them? I'm not sure what you mean by "any "chip" related environment variables set?" Would that be in the /etc/make.conf? If so, no, it has only one line - XFREE86_VERSION=4 and nothing else. Another poster mentioned adding WITH_FULL_MOZILLA=yes to the make.conf, but I forgot to before making the portupgrade, would that matter in this case? -- Chip > > > > > On Tue, 23 Apr 2002, Chip Wiegand wrote: > > > > > > > Has anyone gotten the portupgrade of mozilla to work? I have > > > > 0.9.7 installed and ran portupgrade after doing a cvsup. The > > > > version that portupgrade tried is 1.0.whatever.rc1 (or something > > > > very close to that),(the web site lists 0.9.9.3_1) and it failed > > > > miserably. I checked the progress occasionally and there were > > > > many many stops and errors, it finally restored the original > > > > version and stopped with a message like this -(This is how much > > > > I could copy from the term window) -------------------- > > > > nsAntiAliasedGlyph.cpp:108: `aBbox' was not declared in this > > > > scope nsAntiAliasedGlyph.cpp:109: ANSI C++ forbids declaration > > > > `mLBearing' with no type nsAntiAliasedGlyph.cpp:109: `aBbox' was > > > > not declared in this scope nsAntiAliasedGlyph.cpp:110: ANSI C++ > > > > forbids declaration`mRBearing' with no type > > > > nsAntiAliasedGlyph.cpp:110: `aBbox' was not declared in this > > > > scope nsAntiAliasedGlyph.cpp:111: ANSI C++ forbids declaration > > > > `mAdvance' with no type nsAntiAliasedGlyph.cpp:111:`aSlot' was > > > > not declared in this scope nsAntiAliasedGlyph.cpp:112: ANSI C++ > > > > forbids declaration `mWidth' with no type > > > > nsAntiAliasedGlyph.cpp:112:`aSlot' was not declared in this > > > > scope nsAntiAliasedGlyph.cpp:113: ANSI C++ forbids declaration > > > > `mHeight' with no type nsAntiAliasedGlyph.cpp:113: `aSlot' was > > > > not declared in this scope nsAntiAliasedGlyph.cpp:116: syntax > > > > error before`if'{standard input}: Assembler messages:{standard > > > > input}:320: Error: Rest of line ignored. First ignored character > > > > is`:'.{standard input}:326: Error: Rest of line ignored. First > > > > ignored character is `:'.{standard input}:332: Error: Rest of > > > > line ignored. First ignored character is `:'.{standard > > > > input}:338: Error: Rest of line ignored. First ignored character > > > > is`:'.{standard input}:344: Error: Rest of line ignored. First > > > > ignored character is`:'.{standard input}:350: Error: Rest of > > > > line ignored. First ignored character is `:'. gmake[4]: *** > > > > [nsAntiAliasedGlyph.o] Error 1 gmake[4]: Leaving > > > > directory`/usr/ports/www/mozilla/work/mozilla/gfx/src/gtk' > > > > gmake[3]:*** [libs] Error 2 gmake[3]: Leaving directory > > > > `/usr/ports/www/mozilla/work/mozilla/gfx/src' gmake[2]: *** > > > > [libs] Error 2 gmake[2]: Leaving directory > > > > `/usr/ports/www/mozilla/work/mozilla/gfx' gmake[1]: *** [tier_9] > > > > Error 2 gmake[1]: Leaving directory > > > > `/usr/ports/www/mozilla/work/mozilla' gmake: *** [default] Error > > > > 2*** Error code 2 > > > > > > > > Stop in /usr/ports/www/mozilla. > > > > *** Error code 1 > > > > > > > > Stop in /usr/ports/www/mozilla. > > > > ** Command failed: make > > > > ---> Restoring the old version > > > > ** Fix the installation problem and try again. > > > > [Updating the pkgdb in /var/db/pkg ... - 182 packages found (-0 > > > > +1). done]** The following packages were not installed or > > > > upgraded ( ! www/mozilla (mozilla-0.9.7_2,1) > > > > (install error) chip3# > > > > ----------- > > > > > > > > That's only a very small portion of it of course, but you get > > > > the picture, its ugly. > > > > > > > > -- > > > > chip To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message