[GCC-XML] make install broken

Brad King brad.king at kitware.com
Mon Dec 4 14:38:39 EST 2006


Neal Becker wrote:
> I grabbed a brand-new cvs of gccxml, and on linux did:
> 
> 1. cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr
> 2. make
> 3. sudo make install
> 
> And where did it install?
> -- Installing /bin/gccxml
> -- Installing /share/man/man1/gccxml.1
> ...
> 
> What happened to my /usr prefix?
> 
> Also, make install did:
> Linking C executable CMakeFiles/CMakeRelink.dir/gccxml_cc1plus
> Linking CXX executable CMakeFiles/CMakeRelink.dir/gccxml
> 
> That's not nice.  Make install should never write to the build directory, 
> otherwise sudo make install won't work through nfs.

GCC-XML is used inside another project that has write access to its
repository.  A recent change to the implementation of the install
support to that project seems to have entered this project too and left
it in a broken state.

It should be fixed now in CVS.

Thanks,
-Brad




More information about the gccxml mailing list