From owner-freebsd-questions@FreeBSD.ORG Sun Aug 26 12:41:37 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0E88C106566B for ; Sun, 26 Aug 2012 12:41:37 +0000 (UTC) (envelope-from contropinion@gmail.com) Received: from mail-wg0-f51.google.com (mail-wg0-f51.google.com [74.125.82.51]) by mx1.freebsd.org (Postfix) with ESMTP id 737078FC0A for ; Sun, 26 Aug 2012 12:41:35 +0000 (UTC) Received: by wgbed3 with SMTP id ed3so1934501wgb.8 for ; Sun, 26 Aug 2012 05:41:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=GoYlFHocJpVgV8pAagE1+0srMg/cqKtLiUzcKjfnlq0=; b=AvoNriMYk1EbUdvybbMARnsoUMhVrfjXXcGN+Sexwu6YVZvFMlpmNfNFErrOKDoi8N g+r/Q/8Tuu42+hpyZSUBQgkZawwPrPoRT9gpitpZbhUXDDhZPxZYIr5gdzggl/WI1f8r yVDYTyQrzG3ArhndSFyEeTSwm55JuBnW+SHHC6rwYDDaW5Zis2x/w/actkUd6Q0g5rIj 8mQWOk9wPllgaFBEY5WQIdGnlDQrPtFowZdCxGS8OMpYOPX4Vy4Knii5VrRist3jIR6Z iO+GYgL1G2cSQqZ1qQ4nZmFx5kfqck/S5dp6tWEIY3WAYNY6YX+FfnF+TXjBBPKLRp/V yR4A== MIME-Version: 1.0 Received: by 10.180.104.197 with SMTP id gg5mr18300272wib.9.1345984895178; Sun, 26 Aug 2012 05:41:35 -0700 (PDT) Received: by 10.194.77.77 with HTTP; Sun, 26 Aug 2012 05:41:35 -0700 (PDT) In-Reply-To: <20120826063227.0cb667fb.freebsd@edvax.de> References: <20120826051226.3f9566fa.freebsd@edvax.de> <20120826063227.0cb667fb.freebsd@edvax.de> Date: Sun, 26 Aug 2012 08:41:35 -0400 Message-ID: From: contro opinion To: Polytropon Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Questions Subject: Re: how to solve the problem to install R? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Aug 2012 12:41:37 -0000 when i make configure ,there is a wrong output,how can i do now? Downloaded 689.8 kilobytes in 3:35 seconds. (3.19 KB/s) ===> Found saved configuration for png-1.5.12 => SHA256 Checksum mismatch for libpng-1.5.12.tar.xz. => SHA256 Checksum OK for libpng-1.5.12-apng.patch.gz. ===> Giving up on fetching files: libpng-1.5.12.tar.xz Make sure the Makefile and distinfo file (/usr/ports/graphics/png/distinfo) are up to date. If you are absolutely sure you want to override this check, type "make NO_CHECKSUM=yes [other args]". *** Error code 1 Stop in /usr/ports/graphics/png. *** Error code 1 Stop in /usr/ports/graphics/png. *** Error code 1 Stop in /usr/ports/graphics/png. *** Error code 1 Stop in /usr/ports/math/R. *** Error code 1 Stop in /usr/ports/math/R. 2012/8/26 Polytropon > { Re-including list, hope that's okay. } > > > On Sun, 26 Aug 2012 00:14:37 -0400, contro opinion wrote: > > # cd /usr/ports/math/R > > [root@sea /usr/ports/math/R]# make configure > > ===> R-2.15.1 is marked as broken: The PDF_MANUALS option cannot be > used, > > because print/texinfo is incompatible with print/teTeX-base. > > *** Error code 1 > > > > Stop in /usr/ports/math/R. > > > > > > how can i do now? > > I have the same port version here, and I can get to the > configuration menu. First of all, make sure you have done > > # make rmconfig > > And then you should see no error message when doing > > # make configure > > And in the menu, do _not_ select PDF_MANUALS. Having > examined the port's Makefile for the BROKEN variable > and other options that might "trigger" it, it seems > that the R port has significant problems regarding > its documentation. > > +--------------------------------------------------------------------+ > | Options for R 2.15.1 | > | +----------------------------------------------------------------+ | > | | [ ] ATLAS Use ATLAS instead of BLAS/LAPACK | | > | | [X] GHOSTSCRIPT [dev2]bitmap() graphics devices | | > | | [X] ICU Use ICU for collation in multibyte locales | | > => | | [X] INFO_MANUALS GNU info manuals | | > | | [X] JPEG jpeg() graphics device | | > | | [ ] LETTER_PAPER US Letter paper | | > | | [X] LIBR R shared library and a dynamically-linked R | | > | | [X] PANGOCAIRO cairo and pango graphics support | | > | | [X] PCRE_PORT Use devel/pcre instead of the bundled PCRE | | > => | | [ ] PDF_MANUALS PDF manuals (requires TeX) | | > | | [X] PNG png() graphics device | | > | | [X] TCLTK tcltk package | | > | | [X] THREADS Threading support | | > | | [X] X11 X11() graphics device | | > | | | | > +-+----------------------------------------------------------------+-+ > | [ OK ] Cancel | > +--------------------------------------------------------------------+ > > Then you should be able to continue building (will possibly pull > gcc 4.6.3, this is the point where I stopped testing it myself. > > If this doesn't work, again remove the configuration and re-enter > it by "make configure": Then deselect INFO_MANUALS also. As I > said, the port's Makefile shows: > > .if ${PORT_OPTIONS:MINFO_MANUALS} && ${PORT_OPTIONS:MDOCS} > ALL_TARGET+= info > INFO= R-FAQ R-admin R-data R-exts R-intro R-lang > .endif > > .if ${PORT_OPTIONS:MPDF_MANUALS} && ${PORT_OPTIONS:MDOCS} > BROKEN = The PDF_MANUALS option cannot be used, because\ > print/texinfo is incompatible with print/teTeX-base > BUILD_DEPENDS += pdftex:${PORTSDIR}/print/teTeX-base \ > texi2dvi:${PORTSDIR}/print/texinfo > ALL_TARGET+= pdf > CONFIGURE_ENV += INSTALL_INFO="${LOCALBASE}/bin/install-info" \ > MAKEINFO="${LOCALBASE}/bin/makeinfo" > INSTALL_TARGET+= install-pdf > PLIST_SUB+= PDF_MANUAL="" > .else > PLIST_SUB+= PDF_MANUAL="@comment " > .endif > .endif # LIBR_SLAVEPORT > .endif # !LIBRMATH_SLAVEPORT > > Keywords are MDOCS and MINFO_MANUALS here. So if the problem > might be inherited from other ports (mdoc related?), you could > do > > # make rmconfig-recursive > > followed by > > # make config-recursive > > to visit and carefully check all configuration screens that might > have an option that "triggers" the BROKEN mechanism, possibly > related to some info, texinfo, teTex or other dependency for the > documentation of R. > > Finally, you could try to install R from package (via pkg_add -r). > The Makefile doesn't define RDEPS (runtime dependencies), so that > should be relatively easy. The LaTeX dependency seems to be a > build dependency (see Makefile excerpt above). > > If you don't have success with any advice, maybe file a ports PR. > > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... >