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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-17-2006, 06:10 PM
|
#1
|
Member
Registered: Apr 2005
Location: perugia
Distribution: ubuntu
Posts: 181
Rep:
|
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 04:44 AM.
|
|
|
All times are GMT -5. The time now is 07:17 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|