List Info

Thread: RE: Problem with Apache 2.2.6




RE: Problem with Apache 2.2.6
user name
2007-09-28 17:00:43
> 
> I've just upgraded Apache and Embperl won't compile.
> 
> Embperl 2.2.0
> GenToo Linux
> Apache 2.2.6
> apr 1.2.8
> libapreq2 2.08
> 
> These are the error messages I get:

As far as I can see that is something you have to blame your

distribution for.

I have no problems running Embperl with Apache 2.2.6, but I
have 
installed Apache, mod_perl and Embperl from the sources.

It seems that on your system the type off64_t is not
defined, which it 
normaly should.

Maybe on your system there is some additional include file
necessary or 
some additional compiler setting or simply your perl,
mod_perl and 
apache are compiled with different settings (which is the
most likely 
reason).

You can try to recompile Perl, mod_perl and Apache and make
sure that to 
use all the same compiler and settings.

If this doesn't help, you have to figure out where the type
off64_t is 
defined on your system and why it is not available to the
Apache include 
files.

Gerald




>
------------------------------------------------------------
---
> /usr/bin/perl5.8.8 /usr/lib/perl5/5.8.8/ExtUtils/xsubpp
 
> -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap -typemap

> ../../typemap  App.xs > App.xsc && mv
App.xsc App.c
> i686-pc-linux-gnu-gcc -c  
>
-I/var/tmp/portage/www-apps/Embperl-2.2.0/work/Embperl-2.2.0

> -I/usr/include/apache2 -I/usr/include/apache2/regex 
> -I/usr/include/apache2/os/unix -I/usr/include/apr-1 
> -I/usr/include/libxml2 -I/usr/include/libxml2 
>
-I/var/tmp/portage/www-apps/Embperl-2.2.0/work/Embperl-2.2.0
/x
> s -fno-strict-aliasing -pipe
-Wdeclaration-after-statement 
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
> -I/usr/include/gdbm -march=prescott -O2 -pipe 
> -fomit-frame-pointer   -DVERSION="2.2.0" 
> -DXS_VERSION="2.2.0" -fPIC 
> "-I/usr/lib/perl5/5.8.8/i686-linux/CORE" 
-DAPACHE -DAPACHE2 
> -DEP2 -DLIBXSLT  App.c
> In file included from
/usr/include/apache2/ap_config.h:25,
>                  from /usr/include/apache2/httpd.h:43,
>                  from 
>
/var/tmp/portage/www-apps/Embperl-2.2.0/work/Embperl-2.2.0/e
p.h:148,
>                  from App.xs:13:
> /usr/include/apr-1/apr.h:270: error: expected '=', ',',
';', 
> 'asm' or '__attribute__' before 'apr_off_t'
> In file included from
/usr/include/apr-1/apr_file_io.h:29,
>                  from
/usr/include/apr-1/apr_network_io.h:26,
>                  from /usr/include/apache2/httpd.h:53,
>                  from 
>
/var/tmp/portage/www-apps/Embperl-2.2.0/work/Embperl-2.2.0/e
p.h:148,
>                  from App.xs:13:
> /usr/include/apr-1/apr_file_info.h:204: error: expected

> specifier-qualifier-list before 'apr_off_t'
> In file included from
/usr/include/apr-1/apr_network_io.h:26,
>                  from /usr/include/apache2/httpd.h:53,
>                  from 
>
/var/tmp/portage/www-apps/Embperl-2.2.0/work/Embperl-2.2.0/e
p.h:148,
>                  from App.xs:13:
> /usr/include/apr-1/apr_file_io.h:551: error: expected 
> declaration specifiers or '...' before 'apr_off_t'
> /usr/include/apr-1/apr_file_io.h:746: error: expected 
> declaration specifiers or '...' before 'apr_off_t'
> In file included from /usr/include/apache2/httpd.h:53,
>                  from 
>
/var/tmp/portage/www-apps/Embperl-2.2.0/work/Embperl-2.2.0/e
p.h:148,
>                  from App.xs:13:
> /usr/include/apr-1/apr_network_io.h:545: error:
expected 
> declaration specifiers or '...' before 'apr_off_t'
> In file included from
/usr/include/apr-1/apr_buckets.h:32,
>                  from /usr/include/apache2/httpd.h:54,
>                  from 
>
/var/tmp/portage/www-apps/Embperl-2.2.0/work/Embperl-2.2.0/e
p.h:148,
>                  from App.xs:13:
> /usr/include/apr-1/apr_mmap.h:134: error: expected 
> declaration specifiers or '...' before 'apr_off_t'
> /usr/include/apr-1/apr_mmap.h:161: error: expected 
> declaration specifiers or '...' before 'apr_off_t'
> In file included from /usr/include/apache2/httpd.h:54,
>                  from 
>
/var/tmp/portage/www-apps/Embperl-2.2.0/work/Embperl-2.2.0/e
p.h:148,
>                  from App.xs:13:
> /usr/include/apr-1/apr_buckets.h:242: error: expected 
> specifier-qualifier-list before 'apr_off_t'
> /usr/include/apr-1/apr_buckets.h:706: error: expected 
> declaration specifiers or '...' before 'apr_off_t'
> /usr/include/apr-1/apr_buckets.h:718: error: expected 
> declaration specifiers or '...' before 'apr_off_t'
> /usr/include/apr-1/apr_buckets.h:754: error: expected 
> declaration specifiers or '...' before 'apr_off_t'
> /usr/include/apr-1/apr_buckets.h:890: error: expected 
> declaration specifiers or '...' before 'apr_off_t'
> /usr/include/apr-1/apr_buckets.h:891: error: expected 
> declaration specifiers or '...' before 'apr_off_t'
> /usr/include/apr-1/apr_buckets.h:1168: error: expected

> declaration specifiers or '...' before 'apr_off_t'
> /usr/include/apr-1/apr_buckets.h:1367: error: expected

> declaration specifiers or '...' before 'apr_off_t'
> /usr/include/apr-1/apr_buckets.h:1381: error: expected

> declaration specifiers or '...' before 'apr_off_t'
> /usr/include/apr-1/apr_buckets.h:1431: error: expected

> declaration specifiers or '...' before 'apr_off_t'
> /usr/include/apr-1/apr_buckets.h:1447: error: expected

> declaration specifiers or '...' before 'apr_off_t'
> In file included from 
>
/var/tmp/portage/www-apps/Embperl-2.2.0/work/Embperl-2.2.0/e
p.h:148,
>                  from App.xs:13:
> /usr/include/apache2/httpd.h:848: error: expected 
> specifier-qualifier-list before 'apr_off_t'
> In file included from
/usr/include/apache2/http_protocol.h:34,
>                  from 
>
/var/tmp/portage/www-apps/Embperl-2.2.0/work/Embperl-2.2.0/e
p.h:150,
>                  from App.xs:13:
> /usr/include/apache2/util_filter.h:142: error: expected

> declaration specifiers or '...' before 'apr_off_t'
> /usr/include/apache2/util_filter.h:299: error: expected

> declaration specifiers or '...' before 'apr_off_t'
> In file included from 
>
/var/tmp/portage/www-apps/Embperl-2.2.0/work/Embperl-2.2.0/e
p.h:150,
>                  from App.xs:13:
> /usr/include/apache2/http_protocol.h:111: error:
expected 
> declaration specifiers or '...' before 'apr_off_t'
> /usr/include/apache2/http_protocol.h:203: error:
expected 
> declaration specifiers or '...' before 'apr_off_t'
> In file included from 
>
/var/tmp/portage/www-apps/Embperl-2.2.0/work/Embperl-2.2.0/e
p.h:159,
>                  from App.xs:13:
> /usr/include/apr-1/apr_strings.h:299: error: expected 
> declaration specifiers or '...' before 'apr_off_t'
> /usr/include/apr-1/apr_strings.h:315: error: expected
')' 
> before '*' token
> /usr/include/apr-1/apr_strings.h:351: error: expected
')' 
> before 'size'
> make[3]: *** [App.o] Error 1
> make[3]: Leaving directory 
>
`/var/tmp/portage/www-apps/Embperl-2.2.0/work/Embperl-2.2.0/
xs
> /Embperl/App'
> make[2]: *** [subdirs] Error 2
> make[2]: Leaving directory 
>
`/var/tmp/portage/www-apps/Embperl-2.2.0/work/Embperl-2.2.0/
xs
> /Embperl'
> make[1]: *** [subdirs] Error 2
> make[1]: Leaving directory 
>
`/var/tmp/portage/www-apps/Embperl-2.2.0/work/Embperl-2.2.0/
xs'
> make: *** [subdirs] Error 2
>
------------------------------------------------------------
---
> 
> Help!
> My website is now completely broken because I no longer
have 
> a working Embperl.  Trying to downgrade didn't work.
> 
> Kathryn Andersen
> -- 
>  _--_|     | Kathryn Andersen	<http://www.katspace.com&g
t;
> /          | 
> _.--.*/    | GenFicCrit mailing list 
> <http://www.
katspace.com/gen_fic_crit/>
>       v     | 
> ------------| Melbourne -> Victoria -> Australia
-> Southern 
> Hemisphere
> Maranatha!  |	-> Earth -> Sol -> Milky Way
Galaxy -> Universe
> 
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: embperl-unsubscribeperl.apache.org
> For additional commands, e-mail: embperl-helpperl.apache.org
> 
> 
> ** Virus checked by BB-5000 Mailfilter ** 
> !DSPAM:416,46e86aca165981673413608!
> 
> 

** Virus checked by BB-5000 Mailfilter **

------------------------------------------------------------
---------
To unsubscribe, e-mail: embperl-unsubscribeperl.apache.org
For additional commands, e-mail: embperl-helpperl.apache.org


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )