how to solve the problem to install R?

Polytropon freebsd at edvax.de
Sun Aug 26 12:54:58 UTC 2012


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, ...


More information about the freebsd-questions mailing list