|
From: | Gábor Csárdi |
Subject: | Re: [igraph] build or R version fails in R 3.0.0 |
Date: | Sun, 7 Apr 2013 07:20:52 -0400 |
Hi Gabor,Same error with R CMD INSTALL ~/Downloads/igraph_nightly_0.6.5-3106-20130304.tar.gz, and with R CMD INSTALL ~/Downloads/igraph_0.6.5-1.tar.gz.For XML I noticed that the Mac Binary lags the package:Package source: XML_3.96-1.1.tar.gzMacOS X binary: XML_3.95-0.2.tgzWindows binary: XML_3.96-1.1.zipAnd compiling the latest one there is an error (below). I shall contact the author about this. Many thanks.R CMD INSTALL ~/Downloads/XML_3.96-1.1.tar.gz* installing to library ‘/Library/Frameworks/R.framework/Versions/3.0/Resources/library’* installing *source* package ‘XML’ ...** package ‘XML’ successfully unpacked and MD5 sums checkedchecking for gcc... gccchecking for C compiler default output file name... a.outchecking whether the C compiler works... yeschecking whether we are cross compiling... nochecking for suffix of executables...checking for suffix of object files... ochecking whether we are using the GNU C compiler... yeschecking whether gcc accepts -g... yeschecking for gcc option to accept ISO C89... none neededchecking how to run the C preprocessor... gcc -Echecking for sed... /usr/bin/sedchecking for pkg-config... nochecking for xml2-config... /Library/Frameworks/EPD64.framework/Versions/Current/bin/xml2-configUSE_XML2 = yesSED_EXTENDED_ARG: -EMinor 7, Patch 8 for 2.7.8Located parser file -I/Library/Frameworks/EPD64.framework/Versions/7.3/include/libxml2/parser.hChecking for 1.8: -I/Library/Frameworks/EPD64.framework/Versions/7.3/include/libxml2Using libxml2.*checking for gzopen in -lz... yeschecking for xmlParseFile in -lxml2... yesYou are trying to use a version 2.* edition of libxmlbut an incompatible library. The header files and library seem to bemismatched. If you have specified LIBXML_INCDIR, make certain to alsospecify an appropriate LIBXML_LIBDIR if the libxml2 library is not in the defaultdirectories.ERROR: configuration failed for package ‘XML’* removing ‘/Library/Frameworks/R.framework/Versions/3.0/Resources/library/XML’* restoring previous ‘/Library/Frameworks/R.framework/Versions/3.0/Resources/library/XML’On 7 April 2013 04:33, Gábor Csárdi <address@hidden> wrote:Honestly, I have no idea what this is and just vague idea about rpath, but two things you could try quickly are 1) installing the released version of igraph, the same way, to see what happens, and 2) installing the XML package the same way, because that uses libxml2 as well. Just to try to see where exactly the problem is.GaborOn Sat, Apr 6, 2013 at 5:07 PM, Bob Pap <address@hidden> wrote:
Hi Gábor,I do not seem to have a problem with libxml (the compilation before worked fine with only 64 bit, and the error is the same not using the --no-multiarch flag). I rather think form the message that igraph cannot find the location of libxmlls -l /usr/lib/libxml*-rwxr-xr-x 1 root wheel 2390032 3 Oct 2012 /usr/lib/libxml2.2.dyliblrwxr-xr-x 1 root wheel 15 3 Oct 2012 /usr/lib/libxml2.dylib -> libxml2.2.dylibI recall that there were some issues reported in R help with some libraries getting installed (referenced?) in the wrong places in version 3.0.0. I think this is the case:@rpath/libxml2.2.dylib does not seem to be found (what is @rpath?)Sorry to bother you, but my knowledge of compilation is VERY limited and use version 0.7 since some of the functionality is not available in the official release.KInd regards,BobOn 6 April 2013 16:12, Gábor Csárdi <address@hidden> wrote:
Hi Bob,R CMD INSTALL igraph_nightly_0.6.5-3106-20130304.tar.gzworks fine for me on OS X 10.6.8. From R 3.0 R itself and all packages are 64 bit only, so you don't need the --no-multiarch flag. But you do need some 64 bit system libraries, like libxml2.2.So I guess that the problem is that libxml2.2 is 32-bit only on your system.G.On Sat, Apr 6, 2013 at 8:32 AM, Bob Pap <address@hidden> wrote:
_______________________________________________Dear Tamás,Build fails in the new R (3.0.0). Any suggestions?command:R CMD INSTALL --no-multiarch ~/Downloads/igraph_nightly_0.7-3137-20130302.tar.gzcompilation works, but test failsinstalling to /Library/Frameworks/R.framework/Versions/3.0/Resources/library/igraph/libs** R** demo** inst** preparing package for lazy loading** help*** installing help indices** building package indices** testing if installed package can be loadedError : .onLoad failed in loadNamespace() for 'igraph', details:call: dyn.load(file, DLLpath = DLLpath, ...)error: unable to load shared object '/Library/Frameworks/R.framework/Versions/3.0/Resources/library/igraph/libs/igraph.so':dlopen(/Library/Frameworks/R.framework/Versions/3.0/Resources/library/igraph/libs/igraph.so, 10): Library not loaded: @rpath/libxml2.2.dylibReferenced from: /Library/Frameworks/R.framework/Versions/3.0/Resources/library/igraph/libs/igraph.soReason: image not foundError: loading failedExecution haltedERROR: loading failed* removing ‘/Library/Frameworks/R.framework/Versions/3.0/Resources/library/igraph’* restoring previous ‘/Library/Frameworks/R.framework/Versions/3.0/Resources/library/igraph’--Kindly,Bob Pap
igraph-help mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/igraph-help
--
Gabor Csardi <address@hidden> MTA KFKI RMKI
_______________________________________________
igraph-help mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/igraph-help
--Kindly,Bob Pap
_______________________________________________
igraph-help mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/igraph-help
--
Gabor Csardi <address@hidden> MTA KFKI RMKI
_______________________________________________
igraph-help mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/igraph-help
--Kindly,Bob Pap
_______________________________________________
igraph-help mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/igraph-help
[Prev in Thread] | Current Thread | [Next in Thread] |