View Single Post
  #3  
Old 30th August 2009, 21:56
branov branov is offline
Junior Member
 
Join Date: Aug 2009
Posts: 24
Thanks: 0
Thanked 1 Time in 1 Post
Default

Output from CPAN:

Code:
 CPAN.pm: Going to build G/GO/GOZER/Apache2-Layout-0.6.tar.gz

WARNING: EXTRA_META is not a known parameter.
Checking if your kit is complete...
Looks good
'EXTRA_META' is not a known MakeMaker parameter name.
Writing Makefile for Apache2::Layout
cp lib/Apache2/Layout.pm blib/lib/Apache2/Layout.pm
/usr/bin/perl /usr/share/perl/5.10/ExtUtils/xsubpp  -typemap /usr/share/perl/5.1                                              0/ExtUtils/typemap -typemap /usr/lib/perl5/auto/Apache2/typemap  Layout.xs > Lay                                              out.xsc && mv Layout.xsc Layout.c
Please specify prototyping behavior for Layout.xs (see perlxs manual)
cc -c  -I/usr/include/httpd -I/usr/include/apache2/ -I/usr/include/apr-1 -D_REEN                                              TRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -I/                                              usr/lib/perl/5.10/CORE -DMOD_PERL -DMP_USE_GTOP -DMP_COMPAT_1X -g -Wall -O2 -g                                                 -DVERSION=\"0.6\" -DXS_VERSION=\"0.6\" -fPIC "-I/usr/lib/perl/5.10/CORE"   Layo                                              ut.c
In file included from /usr/include/apache2/httpd.h:43,
                 from Layout.xs:5:
/usr/include/apache2/ap_config.h:25:17: error: apr.h: No such file or directory
/usr/include/apache2/ap_config.h:26:23: error: apr_hooks.h: No such file or dire                                              ctory
/usr/include/apache2/ap_config.h:27:32: error: apr_optional_hooks.h: No such fil                                              e or directory
In file included from /usr/include/apache2/httpd.h:46,
                 from Layout.xs:5:
/usr/include/apache2/ap_release.h:25:41: error: apr_general.h: No such file or d                                              irectory
In file included from Layout.xs:5:
/usr/include/apache2/httpd.h:50:24: error: apr_tables.h: No such file or directo                                              ry
/usr/include/apache2/httpd.h:51:23: error: apr_pools.h: No such file or director                                              y
/usr/include/apache2/httpd.h:52:22: error: apr_time.h: No such file or directory
/usr/include/apache2/httpd.h:53:28: error: apr_network_io.h: No such file or dir                                              ectory
/usr/include/apache2/httpd.h:54:25: error: apr_buckets.h: No such file or direct                                              ory
/usr/include/apache2/httpd.h:55:22: error: apr_poll.h: No such file or directory
In file included from /usr/include/apache2/httpd.h:59,
                 from Layout.xs:5:
/usr/include/apache2/ap_regex.h:87: error: expected specifier-qualifier-list bef                                              ore 'apr_size_t'
/usr/include/apache2/ap_regex.h:118: error: expected declaration specifiers or '                                              ...' before 'apr_size_t'
/usr/include/apache2/ap_regex.h:127: error: expected '=', ',', ';', 'asm' or '__                                              attribute__' before 'ap_regerror'
In file included from Layout.xs:5:
/usr/include/apache2/httpd.h:461: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:631: error: expected specifier-qualifier-list befor                                              e 'apr_int64_t'
/usr/include/apache2/httpd.h:755:21: error: apr_uri.h: No such file or directory
/usr/include/apache2/httpd.h:762: error: expected specifier-qualifier-list befor                                              e 'apr_pool_t'
/usr/include/apache2/httpd.h:778: error: expected specifier-qualifier-list befor                                              e 'apr_pool_t'
/usr/include/apache2/httpd.h:1040: error: expected specifier-qualifier-list befo                                              re 'apr_pool_t'
/usr/include/apache2/httpd.h:1122: error: expected specifier-qualifier-list befo                                              re 'APR_RING_ENTRY'
/usr/include/apache2/httpd.h:1155: error: expected specifier-qualifier-list befo                                              re 'apr_sockaddr_t'
/usr/include/apache2/httpd.h:1183: error: expected specifier-qualifier-list befo                                              re 'apr_port_t'
/usr/include/apache2/httpd.h:1239: error: expected specifier-qualifier-list befo                                              re 'apr_bucket_brigade'
/usr/include/apache2/httpd.h:1247: error: expected specifier-qualifier-list befo                                              re 'apr_bucket_brigade'
/usr/include/apache2/httpd.h:1253: error: expected specifier-qualifier-list befo                                              re 'apr_socket_t'
/usr/include/apache2/httpd.h:1269: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1279: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1292: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1302: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1311: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1321: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1331: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1343: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1351: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1360: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1371: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1394: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1404: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1416: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1425: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1434: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1476: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1486: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1497: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1505: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1514: error: expected '=', ',', ';', 'asm' or '__at                                              tribute__' before 'ap_escape_errorlog_item'
/usr/include/apache2/httpd.h:1525: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1534: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1563: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1577: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1587: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1639: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1647: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1661: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1669: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1682: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1722: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1734: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1744: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1752: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1763: error: expected ')' before '*' token
In file included from /usr/include/apache2/http_request.h:45,
                 from Layout.xs:6:
/usr/include/apache2/util_filter.h:136: error: expected declaration specifiers o                                              r '...' before '*' token
/usr/include/apache2/util_filter.h:137: error: expected declaration specifiers o                                              r '...' before 'apr_bucket_brigade'
/usr/include/apache2/util_filter.h:137: warning: type defaults to 'int' in decla                                              ration of 'apr_status_t'
/usr/include/apache2/util_filter.h:137: error: 'apr_status_t' declared as functi                                              on returning a function
/usr/include/apache2/util_filter.h:139: error: expected declaration specifiers o                                              r '...' before 'apr_bucket_brigade'
/usr/include/apache2/util_filter.h:141: error: expected declaration specifiers o                                              r '...' before 'apr_read_type_e'
/usr/include/apache2/util_filter.h:142: error: expected declaration specifiers o                                              r '...' before 'apr_off_t'
/usr/include/apache2/util_filter.h:142: error: 'ap_in_filter_func' declared as f                                              unction returning a function
/usr/include/apache2/util_filter.h:146: error: expected specifier-qualifier-list                                               before 'ap_out_filter_func'
/usr/include/apache2/util_filter.h:296: error: expected declaration specifiers o                                              r '...' before 'apr_bucket_brigade'
/usr/include/apache2/util_filter.h:298: error: expected declaration specifiers o                                              r '...' before 'apr_read_type_e'
/usr/include/apache2/util_filter.h:299: error: expected declaration specifiers o                                              r '...' before 'apr_off_t'
/usr/include/apache2/util_filter.h:299: error: 'ap_get_brigade' declared as func                                              tion returning a function
/usr/include/apache2/util_filter.h:310: error: expected declaration specifiers o                                              r '...' before 'apr_bucket_brigade'
/usr/include/apache2/util_filter.h:310: error: 'ap_pass_brigade' declared as fun                                              ction returning a function
/usr/include/apache2/util_filter.h:348: error: expected declaration specifiers o                                              r '...' before 'ap_out_filter_func'
/usr/include/apache2/util_filter.h:374: error: expected declaration specifiers o                                              r '...' before 'ap_out_filter_func'
/usr/include/apache2/util_filter.h:492: error: expected declaration specifiers o                                              r '...' before 'apr_bucket_brigade'
/usr/include/apache2/util_filter.h:493: error: expected declaration specifiers o                                              r '...' before 'apr_bucket_brigade'
/usr/include/apache2/util_filter.h:493: error: expected declaration specifiers o                                              r '...' before 'apr_pool_t'
/usr/include/apache2/util_filter.h:493: error: 'ap_save_brigade' declared as fun                                              ction returning a function
/usr/include/apache2/util_filter.h:503: error: expected ')' before '*' token
/usr/include/apache2/util_filter.h:511: error: expected declaration specifiers o                                              r '...' before 'apr_bucket_brigade'
/usr/include/apache2/util_filter.h:511: error: 'ap_fflush' declared as function                                               returning a function
/usr/include/apache2/util_filter.h:548: error: expected declaration specifiers o                                              r '...' before 'apr_bucket_brigade'
/usr/include/apache2/util_filter.h:549: error: 'ap_fputstrs' declared as functio                                              n returning a function
/usr/include/apache2/util_filter.h:559: error: expected declaration specifiers o                                              r '...' before 'apr_bucket_brigade'
/usr/include/apache2/util_filter.h:562: error: 'ap_fprintf' declared as function                                               returning a function
/usr/include/apache2/util_filter.h:562: error: format string argument not a stri                                              ng type
In file included from Layout.xs:6:
/usr/include/apache2/http_request.h:105: warning: type defaults to 'int' in decl                                              aration of 'apr_finfo_t'
/usr/include/apache2/http_request.h:105: error: expected ';', ',' or ')' before                                               '*' token
/usr/include/apache2/http_request.h:131: error: expected declaration specifiers                                               or '...' before 'apr_bucket_brigade'
/usr/include/apache2/http_request.h:131: error: 'ap_sub_req_output_filter' decla                                              red as function returning a function
/usr/include/apache2/http_request.h:198: error: expected declaration specifiers                                               or '...' before 'apr_time_t'
/usr/include/apache2/http_request.h:261: error: expected ')' before 'int'
make: *** [Layout.o] Error 1
  GOZER/Apache2-Layout-0.6.tar.gz
  /usr/bin/make -- NOT OK
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
Failed during this command:
 GOZER/Apache2-Layout-0.6.tar.gz              : make NO
I try fix this: EXTRA_META' is not a known MakeMaker parameter name.
Therefore I download this: http://search.cpan.org/CPAN/authors/...out-0.6.tar.gz

and edit Makefile.PL and comment this:

Code:
if ($ExtUtils::MakeMaker::VERSION >= 6.36) {
    push @extra, ('EXTRA_META' => <<EOF);
resources:
    license: http://dev.perl.org/licenses/
    Repository: http://svn.ectoplasm.org/projects/perl/Apache2-Layout/trunk/
EOF
}
but when I enter: perl Makefile.PL I get this:

Code:
Checking if your kit is complete...
Looks good
Writing Makefile for Apache2::Layout

# make

cp lib/Apache2/Layout.pm blib/lib/Apache2/Layout.pm
/usr/bin/perl /usr/share/perl/5.10/ExtUtils/xsubpp  -typemap /usr/share/perl/5.10/ExtUtils/typemap -typemap /usr/lib/perl5/auto/Apache2/typemap  Layout.xs > Layout.xsc && mv Layout.xsc Layout.c
Please specify prototyping behavior for Layout.xs (see perlxs manual)
cc -c  -I/usr/include/httpd -I/usr/include/apache2/ -I/usr/include/apr-1 -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/lib/perl/5.10/CORE -DMOD_PERL -DMP_USE_GTOP -DMP_COMPAT_1X -g -Wall -O2 -g   -DVERSION=\"0.6\" -DXS_VERSION=\"0.6\" -fPIC "-I/usr/lib/perl/5.10/CORE"   Layout.c
In file included from /usr/include/apache2/httpd.h:43,
                 from Layout.xs:5:
/usr/include/apache2/ap_config.h:25:17: error: apr.h: No such file or directory
/usr/include/apache2/ap_config.h:26:23: error: apr_hooks.h: No such file or directory
/usr/include/apache2/ap_config.h:27:32: error: apr_optional_hooks.h: No such file or directory
In file included from /usr/include/apache2/httpd.h:46,
                 from Layout.xs:5:
/usr/include/apache2/ap_release.h:25:41: error: apr_general.h: No such file or directory
In file included from Layout.xs:5:
/usr/include/apache2/httpd.h:50:24: error: apr_tables.h: No such file or directory
/usr/include/apache2/httpd.h:51:23: error: apr_pools.h: No such file or directory
/usr/include/apache2/httpd.h:52:22: error: apr_time.h: No such file or directory
/usr/include/apache2/httpd.h:53:28: error: apr_network_io.h: No such file or directory
/usr/include/apache2/httpd.h:54:25: error: apr_buckets.h: No such file or directory
/usr/include/apache2/httpd.h:55:22: error: apr_poll.h: No such file or directory
In file included from /usr/include/apache2/httpd.h:59,
                 from Layout.xs:5:
/usr/include/apache2/ap_regex.h:87: error: expected specifier-qualifier-list before 'apr_size_t'
/usr/include/apache2/ap_regex.h:118: error: expected declaration specifiers or '...' before 'apr_size_t'
/usr/include/apache2/ap_regex.h:127: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ap_regerror'
In file included from Layout.xs:5:
/usr/include/apache2/httpd.h:461: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:631: error: expected specifier-qualifier-list before 'apr_int64_t'
/usr/include/apache2/httpd.h:755:21: error: apr_uri.h: No such file or directory
/usr/include/apache2/httpd.h:762: error: expected specifier-qualifier-list before 'apr_pool_t'
/usr/include/apache2/httpd.h:778: error: expected specifier-qualifier-list before 'apr_pool_t'
/usr/include/apache2/httpd.h:1040: error: expected specifier-qualifier-list before 'apr_pool_t'
/usr/include/apache2/httpd.h:1122: error: expected specifier-qualifier-list before 'APR_RING_ENTRY'
/usr/include/apache2/httpd.h:1155: error: expected specifier-qualifier-list before 'apr_sockaddr_t'
/usr/include/apache2/httpd.h:1183: error: expected specifier-qualifier-list before 'apr_port_t'
/usr/include/apache2/httpd.h:1239: error: expected specifier-qualifier-list before 'apr_bucket_brigade'
/usr/include/apache2/httpd.h:1247: error: expected specifier-qualifier-list before 'apr_bucket_brigade'
/usr/include/apache2/httpd.h:1253: error: expected specifier-qualifier-list before 'apr_socket_t'
/usr/include/apache2/httpd.h:1269: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1279: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1292: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1302: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1311: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1321: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1331: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1343: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1351: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1360: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1371: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1394: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1404: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1416: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1425: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1434: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1476: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1486: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1497: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1505: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1514: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ap_escape_errorlog_item'
/usr/include/apache2/httpd.h:1525: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1534: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1563: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1577: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1587: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1639: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1647: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1661: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1669: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1682: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1722: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1734: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1744: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1752: error: expected ')' before '*' token
/usr/include/apache2/httpd.h:1763: error: expected ')' before '*' token
In file included from /usr/include/apache2/http_request.h:45,
                 from Layout.xs:6:
/usr/include/apache2/util_filter.h:136: error: expected declaration specifiers or '...' before '*' token
/usr/include/apache2/util_filter.h:137: error: expected declaration specifiers or '...' before 'apr_bucket_brigade'
/usr/include/apache2/util_filter.h:137: warning: type defaults to 'int' in declaration of 'apr_status_t'
/usr/include/apache2/util_filter.h:137: error: 'apr_status_t' declared as function returning a function
/usr/include/apache2/util_filter.h:139: error: expected declaration specifiers or '...' before 'apr_bucket_brigade'
/usr/include/apache2/util_filter.h:141: error: expected declaration specifiers or '...' before 'apr_read_type_e'
/usr/include/apache2/util_filter.h:142: error: expected declaration specifiers or '...' before 'apr_off_t'
/usr/include/apache2/util_filter.h:142: error: 'ap_in_filter_func' declared as function returning a function
/usr/include/apache2/util_filter.h:146: error: expected specifier-qualifier-list before 'ap_out_filter_func'
/usr/include/apache2/util_filter.h:296: error: expected declaration specifiers or '...' before 'apr_bucket_brigade'
/usr/include/apache2/util_filter.h:298: error: expected declaration specifiers or '...' before 'apr_read_type_e'
/usr/include/apache2/util_filter.h:299: error: expected declaration specifiers or '...' before 'apr_off_t'
/usr/include/apache2/util_filter.h:299: error: 'ap_get_brigade' declared as function returning a function
/usr/include/apache2/util_filter.h:310: error: expected declaration specifiers or '...' before 'apr_bucket_brigade'
/usr/include/apache2/util_filter.h:310: error: 'ap_pass_brigade' declared as function returning a function
/usr/include/apache2/util_filter.h:348: error: expected declaration specifiers or '...' before 'ap_out_filter_func'
/usr/include/apache2/util_filter.h:374: error: expected declaration specifiers or '...' before 'ap_out_filter_func'
/usr/include/apache2/util_filter.h:492: error: expected declaration specifiers or '...' before 'apr_bucket_brigade'
/usr/include/apache2/util_filter.h:493: error: expected declaration specifiers or '...' before 'apr_bucket_brigade'
/usr/include/apache2/util_filter.h:493: error: expected declaration specifiers or '...' before 'apr_pool_t'
/usr/include/apache2/util_filter.h:493: error: 'ap_save_brigade' declared as function returning a function
/usr/include/apache2/util_filter.h:503: error: expected ')' before '*' token
/usr/include/apache2/util_filter.h:511: error: expected declaration specifiers or '...' before 'apr_bucket_brigade'
/usr/include/apache2/util_filter.h:511: error: 'ap_fflush' declared as function returning a function
/usr/include/apache2/util_filter.h:548: error: expected declaration specifiers or '...' before 'apr_bucket_brigade'
/usr/include/apache2/util_filter.h:549: error: 'ap_fputstrs' declared as function returning a function
/usr/include/apache2/util_filter.h:559: error: expected declaration specifiers or '...' before 'apr_bucket_brigade'
/usr/include/apache2/util_filter.h:562: error: 'ap_fprintf' declared as function returning a function
/usr/include/apache2/util_filter.h:562: error: format string argument not a string type
In file included from Layout.xs:6:
/usr/include/apache2/http_request.h:105: warning: type defaults to 'int' in declaration of 'apr_finfo_t'
/usr/include/apache2/http_request.h:105: error: expected ';', ',' or ')' before '*' token
/usr/include/apache2/http_request.h:131: error: expected declaration specifiers or '...' before 'apr_bucket_brigade'
/usr/include/apache2/http_request.h:131: error: 'ap_sub_req_output_filter' declared as function returning a function
/usr/include/apache2/http_request.h:198: error: expected declaration specifiers or '...' before 'apr_time_t'
/usr/include/apache2/http_request.h:261: error: expected ')' before 'int'
Thank you very much :-(
Reply With Quote