This is the mail archive of the
libstdc++@sources.redhat.com
mailing list for the libstdc++ project.
make install problems
- To: libstdc++ at sources dot redhat dot com
- Subject: make install problems
- From: Andreas Jaeger <aj at suse dot de>
- Date: 14 Nov 2000 09:00:27 +0100
For building with RPM, I install everything to a separate directory to
not destroy my system. With libstdc++-V2 I could use the following
make command from the toplevel gcc build directory to do so:
make install prefix=$RPM_BUILD_ROOT%{_prefix} \
mandir=$RPM_BUILD_ROOT%{_mandir} \
infodir=$RPM_BUILD_ROOT%{_infodir} \
gxx_include_dir=$RPM_BUILD_ROOT%{_prefix}/include/g++
But this doesn't work with V3 anymore. I tried already to add these
but that didn't help either:
includedir=$RPM_BUILD_ROOT%{_prefix}/include/ \
glibcppinstalldir=$RPM_BUILD_ROOT%{_prefix}/include/
Running e.g.:
gee:/usr/src/packages/BUILD/gcc/obj/libstdc++-v3:[130]# make install includedir=/tmp/test/usr/include gxx_include_dir=/tmp/test/usr/include/g++ glibcppinstalldir=tmp/test/usr/include/g++
Still shows:
/usr/bin/install -c -m 644 ../../../../libstdc++-v3/libsupc++/cxxabi.h /usr/include/g++/cxxabi.h
/usr/bin/install -c -m 644 ../../../../libstdc++-v3/libsupc++/exception /usr/include/g++/exception
/usr/bin/install -c -m 644 ../../../../libstdc++-v3/libsupc++/new /usr/include/g++/new
/usr/bin/install -c -m 644 ../../../../libstdc++-v3/libsupc++/new.h /usr/include/g++/new.h
/usr/bin/install -c -m 644 ../../../../libstdc++-v3/libsupc++/typeinfo /usr/include/g++/typeinfo
But the files should go into /tmp/test/... :-(
Any idea how to fix this? I'm using Linux on i486 with latest tools
(glibc 2.2, binutils 2.10, make 3.79.1).
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj