Bug #6654 2006-03-04 13:07

daniel2000

make install overwrites plugin install destination

The directory variable, which is used to define the install destination, is called libdir. In linux is libdir usually /usr/lib. During rpm build "make install" has to redefine the destination paths, because it puts the files into a temporary file tree with a prefix in front of the real path names. make install defines libdir=/var/tmp/codeblocks-1.0-0.svn.2133-buildroot/usr/lib , so it will be overwritten and this error appears:

make[5]: Entering directory usr/src/redhat/BUILD/codeblocks/src/plugins/astyle

test -z var/tmp/codeblocks-1.0-0.svn.2133-buildroot/usr/lib || mkdir -p -- var/tmp/codeblocks-1.0-0.svn.2133-buildroot/usr/lib

bin/sh libtool --mode=install /usr/bin/install -c 'libastyle.la' 'var/tmp/codeblocks-1.0-0.svn.2133-buildroot/usr/lib/libastyle.la'

libtool: install: error: cannot install libastyle.la to a directory not ending in usr/share/codeblocks/plugins

make[5]: [install-libLTLIBRARIES] Error 1

Category
Plugin::Any
Group
 
Status
Closed
Close date
2006-03-04 22:41
Assigned to
 
mandrav 2006-03-04 22:41

As discussed in the forums, this is not a bug :)