J'ignore si c'est le bon endroit où poster.
J'ai besoin d'installer ujson sur Mandriva 2011. Ça plante.
Il paraît qu'il faut ajouter -lm ou quelque chose comme ça mais je ne programme pas à ce niveau.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30 # easy_install ujson Searching for ujson Reading http://pypi.python.org/simple/ujson/ Reading https://github.com/jskorpan/ultrajson Reading http://www.esn.me Reading https://github.com/esnme/ultrajson Reading http://github.com/esnme/ultrajson Best match: ujson 1.18 Downloading http://pypi.python.org/packages/source/u/ujson/ujson-1.18.zip#md5=8d033858770ff2222a001ee1fcd0ee15 Processing ujson-1.18.zip Writing /tmp/easy_install-Ef8w3R/ujson-1.18/setup.cfg Running ujson-1.18/setup.py -q bdist_egg --dist-dir /tmp/easy_install-Ef8w3R/ujson-1.18/egg-dist-tmp-ipbdRm ./python/objToJSON.c: In function objToJSON: ./python/objToJSON.c:695:3: attention : initialization from incompatible pointer type [enabled by default] ./python/objToJSON.c:695:3: attention : (near initialization for encoder.beginTypeContext) [enabled by default] ./python/objToJSON.c:706:3: attention : initialization from incompatible pointer type [enabled by default] ./python/objToJSON.c:706:3: attention : (near initialization for encoder.releaseObject) [enabled by default] build/temp.linux-i686-2.7/./lib/ultrajsondec.o: In function `decode_numeric': /tmp/easy_install-Ef8w3R/ujson-1.18/./lib/ultrajsondec.c:279: undefined reference to `pow' collect2: ld a retourné 1 code d'état d'exécution error: Setup script exited with error: command 'gcc' failed with exit status 1
Quelqu'un peut-il m'aider ?
Merci d'avance,
Partager