This is the mail archive of the
libstdc++@sources.redhat.com
mailing list for the libstdc++ project.
Re: make install problems
- To: Andreas Jaeger <aj at suse dot de>
- Subject: Re: make install problems
- From: Levente Farkas <lfarkas at mindmaker dot hu>
- Date: Tue, 14 Nov 2000 09:45:25 +0100
- Cc: libstdc++ at sources dot redhat dot com
- Organization: Mindmaker Ltd.
- References: <hoem0fj84k.fsf@gee.suse.de>
- Reply-To: lfarkas at mindmaker dot hu
what was the spec file ? v3 can be build only with gcc.
and the include file goes to somewhere under /usr/lib/gcc-lib/...
search the list for the correct path.
Andreas Jaeger wrote:
>
> 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
--
-- Levente http://petition.eurolinux.org/index_html
"The only thing worse than not knowing the truth is
ruining the bliss of ignorance."