Roland Uuesoo created LOGCXX-446:
------------------------------------
Summary: make install fails, trying to overwrite header files
Key: LOGCXX-446
URL: https://issues.apache.org/jira/browse/LOGCXX-446
Project: Log4cxx
Issue Type: Bug
Components: Build
Affects Versions: 0.11.0
Environment: NAME="Ubuntu"
VERSION="14.04.1 LTS, Trusty Tahr"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 14.04.1 LTS"
VERSION_ID="14.04"
Reporter: Roland Uuesoo
Priority: Blocker
Fix For: 0.11.0
This is a very bad problem. trunk is not installable.
This should probably be fixed ASAP.
svn checkout http://svn.apache.org/repos/asf/incubator/log4cxx/trunk
apache-log4cxx
cd apache-log4cxx/
./autogen.sh
./configure
make
sudo make install
and it fails with...
der.h ../../../../src/main/include/log4cxx/file.h
../../../../src/main/include/log4cxx/hierarchy.h
../../../../src/main/include/log4cxx/htmllayout.h
../../../../src/main/include/log4cxx/layout.h
../../../../src/main/include/log4cxx/level.h
../../../../src/main/include/log4cxx/log4cxx.h
../../../../src/main/include/log4cxx/logger.h
../../../../src/main/include/log4cxx/logmanager.h
../../../../src/main/include/log4cxx/logstring.h
../../../../src/main/include/log4cxx/mdc.h
../../../../src/main/include/log4cxx/ndc.h
../../../../src/main/include/log4cxx/patternlayout.h
../../../../src/main/include/log4cxx/portability.h
../../../../src/main/include/log4cxx/propertyconfigurator.h
../../../../src/main/include/log4cxx/provisionnode.h
../../../../src/main/include/log4cxx/rollingfileappender.h
../../../../src/main/include/log4cxx/simplelayout.h
../../../../src/main/include/log4cxx/stream.h
../../../../src/main/include/log4cxx/ttcclayout.h
../../../../src/main/include/log4cxx/writerappender.h
../../../../src/main/include/log4cxx/appender.h
../../../../src/main/include/log4cxx/appenderskeleton.h
../../../../src/main/include/log4cxx/asyncappender.h
../../../../src/main/include/log4cxx/basicconfigurator.h
../../../../src/main/include/log4cxx/consoleappender.h
../../../../src/main/include/log4cxx/dailyrollingfileappender.h
../../../../src/main/include/log4cxx/defaultconfigurator.h
../../../../src/main/include/log4cxx/defaultloggerfactory.h
../../../../src/main/include/log4cxx/fileappender.h
../../../../src/main/include/log4cxx/file.h
../../../../src/main/include/log4cxx/hierarchy.h '/usr/local/include/log4cxx'
/usr/bin/install: will not overwrite just-created
‘/usr/local/include/log4cxx/appender.h’ with
‘../../../../src/main/include/log4cxx/appender.h’
/usr/bin/install: will not overwrite just-created
‘/usr/local/include/log4cxx/appenderskeleton.h’ with
‘../../../../src/main/include/log4cxx/appenderskeleton.h’
/usr/bin/install: will not overwrite just-created
‘/usr/local/include/log4cxx/asyncappender.h’ with
‘../../../../src/main/include/log4cxx/asyncappender.h’
/usr/bin/install: will not overwrite just-created
‘/usr/local/include/log4cxx/basicconfigurator.h’ with
‘../../../../src/main/include/log4cxx/basicconfigurator.h’
/usr/bin/install: will not overwrite just-created
‘/usr/local/include/log4cxx/consoleappender.h’ with
‘../../../../src/main/include/log4cxx/consoleappender.h’
/usr/bin/install: will not overwrite just-created
‘/usr/local/include/log4cxx/dailyrollingfileappender.h’ with
‘../../../../src/main/include/log4cxx/dailyrollingfileappender.h’
/usr/bin/install: will not overwrite just-created
‘/usr/local/include/log4cxx/defaultconfigurator.h’ with
‘../../../../src/main/include/log4cxx/defaultconfigurator.h’
/usr/bin/install: will not overwrite just-created
‘/usr/local/include/log4cxx/defaultloggerfactory.h’ with
‘../../../../src/main/include/log4cxx/defaultloggerfactory.h’
/usr/bin/install: will not overwrite just-created
‘/usr/local/include/log4cxx/fileappender.h’ with
‘../../../../src/main/include/log4cxx/fileappender.h’
/usr/bin/install: will not overwrite just-created
‘/usr/local/include/log4cxx/file.h’ with
‘../../../../src/main/include/log4cxx/file.h’
/usr/bin/install: will not overwrite just-created
‘/usr/local/include/log4cxx/hierarchy.h’ with
‘../../../../src/main/include/log4cxx/hierarchy.h’
make[6]: *** [install-log4cxxincHEADERS] Error 1
make[6]: Leaving directory
`/media/raid_data/roland/Projects/apache-log4cxx/src/main/include/log4cxx'
make[5]: *** [install-am] Error 2
make[5]: Leaving directory
`/media/raid_data/roland/Projects/apache-log4cxx/src/main/include/log4cxx'
make[4]: *** [install-recursive] Error 1
make[4]: Leaving directory
`/media/raid_data/roland/Projects/apache-log4cxx/src/main/include/log4cxx'
make[3]: *** [install-recursive] Error 1
make[3]: Leaving directory
`/media/raid_data/roland/Projects/apache-log4cxx/src/main/include'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory
`/media/raid_data/roland/Projects/apache-log4cxx/src/main'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/media/raid_data/roland/Projects/apache-log4cxx/src'
make: *** [install-recursive] Error 1
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)