|
|
Question : problem in installing plone
|
|
hi all, I'm having problem installing Plone-3.0.4 can you please help me best regards HG here is the errors I get /usr/bin/gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -IlibImaging -I/opt/Plone-3.0.4/Python-2.4.4/include -I/usr/local/include -I/usr/include -I/opt/Plone-3.0.4/Python-2.4.4/include/python2.4 -c _imagingft.c -o build/temp.linux-i686-2.4/_imagingft.o In file included from _imagingft.c:30: /usr/include/ft2build.h:56:38: error: freetype/config/ftheader.h: No such file or directory _imagingft.c:31:10: error: #include expects "FILENAME" or _imagingft.c:68:31: error: freetype/fterrors.h: No such file or directory _imagingft.c:73: error: syntax error before static _imagingft.c:77: error: syntax error before FT_Face _imagingft.c:77: warning: no semicolon at end of struct or union _imagingft.c:78: warning: type defaults to int in declaration of FontObject _imagingft.c:78: warning: data definition has no type or storage class _imagingft.c: In function getfont: _imagingft.c:105: error: self undeclared (first use in this function) _imagingft.c:105: error: (Each undeclared identifier is reported only once _imagingft.c:105: error: for each function it appears in.) _imagingft.c:105: error: invalid operands to binary * _imagingft.c:105: warning: statement with no effect _imagingft.c:119: error: library undeclared (first use in this function) _imagingft.c:119: warning: implicit declaration of function FT_Init_FreeType _imagingft.c:127: error: syntax error before ) token _imagingft.c:131: warning: implicit declaration of function FT_New_Face _imagingft.c:131: error: struct has no member named face _imagingft.c:134: warning: implicit declaration of function FT_Set_Pixel_Sizes _imagingft.c:134: error: struct has no member named face _imagingft.c:137: error: FT_Encoding undeclared (first use in this function) _imagingft.c:137: error: syntax error before encoding_tag _imagingft.c:140: warning: implicit declaration of function FT_Select_Charmap _imagingft.c:140: error: struct has no member named face _imagingft.c:140: error: encoding_tag undeclared (first use in this function) _imagingft.c:148: warning: return from incompatible pointer type _imagingft.c: At top level: _imagingft.c:152: error: syntax error before FT_ULong _imagingft.c:153: warning: function declaration isnt a prototype _imagingft.c: In function font_getchar: _imagingft.c:155: error: string undeclared (first use in this function) _imagingft.c:155: error: struct has no member named ob_type _imagingft.c:155: warning: comparison of distinct pointer types lacks a cast _imagingft.c:155: error: struct has no member named ob_type _imagingft.c:155: warning: passing argument 1 of PyType_IsSubtype from incompatible pointer type _imagingft.c:156: error: struct has no member named str _imagingft.c:157: error: struct has no member named length _imagingft.c:158: warning: comparison between pointer and integer _imagingft.c:160: error: char_out undeclared (first use in this function) _imagingft.c:160: error: array subscript is not an integer _imagingft.c:160: warning: statement with no effect _imagingft.c:164: error: struct has no member named ob_type _imagingft.c:164: warning: comparison of distinct pointer types lacks a cast _imagingft.c:164: error: struct has no member named ob_type _imagingft.c:164: warning: passing argument 1 of PyType_IsSubtype from incompatible pointer type _imagingft.c:165: error: struct has no member named ob_sval _imagingft.c:166: error: struct has no member named ob_size _imagingft.c:167: warning: comparison between pointer and integer _imagingft.c:169: error: array subscript is not an integer _imagingft.c:169: warning: statement with no effect _imagingft.c: At top level: _imagingft.c:176: error: syntax error before * token _imagingft.c:177: warning: function declaration isnt a prototype _imagingft.c: In function font_getsize: _imagingft.c:179: error: FT_ULong undeclared (first use in this function) _imagingft.c:179: error: syntax error before ch _imagingft.c:180: error: FT_Face undeclared (first use in this function) _imagingft.c:182: error: FT_Bool undeclared (first use in this function) _imagingft.c:182: error: syntax error before kerning _imagingft.c:183: error: FT_UInt undeclared (first use in this function) _imagingft.c:188: error: args undeclared (first use in this function) _imagingft.c:188: warning: passing argument 1 of PyArg_ParseTuple from incompatible pointer type _imagingft.c:200: error: face undeclared (first use in this function) _imagingft.c:200: warning: statement with no effect _imagingft.c:203: error: ch undeclared (first use in this function) _imagingft.c:205: error: self undeclared (first use in this function) _imagingft.c:205: error: struct has no member named face _imagingft.c:205: warning: statement with no effect _imagingft.c:206: warning: implicit declaration of function FT_Get_Char_Index _imagingft.c:207: error: kerning undeclared (first use in this function) _imagingft.c:207: error: last_index undeclared (first use in this function) _imagingft.c:208: error: FT_Vector undeclared (first use in this function) _imagingft.c:208: error: syntax error before delta _imagingft.c:209: warning: implicit declaration of function FT_Get_Kerning _imagingft.c:209: error: struct has no member named face _imagingft.c:209: error: ft_kerning_default undeclared (first use in this function) _imagingft.c:210: error: delta undeclared (first use in this function) _imagingft.c:211: error: request for member x in something not a structure or union _imagingft.c:211: warning: statement with no effect _imagingft.c:213: warning: implicit declaration of function FT_Load_Glyph _imagingft.c:213: error: FT_LOAD_DEFAULT undeclared (first use in this function) _imagingft.c:217: error: struct has no member named glyph _imagingft.c:217: error: struct has no member named metrics _imagingft.c:217: error: request for member horiBearingX in something not a structure or union _imagingft.c:217: warning: statement with no effect _imagingft.c:218: error: struct has no member named glyph _imagingft.c:218: error: struct has no member named metrics _imagingft.c:218: error: request for member horiAdvance in something not a structure or union _imagingft.c:218: warning: statement with no effect _imagingft.c:219: warning: statement with no effect _imagingft.c:230: error: struct has no member named glyph _imagingft.c:230: error: struct has no member named metrics _imagingft.c:230: error: request for member horiAdvance in something not a structure or union _imagingft.c:231: error: struct has no member named glyph _imagingft.c:231: error: struct has no member named metrics _imagingft.c:231: error: request for member width in something not a structure or union _imagingft.c:232: error: struct has no member named glyph _imagingft.c:232: error: struct has no member named metrics _imagingft.c:232: error: request for member horiBearingX in something not a structure or union _imagingft.c:232: error: invalid operands to binary - _imagingft.c:232: warning: statement with no effect _imagingft.c:239: error: struct has no member named face _imagingft.c:239: error: struct has no member named size _imagingft.c:239: error: struct has no member named metrics _imagingft.c:239: error: request for member height in something not a structure or union _imagingft.c:239: error: invalid operands to binary & _imagingft.c:239: error: invalid operands to binary >> _imagingft.c: At top level: _imagingft.c:245: error: syntax error before * token _imagingft.c:246: warning: function declaration isnt a prototype _imagingft.c: In function font_getabc: _imagingft.c:247: error: FT_ULong undeclared (first use in this function) _imagingft.c:247: error: syntax error before ch _imagingft.c:248: error: FT_Face undeclared (first use in this function) _imagingft.c:254: error: args undeclared (first use in this function) _imagingft.c:254: warning: passing argument 1 of PyArg_ParseTuple from incompatible pointer type _imagingft.c:266: error: ch undeclared (first use in this function) _imagingft.c:268: error: face undeclared (first use in this function) _imagingft.c:268: error: self undeclared (first use in this function) _imagingft.c:268: error: struct has no member named face _imagingft.c:268: warning: statement with no effect _imagingft.c:270: error: FT_LOAD_DEFAULT undeclared (first use in this function) _imagingft.c:273: error: struct has no member named glyph _imagingft.c:273: error: struct has no member named metrics _imagingft.c:273: error: request for member horiBearingX in something not a structure or union _imagingft.c:273: error: invalid operands to binary / _imagingft.c:273: warning: statement with no effect _imagingft.c:274: error: struct has no member named glyph _imagingft.c:274: error: struct has no member named metrics _imagingft.c:274: error: request for member width in something not a structure or union _imagingft.c:274: error: invalid operands to binary / _imagingft.c:274: warning: statement with no effect _imagingft.c:275: error: struct has no member named glyph _imagingft.c:275: error: struct has no member named metrics _imagingft.c:275: error: request for member horiAdvance in something not a structure or union _imagingft.c:276: error: struct has no member named glyph _imagingft.c:276: error: struct has no member named metrics _imagingft.c:276: error: request for member horiBearingX in something not a structure or union _imagingft.c:277: error: struct has no member named glyph _imagingft.c:277: error: struct has no member named metrics _imagingft.c:277: error: request for member width in something not a structure or union _imagingft.c:277: error: invalid operands to binary - _imagingft.c:277: error: invalid operands to binary / _imagingft.c:277: warning: statement with no effect _imagingft.c: At top level: _imagingft.c:285: error: syntax error before * token _imagingft.c:286: warning: function declaration isnt a prototype _imagingft.c: In function font_render: _imagingft.c:292: error: FT_ULong undeclared (first use in this function) _imagingft.c:292: error: syntax error before ch _imagingft.c:293: error: FT_GlyphSlot undeclared (first use in this function) _imagingft.c:294: error: FT_Bool undeclared (first use in this function) _imagingft.c:295: error: FT_UInt undeclared (first use in this function) _imagingft.c:302: error: args undeclared (first use in this function) _imagingft.c:302: warning: passing argument 1 of PyArg_ParseTuple from incompatible pointer type _imagingft.c:316: error: FT_LOAD_RENDER undeclared (first use in this function) _imagingft.c:316: warning: statement with no effect _imagingft.c:318: error: FT_LOAD_MONOCHROME undeclared (first use in this function) _imagingft.c:318: warning: statement with no effect _imagingft.c:320: error: ch undeclared (first use in this function) _imagingft.c:321: error: self undeclared (first use in this function) _imagingft.c:321: error: struct has no member named face _imagingft.c:321: error: struct has no member named glyph _imagingft.c:321: error: struct has no member named metrics _imagingft.c:321: error: request for member horiBearingX in something not a structure or union _imagingft.c:322: error: struct has no member named face _imagingft.c:322: error: struct has no member named glyph _imagingft.c:322: error: struct has no member named metrics _imagingft.c:322: error: request for member horiBearingX in something not a structure or union _imagingft.c:322: error: invalid operands to binary & _imagingft.c:322: error: invalid operands to binary >> _imagingft.c:322: warning: statement with no effect _imagingft.c:323: error: struct has no member named face _imagingft.c:324: error: kerning undeclared (first use in this function) _imagingft.c:324: error: last_index undeclared (first use in this function) _imagingft.c:325: error: FT_Vector undeclared (first use in this function) _imagingft.c:325: error: syntax error before delta _imagingft.c:326: error: struct has no member named face _imagingft.c:326: error: ft_kerning_default undeclared (first use in this function) _imagingft.c:327: error: delta undeclared (first use in this function) _imagingft.c:328: error: request for member x in something not a structure or union _imagingft.c:328: error: invalid operands to binary >> _imagingft.c:328: warning: statement with no effect _imagingft.c:330: error: struct has no member named face _imagingft.c:333: error: glyph undeclared (first use in this function) _imagingft.c:333: error: struct has no member named face _imagingft.c:333: error: struct has no member named glyph _imagingft.c:333: warning: statement with no effect _imagingft.c:337: error: struct has no member named bitmap _imagingft.c:337: error: request for member buffer in something not a structure or union _imagingft.c:337: warning: statement with no effect _imagingft.c:338: error: struct has no member named face _imagingft.c:338: error: struct has no member named size _imagingft.c:338: error: struct has no member named metrics _imagingft.c:338: error: request for member ascender in something not a structure or union _imagingft.c:338: error: invalid operands to binary & _imagingft.c:338: error: invalid operands to binary >> _imagingft.c:338: warning: statement with no effect _imagingft.c:339: error: struct has no member named bitmap_left _imagingft.c:339: warning: assignment makes integer from pointer without a cast _imagingft.c:341: error: struct has no member named bitmap _imagingft.c:341: error: request for member width in something not a structure or union _imagingft.c:341: warning: statement with no effect _imagingft.c:346: error: struct has no member named bitmap _imagingft.c:346: error: request for member rows in something not a structure or union _imagingft.c:346: warning: comparison between pointer and integer _imagingft.c:347: error: struct has no member named bitmap_top _imagingft.c:347: error: invalid operands to binary - _imagingft.c:361: error: struct has no member named bitmap _imagingft.c:361: error: request for member pitch in something not a structure or union _imagingft.c:361: warning: statement with no effect _imagingft.c:366: error: struct has no member named bitmap _imagingft.c:366: error: request for member buffer in something not a structure or union _imagingft.c:366: warning: statement with no effect _imagingft.c:367: error: struct has no member named face _imagingft.c:367: error: struct has no member named size _imagingft.c:367: error: struct has no member named metrics _imagingft.c:367: error: request for member ascender in something not a structure or union _imagingft.c:367: error: invalid operands to binary & _imagingft.c:367: error: invalid operands to binary >> _imagingft.c:367: warning: statement with no effect _imagingft.c:368: error: struct has no member named bitmap_left _imagingft.c:368: warning: assignment makes integer from pointer without a cast _imagingft.c:370: error: struct has no member named bitmap _imagingft.c:370: error: request for member width in something not a structure or union _imagingft.c:370: warning: statement with no effect _imagingft.c:375: error: struct has no member named bitmap _imagingft.c:375: error: request for member rows in something not a structure or union _imagingft.c:375: warning: comparison between pointer and integer _imagingft.c:376: error: struct has no member named bitmap_top _imagingft.c:376: error: invalid operands to binary - _imagingft.c:386: error: struct has no member named bitmap _imagingft.c:386: error: request for member pitch in something not a structure or union _imagingft.c:386: warning: statement with no effect _imagingft.c:389: error: struct has no member named metrics _imagingft.c:389: error: request for member horiAdvance in something not a structure or union _imagingft.c:389: error: invalid operands to binary & _imagingft.c:389: error: invalid operands to binary >> _imagingft.c:389: warning: statement with no effect _imagingft.c:390: warning: statement with no effect _imagingft.c: At top level: _imagingft.c:398: error: syntax error before * token _imagingft.c:399: warning: function declaration isnt a prototype _imagingft.c: In function font_dealloc: _imagingft.c:400: warning: implicit declaration of function FT_Done_Face _imagingft.c:400: error: self undeclared (first use in this function) _imagingft.c:400: error: struct has no member named face _imagingft.c: At top level: _imagingft.c:412: error: syntax error before * token _imagingft.c:413: warning: function declaration isnt a prototype _imagingft.c: In function font_getattr: _imagingft.c:416: error: self undeclared (first use in this function) _imagingft.c:416: error: name undeclared (first use in this function) _imagingft.c:416: warning: passing argument 2 of Py_FindMethod from incompatible pointer type _imagingft.c:416: warning: passing argument 3 of Py_FindMethod from incompatible pointer type _imagingft.c:424: warning: passing argument 1 of strlen from incompatible pointer type _imagingft.c:424: error: invalid operands to binary - _imagingft.c:424: warning: comparison between pointer and integer _imagingft.c:424: warning: passing argument 1 of __builtin_strcmp from incompatible pointer type _imagingft.c:424: error: invalid operands to binary - _imagingft.c:424: warning: comparison between pointer and integer _imagingft.c:424: warning: passing argument 1 of strlen from incompatible pointer type _imagingft.c:424: warning: passing argument 1 of __builtin_strcmp from incompatible pointer type _imagingft.c:424: error: invalid operands to binary - _imagingft.c:424: error: invalid operands to binary - _imagingft.c:424: warning: statement with no effect _imagingft.c:424: error: invalid operands to binary - _imagingft.c:424: warning: statement with no effect _imagingft.c:424: error: invalid operands to binary - _imagingft.c:424: warning: statement with no effect _imagingft.c:424: error: invalid operands to binary - _imagingft.c:424: warning: comparison between pointer and integer _imagingft.c:424: warning: passing argument 1 of __builtin_strcmp from incompatible pointer type _imagingft.c:424: warning: passing argument 1 of __builtin_strcmp from incompatible pointer type _imagingft.c:425: error: struct has no member named face _imagingft.c:425: error: struct has no member named family_name _imagingft.c:425: warning: passing argument 1 of PyString_FromString from incompatible pointer type _imagingft.c:426: warning: passing argument 1 of strlen from incompatible pointer type _imagingft.c:426: error: invalid operands to binary - _imagingft.c:426: warning: comparison between pointer and integer _imagingft.c:426: warning: passing argument 1 of __builtin_strcmp from incompatible pointer type _imagingft.c:426: error: invalid operands to binary - _imagingft.c:426: warning: comparison between pointer and integer _imagingft.c:426: warning: passing argument 1 of strlen from incompatible pointer type _imagingft.c:426: warning: passing argument 1 of __builtin_strcmp from incompatible pointer type _imagingft.c:426: error: invalid operands to binary - _imagingft.c:426: error: invalid operands to binary - _imagingft.c:426: warning: statement with no effect _imagingft.c:426: error: invalid operands to binary - _imagingft.c:426: warning: statement with no effect _imagingft.c:426: error: invalid operands to binary - _imagingft.c:426: warning: statement with no effect _imagingft.c:426: error: invalid operands to binary - _imagingft.c:426: warning: comparison between pointer and integer _imagingft.c:426: warning: passing argument 1 of __builtin_strcmp from incompatible pointer type _imagingft.c:426: warning: passing argument 1 of __builtin_strcmp from incompatible pointer type _imagingft.c:427: error: struct has no member named face _imagingft.c:427: error: struct has no member named style_name _imagingft.c:427: warning: passing argument 1 of PyString_FromString from incompatible pointer type _imagingft.c:429: warning: passing argument 1 of strlen from incompatible pointer type _imagingft.c:429: error: invalid operands to binary - _imagingft.c:429: warning: comparison between pointer and integer _imagingft.c:429: warning: passing argument 1 of __builtin_strcmp from incompatible pointer type _imagingft.c:429: error: invalid operands to binary - _imagingft.c:429: warning: comparison between pointer and integer _imagingft.c:429: warning: passing argument 1 of strlen from incompatible pointer type _imagingft.c:429: warning: passing argument 1 of __builtin_strcmp from incompatible pointer type _imagingft.c:429: error: invalid operands to binary - _imagingft.c:429: error: invalid operands to binary - _imagingft.c:429: warning: statement with no effect _imagingft.c:429: error: invalid operands to binary - _imagingft.c:429: warning: statement with no effect _imagingft.c:429: error: invalid operands to binary - _imagingft.c:429: warning: statement with no effect _imagingft.c:429: error: invalid operands to binary - _imagingft.c:429: warning: comparison between pointer and integer _imagingft.c:429: warning: passing argument 1 of __builtin_strcmp from incompatible pointer type _imagingft.c:429: warning: passing argument 1 of __builtin_strcmp from incompatible pointer type _imagingft.c:430: error: struct has no member named face _imagingft.c:430: error: struct has no member named size _imagingft.c:430: error: struct has no member named metrics _imagingft.c:430: error: request for member ascender in something not a structure or union _imagingft.c:430: error: invalid operands to binary & _imagingft.c:430: error: invalid operands to binary >> _imagingft.c:430: warning: passing argument 1 of PyInt_FromLong makes integer from pointer without a cast _imagingft.c:431: warning: passing argument 1 of strlen from incompatible pointer type _imagingft.c:431: error: invalid operands to binary - _imagingft.c:431: warning: comparison between pointer and integer _imagingft.c:431: warning: passing argument 1 of __builtin_strcmp from incompatible pointer type _imagingft.c:431: error: invalid operands to binary - _imagingft.c:431: warning: comparison between pointer and integer _imagingft.c:431: warning: passing argument 1 of strlen from incompatible pointer type _imagingft.c:431: warning: passing argument 1 of __builtin_strcmp from incompatible pointer type _imagingft.c:431: error: invalid operands to binary - _imagingft.c:431: error: invalid operands to binary - _imagingft.c:431: warning: statement with no effect _imagingft.c:431: error: invalid operands to binary - _imagingft.c:431: warning: statement with no effect _imagingft.c:431: error: invalid operands to binary - _imagingft.c:431: warning: statement with no effect _imagingft.c:431: error: invalid operands to binary - _imagingft.c:431: warning: comparison between pointer and integer _imagingft.c:431: warning: passing argument 1 of __builtin_strcmp from incompatible pointer type _imagingft.c:431: warning: passing argument 1 of __builtin_strcmp from incompatible pointer type _imagingft.c:432: error: struct has no member named face _imagingft.c:432: error: struct has no member named size _imagingft.c:432: error: struct has no member named metrics _imagingft.c:432: error: request for member descender in something not a structure or union _imagingft.c:432: error: invalid operands to binary & _imagingft.c:432: error: invalid operands to binary >> _imagingft.c:432: error: wrong type argument to unary minus _imagingft.c:432: warning: passing argument 1 of PyInt_FromLong makes integer from pointer without a cast _imagingft.c:434: warning: passing argument 1 of strlen from incompatible pointer type _imagingft.c:434: error: invalid operands to binary - _imagingft.c:434: warning: comparison between pointer and integer _imagingft.c:434: warning: passing argument 1 of __builtin_strcmp from incompatible pointer type _imagingft.c:434: error: invalid operands to binary - _imagingft.c:434: warning: comparison between pointer and integer _imagingft.c:434: warning: passing argument 1 of strlen from incompatible pointer type _imagingft.c:434: warning: passing argument 1 of __builtin_strcmp from incompatible pointer type _imagingft.c:434: error: invalid operands to binary - _imagingft.c:434: error: invalid operands to binary - _imagingft.c:434: warning: statement with no effect _imagingft.c:434: error: invalid operands to binary - _imagingft.c:434: warning: statement with no effect _imagingft.c:434: error: invalid operands to binary - _imagingft.c:434: warning: statement with no effect _imagingft.c:434: error: invalid operands to binary - _imagingft.c:434: warning: comparison between pointer and integer _imagingft.c:434: warning: passing argument 1 of __builtin_strcmp from incompatible pointer type _imagingft.c:434: warning: passing argument 1 of __builtin_strcmp from incompatible pointer type _imagingft.c:436: error: struct has no member named face _imagingft.c:436: error: struct has no member named num_glyphs _imagingft.c:436: warning: passing argument 1 of PyInt_FromLong makes integer from pointer without a cast _imagingft.c:438: warning: passing argument 2 of PyErr_SetString from incompatible pointer type error: command '/usr/bin/gcc' failed with exit status 1 Traceback (most recent call last): File "./selftest.py", line 11, in ? import ImageMath File "PIL/ImageMath.py", line 19, in ? import _imagingmath ImportError: No module named _imagingmath PIL tests failed. [root@shang Plone-3.0.4-UnifiedInstaller]#
|
Answer : problem in installing plone
|
|
2 choices, either nano (edit) each file and change enabled line to enabled=0
or rename each repository file ie:
#cd /etc/yum.repos.d #mv livna.repo livna.repo.old extension must be repo for yum to use the config files.
|
|
|
|
|