From owner-freebsd-questions@FreeBSD.ORG Sun Aug 26 04:32:35 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 43F7C106564A for ; Sun, 26 Aug 2012 04:32:35 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id E0D178FC15 for ; Sun, 26 Aug 2012 04:32:34 +0000 (UTC) Received: from r56.edvax.de (port-92-195-49-179.dynamic.qsc.de [92.195.49.179]) by mx02.qsc.de (Postfix) with ESMTP id 46CF327C87; Sun, 26 Aug 2012 06:32:28 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id q7Q4WRk1004657; Sun, 26 Aug 2012 06:32:27 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sun, 26 Aug 2012 06:32:27 +0200 From: Polytropon To: contro opinion Message-Id: <20120826063227.0cb667fb.freebsd@edvax.de> In-Reply-To: References: <20120826051226.3f9566fa.freebsd@edvax.de> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Aug 2012 04:32:35 -0000 { 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, ...