Hi, I am trying to install a package called RPostgreSQL inside analytical tool called R. This package help R analytical tool to connect database in PostgreSQL. There are different way to install it and path is already defined where package will be installed.
$ R > install.packages("RPostgreSQL", repos='http://cran.us.r-project.org', > dependencies=TRUE) ##it will install taking file from cloud. > install.packages("/home/forecash/cash_forecast/RPostgreSQL_0.6-2.tar.gz", > repos = NULL, type="source") ##taking data from downloaded Binary file Or from shell $R CMD INSTALL RPostgreSQL_0.6-2.tar.gz ##it means installing from binary file. ----Here is message I am getting---------------------------------------- [root@LFCSLFISBOM01 forecash]# R CMD INSTALL RPostgreSQL_0.6-2.tar.gz * installing to library ‘/usr/lib64/R/library’ * installing *source* package ‘RPostgreSQL’ ... ** package ‘RPostgreSQL’ successfully unpacked and MD5 sums checked checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking build system type... src/config.guess: unable to guess system type This script, last modified 2011-10-19, has failed to recognize the operating system you are using. It is advised that you download the most up to date version of the config scripts from http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD and http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD If the version you run (src/config.guess) is already up to date, please send the following data and any information you think might be pertinent to <config-patches@gnu.org> in order to provide the needed information to handle your system. config.guess timestamp = 2011-10-19 uname -m = ppc64le uname -r = 3.10.0-693.11.6.el7.ppc64le uname -s = Linux uname -v = #1 SMP Thu Dec 28 14:26:44 EST 2017 /usr/bin/uname -p = ppc64le /bin/uname -X = hostinfo = /bin/universe = /usr/bin/arch -k = /bin/arch = ppc64le /usr/bin/oslevel = /usr/convex/getsysinfo = UNAME_MACHINE = ppc64le UNAME_RELEASE = 3.10.0-693.11.6.el7.ppc64le UNAME_SYSTEM = Linux UNAME_VERSION = #1 SMP Thu Dec 28 14:26:44 EST 2017 configure: error: cannot guess build type; you must specify one ERROR: configuration failed for package ‘RPostgreSQL’ * removing ‘/usr/lib64/R/library/RPostgreSQL’ -------------------------------------------------End---------------------------------------------------------------------------------------- The biggest question is from which location it is taking timestamp of 2011, we are not able to find this. Thanks Awanish -----Original Message----- From: Earnie Boyd [mailto:eboyd5...@gmail.com] On Behalf Of Earnie Sent: Tuesday, January 30, 2018 6:33 PM To: Kumar, Awanish <awanish.ku...@fisglobal.com>; Ben Elliston <b...@air.net.au> Cc: Earnie <ear...@users.sourceforge.net>; config-patches@gnu.org; Vijayakumar, Vivek Shrinivasan <vivek.vijayaku...@fisglobal.com> Subject: Re: Issue in Config.guess - in system powerpc64le On 1/30/2018 5:27 AM, Kumar, Awanish wrote: > Hi, > The command $ find . -name config.guess | xargs grep 2011-10-19 is NOT > returning anything. Which means in no files this value is present. But when > we are installing (R CMD INSTALL RPostgreSQL_0.6-2.tar.gz ) we are getting > error saying old config.guess file. Now I am really clueless from which > location this value is coming. > > What other option we can try? > You will need to ass the providers of the files. I am unfamiliar with "R CMD INSTALL" but based on your command line it appears that it is using the files as packaged in RPostgreSQL_0.6-2.tar.gz and I would assume that is where the files need to be replaced. -- Earnie The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. _______________________________________________ config-patches mailing list config-patches@gnu.org https://lists.gnu.org/mailman/listinfo/config-patches