Make errors on Perl in PHP

Does anyone know what these errors mean and where I should look to fix it?
I am trying to compile a Perl in PHP module
(http://msalem.translator.cx/perlinphp.php) so that I can run some perl
code within php.

The errors:

make[1]: *** [perl.slo] Error 1 make[1]: Leaving directory
`/home/sites/home/users/admin/perlphp/ext/perl’ make: ***
[all-recursive] Error 1

Full output from make:

make[1]: Entering directory
/home/sites/home/users/admin/perlphp/ext/perl' /bin/sh /home/sites/home/users/admin/perlphp/ext/perl/libtool --mode=compile gcc -I. -I/home/sites/home/users/admin/perlphp/ext/perl/ -I/home/sites/home/users/admin/perlphp/ext/perl/main -I/home/sites/home/users/admin/perlphp/ext/perl -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/Zend -I/usr/local/include/php/TSRM -I/usr/local/include -I/usr/lib/perl5/5.00503/i386-linux/CORE -g -O2 -c perl.c && touch perl.slo gcc -I. -I/home/sites/home/users/admin/perlphp/ext/perl/ -I/home/sites/home/users/admin/perlphp/ext/perl/main -I/home/sites/home/users/admin/perlphp/ext/perl -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/Zend -I/usr/local/include/php/TSRM -I/usr/local/include -I/usr/lib/perl5/5.00503/i386-linux/CORE -g -O2 -c perl.c -fPIC -DPIC -o perl.lo In file included from /usr/local/include/php/main/php.h:34, from perl.c:26: /usr/local/include/php/Zend/zend.h:31: warning: END_EXTERN_C’ redefined
/usr/lib/perl5/5.00503/i386-linux/CORE/perl.h:150: warning: this is the
location of the previous definition In file included from
/usr/lib/perl5/5.00503/i386-linux/CORE/perl.h:1276, from perl.c:25:
/usr/lib/perl5/5.00503/i386-linux/CORE/cop.h:217: parse error before
bool' /usr/lib/perl5/5.00503/i386-linux/CORE/cop.h:217: warning: no semicolon at end of struct or union /usr/lib/perl5/5.00503/i386-linux/CORE/cop.h:218: warning: data definition has no type or storage class /usr/lib/perl5/5.00503/i386-linux/CORE/cop.h:227: parse error before }’
/usr/lib/perl5/5.00503/i386-linux/CORE/cop.h:268: field cx_subst' has incomplete type In file included from /usr/lib/perl5/5.00503/i386-linux/CORE/perl.h:1280, from perl.c:25: /usr/lib/perl5/5.00503/i386-linux/CORE/scope.h:135: parse error before bool’ /usr/lib/perl5/5.00503/i386-linux/CORE/scope.h:135: warning: no
semicolon at end of struct or union In file included from
/usr/lib/perl5/5.00503/i386-linux/CORE/perl.h:2109, from perl.c:25:
/usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:27: parse error before
Perl_Gv_AMupdate' /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:27: warning: data definition has no type or storage class /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:33: parse error before Perl_avhv_exists_ent’
/usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:33: warning: data
definition has no type or storage class
/usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:98: parse error before
Perl_do_aexec' /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:98: warning: data definition has no type or storage class /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:101: parse error before Perl_do_close’ /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:101:
parse error before bool' /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:101: warning: data definition has no type or storage class /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:102: parse error before Perl_do_eof’ /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:102:
warning: data definition has no type or storage class
/usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:103: parse error before
Perl_do_exec' /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:103: warning: data definition has no type or storage class /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:115: parse error before Perl_do_open’ /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:116:
warning: data definition has no type or storage class
/usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:118: parse error before
Perl_do_print' /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:118: warning: data definition has no type or storage class /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:121: parse error before Perl_do_seek’ /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:121:
warning: data definition has no type or storage class
/usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:149: parse error before
bool' /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:182: parse error before Perl_hv_exists’
/usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:182: warning: data
definition has no type or storage class
/usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:183: parse error before
Perl_hv_exists_ent' /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:183: warning: data definition has no type or storage class /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:204: parse error before Perl_io_close’ /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:204:
warning: data definition has no type or storage class
/usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:522: parse error before
Perl_sv_2bool' /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:522: warning: data definition has no type or storage class /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:554: parse error before Perl_sv_derived_from’
/usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:554: warning: data
definition has no type or storage class
/usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:592: parse error before
Perl_sv_tainted' /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:592: warning: data definition has no type or storage class /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:596: parse error before Perl_sv_upgrade’ /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:596:
warning: data definition has no type or storage class
/usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:600: parse error before
bool' /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:603: parse error before bool’ In file included from
/usr/lib/perl5/5.00503/i386-linux/CORE/perl.h:2133, from perl.c:25:
/usr/lib/perl5/5.00503/i386-linux/CORE/perlvars.h:48: parse error before
PL_nomemok' /usr/lib/perl5/5.00503/i386-linux/CORE/perlvars.h:48: warning: data definition has no type or storage class /usr/lib/perl5/5.00503/i386-linux/CORE/perlvars.h:136: parse error before PL_in_my’ /usr/lib/perl5/5.00503/i386-linux/CORE/perlvars.h:136:
warning: data definition has no type or storage class
/usr/lib/perl5/5.00503/i386-linux/CORE/perlvars.h:144: parse error
before PL_do_undump' /usr/lib/perl5/5.00503/i386-linux/CORE/perlvars.h:144: warning: data definition has no type or storage class /usr/lib/perl5/5.00503/i386-linux/CORE/perlvars.h:157: parse error before PL_collation_standard’
/usr/lib/perl5/5.00503/i386-linux/CORE/perlvars.h:157: warning: data
definition has no type or storage class
/usr/lib/perl5/5.00503/i386-linux/CORE/perlvars.h:166: parse error
before PL_numeric_standard' /usr/lib/perl5/5.00503/i386-linux/CORE/perlvars.h:166: warning: data definition has no type or storage class /usr/lib/perl5/5.00503/i386-linux/CORE/perlvars.h:168: parse error before PL_numeric_local’
/usr/lib/perl5/5.00503/i386-linux/CORE/perlvars.h:168: warning: data
definition has no type or storage class In file included from
/usr/lib/perl5/5.00503/i386-linux/CORE/perl.h:2138, from perl.c:25:
/usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:28: parse error before
PL_minus_c' /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:28: warning: data definition has no type or storage class /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:32: parse error before PL_preprocess’ /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:32:
warning: data definition has no type or storage class
/usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:33: parse error before
PL_minus_n' /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:33: warning: data definition has no type or storage class /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:34: parse error before PL_minus_p’ /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:34:
warning: data definition has no type or storage class
/usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:35: parse error before
PL_minus_l' /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:35: warning: data definition has no type or storage class /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:36: parse error before PL_minus_a’ /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:36:
warning: data definition has no type or storage class
/usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:37: parse error before
PL_minus_F' /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:37: warning: data definition has no type or storage class /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:38: parse error before PL_doswitches’ /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:38:
warning: data definition has no type or storage class
/usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:39: parse error before
PL_dowarn' /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:39: warning: data definition has no type or storage class /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:40: parse error before PL_doextract’ /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:40:
warning: data definition has no type or storage class
/usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:41: parse error before
PL_sawampersand' /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:41: warning: data definition has no type or storage class /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:42: parse error before PL_sawstudy’ /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:42:
warning: data definition has no type or storage class
/usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:43: parse error before
PL_sawvec' /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:43: warning: data definition has no type or storage class /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:44: parse error before PL_unsafe’ /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:44:
warning: data definition has no type or storage class
/usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:120: parse error
before PL_tainting' /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:120: warning: data definition has no type or storage class /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:152: parse error before PL_preambled’
/usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:152: warning: data
definition has no type or storage class
/usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:192: parse error
before PL_in_clean_objs' /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:192: warning: data definition has no type or storage class /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:193: parse error before PL_in_clean_all’
/usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:193: warning: data
definition has no type or storage class In file included from
/usr/lib/perl5/5.00503/i386-linux/CORE/perl.h:2140, from perl.c:25:
/usr/lib/perl5/5.00503/i386-linux/CORE/thrdvar.h:67: parse error before
PL_tainted' /usr/lib/perl5/5.00503/i386-linux/CORE/thrdvar.h:67: warning: data definition has no type or storage class /usr/lib/perl5/5.00503/i386-linux/CORE/thrdvar.h:88: parse error before PL_dirty’ /usr/lib/perl5/5.00503/i386-linux/CORE/thrdvar.h:88: warning:
data definition has no type or storage class perl.c: In function
php_info_perl': perl.c:126: PERL_VERSION’ undeclared (first use in
this function) perl.c:126: (Each undeclared identifier is reported only
once perl.c:126: for each function it appears in.) perl.c: In function
php_if_perl_eval': perl.c:160: warning: assignment makes pointer from integer without a cast perl.c:164: warning: assignment makes pointer from integer without a cast perl.c: In function php_if_perl_get_variable’: perl.c:192: warning: assignment makes
pointer from integer without a cast perl.c:204: warning: assignment
makes pointer from integer without a cast perl.c:207: warning:
assignment makes pointer from integer without a cast perl.c: In function
php_if_perl_set_scalar': perl.c:250: warning: assignment makes pointer from integer without a cast perl.c: In function php_if_perl_set_array_element’: perl.c:269: warning: assignment makes
pointer from integer without a cast perl.c: In function
php_if_perl_set_hash_element': perl.c:289: warning: assignment makes pointer from integer without a cast perl.c: In function php_if_perl_get_array’: perl.c:319: warning: assignment makes pointer
from integer without a cast perl.c: In function
php_if_perl_get_scalar': perl.c:349: warning: assignment makes pointer from integer without a cast perl.c: In function php_if_perl_get_hash’:
perl.c:385: warning: assignment makes pointer from integer without a
cast make[1]: *** [perl.slo] Error 1 make[1]: Leaving directory
`/home/sites/home/users/admin/perlphp/ext/perl’ make: ***
[all-recursive] Error 1

I think it means something is broken in the script :wink:


Rodney Blackwell - site owner/administrator

http://T-ShirtCountdown.com http://TalkT-Shirts.com/
http://ihateclowns.com/ http://Globie.com/ http://DomainJunkies.com/
http://EmailSources.com/ http://SellYourLogo.com/
http://CircleRPrinting.com

Free Color Business Cards http://www.linkcounter.com/go.php?linkid=153264

“Gilby” <mail@gilby.com> wrote in message
news:3BEC0A74.7070805@gilby.com
> Does anyone know what these errors mean and where I should look to fix
> it? I am trying to compile a Perl in PHP module
> (http://msalem.translator.cx/perlinphp.php) so that I can run some perl
> code within php.
>
> The errors:
>
> make[1]: *** [perl.slo] Error 1 make[1]: Leaving directory
[i]> /home/sites/home/users/admin/perlphp/ext/perl' make: ***[/i] [i]> [all-recursive] Error 1[/i] [i]>[/i] [i]>[/i] [i]>[/i] [i]>[/i] [i]>[/i] [i]> Full output from make:[/i] [i]>[/i] [i]>[/i] [i]> make[1]: Entering directory[/i] /home/sites/home/users/admin/perlphp/ext/perl’
> /bin/sh /home/sites/home/users/admin/perlphp/ext/perl/libtool
> --mode=compile gcc -I. -I/home/sites/home/users/admin/perlphp/ext/perl/
> -I/home/sites/home/users/admin/perlphp/ext/perl/main
> -I/home/sites/home/users/admin/perlphp/ext/perl -I/usr/local/include/php
> -I/usr/local/include/php/main -I/usr/local/include/php/Zend
> -I/usr/local/include/php/TSRM -I/usr/local/include
> -I/usr/lib/perl5/5.00503/i386-linux/CORE -g -O2 -c perl.c && touch
> perl.slo gcc -I. -I/home/sites/home/users/admin/perlphp/ext/perl/
> -I/home/sites/home/users/admin/perlphp/ext/perl/main
> -I/home/sites/home/users/admin/perlphp/ext/perl -I/usr/local/include/php
> -I/usr/local/include/php/main -I/usr/local/include/php/Zend
> -I/usr/local/include/php/TSRM -I/usr/local/include
> -I/usr/lib/perl5/5.00503/i386-linux/CORE -g -O2 -c perl.c -fPIC -DPIC -o
> perl.lo In file included from /usr/local/include/php/main/php.h:34, from
> perl.c:26: /usr/local/include/php/Zend/zend.h:31: warning:
[i]> END_EXTERN_C' redefined[/i] [i]> /usr/lib/perl5/5.00503/i386-linux/CORE/perl.h:150: warning: this is the[/i] [i]> location of the previous definition In file included from[/i] [i]> /usr/lib/perl5/5.00503/i386-linux/CORE/perl.h:1276, from perl.c:25:[/i] [i]> /usr/lib/perl5/5.00503/i386-linux/CORE/cop.h:217: parse error before[/i] bool’
> /usr/lib/perl5/5.00503/i386-linux/CORE/cop.h:217: warning: no semicolon
> at end of struct or union
> /usr/lib/perl5/5.00503/i386-linux/CORE/cop.h:218: warning: data
> definition has no type or storage class
> /usr/lib/perl5/5.00503/i386-linux/CORE/cop.h:227: parse error before }'[/i] [i]> /usr/lib/perl5/5.00503/i386-linux/CORE/cop.h:268: field cx_subst’ has
> incomplete type In file included from
> /usr/lib/perl5/5.00503/i386-linux/CORE/perl.h:1280, from perl.c:25:
> /usr/lib/perl5/5.00503/i386-linux/CORE/scope.h:135: parse error before
> bool' /usr/lib/perl5/5.00503/i386-linux/CORE/scope.h:135: warning: no[/i] [i]> semicolon at end of struct or union In file included from[/i] [i]> /usr/lib/perl5/5.00503/i386-linux/CORE/perl.h:2109, from perl.c:25:[/i] [i]> /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:27: parse error before[/i] [i]> Perl_Gv_AMupdate’ /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:27:
> warning: data definition has no type or storage class
> /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:33: parse error before
> Perl_avhv_exists_ent'[/i] [i]> /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:33: warning: data[/i] [i]> definition has no type or storage class[/i] [i]> /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:98: parse error before[/i] [i]> Perl_do_aexec’ /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:98:
> warning: data definition has no type or storage class
> /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:101: parse error before
> Perl_do_close' /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:101:[/i] [i]> parse error before bool’
> /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:101: warning: data
> definition has no type or storage class
> /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:102: parse error before
> Perl_do_eof' /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:102:[/i] [i]> warning: data definition has no type or storage class[/i] [i]> /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:103: parse error before[/i] [i]> Perl_do_exec’ /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:103:
> warning: data definition has no type or storage class
> /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:115: parse error before
> Perl_do_open' /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:116:[/i] [i]> warning: data definition has no type or storage class[/i] [i]> /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:118: parse error before[/i] [i]> Perl_do_print’ /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:118:
> warning: data definition has no type or storage class
> /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:121: parse error before
> Perl_do_seek' /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:121:[/i] [i]> warning: data definition has no type or storage class[/i] [i]> /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:149: parse error before[/i] [i]> bool’ /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:182: parse error
> before Perl_hv_exists'[/i] [i]> /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:182: warning: data[/i] [i]> definition has no type or storage class[/i] [i]> /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:183: parse error before[/i] [i]> Perl_hv_exists_ent’ /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:183:
> warning: data definition has no type or storage class
> /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:204: parse error before
> Perl_io_close' /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:204:[/i] [i]> warning: data definition has no type or storage class[/i] [i]> /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:522: parse error before[/i] [i]> Perl_sv_2bool’ /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:522:
> warning: data definition has no type or storage class
> /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:554: parse error before
> Perl_sv_derived_from'[/i] [i]> /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:554: warning: data[/i] [i]> definition has no type or storage class[/i] [i]> /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:592: parse error before[/i] [i]> Perl_sv_tainted’ /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:592:
> warning: data definition has no type or storage class
> /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:596: parse error before
> Perl_sv_upgrade' /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:596:[/i] [i]> warning: data definition has no type or storage class[/i] [i]> /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:600: parse error before[/i] [i]> bool’ /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:603: parse error
> before bool' In file included from[/i] [i]> /usr/lib/perl5/5.00503/i386-linux/CORE/perl.h:2133, from perl.c:25:[/i] [i]> /usr/lib/perl5/5.00503/i386-linux/CORE/perlvars.h:48: parse error before[/i] [i]> PL_nomemok’ /usr/lib/perl5/5.00503/i386-linux/CORE/perlvars.h:48:
> warning: data definition has no type or storage class
> /usr/lib/perl5/5.00503/i386-linux/CORE/perlvars.h:136: parse error
> before PL_in_my' /usr/lib/perl5/5.00503/i386-linux/CORE/perlvars.h:136:[/i] [i]> warning: data definition has no type or storage class[/i] [i]> /usr/lib/perl5/5.00503/i386-linux/CORE/perlvars.h:144: parse error[/i] [i]> before PL_do_undump’
> /usr/lib/perl5/5.00503/i386-linux/CORE/perlvars.h:144: warning: data
> definition has no type or storage class
> /usr/lib/perl5/5.00503/i386-linux/CORE/perlvars.h:157: parse error
> before PL_collation_standard'[/i] [i]> /usr/lib/perl5/5.00503/i386-linux/CORE/perlvars.h:157: warning: data[/i] [i]> definition has no type or storage class[/i] [i]> /usr/lib/perl5/5.00503/i386-linux/CORE/perlvars.h:166: parse error[/i] [i]> before PL_numeric_standard’
> /usr/lib/perl5/5.00503/i386-linux/CORE/perlvars.h:166: warning: data
> definition has no type or storage class
> /usr/lib/perl5/5.00503/i386-linux/CORE/perlvars.h:168: parse error
> before PL_numeric_local'[/i] [i]> /usr/lib/perl5/5.00503/i386-linux/CORE/perlvars.h:168: warning: data[/i] [i]> definition has no type or storage class In file included from[/i] [i]> /usr/lib/perl5/5.00503/i386-linux/CORE/perl.h:2138, from perl.c:25:[/i] [i]> /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:28: parse error before[/i] [i]> PL_minus_c’ /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:28:
> warning: data definition has no type or storage class
> /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:32: parse error before
> PL_preprocess' /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:32:[/i] [i]> warning: data definition has no type or storage class[/i] [i]> /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:33: parse error before[/i] [i]> PL_minus_n’ /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:33:
> warning: data definition has no type or storage class
> /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:34: parse error before
> PL_minus_p' /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:34:[/i] [i]> warning: data definition has no type or storage class[/i] [i]> /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:35: parse error before[/i] [i]> PL_minus_l’ /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:35:
> warning: data definition has no type or storage class
> /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:36: parse error before
> PL_minus_a' /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:36:[/i] [i]> warning: data definition has no type or storage class[/i] [i]> /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:37: parse error before[/i] [i]> PL_minus_F’ /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:37:
> warning: data definition has no type or storage class
> /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:38: parse error before
> PL_doswitches' /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:38:[/i] [i]> warning: data definition has no type or storage class[/i] [i]> /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:39: parse error before[/i] [i]> PL_dowarn’ /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:39:
> warning: data definition has no type or storage class
> /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:40: parse error before
> PL_doextract' /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:40:[/i] [i]> warning: data definition has no type or storage class[/i] [i]> /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:41: parse error before[/i] [i]> PL_sawampersand’ /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:41:
> warning: data definition has no type or storage class
> /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:42: parse error before
> PL_sawstudy' /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:42:[/i] [i]> warning: data definition has no type or storage class[/i] [i]> /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:43: parse error before[/i] [i]> PL_sawvec’ /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:43:
> warning: data definition has no type or storage class
> /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:44: parse error before
> PL_unsafe' /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:44:[/i] [i]> warning: data definition has no type or storage class[/i] [i]> /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:120: parse error[/i] [i]> before PL_tainting’
> /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:120: warning: data
> definition has no type or storage class
> /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:152: parse error
> before PL_preambled'[/i] [i]> /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:152: warning: data[/i] [i]> definition has no type or storage class[/i] [i]> /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:192: parse error[/i] [i]> before PL_in_clean_objs’
> /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:192: warning: data
> definition has no type or storage class
> /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:193: parse error
> before PL_in_clean_all'[/i] [i]> /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:193: warning: data[/i] [i]> definition has no type or storage class In file included from[/i] [i]> /usr/lib/perl5/5.00503/i386-linux/CORE/perl.h:2140, from perl.c:25:[/i] [i]> /usr/lib/perl5/5.00503/i386-linux/CORE/thrdvar.h:67: parse error before[/i] [i]> PL_tainted’ /usr/lib/perl5/5.00503/i386-linux/CORE/thrdvar.h:67:
> warning: data definition has no type or storage class
> /usr/lib/perl5/5.00503/i386-linux/CORE/thrdvar.h:88: parse error before
> PL_dirty' /usr/lib/perl5/5.00503/i386-linux/CORE/thrdvar.h:88: warning:[/i] [i]> data definition has no type or storage class perl.c: In function[/i] [i]> php_info_perl’: perl.c:126: PERL_VERSION' undeclared (first use in[/i] [i]> this function) perl.c:126: (Each undeclared identifier is reported only[/i] [i]> once perl.c:126: for each function it appears in.) perl.c: In function[/i] [i]> php_if_perl_eval’: perl.c:160: warning: assignment makes pointer from
> integer without a cast perl.c:164: warning: assignment makes pointer
> from integer without a cast perl.c: In function
> php_if_perl_get_variable': perl.c:192: warning: assignment makes[/i] [i]> pointer from integer without a cast perl.c:204: warning: assignment[/i] [i]> makes pointer from integer without a cast perl.c:207: warning:[/i] [i]> assignment makes pointer from integer without a cast perl.c: In function[/i] [i]> php_if_perl_set_scalar’: perl.c:250: warning: assignment makes pointer
> from integer without a cast perl.c: In function
> php_if_perl_set_array_element': perl.c:269: warning: assignment makes[/i] [i]> pointer from integer without a cast perl.c: In function[/i] [i]> php_if_perl_set_hash_element’: perl.c:289: warning: assignment makes
> pointer from integer without a cast perl.c: In function
> php_if_perl_get_array': perl.c:319: warning: assignment makes pointer[/i] [i]> from integer without a cast perl.c: In function[/i] [i]> php_if_perl_get_scalar’: perl.c:349: warning: assignment makes pointer
> from integer without a cast perl.c: In function php_if_perl_get_hash':[/i] [i]> perl.c:385: warning: assignment makes pointer from integer without a[/i] [i]> cast make[1]: *** [perl.slo] Error 1 make[1]: Leaving directory[/i] [i]> /home/sites/home/users/admin/perlphp/ext/perl’ make: ***
> [all-recursive] Error 1

Telling by the sheer number of warnings and error messages the compiler is
producing for that code, I’d say the module you’re trying to use is a
piece of shit and/or not compatible with the compiler on your system.

Give up and find something else :slight_smile:

-Mike K.

Gilby wrote:
>
> Does anyone know what these errors mean and where I should look to fix
> it? I am trying to compile a Perl in PHP module
> (http://msalem.translator.cx/perlinphp.php) so that I can run some perl
> code within php.
>
> The errors:
>
> make[1]: *** [perl.slo] Error 1 make[1]: Leaving directory
> /home/sites/home/users/admin/perlphp/ext/perl' make: ***[/i] [i]> [all-recursive] Error 1[/i] [i]>[/i] [i]> Full output from make:[/i] [i]>[/i] [i]> make[1]: Entering directory[/i] [i]> /home/sites/home/users/admin/perlphp/ext/perl’ /bin/sh
> /home/sites/home/users/admin/perlphp/ext/perl/libtool --mode=compile gcc
> -I. -I/home/sites/home/users/admin/perlphp/ext/perl/
> -I/home/sites/home/users/admin/perlphp/ext/perl/main
> -I/home/sites/home/users/admin/perlphp/ext/perl -I/usr/local/include/php
> -I/usr/local/include/php/main -I/usr/local/include/php/Zend
> -I/usr/local/include/php/TSRM -I/usr/local/include
> -I/usr/lib/perl5/5.00503/i386-linux/CORE -g -O2 -c perl.c && touch
> perl.slo gcc -I. -I/home/sites/home/users/admin/perlphp/ext/perl/
> -I/home/sites/home/users/admin/perlphp/ext/perl/main
> -I/home/sites/home/users/admin/perlphp/ext/perl -I/usr/local/include/php
> -I/usr/local/include/php/main -I/usr/local/include/php/Zend
> -I/usr/local/include/php/TSRM -I/usr/local/include
> -I/usr/lib/perl5/5.00503/i386-linux/CORE -g -O2 -c perl.c -fPIC -DPIC -o
> perl.lo In file included from /usr/local/include/php/main/php.h:34, from
> perl.c:26: /usr/local/include/php/Zend/zend.h:31: warning:
> END_EXTERN_C' redefined[/i] [i]> /usr/lib/perl5/5.00503/i386-linux/CORE/perl.h:150: warning: this is the[/i] [i]> location of the previous definition In file included from[/i] [i]> /usr/lib/perl5/5.00503/i386-linux/CORE/perl.h:1276, from perl.c:25:[/i] [i]> /usr/lib/perl5/5.00503/i386-linux/CORE/cop.h:217: parse error before[/i] [i]> bool’ /usr/lib/perl5/5.00503/i386-linux/CORE/cop.h:217: warning: no
> semicolon at end of struct or union
> /usr/lib/perl5/5.00503/i386-linux/CORE/cop.h:218: warning: data
> definition has no type or storage class
> /usr/lib/perl5/5.00503/i386-linux/CORE/cop.h:227: parse error before }'[/i] [i]> /usr/lib/perl5/5.00503/i386-linux/CORE/cop.h:268: field cx_subst’ has
> incomplete type In file included from
> /usr/lib/perl5/5.00503/i386-linux/CORE/perl.h:1280, from perl.c:25:
> /usr/lib/perl5/5.00503/i386-linux/CORE/scope.h:135: parse error before
> bool' /usr/lib/perl5/5.00503/i386-linux/CORE/scope.h:135: warning: no[/i] [i]> semicolon at end of struct or union In file included from[/i] [i]> /usr/lib/perl5/5.00503/i386-linux/CORE/perl.h:2109, from perl.c:25:[/i] [i]> /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:27: parse error before[/i] [i]> Perl_Gv_AMupdate’ /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:27:
> warning: data definition has no type or storage class
> /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:33: parse error before
> Perl_avhv_exists_ent'[/i] [i]> /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:33: warning: data[/i] [i]> definition has no type or storage class[/i] [i]> /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:98: parse error before[/i] [i]> Perl_do_aexec’ /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:98:
> warning: data definition has no type or storage class
> /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:101: parse error before
> Perl_do_close' /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:101:[/i] [i]> parse error before bool’
> /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:101: warning: data
> definition has no type or storage class
> /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:102: parse error before
> Perl_do_eof' /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:102:[/i] [i]> warning: data definition has no type or storage class[/i] [i]> /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:103: parse error before[/i] [i]> Perl_do_exec’ /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:103:
> warning: data definition has no type or storage class
> /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:115: parse error before
> Perl_do_open' /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:116:[/i] [i]> warning: data definition has no type or storage class[/i] [i]> /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:118: parse error before[/i] [i]> Perl_do_print’ /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:118:
> warning: data definition has no type or storage class
> /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:121: parse error before
> Perl_do_seek' /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:121:[/i] [i]> warning: data definition has no type or storage class[/i] [i]> /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:149: parse error before[/i] [i]> bool’ /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:182: parse error
> before Perl_hv_exists'[/i] [i]> /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:182: warning: data[/i] [i]> definition has no type or storage class[/i] [i]> /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:183: parse error before[/i] [i]> Perl_hv_exists_ent’ /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:183:
> warning: data definition has no type or storage class
> /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:204: parse error before
> Perl_io_close' /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:204:[/i] [i]> warning: data definition has no type or storage class[/i] [i]> /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:522: parse error before[/i] [i]> Perl_sv_2bool’ /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:522:
> warning: data definition has no type or storage class
> /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:554: parse error before
> Perl_sv_derived_from'[/i] [i]> /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:554: warning: data[/i] [i]> definition has no type or storage class[/i] [i]> /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:592: parse error before[/i] [i]> Perl_sv_tainted’ /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:592:
> warning: data definition has no type or storage class
> /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:596: parse error before
> Perl_sv_upgrade' /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:596:[/i] [i]> warning: data definition has no type or storage class[/i] [i]> /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:600: parse error before[/i] [i]> bool’ /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:603: parse error
> before bool' In file included from[/i] [i]> /usr/lib/perl5/5.00503/i386-linux/CORE/perl.h:2133, from perl.c:25:[/i] [i]> /usr/lib/perl5/5.00503/i386-linux/CORE/perlvars.h:48: parse error before[/i] [i]> PL_nomemok’ /usr/lib/perl5/5.00503/i386-linux/CORE/perlvars.h:48:
> warning: data definition has no type or storage class
> /usr/lib/perl5/5.00503/i386-linux/CORE/perlvars.h:136: parse error
> before PL_in_my' /usr/lib/perl5/5.00503/i386-linux/CORE/perlvars.h:136:[/i] [i]> warning: data definition has no type or storage class[/i] [i]> /usr/lib/perl5/5.00503/i386-linux/CORE/perlvars.h:144: parse error[/i] [i]> before PL_do_undump’
> /usr/lib/perl5/5.00503/i386-linux/CORE/perlvars.h:144: warning: data
> definition has no type or storage class
> /usr/lib/perl5/5.00503/i386-linux/CORE/perlvars.h:157: parse error
> before PL_collation_standard'[/i] [i]> /usr/lib/perl5/5.00503/i386-linux/CORE/perlvars.h:157: warning: data[/i] [i]> definition has no type or storage class[/i] [i]> /usr/lib/perl5/5.00503/i386-linux/CORE/perlvars.h:166: parse error[/i] [i]> before PL_numeric_standard’
> /usr/lib/perl5/5.00503/i386-linux/CORE/perlvars.h:166: warning: data
> definition has no type or storage class
> /usr/lib/perl5/5.00503/i386-linux/CORE/perlvars.h:168: parse error
> before PL_numeric_local'[/i] [i]> /usr/lib/perl5/5.00503/i386-linux/CORE/perlvars.h:168: warning: data[/i] [i]> definition has no type or storage class In file included from[/i] [i]> /usr/lib/perl5/5.00503/i386-linux/CORE/perl.h:2138, from perl.c:25:[/i] [i]> /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:28: parse error before[/i] [i]> PL_minus_c’ /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:28:
> warning: data definition has no type or storage class
> /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:32: parse error before
> PL_preprocess' /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:32:[/i] [i]> warning: data definition has no type or storage class[/i] [i]> /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:33: parse error before[/i] [i]> PL_minus_n’ /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:33:
> warning: data definition has no type or storage class
> /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:34: parse error before
> PL_minus_p' /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:34:[/i] [i]> warning: data definition has no type or storage class[/i] [i]> /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:35: parse error before[/i] [i]> PL_minus_l’ /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:35:
> warning: data definition has no type or storage class
> /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:36: parse error before
> PL_minus_a' /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:36:[/i] [i]> warning: data definition has no type or storage class[/i] [i]> /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:37: parse error before[/i] [i]> PL_minus_F’ /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:37:
> warning: data definition has no type or storage class
> /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:38: parse error before
> PL_doswitches' /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:38:[/i] [i]> warning: data definition has no type or storage class[/i] [i]> /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:39: parse error before[/i] [i]> PL_dowarn’ /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:39:
> warning: data definition has no type or storage class
> /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:40: parse error before
> PL_doextract' /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:40:[/i] [i]> warning: data definition has no type or storage class[/i] [i]> /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:41: parse error before[/i] [i]> PL_sawampersand’ /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:41:
> warning: data definition has no type or storage class
> /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:42: parse error before
> PL_sawstudy' /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:42:[/i] [i]> warning: data definition has no type or storage class[/i] [i]> /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:43: parse error before[/i] [i]> PL_sawvec’ /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:43:
> warning: data definition has no type or storage class
> /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:44: parse error before
> PL_unsafe' /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:44:[/i] [i]> warning: data definition has no type or storage class[/i] [i]> /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:120: parse error[/i] [i]> before PL_tainting’
> /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:120: warning: data
> definition has no type or storage class
> /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:152: parse error
> before PL_preambled'[/i] [i]> /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:152: warning: data[/i] [i]> definition has no type or storage class[/i] [i]> /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:192: parse error[/i] [i]> before PL_in_clean_objs’
> /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:192: warning: data
> definition has no type or storage class
> /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:193: parse error
> before PL_in_clean_all'[/i] [i]> /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:193: warning: data[/i] [i]> definition has no type or storage class In file included from[/i] [i]> /usr/lib/perl5/5.00503/i386-linux/CORE/perl.h:2140, from perl.c:25:[/i] [i]> /usr/lib/perl5/5.00503/i386-linux/CORE/thrdvar.h:67: parse error before[/i] [i]> PL_tainted’ /usr/lib/perl5/5.00503/i386-linux/CORE/thrdvar.h:67:
> warning: data definition has no type or storage class
> /usr/lib/perl5/5.00503/i386-linux/CORE/thrdvar.h:88: parse error before
> PL_dirty' /usr/lib/perl5/5.00503/i386-linux/CORE/thrdvar.h:88: warning:[/i] [i]> data definition has no type or storage class perl.c: In function[/i] [i]> php_info_perl’: perl.c:126: PERL_VERSION' undeclared (first use in[/i] [i]> this function) perl.c:126: (Each undeclared identifier is reported only[/i] [i]> once perl.c:126: for each function it appears in.) perl.c: In function[/i] [i]> php_if_perl_eval’: perl.c:160: warning: assignment makes pointer from
> integer without a cast perl.c:164: warning: assignment makes pointer
> from integer without a cast perl.c: In function
> php_if_perl_get_variable': perl.c:192: warning: assignment makes[/i] [i]> pointer from integer without a cast perl.c:204: warning: assignment[/i] [i]> makes pointer from integer without a cast perl.c:207: warning:[/i] [i]> assignment makes pointer from integer without a cast perl.c: In function[/i] [i]> php_if_perl_set_scalar’: perl.c:250: warning: assignment makes pointer
> from integer without a cast perl.c: In function
> php_if_perl_set_array_element': perl.c:269: warning: assignment makes[/i] [i]> pointer from integer without a cast perl.c: In function[/i] [i]> php_if_perl_set_hash_element’: perl.c:289: warning: assignment makes
> pointer from integer without a cast perl.c: In function
> php_if_perl_get_array': perl.c:319: warning: assignment makes pointer[/i] [i]> from integer without a cast perl.c: In function[/i] [i]> php_if_perl_get_scalar’: perl.c:349: warning: assignment makes pointer
> from integer without a cast perl.c: In function php_if_perl_get_hash':[/i] [i]> perl.c:385: warning: assignment makes pointer from integer without a[/i] [i]> cast make[1]: *** [perl.slo] Error 1 make[1]: Leaving directory[/i] [i]> /home/sites/home/users/admin/perlphp/ext/perl’ make: ***
> [all-recursive] Error 1

Rodney Blackwell wrote:

> I think it means something is broken in the script

No way, you’re a genious!

that’s what I meant to say…


Rodney Blackwell - site owner/administrator

http://T-ShirtCountdown.com http://TalkT-Shirts.com/
http://ihateclowns.com/ http://Globie.com/ http://DomainJunkies.com/
http://EmailSources.com/ http://SellYourLogo.com/
http://CircleRPrinting.com

Free Color Business Cards http://www.linkcounter.com/go.php?linkid=153264

“Mike King” <mike@webcodefocus.com> wrote in message
news:3BEC0D9A.851967D6@webcodefocus.com
>
>
> Telling by the sheer number of warnings and error messages the compiler
> is producing for that code, I’d say the module you’re trying to use is a
> piece of shit and/or not compatible with the compiler on your system.
>
> Give up and find something else :slight_smile:
>
> -Mike K.
>
> Gilby wrote:
> >
> > Does anyone know what these errors mean and where I should look to fix
> > it? I am trying to compile a Perl in PHP module
> > (http://msalem.translator.cx/perlinphp.php) so that I can run some
> > perl code within php.
> >
> > The errors:
> >
> > make[1]: *** [perl.slo] Error 1 make[1]: Leaving directory
/home/sites/home/users/admin/perlphp/ext/perl' [i]> > make: *** [all-recursive] Error 1[/i] [i]> >[/i] [i]> > Full output from make:[/i] [i]> >[/i] [i]> > make[1]: Entering directory[/i] /home/sites/home/users/admin/perlphp/ext/perl’
> > /bin/sh /home/sites/home/users/admin/perlphp/ext/perl/libtool
> > --mode=compile gcc -I.
> > -I/home/sites/home/users/admin/perlphp/ext/perl/
> > -I/home/sites/home/users/admin/perlphp/ext/perl/main
> > -I/home/sites/home/users/admin/perlphp/ext/perl
> > -I/usr/local/include/php -I/usr/local/include/php/main
> > -I/usr/local/include/php/Zend -I/usr/local/include/php/TSRM
> > -I/usr/local/include -I/usr/lib/perl5/5.00503/i386-linux/CORE -g -O2
> > -c perl.c && touch perl.slo gcc -I.
> > -I/home/sites/home/users/admin/perlphp/ext/perl/
> > -I/home/sites/home/users/admin/perlphp/ext/perl/main
> > -I/home/sites/home/users/admin/perlphp/ext/perl
> > -I/usr/local/include/php -I/usr/local/include/php/main
> > -I/usr/local/include/php/Zend -I/usr/local/include/php/TSRM
> > -I/usr/local/include -I/usr/lib/perl5/5.00503/i386-linux/CORE -g -O2
> > -c perl.c -fPIC -DPIC -o perl.lo In file included from
> > /usr/local/include/php/main/php.h:34, from perl.c:26:
[i]> > /usr/local/include/php/Zend/zend.h:31: warning: END_EXTERN_C'[/i] [i]> > redefined /usr/lib/perl5/5.00503/i386-linux/CORE/perl.h:150: warning:[/i] [i]> > this is the location of the previous definition In file included from[/i] /usr/lib/perl5/5.00503/i386-linux/CORE/perl.h:1276, [i]> > from perl.c:25:[/i] [i]> > /usr/lib/perl5/5.00503/i386-linux/CORE/cop.h:217:[/i] [i]> > parse error before[/i] bool’
> > /usr/lib/perl5/5.00503/i386-linux/CORE/cop.h:217: warning: no
> > semicolon at end of struct or union
> > /usr/lib/perl5/5.00503/i386-linux/CORE/cop.h:218: warning: data
> > definition has no type or storage class
> > /usr/lib/perl5/5.00503/i386-linux/CORE/cop.h:227: parse error before
> > }' /usr/lib/perl5/5.00503/i386-linux/CORE/cop.h:268: field cx_subst’
> > has incomplete type In file included from
/usr/lib/perl5/5.00503/i386-linux/CORE/perl.h:1280,
> > from perl.c:25:
> > /usr/lib/perl5/5.00503/i386-linux/CORE/scope.h:135:
> > parse error before bool'[/i] [i]> > /usr/lib/perl5/5.00503/i386-linux/CORE/scope.h:135:[/i] [i]> > warning: no semicolon at end of struct or union In[/i] [i]> > file included from[/i] /usr/lib/perl5/5.00503/i386-linux/CORE/perl.h:2109, [i]> > from perl.c:25:[/i] [i]> > /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:27:[/i] [i]> > parse error before Perl_Gv_AMupdate’
> > /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:27:
> > warning: data definition has no type or storage
> > class
> > /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:33:
> > parse error before Perl_avhv_exists_ent'[/i] [i]> > /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:33:[/i] [i]> > warning: data definition has no type or storage[/i] [i]> > class[/i] [i]> > /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:98:[/i] [i]> > parse error before Perl_do_aexec’
> > /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:98:
> > warning: data definition has no type or storage
> > class
> > /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:101:
> > parse error before Perl_do_close'[/i] [i]> > /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:101:[/i] [i]> > parse error before bool’
> > /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:101:
> > warning: data definition has no type or storage
> > class
> > /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:102:
> > parse error before Perl_do_eof'[/i] [i]> > /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:102:[/i] [i]> > warning: data definition has no type or storage[/i] [i]> > class[/i] [i]> > /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:103:[/i] [i]> > parse error before Perl_do_exec’
> > /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:103:
> > warning: data definition has no type or storage
> > class
> > /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:115:
> > parse error before Perl_do_open'[/i] [i]> > /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:116:[/i] [i]> > warning: data definition has no type or storage[/i] [i]> > class[/i] [i]> > /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:118:[/i] [i]> > parse error before Perl_do_print’
> > /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:118:
> > warning: data definition has no type or storage
> > class
> > /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:121:
> > parse error before Perl_do_seek'[/i] [i]> > /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:121:[/i] [i]> > warning: data definition has no type or storage[/i] [i]> > class[/i] [i]> > /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:149:[/i] [i]> > parse error before bool’
> > /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:182:
> > parse error before Perl_hv_exists'[/i] [i]> > /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:182:[/i] [i]> > warning: data definition has no type or storage[/i] [i]> > class[/i] [i]> > /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:183:[/i] [i]> > parse error before Perl_hv_exists_ent’
> > /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:183:
> > warning: data definition has no type or storage
> > class
> > /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:204:
> > parse error before Perl_io_close'[/i] [i]> > /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:204:[/i] [i]> > warning: data definition has no type or storage[/i] [i]> > class[/i] [i]> > /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:522:[/i] [i]> > parse error before Perl_sv_2bool’
> > /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:522:
> > warning: data definition has no type or storage
> > class
> > /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:554:
> > parse error before Perl_sv_derived_from'[/i] [i]> > /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:554:[/i] [i]> > warning: data definition has no type or storage[/i] [i]> > class[/i] [i]> > /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:592:[/i] [i]> > parse error before Perl_sv_tainted’
> > /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:592:
> > warning: data definition has no type or storage
> > class
> > /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:596:
> > parse error before Perl_sv_upgrade'[/i] [i]> > /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:596:[/i] [i]> > warning: data definition has no type or storage[/i] [i]> > class[/i] [i]> > /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:600:[/i] [i]> > parse error before bool’
> > /usr/lib/perl5/5.00503/i386-linux/CORE/proto.h:603:
> > parse error before bool' In file included from[/i] /usr/lib/perl5/5.00503/i386-linux/CORE/perl.h:2133, [i]> > from perl.c:25: /usr/lib/perl5/5.00503/i386-linux/C-[/i] [i]> > ORE/perlvars.h:48: parse error before PL_nomemok’
> > /usr/lib/perl5/5.00503/i386-linux/CORE/perlvars.h:4-
> > 8: warning: data definition has no type or storage
> > class /usr/lib/perl5/5.00503/i386-linux/CORE/perlva-
> > rs.h:136: parse error before PL_in_my' /usr/lib/pe-[/i] [i]> > rl5/5.00503/i386-linux/CORE/perlvars.h:136: warning:[/i] [i]> > data definition has no type or storage class /usr/l-[/i] [i]> > ib/perl5/5.00503/i386-linux/CORE/perlvars.h:144:[/i] [i]> > parse error before PL_do_undump’ /usr/lib/perl5/5.-
> > 00503/i386-linux/CORE/perlvars.h:144: warning: data
> > definition has no type or storage class /usr/lib/pe-
> > rl5/5.00503/i386-linux/CORE/perlvars.h:157: parse
> > error before PL_collation_standard' /usr/lib/perl5-[/i] [i]> > /5.00503/i386-linux/CORE/perlvars.h:157: warning:[/i] [i]> > data definition has no type or storage class /usr/l-[/i] [i]> > ib/perl5/5.00503/i386-linux/CORE/perlvars.h:166:[/i] [i]> > parse error before PL_numeric_standard’ /usr/lib/p-
> > erl5/5.00503/i386-linux/CORE/perlvars.h:166:
> > warning: data definition has no type or storage
> > class /usr/lib/perl5/5.00503/i386-linux/CORE/perlva-
> > rs.h:168: parse error before PL_numeric_local' /us-[/i] [i]> > r/lib/perl5/5.00503/i386-linux/CORE/perlvars.h:168:[/i] [i]> > warning: data definition has no type or storage[/i] [i]> > class In file included from[/i] /usr/lib/perl5/5.00503/i386-linux/CORE/perl.h:2138, [i]> > from perl.c:25: /usr/lib/perl5/5.00503/i386-linux/C-[/i] [i]> > ORE/intrpvar.h:28: parse error before PL_minus_c’
> > /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:2-
> > 8: warning: data definition has no type or storage
> > class /usr/lib/perl5/5.00503/i386-linux/CORE/intrpv-
> > ar.h:32: parse error before PL_preprocess' /usr/li-[/i] [i]> > b/perl5/5.00503/i386-linux/CORE/intrpvar.h:32:[/i] [i]> > warning: data definition has no type or storage[/i] [i]> > class /usr/lib/perl5/5.00503/i386-linux/CORE/intrpv-[/i] [i]> > ar.h:33: parse error before PL_minus_n’ /usr/lib/p-
> > erl5/5.00503/i386-linux/CORE/intrpvar.h:33: warning:
> > data definition has no type or storage class /usr/l-
> > ib/perl5/5.00503/i386-linux/CORE/intrpvar.h:34:
> > parse error before PL_minus_p' /usr/lib/perl5/5.00-[/i] [i]> > 503/i386-linux/CORE/intrpvar.h:34: warning: data[/i] [i]> > definition has no type or storage class /usr/lib/pe-[/i] [i]> > rl5/5.00503/i386-linux/CORE/intrpvar.h:35: parse[/i] [i]> > error before PL_minus_l’ /usr/lib/perl5/5.00503/i3-
> > 86-linux/CORE/intrpvar.h:35: warning: data
> > definition has no type or storage class /usr/lib/pe-
> > rl5/5.00503/i386-linux/CORE/intrpvar.h:36: parse
> > error before PL_minus_a' /usr/lib/perl5/5.00503/i3-[/i] [i]> > 86-linux/CORE/intrpvar.h:36: warning: data[/i] [i]> > definition has no type or storage class /usr/lib/pe-[/i] [i]> > rl5/5.00503/i386-linux/CORE/intrpvar.h:37: parse[/i] [i]> > error before PL_minus_F’ /usr/lib/perl5/5.00503/i3-
> > 86-linux/CORE/intrpvar.h:37: warning: data
> > definition has no type or storage class /usr/lib/pe-
> > rl5/5.00503/i386-linux/CORE/intrpvar.h:38: parse
> > error before PL_doswitches' /usr/lib/perl5/5.00503-[/i] [i]> > /i386-linux/CORE/intrpvar.h:38: warning: data[/i] [i]> > definition has no type or storage class /usr/lib/pe-[/i] [i]> > rl5/5.00503/i386-linux/CORE/intrpvar.h:39: parse[/i] [i]> > error before PL_dowarn’ /usr/lib/perl5/5.00503/i38-
> > 6-linux/CORE/intrpvar.h:39: warning: data definition
> > has no type or storage class /usr/lib/perl5/5.00503-
> > /i386-linux/CORE/intrpvar.h:40: parse error before
> > PL_doextract' /usr/lib/perl5/5.00503/i386-linux/CO-[/i] [i]> > RE/intrpvar.h:40: warning: data definition has no[/i] [i]> > type or storage class /usr/lib/perl5/5.00503/i386-l-[/i] [i]> > inux/CORE/intrpvar.h:41: parse error before[/i] [i]> > PL_sawampersand’ /usr/lib/perl5/5.00503/i386-linux-
> > /CORE/intrpvar.h:41: warning: data definition has no
> > type or storage class /usr/lib/perl5/5.00503/i386-l-
> > inux/CORE/intrpvar.h:42: parse error before
> > PL_sawstudy' /usr/lib/perl5/5.00503/i386-linux/COR-[/i] [i]> > E/intrpvar.h:42: warning: data definition has no[/i] [i]> > type or storage class /usr/lib/perl5/5.00503/i386-l-[/i] [i]> > inux/CORE/intrpvar.h:43: parse error before[/i] [i]> > PL_sawvec’ /usr/lib/perl5/5.00503/i386-linux/CORE/-
> > intrpvar.h:43: warning: data definition has no type
> > or storage class /usr/lib/perl5/5.00503/i386-linux/-
> > CORE/intrpvar.h:44: parse error before PL_unsafe'[/i] [i]> > /usr/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:4-[/i] [i]> > 4: warning: data definition has no type or storage[/i] [i]> > class /usr/lib/perl5/5.00503/i386-linux/CORE/intrpv-[/i] [i]> > ar.h:120: parse error before PL_tainting’ /usr/lib-
> > /perl5/5.00503/i386-linux/CORE/intrpvar.h:120:
> > warning: data definition has no type or storage
> > class /usr/lib/perl5/5.00503/i386-linux/CORE/intrpv-
> > ar.h:152: parse error before PL_preambled' /usr/li-[/i] [i]> > b/perl5/5.00503/i386-linux/CORE/intrpvar.h:152:[/i] [i]> > warning: data definition has no type or storage[/i] [i]> > class /usr/lib/perl5/5.00503/i386-linux/CORE/intrpv-[/i] [i]> > ar.h:192: parse error before PL_in_clean_objs’ /us-
> > r/lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:192:
> > warning: data definition has no type or storage
> > class /usr/lib/perl5/5.00503/i386-linux/CORE/intrpv-
> > ar.h:193: parse error before PL_in_clean_all' /usr-[/i] [i]> > /lib/perl5/5.00503/i386-linux/CORE/intrpvar.h:193:[/i] [i]> > warning: data definition has no type or storage[/i] [i]> > class In file included from[/i] /usr/lib/perl5/5.00503/i386-linux/CORE/perl.h:2140, [i]> > from perl.c:25: /usr/lib/perl5/5.00503/i386-linux/C-[/i] [i]> > ORE/thrdvar.h:67: parse error before PL_tainted’
> > /usr/lib/perl5/5.00503/i386-linux/CORE/thrdvar.h:67:
> > warning: data definition has no type or storage
> > class /usr/lib/perl5/5.00503/i386-linux/CORE/thrdva-
> > r.h:88: parse error before PL_dirty' /usr/lib/perl-[/i] [i]> > 5/5.00503/i386-linux/CORE/thrdvar.h:88: warning:[/i] [i]> > data definition has no type or storage class perl.c:[/i] [i]> > In function php_info_perl’: perl.c:126:
> > PERL_VERSION' undeclared (first use in this[/i] [i]> > function) perl.c:126: (Each undeclared identifier is[/i] [i]> > reported only once perl.c:126: for each function it[/i] [i]> > appears in.) perl.c: In function php_if_perl_eval’:
> > perl.c:160: warning: assignment makes pointer from
> > integer without a
cast
> > perl.c:164: warning: assignment makes pointer from integer without a
cast
> > perl.c: In function php_if_perl_get_variable': perl.c:192: warning:[/i] [i]> > assignment makes pointer from integer without a[/i] cast [i]> > perl.c:204: warning: assignment makes pointer from integer without a[/i] cast [i]> > perl.c:207: warning: assignment makes pointer from integer without a[/i] cast [i]> > perl.c: In function php_if_perl_set_scalar’: perl.c:250: warning:
> > assignment makes pointer from integer without a
cast
> > perl.c: In function php_if_perl_set_array_element': perl.c:269:[/i] [i]> > warning: assignment makes pointer from integer without a[/i] cast [i]> > perl.c: In function php_if_perl_set_hash_element’: perl.c:289:
> > warning: assignment makes pointer from integer without a
cast
> > perl.c: In function php_if_perl_get_array': perl.c:319: warning:[/i] [i]> > assignment makes pointer from integer without a[/i] cast [i]> > perl.c: In function php_if_perl_get_scalar’: perl.c:349: warning:
> > assignment makes pointer from integer without a
cast
[i]> > perl.c: In function php_if_perl_get_hash': perl.c:385: warning:[/i] [i]> > assignment makes pointer from integer without a[/i] cast [i]> > make[1]: *** [perl.slo] Error 1 make[1]: Leaving directory[/i] /home/sites/home/users/admin/perlphp/ext/perl’
> > make: *** [all-recursive] Error 1

Mike King wrote:

>
> Give up and find something else :slight_smile:

Yeah, that’s my next option. So, now to find the best way to pass
variables (mostly hashes) from perl to php.

http://www.php.net/manual/en/function.system.php

Gilby wrote:
>
> Mike King wrote:
>
> >
> > Give up and find something else :slight_smile:
>
> Yeah, that’s my next option. So, now to find the best way to pass
> variables (mostly hashes) from perl to php.

Mike King wrote:

> http://www.php.net/manual/en/function.system.php

Yeah, that’s what I was thinking (exec() fits better though), but the main
thing I need to figure out is the best way to output the data and read it
back in as php variables.

I learned something on that page that I was looking for before, that you
can execute something in the background without hanging/stalling php.

Have the perl script format an XML document as output. Have the php script
parse the XML document :slight_smile:

-Mike K.

Gilby wrote:
>
> Mike King wrote:
>
> > http://www.php.net/manual/en/function.system.php
>
> Yeah, that’s what I was thinking (exec() fits better though), but the
> main thing I need to figure out is the best way to output the data and
> read it back in as php variables.
>
> I learned something on that page that I was looking for before, that you
> can execute something in the background without hanging/stalling php.

Mike King wrote:

> Have the perl script format an XML document as output. Have the php
> script parse the XML document :slight_smile:

XML, that seems like overkill (read: too much of a pain to implement). All
I am going to have is data going in and out of the perl script as an array
like: array ( “My Variable” => “could contain anything”, “another” =>
“12345”, “name” => “kevin” )

It’ll input one array, and output a returned array. Unfortunately, my perl
skills suck, but I’ll manage.

Gilby wrote:
>
> Mike King wrote:
>
> > Have the perl script format an XML document as output. Have the php
> > script parse the XML document :slight_smile:
>
> XML, that seems like overkill (read: too much of a pain to implement).

How is it a pain at all? if you have key values pairs:

print OUT "<thing>value of thing</thing>
"; print OUT "<other>value of
other</other>
";

on the php side, use the built in functions to parse that. Simple. And if
you ever want to expand the functionality, into say more complex data
sets, you can easily do so.

> All I am going to have is data going in and out of the perl script as an
> array like: array ( “My Variable” => “could contain anything”, “another”
> => “12345”, “name” => “kevin” )

<array> <my variable>could contain anything</my variable>
<another>12345</anything> <name>Kevin</name> </array>

> It’ll input one array, and output a returned array. Unfortunately, my
> perl skills suck, but I’ll manage.
Perl’s just like every other language. Don’t let its “do the same thing
10,000,000 different ways” bother you :slight_smile:

-Mike K.

> Have the perl script format an XML document as output. Have the php
> script parse the XML document :slight_smile:

If you want to go that route, I’d recommend you use WDDX, it has a
module for PHP builtin to create XML packets from all PHP variables.
And there are functions for most languages to use WDDX so I imagine
Perl has one too.

Unless you want to reinvent the wheel of course…


Jon Caruana jcaruana@home.com