logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Curt Arnold <carn...@apache.org>
Subject Re: problem with install log4cxx
Date Fri, 13 Nov 2009 04:40:17 GMT

On Nov 10, 2009, at 4:52 AM, Bajramovic, Ervin wrote:

> Hi everybody
>
> I want to build log4cxx
>
> I used the following configuration:
>
> ./autogen.sh
>
> ./configure CFLAGS="-O2 -s -mms-bitfields -march=i686" CXXFLAGS="-O2  
> -s -mms-bitfields -march=i686" --with-apr=/usr/local --with-apr- 
> util=/usr/local
>
> make && make install
>
> And i get this error:
...
> test -z "/usr/local/include/log4cxx/private" || /bin/mkdir -p "/usr/ 
> local/include/log4cxx/private"
> /bin/install -c -m 644 ../../../../../src/main/include/log4cxx/ 
> private/log4cxx_private.h log4cxx_private.h '/usr/local/include/ 
> log4cxx/private'
> /bin/install: will not overwrite just-created `/usr/local/include/ 
> log4cxx/private/log4cxx_private.h' with `log4cxx_private.h'
> make[6]: *** [install-privateincHEADERS] Error 1


Since you are failing to write to /usr/local, I'm guessing it is a  
permissions issue and you need to do "sudo make install" or the  
equivalent.

Mime
View raw message