[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#561358: libaprutil1: Failes to build from source with error: make: *** No rule to make target `include/apr_md5.h', needed by `crypto/getuuid.lo'.



Package: libaprutil1
Version: 1.2.12
Severity: important
Justification: fails to build from source

I built apr 1.2.12 with a prefix with no problems.
But when I want to build libaprutil1 from source I get the following output:
.....
/bin/sh /var/www//build-1/libtool --silent --mode=compile gcc -g -O2
/-pthread   -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE
/-D_LARGEFILE64_SOURCE   -I/home/tigges/apr-util-1.2.12/include
/-I/home/tigges/apr-util-1.2.12/include/private  -I/var/www//include/apr-1
/-I/home/tigges/apr-util-1.2.12/xml/expat/lib  -o crypto/uuid.lo -c
/crypto/uuid.c && touch crypto/uuid.lo
make[1]: *** No rule to make target `include/apr_md5.h', needed by
`crypto/getuuid.lo'.  Stop.
make[1]: Leaving directory `/home/tigges/apr-util-1.2.12'
make: *** [all-recursive] Error 1

I expirienced this behavior on a 32 and 64 bit Debian Lenny.
When I get the Sources from Apache.org in version 1.3.9 (both apr and
aprutils) I have no problems to build and install.

What I did:

apt-get --download-only source libaprutil1 apr
cd apr-1.2.12/
../configure --prefix=/var/www/ 
make
make install

# No problem here

cd apr-util-1.2.12/
../configure --prefix=/var/www --with-apr=/var/www
make 

#Here it stops!

Then I tried 
cp apr-util_1.2.12+dfsg-8+lenny4.diff apr-util-1.2.12/
patch -p1 -i apr-util_1.2.12+dfsg-8+lenny4.diff

#looked good for me

make 
#And again it stopped here.

Perhaps I did sth. wrong, then delete this report.

But with the orig. sources from Apache.org I had no problems.

Thanks a lot

sincerely 

Florian Tigges
-- System Information:
Debian Release: 5.0.3
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash



Reply to: