Installing PHP MING on Debian
August 11, 2005 12:42 PM Subscribe
Installing PHP package
Ming on Debian Sarge? (kernel 2.4.29) I'm getting compilation problems when I'm rebuilding php and I'm a n00b. Can I get some help?
I'm not very good with Linux but I'm running into problems installing Ming. I've tried various version, .3.1beta, .2alpha and .1.1 and none seem to work. .2alpha and .1.1 do install properely but when I try and rebuild php, I get the following errors while running make.
/home/admin/php-5.0.4/ext/ming/ming.c: In function `SWFgetProperty':
/home/admin/php-5.0.4/ext/ming/ming.c:105: structure has no member named `properties'
/home/admin/php-5.0.4/ext/ming/ming.c: In function `getCharacter':
/home/admin/php-5.0.4/ext/ming/ming.c:134: structure has no member named `ce'
/home/admin/php-5.0.4/ext/ming/ming.c:136: structure has no member named `ce'
/home/admin/php-5.0.4/ext/ming/ming.c:138: structure has no member named `ce'
/home/admin/php-5.0.4/ext/ming/ming.c:140: structure has no member named `ce'
/home/admin/php-5.0.4/ext/ming/ming.c:142: structure has no member named `ce'
/home/admin/php-5.0.4/ext/ming/ming.c:144: structure has no member named `ce'
/home/admin/php-5.0.4/ext/ming/ming.c:146: structure has no member named `ce'
/home/admin/php-5.0.4/ext/ming/ming.c:148: structure has no member named `ce'
/home/admin/php-5.0.4/ext/ming/ming.c: At top level:
/home/admin/php-5.0.4/ext/ming/ming.c:341: warning: `getBitmap' was declared implicitly `extern' and later `static'
/home/admin/php-5.0.4/ext/ming/ming.c:149: warning: previous declaration of `getBitmap'
/home/admin/php-5.0.4/ext/ming/ming.c:341: warning: type mismatch with previous implicit declaration
/home/admin/php-5.0.4/ext/ming/ming.c:149: warning: previous implicit declaration of `getBitmap'
/home/admin/php-5.0.4/ext/ming/ming.c:341: warning: `getBitmap' was previously implicitly declared to return `int'
/home/admin/php-5.0.4/ext/ming/ming.c:413: warning: `getButton' was declared implicitly `extern' and later `static'
/home/admin/php-5.0.4/ext/ming/ming.c:143: warning: previous declaration of `getButton'
/home/admin/php-5.0.4/ext/ming/ming.c:413: warning: type mismatch with previous implicit declaration
/home/admin/php-5.0.4/ext/ming/ming.c:143: warning: previous implicit declaration of `getButton'
/home/admin/php-5.0.4/ext/ming/ming.c:413: warning: `getButton' was previously implicitly declared to return `int'
/home/admin/php-5.0.4/ext/ming/ming.c:1108: warning: type mismatch with previous implicit declaration
/home/admin/php-5.0.4/ext/ming/ming.c:137: warning: previous implicit declaration of `getFont'
/home/admin/php-5.0.4/ext/ming/ming.c:1108: warning: `getFont' was previously implicitly declared to return `int'
/home/admin/php-5.0.4/ext/ming/ming.c: In function `zif_swffont_init':
/home/admin/php-5.0.4/ext/ming/ming.c:1135: warning: assignment makes pointer from integer without a cast
/home/admin/php-5.0.4/ext/ming/ming.c: At top level:
/home/admin/php-5.0.4/ext/ming/ming.c:1324: warning: `getMorph' was declared implicitly `extern' and later `static'
/home/admin/php-5.0.4/ext/ming/ming.c:145: warning: previous declaration of `getMorph'
/home/admin/php-5.0.4/ext/ming/ming.c:1324: warning: type mismatch with previous implicit declaration
/home/admin/php-5.0.4/ext/ming/ming.c:145: warning: previous implicit declaration of `getMorph'
/home/admin/php-5.0.4/ext/ming/ming.c:1324: warning: `getMorph' was previously implicitly declared to return `int'
/home/admin/php-5.0.4/ext/ming/ming.c: In function `zif_swfmovie_add':
/home/admin/php-5.0.4/ext/ming/ming.c:1469: structure has no member named `ce'
/home/admin/php-5.0.4/ext/ming/ming.c: In function `zif_swfmovie_save':
/home/admin/php-5.0.4/ext/ming/ming.c:1567: warning: assignment makes pointer from integer without a cast
/home/admin/php-5.0.4/ext/ming/ming.c: At top level:
/home/admin/php-5.0.4/ext/ming/ming.c:1722: warning: `getShape' was declared implicitly `extern' and later `static'
/home/admin/php-5.0.4/ext/ming/ming.c:135: warning: previous declaration of `getShape'
/home/admin/php-5.0.4/ext/ming/ming.c:1722: warning: type mismatch with previous implicit declaration
/home/admin/php-5.0.4/ext/ming/ming.c:135: warning: previous implicit declaration of `getShape'
/home/admin/php-5.0.4/ext/ming/ming.c:1722: warning: `getShape' was previously implicitly declared to return `int'
/home/admin/php-5.0.4/ext/ming/ming.c: In function `zif_swfshape_addfill':
/home/admin/php-5.0.4/ext/ming/ming.c:1813: structure has no member named `ce'
/home/admin/php-5.0.4/ext/ming/ming.c:1821: structure has no member named `ce'
/home/admin/php-5.0.4/ext/ming/ming.c: At top level:
/home/admin/php-5.0.4/ext/ming/ming.c:2299: warning: type mismatch with previous implicit declaration
/home/admin/php-5.0.4/ext/ming/ming.c:147: warning: previous implicit declaration of `getSprite'
/home/admin/php-5.0.4/ext/ming/ming.c:2299: warning: `getSprite' was previously implicitly declared to return `int'
/home/admin/php-5.0.4/ext/ming/ming.c: In function `zif_swfsprite_add':
/home/admin/php-5.0.4/ext/ming/ming.c:2325: structure has no member named `ce'
/home/admin/php-5.0.4/ext/ming/ming.c: At top level:
/home/admin/php-5.0.4/ext/ming/ming.c:2443: warning: type mismatch with previous implicit declaration
/home/admin/php-5.0.4/ext/ming/ming.c:139: warning: previous implicit declaration of `getText'
/home/admin/php-5.0.4/ext/ming/ming.c:2443: warning: `getText' was previously implicitly declared to return `int'
/home/admin/php-5.0.4/ext/ming/ming.c:2689: warning: `getTextField' was declared implicitly `extern' and later `static'
/home/admin/php-5.0.4/ext/ming/ming.c:141: warning: previous declaration of `getTextField'
/home/admin/php-5.0.4/ext/ming/ming.c:2689: warning: type mismatch with previous implicit declaration
/home/admin/php-5.0.4/ext/ming/ming.c:141: warning: previous implicit declaration of `getTextField'
/home/admin/php-5.0.4/ext/ming/ming.c:2689: warning: `getTextField' was previously implicitly declared to return `int'
/home/admin/php-5.0.4/ext/ming/ming.c:2927: warning: initialization makes integer from pointer without a cast
/home/admin/php-5.0.4/ext/ming/ming.c:2927: initializer element is not computable at load time
/home/admin/php-5.0.4/ext/ming/ming.c:2927: (near initialization for `ming_module_entry.size')
/home/admin/php-5.0.4/ext/ming/ming.c:2928: warning: initialization makes integer from pointer without a cast
/home/admin/php-5.0.4/ext/ming/ming.c:2929: warning: initialization makes integer from pointer without a cast
/home/admin/php-5.0.4/ext/ming/ming.c:2929: initializer element is not computable at load time
/home/admin/php-5.0.4/ext/ming/ming.c:2929: (near initialization for `ming_module_entry.zend_debug')
/home/admin/php-5.0.4/ext/ming/ming.c:2930: warning: initialization makes integer from pointer without a cast
/home/admin/php-5.0.4/ext/ming/ming.c:2933: warning: initialization from incompatible pointer type
Any ideas on how to fix this? I'm really lost at the moment.
posted by Stynxno to computers & internet (4 answers total)
posted by mosch at 1:13 PM on August 11, 2005