Re: how to solve the problem to install R?

2012-08-26 Thread contro opinion
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 free...@edvax.de

 { 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] PANGOCAIROcairo 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 

Re: how to solve the problem to install R?

2012-08-26 Thread Polytropon
On Sun, 26 Aug 2012 08:41:35 -0400, contro opinion wrote:
 when i  make configure ,there is a wrong output,how can i do now?

That's impossible. Are you sure your ports collection is
properly updated and complete? The screenshot I've inserted
has been directly copied from the terminal. As R has
settable options, make configure (_after_ make rmconfig
to limit the possibilities of mistakes) is supposed to
bring up the configuration dialog I showed.


Then you proceed to show messages from a make or make
install command:

 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

Another problem with png (libpng is a dependency of R).
Make sure your ports tree is up to date. Don't forget
to

# make clean

prior to any new build attempt.

As I said, I've partially checked things here on my system,
and I get the configuration dialog and can even get around
the BROKEN warning by deselecting PDF_MANUALS.

Start in a clean environment. Follow the steps as described
in the manuals (e. g. man 7 ports) and The FreeBSD Handbook
and you should be fine.


In _worst_ case, try

# pkg_add -r R

to do a binary install.




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


how to solve the problem to install R?

2012-08-25 Thread contro opinion
[root@sea ~]# cd /usr/ports/math/R
[root@sea /usr/ports/math/R]# make install  clean
===  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.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: how to solve the problem to install R?

2012-08-25 Thread Polytropon
On Sat, 25 Aug 2012 21:32:55 -0400, contro opinion wrote:
 [root@sea ~]# cd /usr/ports/math/R
 [root@sea /usr/ports/math/R]# make install  clean
 ===  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.

Enter the command

# make configure

and deselect the PDF_MANUALS option. (Not tested!) This
should leave you with GNU info manuals if you keep that
option selected.

Then repeat the installation command.


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: how to solve the problem to install R?

2012-08-25 Thread 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] PANGOCAIROcairo 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, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org