igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[igraph] Building Package under Windows and Cygwin


From: Vincent Matossian
Subject: [igraph] Building Package under Windows and Cygwin
Date: Thu, 19 Oct 2006 11:19:41 -0400

Hi,
 
This is my first post to the list and I'd like to thank Gabor Csardi for making igraph available to the world, it's a truly fantastic package and the R port is just perfect to test out some ideas on large graphs quickly.
 
I am having trouble building the R igraph package from source under windows/cygwin, I realize that my problem isn't igraph specific but since this is the only package I'm really interested in I thought I would give it a try on this list.
 
After failing at using Cygwin's Perl port I installed ActivePerl and have since gotten the R igraph sources to generate a .tar.gz but not a .zip (although there seems to be no building per se as there's no mention of gcc and it seems to just targz the whole directory), here's a snippet where igraph_pkg is the directory of igraph R sources as provided on igraph's webiste :
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\igraph>Rcmd build igraph_pkg
* checking for file 'igraph_pkg/DESCRIPTION' ... OK
* preparing 'igraph_pkg':
* checking DESCRIPTION meta-information ... OK
* cleaning src
* removing junk files
* checking for LF line-endings in source files
* checking for empty or unneeded directories
* building 'igraph_pkg_0.2.1.tar.gz'
 
C:\igraph>Rcmd build --binary igraph_pkg
* checking for file 'igraph_pkg/DESCRIPTION' ... OK
* preparing 'igraph_pkg':
* checking DESCRIPTION meta-information ... OK
* cleaning src
* removing junk files
* checking for LF line-endings in source files
* checking for empty or unneeded directories
* building binary distribution
 WARNING
* some HTML links may not be found
 
Using auto-selected zip options ' igraph_pkg-HELP=ziponly'
c:/PROGRA~1/R/R-24~1.0/src/gnuwin32/MakePkg:118: *** target pattern contains no
`%'.  Stop.
make: *** [pkg-igraph_pkg] Error 2
*** Installation of igraph_pkg failed ***
 
Removing 'c:/TEMP/Rinst108494775/igraph_pkg'
 ERROR
* installation failed

C:\igraph>Rcmd INSTALL igraph_pkg_0.2.1.tar.gz
 
c:/PROGRA~1/R/R-24~1.0/src/gnuwin32/MakePkg:118: *** target pattern contains no
`%'.  Stop.
make: *** [pkg-igraph_pkg] Error 2
*** Installation of igraph_pkg failed ***
 
Removing 'c:/PROGRA~1/R/R-24~1.0/library/igraph_pkg'
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
This "target pattern contains no `%' " is THE show stopper
 
Again, this is using R-2.4.0, cygwin, ActivePerl 5, my PATH includes cygwin, perl\bin, and mingw. I have also tried using R-2.3.1 with the same results.
 
Any/every help would be GREATLY appreciated.
 
While I know that I don't need to recompile the sources to install the original igraph on windows, I need to modify/add some functionalities to igraph and would like to keep the R port rather than working  in C.
 
Thanks!
 
Vincent

reply via email to

[Prev in Thread] Current Thread [Next in Thread]