LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-17-2006, 05:10 PM   #1
rino.caldelli
Member
 
Registered: Apr 2005
Location: perugia
Distribution: ubuntu
Posts: 181

Rep: Reputation: 31
mod_perl make && make test error


Hi I'm trying to compile mod_perl with perl version
Code:
[root@localhost mod_perl-2.0.2]# perl -v

This is perl, v5.8.6 built for i386-linux
(with 1 registered patch, see perl -V for more detail)

Copyright 1987-2004, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using `man perl' or `perldoc perl'.  If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.
this is the errors I get........

Code:
make && make test
cd "src/modules/perl" && make
make[1]: Entering directory `/home/bastille/Desktop/mod_perl-2.0.2/src/modules/perl'
gcc -I/home/bastille/Desktop/mod_perl-2.0.2/src/modules/perl -I/home/bastille/Desktop/mod_perl-2.0.2/xs -I/usr/local/apache2/include -I/usr/local/apache2/include  -I/usr/local/apache2/include -DPERL_DISABLE_PMC -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/include/gdbm -I/usr/lib/perl5/5.8.6/i386-linux/CORE -DMOD_PERL -DMP_COMPAT_1X -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -O2 -fomit-frame-pointer -pipe -march=i586 -mtune=pentiumpro  -fPIC \
-c mod_perl.c && mv mod_perl.o mod_perl.lo
In file included from modperl_common_includes.h:23,
                 from mod_perl.h:20,
                 from mod_perl.c:16:
modperl_perl_includes.h:64:20: EXTERN.h: No such file or directory
In file included from modperl_perl_includes.h:65,
                 from modperl_common_includes.h:23,
                 from mod_perl.h:20,
                 from mod_perl.c:16:
/usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:475:21: embed.h: No such file or directory
/usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:1806:19: handy.h: No such file or directory
/usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:1970:24: unixish.h: No such file or directory
In file included from modperl_perl_includes.h:65,
                 from modperl_common_includes.h:23,
                 from mod_perl.h:20,
                 from mod_perl.c:16:
/usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:2286: error: syntax error before "I32"
/usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:2286: warning: no semicolon at end of struct or union
/usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:2289: error: syntax error before "any_bool"
/usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:2289: warning: data definition has no type or storage class
/usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:2292: error: syntax error before '}' token
/usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:2301: error: syntax error before '*' token
/usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:2301: error: `I32' declared as function returning a function
/usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:2324:24: iperlsys.h: No such file or directory
In file included from /usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:2337,
                 from modperl_perl_includes.h:65,
                 from modperl_common_includes.h:23,
                 from mod_perl.h:20,
                 from mod_perl.c:16:
/usr/include/regexp.h: In function `compile':
/usr/include/regexp.h:115: error: `INIT' undeclared (first use in this function)
/usr/include/regexp.h:115: error: (Each undeclared identifier is reported only once
/usr/include/regexp.h:115: error: for each function it appears in.)
/usr/include/regexp.h:115: error: syntax error before "regex_t"
/usr/include/regexp.h:129: error: `__expr_ptr' undeclared (first use in this function)
/usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:2338:16: sv.h: No such file or directory
/usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:2339:18: util.h: No such file or directory
/usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:2341:16: gv.h: No such file or directory
/usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:2342:17: pad.h: No such file or directory
/usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:2343:16: cv.h: No such file or directory
/usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:2344:21: opnames.h: No such file or directory
/usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:2345:16: op.h: No such file or directory
/usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:2346:17: cop.h: No such file or directory
/usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:2347:16: av.h: No such file or directory
/usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:2348:16: hv.h: No such file or directory
/usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:2349:16: mg.h: No such file or directory
/usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:2350:19: scope.h: No such file or directory
/usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:2351:22: warnings.h: No such file or directory
/usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:2352:18: utf8.h: No such file or directory
In file included from modperl_perl_includes.h:65,
                 from modperl_common_includes.h:23,
                 from mod_perl.h:20,
                 from mod_perl.c:16:
/usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h: At top level:
/usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:2362: error: syntax error before "regnode"
/usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:2362: warning: no semicolon at end of struct or union
/usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:2363: warning: data definition has no type or storage class
/usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:2366: error: syntax error before '}' token
/usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:2370: error: field `super_state' declared as a function
/usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:2371: error: field `sub_inwhat' declared as a function
/usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:2788: error: `uf_val' declared as function returning a function
/usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:2789: error: `uf_set' declared as function returning a function
In file included from modperl_perl_includes.h:65,
                 from modperl_common_includes.h:23,
                 from mod_perl.h:20,
                 from mod_perl.c:16:
modperl_config.h:23: error: syntax error before '*' token
modperl_config.h:23: warning: data definition has no type or storage class
modperl_config.h:25: error: syntax error before '*' token
modperl_config.h:25: warning: data definition has no type or storage class
modperl_config.h:27: error: syntax error before '*' token
modperl_config.h:27: warning: data definition has no type or storage class
modperl_config.h:33: error: syntax error before '*' token
modperl_config.h:118: error: syntax error before "modperl_config_srv_t"
modperl_config.h:122: error: syntax error before "modperl_config_srv_t"
modperl_config.h:126: error: syntax error before "modperl_config_srv_t"
In file included from mod_perl.h:75,
                 from mod_perl.c:16:
modperl_handler.h:60: error: syntax error before '*' token
In file included from mod_perl.h:80,
                 from mod_perl.c:16:
modperl_options.h:19: error: syntax error before '*' token
modperl_options.h:19: warning: data definition has no type or storage class
modperl_options.h:21: error: syntax error before "modperl_options_t"
modperl_options.h:24: error: syntax error before '*' token
modperl_options.h:25: error: syntax error before "modperl_options_t"
modperl_options.h:26: warning: data definition has no type or storage class
In file included from mod_perl.h:89,
                 from mod_perl.c:16:
modperl_env.h:39: error: syntax error before "modperl_config_srv_t"
modperl_env.h:42: error: syntax error before "modperl_config_dir_t"
In file included from mod_perl.h:91,
                 from mod_perl.c:16:
modperl_perl.h:29: error: field `pid' declared as a function
mod_perl.c: In function `modperl_boot':
mod_perl.c:108: warning: initialization makes pointer from integer without a cast
mod_perl.c:109: error: `PL_defstash' undeclared (first use in this function)
mod_perl.c:113: error: `XS_modperl_const_compile' undeclared (first use in this function)
mod_perl.c:122: error: `PL_stderrgv' undeclared (first use in this function)
mod_perl.c:122: error: `IOf_FLUSH' undeclared (first use in this function)
mod_perl.c: In function `set_taint_var':
mod_perl.c:178: error: `GV_ADDMULTI' undeclared (first use in this function)
mod_perl.c:178: error: `SVt_PV' undeclared (first use in this function)
mod_perl.c:178: warning: initialization makes pointer from integer without a cast
mod_perl.c:179: error: `PL_tainting' undeclared (first use in this function)
mod_perl.c: In function `modperl_startup':
mod_perl.c:190: error: `scfg' undeclared (first use in this function)
mod_perl.c:190: error: syntax error before ')' token
mod_perl.c:237: warning: assignment makes pointer from integer without a cast
mod_perl.c:252: error: `PL_perl_destruct_level' undeclared (first use in this function)
mod_perl.c:264: error: `PL_endav' undeclared (first use in this function)
mod_perl.c:265: error: `Nullav' undeclared (first use in this function)
mod_perl.c:278: error: `PL_origalen' undeclared (first use in this function)
mod_perl.c:309: error: `PL_incgv' undeclared (first use in this function)
mod_perl.c: In function `modperl_init_vhost':
mod_perl.c:347: error: `scfg' undeclared (first use in this function)
mod_perl.c:347: error: syntax error before ')' token
mod_perl.c:348: error: `base_scfg' undeclared (first use in this function)
mod_perl.c:371: error: syntax error before ')' token
mod_perl.c: In function `modperl_init':
mod_perl.c:442: error: `base_scfg' undeclared (first use in this function)
mod_perl.c:445: error: syntax error before ')' token
mod_perl.c: In function `modperl_post_config_require':
mod_perl.c:477: error: `scfg' undeclared (first use in this function)
mod_perl.c:477: error: syntax error before ')' token
mod_perl.c: In function `modperl_hook_post_config_last':
mod_perl.c:714: error: `PL_patchlevel' undeclared (first use in this function)
mod_perl.c:714: warning: passing arg 2 of `ap_add_version_component' makes pointer from integer without a cast
mod_perl.c: In function `modperl_hook_create_request':
mod_perl.c:733: error: `rcfg' undeclared (first use in this function)
mod_perl.c:733: error: syntax error before ')' token
mod_perl.c: In function `modperl_response_init':
mod_perl.c:959: error: `rcfg' undeclared (first use in this function)
mod_perl.c:959: error: syntax error before ')' token
mod_perl.c:960: error: `dcfg' undeclared (first use in this function)
mod_perl.c:960: error: syntax error before ')' token
mod_perl.c: In function `modperl_response_finish':
mod_perl.c:982: error: `rcfg' undeclared (first use in this function)
mod_perl.c:982: error: syntax error before ')' token
mod_perl.c: In function `modperl_response_handler':
mod_perl.c:1012: error: `dcfg' undeclared (first use in this function)
mod_perl.c:1012: error: syntax error before ')' token
mod_perl.c: In function `modperl_response_handler_cgi':
mod_perl.c:1048: error: `dcfg' undeclared (first use in this function)
mod_perl.c:1048: error: syntax error before ')' token
mod_perl.c:1051: error: `rcfg' undeclared (first use in this function)
mod_perl.c:1051: error: syntax error before ')' token
mod_perl.c:1083: error: `ENTER' undeclared (first use in this function)
mod_perl.c:1083: error: `SAVETMPS' undeclared (first use in this function)
mod_perl.c:1097: error: `FREETMPS' undeclared (first use in this function)
mod_perl.c:1097: error: `LEAVE' undeclared (first use in this function)
mod_perl.c: At top level:
/usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:3085: warning: array 'PL_sig_name' assumed to have one element
/usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:3086: warning: array 'PL_sig_num' assumed to have one element
/usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:3164: warning: array 'PL_fold' assumed to have one element
/usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:3203: warning: array 'PL_fold_locale' assumed to have one element
/usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:3279: warning: array 'PL_freq' assumed to have one element
/usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:3709: error: storage size of `PL_vtbl_sv' isn't known
/usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:3710: error: storage size of `PL_vtbl_env' isn't known
/usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:3711: error: storage size of `PL_vtbl_envelem' isn't known
/usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:3712: error: storage size of `PL_vtbl_sig' isn't known
/usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:3713: error: storage size of `PL_vtbl_sigelem' isn't known
/usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:3714: error: storage size of `PL_vtbl_pack' isn't known
/usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:3715: error: storage size of `PL_vtbl_packelem' isn't known
/usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:3716: error: storage size of `PL_vtbl_dbline' isn't known
/usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:3717: error: storage size of `PL_vtbl_isa' isn't known
/usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:3718: error: storage size of `PL_vtbl_isaelem' isn't known
/usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:3719: error: storage size of `PL_vtbl_arylen' isn't known
/usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:3720: error: storage size of `PL_vtbl_glob' isn't known
/usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:3721: error: storage size of `PL_vtbl_mglob' isn't known
/usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:3722: error: storage size of `PL_vtbl_nkeys' isn't known
/usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:3723: error: storage size of `PL_vtbl_taint' isn't known
/usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:3724: error: storage size of `PL_vtbl_substr' isn't known
/usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:3725: error: storage size of `PL_vtbl_vec' isn't known
/usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:3726: error: storage size of `PL_vtbl_pos' isn't known
/usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:3727: error: storage size of `PL_vtbl_bm' isn't known
/usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:3728: error: storage size of `PL_vtbl_fm' isn't known
/usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:3729: error: storage size of `PL_vtbl_uvar' isn't known
/usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:3730: error: storage size of `PL_vtbl_ovrld' isn't known
/usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:3736: error: storage size of `PL_vtbl_defelem' isn't known
/usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:3737: error: storage size of `PL_vtbl_regexp' isn't known
/usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:3738: error: storage size of `PL_vtbl_regdata' isn't known
/usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:3739: error: storage size of `PL_vtbl_regdatum' isn't known
/usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:3742: error: storage size of `PL_vtbl_collxfrm' isn't known
/usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:3745: error: storage size of `PL_vtbl_amagic' isn't known
/usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:3746: error: storage size of `PL_vtbl_amagicelem' isn't known
/usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:3748: error: storage size of `PL_vtbl_backref' isn't known
/usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:3749: error: storage size of `PL_vtbl_utf8' isn't known
make[1]: *** [mod_perl.lo] Error 1
make[1]: Leaving directory `/home/bastille/Desktop/mod_perl-2.0.2/src/modules/perl'
make: *** [modperl_lib] Error 2
[root@localhost mod_perl-2.0.2]#
thanks

Last edited by rino.caldelli; 02-19-2006 at 03:44 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Gentoo make & make.conf & emerge Trouble geagon Linux - Newbie 5 10-28-2005 06:33 PM
package compiling from source, make & make install concepts shujja Linux - Newbie 2 09-20-2005 12:18 AM
Chap 5 Binutils make LDFLAGS & make install errors shotokan Linux From Scratch 5 04-10-2005 03:01 AM
Look the output of: make dep && make clean bzImage modules modules_install Hell-Shooter Linux - General 2 06-05-2004 05:05 AM
'make' & 'make install commands not recognised by shell gilbertt Linux - Software 4 05-04-2004 08:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration