igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] igraph python module in winxp?


From: Dylan T Walker
Subject: Re: [igraph] igraph python module in winxp?
Date: Tue, 29 May 2007 09:15:40 -0400

Tamas,

I may have figured out some of the problems.  I obtain libxml and iconv from : 

http://www.zlatkovic.com/pub/libxml/

extracting these libs appropriately directly into my mingw lib and include 
dirs: 
[C:\progra~1\mingw\]  .\lib  and .\include , etc.

and setting:
LIBXML2_FALLBACK_INCLUDE_DIRS = ['libxml2/']
LIBXML2_FALLBACK_LIBRARIES = ['xml2', 'iconv']
LIBXML2_FALLBACK_LIBRARY_DIRS = ['libxml2/']

I can get it to find the .h files.   However, I seem to be getting a new 
compile error which I don't understand at all.  I should also note that I am 
using python 2.5.  I am compiling not from within the mingw shell but using:

setup.py build --compile=mingw32

The compile fails with the following output:

An error happened while trying to get libxml2 compilation options!
Maybe you don't have libxml2 installed?
Falling back to reasonable defaults.
If the compilation fails, please edit the LIBXML2_FALLBACK_* variables
in setup.py to point to the correct directories and libraries.

running build
running build_py
running build_ext
building 'igraph.core' extension
writing build\temp.win32-2.5\Release\igraph\core.def
C:\Progra~1\MinGW\Bin\gcc.exe -mno-cygwin -shared -s build\temp.win32-2.5\Releas
e\igraph\adjlist.o build\temp.win32-2.5\Release\igraph\array.o build\temp.win32-
2.5\Release\igraph\atlas.o build\temp.win32-2.5\Release\igraph\attributes.o buil
d\temp.win32-2.5\Release\igraph\basic_query.o build\temp.win32-2.5\Release\igrap
h\cliques.o build\temp.win32-2.5\Release\igraph\cocitation.o build\temp.win32-2.
5\Release\igraph\community.o build\temp.win32-2.5\Release\igraph\components.o bu
ild\temp.win32-2.5\Release\igraph\conversion.o build\temp.win32-2.5\Release\igra
ph\cores.o build\temp.win32-2.5\Release\igraph\dqueue.o build\temp.win32-2.5\Rel
ease\igraph\error.o build\temp.win32-2.5\Release\igraph\evolver_cit.o build\temp
.win32-2.5\Release\igraph\fast_community.o build\temp.win32-2.5\Release\igraph\f
low.o build\temp.win32-2.5\Release\igraph\foreign-gml-lexer.o build\temp.win32-2
.5\Release\igraph\foreign-gml-parser.o build\temp.win32-2.5\Release\igraph\forei
gn-graphml.o build\temp.win32-2.5\Release\igraph\foreign-lgl-lexer.o build\temp.
win32-2.5\Release\igraph\foreign-lgl-parser.o build\temp.win32-2.5\Release\igrap
h\foreign-ncol-lexer.o build\temp.win32-2.5\Release\igraph\foreign-ncol-parser.o
 build\temp.win32-2.5\Release\igraph\foreign-pajek-lexer.o build\temp.win32-2.5\
Release\igraph\foreign-pajek-parser.o build\temp.win32-2.5\Release\igraph\foreig
n.o build\temp.win32-2.5\Release\igraph\games.o build\temp.win32-2.5\Release\igr
aph\gml_tree.o build\temp.win32-2.5\Release\igraph\heap.o build\temp.win32-2.5\R
elease\igraph\igraph_buckets.o build\temp.win32-2.5\Release\igraph\igraph_grid.o
 build\temp.win32-2.5\Release\igraph\igraph_hashtable.o build\temp.win32-2.5\Rel
ease\igraph\igraph_psumtree.o build\temp.win32-2.5\Release\igraph\igraph_set.o b
uild\temp.win32-2.5\Release\igraph\igraph_stack.o build\temp.win32-2.5\Release\i
graph\igraph_strvector.o build\temp.win32-2.5\Release\igraph\igraph_trie.o build
\temp.win32-2.5\Release\igraph\interrupt.o build\temp.win32-2.5\Release\igraph\i
terators.o build\temp.win32-2.5\Release\igraph\layout.o build\temp.win32-2.5\Rel
ease\igraph\matrix.o build\temp.win32-2.5\Release\igraph\measure_dynamics.o buil
d\temp.win32-2.5\Release\igraph\memory.o build\temp.win32-2.5\Release\igraph\mot
ifs.o build\temp.win32-2.5\Release\igraph\operators.o build\temp.win32-2.5\Relea
se\igraph\other.o build\temp.win32-2.5\Release\igraph\progress.o build\temp.win3
2-2.5\Release\igraph\random.o build\temp.win32-2.5\Release\igraph\revolver_cit.o
 build\temp.win32-2.5\Release\igraph\revolver_grow.o build\temp.win32-2.5\Releas
e\igraph\spectral_properties.o build\temp.win32-2.5\Release\igraph\spmatrix.o bu
ild\temp.win32-2.5\Release\igraph\structural_properties.o build\temp.win32-2.5\R
elease\igraph\structure_generators.o build\temp.win32-2.5\Release\igraph\topolog
y.o build\temp.win32-2.5\Release\igraph\type_indexededgelist.o build\temp.win32-
2.5\Release\igraph\vector.o build\temp.win32-2.5\Release\igraph\vector_ptr.o bui
ld\temp.win32-2.5\Release\igraph\visitors.o build\temp.win32-2.5\Release\src\bfs
iter.o build\temp.win32-2.5\Release\src\common.o build\temp.win32-2.5\Release\sr
c\convert.o build\temp.win32-2.5\Release\src\edgeobject.o build\temp.win32-2.5\R
elease\src\edgeseqobject.o build\temp.win32-2.5\Release\src\error.o build\temp.w
in32-2.5\Release\src\graphobject.o build\temp.win32-2.5\Release\src\igraphmodule
.o build\temp.win32-2.5\Release\src\vertexobject.o build\temp.win32-2.5\Release\
src\vertexseqobject.o build\temp.win32-2.5\Release\igraph\core.def -Llibxml2/ "-
LC:\Program Files\Python25\libs" "-LC:\Program Files\Python25\PCBuild" -lpython2
5 -lmsvcr71 -o build\lib.win32-2.5\igraph\core.pyd
build\temp.win32-2.5\Release\igraph\foreign-graphml.o(.text+0x3b2):foreign-graph
ml.c: undefined reference to `xmlGetPredefinedEntity'
build\temp.win32-2.5\Release\igraph\foreign-graphml.o(.text+0xd85):foreign-graph
ml.c: undefined reference to `xmlStrEqual'
build\temp.win32-2.5\Release\igraph\foreign-graphml.o(.text+0xdad):foreign-graph
ml.c: undefined reference to `xmlStrEqual'
build\temp.win32-2.5\Release\igraph\foreign-graphml.o(.text+0xdd6):foreign-graph
ml.c: undefined reference to `xmlStrEqual'
build\temp.win32-2.5\Release\igraph\foreign-graphml.o(.text+0xdf1):foreign-graph
ml.c: undefined reference to `xmlStrEqual'
build\temp.win32-2.5\Release\igraph\foreign-graphml.o(.text+0xe1b):foreign-graph
ml.c: undefined reference to `xmlStrEqual'
build\temp.win32-2.5\Release\igraph\foreign-graphml.o(.text+0xe45):foreign-graph
ml.c: more undefined references to `xmlStrEqual' follow
build\temp.win32-2.5\Release\igraph\foreign-graphml.o(.text+0x121e):foreign-grap
hml.c: undefined reference to `xmlStrdup'
build\temp.win32-2.5\Release\igraph\foreign-graphml.o(.text+0x1268):foreign-grap
hml.c: undefined reference to `xmlStrchr'
build\temp.win32-2.5\Release\igraph\foreign-graphml.o(.text+0x15cc):foreign-grap
hml.c: undefined reference to `xmlStrEqual'
build\temp.win32-2.5\Release\igraph\foreign-graphml.o(.text+0x15fe):foreign-grap
hml.c: undefined reference to `xmlStrEqual'
build\temp.win32-2.5\Release\igraph\foreign-graphml.o(.text+0x162e):foreign-grap
hml.c: undefined reference to `xmlStrEqual'
build\temp.win32-2.5\Release\igraph\foreign-graphml.o(.text+0x1645):foreign-grap
hml.c: undefined reference to `xmlStrEqual'
build\temp.win32-2.5\Release\igraph\foreign-graphml.o(.text+0x1668):foreign-grap
hml.c: undefined reference to `xmlStrEqual'
build\temp.win32-2.5\Release\igraph\foreign-graphml.o(.text+0x1699):foreign-grap
hml.c: more undefined references to `xmlStrEqual' follow
build\temp.win32-2.5\Release\igraph\foreign-graphml.o(.text+0x1c0b):foreign-grap
hml.c: undefined reference to `xmlCreateIOParserCtxt'
build\temp.win32-2.5\Release\igraph\foreign-graphml.o(.text+0x1c5d):foreign-grap
hml.c: undefined reference to `xmlParseChunk'
build\temp.win32-2.5\Release\igraph\foreign-graphml.o(.text+0x1ca9):foreign-grap
hml.c: undefined reference to `xmlParseChunk'
build\temp.win32-2.5\Release\igraph\foreign-graphml.o(.text+0x1cb1):foreign-grap
hml.c: undefined reference to `xmlFreeParserCtxt'
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1




reply via email to

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