apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "kamaraju kusumanchi" <raju.mailingli...@gmail.com>
Subject compilation fails when build directory is different from source directory
Date Mon, 22 Dec 2008 21:07:46 GMT
Say I unzipped the apr source in ~/software/unZipped/apr-1.3.3

Then the compilation fails if I try to build it in another directory
such as ~/software/compileHere/apr-1.3.3 . The make.log is

> cat make.log
nohup: ignoring input
make[1]: Entering directory `/home/kkusuman/software/compileHere/apr-1.3.3'
/bin/ksh /home/kkusuman/software/compileHere/apr-1.3.3/libtool
--silent --mode=compile gcc -g -O2 -pthread   -DHAVE_CONFIG_H
-D_LARGEFILE64_SOURCE  -I/home/kkusuman/software/myroot/include
-I./include -I/home/kkusuman/software/unZipped/apr-1.3.3/include/arch/unix
-I/home/kkusuman/software/unZipped/apr-1.3.3/include  -o
passwd/apr_getpass.lo -c ../../unZipped/apr-1.3.3/passwd/apr_getpass.c
&& touch passwd/apr_getpass.lo
passwd/apr_getpass.loT: cannot create
mkdir: cannot create directory `passwd/.libs': No such file or directory
make[1]: *** [passwd/apr_getpass.lo] Error 1
make[1]: Leaving directory `/home/kkusuman/software/compileHere/apr-1.3.3'
make: *** [all-recursive] Error 1

The code compiles fine if the source directory is same as the build directory.


View raw message