igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] Building Package under Windows and Cygwin


From: Vincent Matossian
Subject: Re: [igraph] Building Package under Windows and Cygwin
Date: Tue, 24 Oct 2006 12:41:47 -0400

Thanks!

Gabor, do you plan on releasing all paths measurement related functions taking into account edge weights anytime soon? (shortest.paths, diameter)

That is essentially what I wanted to add to the current code.

Best


On 10/19/06, Gabor Csardi <address@hidden> wrote:
Vincent,

indeed, this seems to be an R problem and not really an igraph problem.
I've just tried to compile it and worked fine, with R 2.3.1 and also with
2.4.0.

Make sure you read the 'Building R for Windows' page:
http://www.murdoch-sutherland.com/Rtools/
if you haven't done so yet. If this does not help i suggest to try another
package (which has C files) to whether this is igraph specific. If not
please try the R-user mailing list, you'll likely get a better answer there.

Also, please expect some more difficulties as igraph also needs the libxml2
library, so you need to have this and set the LIB_XML environment variable
before compilation. Alternatively you can modify src/Makevars.win to avoid
using this library, just remove -DHAVE_LIBXML from the parameters and also
update configure.win to not to copy the dll files.

You might also consider to simply put your extensions to a separate file (or
package) and load this packages after igraph to hide the redefined igraph
functions. This is simple and works as long as you're not modifying the C
code and you don't need to recompile igraph.

Hope this helps,
Gabor

On Thu, Oct 19, 2006 at 11:19:41AM -0400, Vincent Matossian wrote:
> Hi,
>
[...]
>
> 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 ***
>
[...]
>
> Vincent

> _______________________________________________
> igraph-help mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/igraph-help


--
Csardi Gabor < address@hidden>    MTA RMKI, ELTE TTK


_______________________________________________
igraph-help mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/igraph-help


reply via email to

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