Bug#394448: libapr1-dev: 'apr_off_t' errors

2006-10-21 Thread Thibaut VARENE
Package: libapr1-dev
Version: 1.2.7-6
Severity: normal

I'm trying to build libapache-mod-musicindex on my machine for apache2.
This modules has been successfully built by the autobuilders, but here's
what happens today:

make[2]: Entering directory
`/home/varenet/libapache-mod-musicindex-1.1.2/src'
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I. -I.. -I/usr/include/apache2 -I/usr/include/apr-1.0   -std=gnu99
-Wall -pedantic -pipe -I/usr/include/xmltok -I/usr/include/openssl -Wall
-O2   -INONE/include -g -O2 -MT mod_musicindex_la-mod_musicindex.lo -MD
-MP -MF .deps/mod_musicindex_la-mod_musicindex.Tpo -c -o
mod_musicindex_la-mod_musicindex.lo `test -f 'mod_musicindex.c' || echo
'./'`mod_musicindex.c; \
then mv -f .deps/mod_musicindex_la-mod_musicindex.Tpo
.deps/mod_musicindex_la-mod_musicindex.Plo; else rm -f
.deps/mod_musicindex_la-mod_musicindex.Tpo; exit 1; fi
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/apache2
-I/usr/include/apr-1.0 -std=gnu99 -Wall -pedantic -pipe
-I/usr/include/xmltok -I/usr/include/openssl -Wall -O2 -INONE/include -g
-O2 -MT mod_musicindex_la-mod_musicindex.lo -MD -MP -MF
.deps/mod_musicindex_la-mod_musicindex.Tpo -c mod_musicindex.c  -fPIC
-DPIC -o .libs/mod_musicindex_la-mod_musicindex.o
In file included from /usr/include/apache2/ap_config.h:25,
 from /usr/include/apache2/httpd.h:43,
 from mod_musicindex.h:20,
 from mod_musicindex.c:150:
/usr/include/apr-1.0/apr.h:270: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'apr_off_t'
In file included from /usr/include/apr-1.0/apr_file_io.h:29,
 from /usr/include/apr-1.0/apr_network_io.h:26,
 from /usr/include/apache2/httpd.h:53,
 from mod_musicindex.h:20,
 from mod_musicindex.c:150:
/usr/include/apr-1.0/apr_file_info.h:204: error: expected
specifier-qualifier-list before 'apr_off_t'
In file included from /usr/include/apr-1.0/apr_network_io.h:26,
 from /usr/include/apache2/httpd.h:53,
 from mod_musicindex.h:20,
 from mod_musicindex.c:150:
/usr/include/apr-1.0/apr_file_io.h:548: error: expected declaration
specifiers or '...' before 'apr_off_t'
/usr/include/apr-1.0/apr_file_io.h:740: error: expected declaration
specifiers or '...' before 'apr_off_t'
In file included from /usr/include/apache2/httpd.h:53,
 from mod_musicindex.h:20,
 from mod_musicindex.c:150:
/usr/include/apr-1.0/apr_network_io.h:545: error: expected declaration
specifiers or '...' before 'apr_off_t'
In file included from /usr/include/apr-1.0/apr_buckets.h:32,
 from /usr/include/apache2/httpd.h:54,
 from mod_musicindex.h:20,
 from mod_musicindex.c:150:
/usr/include/apr-1.0/apr_mmap.h:134: error: expected declaration
specifiers or '...' before 'apr_off_t'
/usr/include/apr-1.0/apr_mmap.h:161: error: expected declaration
specifiers or '...' before 'apr_off_t'
In file included from /usr/include/apache2/httpd.h:54,
 from mod_musicindex.h:20,
 from mod_musicindex.c:150:
/usr/include/apr-1.0/apr_buckets.h:242: error: expected
specifier-qualifier-list before 'apr_off_t'
/usr/include/apr-1.0/apr_buckets.h:706: error: expected declaration
specifiers or '...' before 'apr_off_t'
/usr/include/apr-1.0/apr_buckets.h:718: error: expected declaration
specifiers or '...' before 'apr_off_t'
/usr/include/apr-1.0/apr_buckets.h:754: error: expected declaration
specifiers or '...' before 'apr_off_t'
/usr/include/apr-1.0/apr_buckets.h:890: error: expected declaration
specifiers or '...' before 'apr_off_t'
/usr/include/apr-1.0/apr_buckets.h:891: error: expected declaration
specifiers or '...' before 'apr_off_t'
/usr/include/apr-1.0/apr_buckets.h:1168: error: expected declaration
specifiers or '...' before 'apr_off_t'
/usr/include/apr-1.0/apr_buckets.h:1367: error: expected declaration
specifiers or '...' before 'apr_off_t'
/usr/include/apr-1.0/apr_buckets.h:1381: error: expected declaration
specifiers or '...' before 'apr_off_t'
/usr/include/apr-1.0/apr_buckets.h:1431: error: expected declaration
specifiers or '...' before 'apr_off_t'
/usr/include/apr-1.0/apr_buckets.h:1447: error: expected declaration
specifiers or '...' before 'apr_off_t'
In file included from mod_musicindex.h:20,
 from mod_musicindex.c:150:
/usr/include/apache2/httpd.h:826: error: expected
specifier-qualifier-list before 'apr_off_t'
In file included from /usr/include/apache2/http_request.h:45,
 from mod_musicindex.h:22,
 from mod_musicindex.c:150:
/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 mod_musicindex.h:23,
 from mod_musicindex.c:150:

Bug#394448: libapr1-dev: 'apr_off_t' errors

2006-10-21 Thread Tollef Fog Heen
* Thibaut VARENE 

| I'm trying to build libapache-mod-musicindex on my machine for apache2.
| This modules has been successfully built by the autobuilders, but here's
| what happens today:

use apr-util --cppflags, not just --cflags  (or just use pkg-config)

-- 
Tollef Fog Heen,''`.
UNIX is user friendly, it's just picky about who its friends are  : :' :
  `. `' 
`-  


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Re: Bug#394448: libapr1-dev: 'apr_off_t' errors

2006-10-21 Thread Thibaut VARENE

Good catch, sorry for the false alarm

Thanks

On 10/21/06, Tollef Fog Heen [EMAIL PROTECTED] wrote:

* Thibaut VARENE

| I'm trying to build libapache-mod-musicindex on my machine for apache2.
| This modules has been successfully built by the autobuilders, but here's
| what happens today:

use apr-util --cppflags, not just --cflags  (or just use pkg-config)

--
Tollef Fog Heen,''`.
UNIX is user friendly, it's just picky about who its friends are  : :' :
  `. `'
`-




--
Thibaut VARENE
http://www.parisc-linux.org/~varenet/


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]