bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ncurses-5.2 build bug - Solaris 2.6, gcc-2.95.2


From: Thomas E. Dickey
Subject: Re: ncurses-5.2 build bug - Solaris 2.6, gcc-2.95.2
Date: Thu, 26 Oct 2000 15:03:54 -0400 (EDT)

On Thu, 26 Oct 2000, Paul Lew wrote:

> When I specified:
> 
>      configure --prefix=/auto/insbu-cnstools
>      ...
>      make install \
>         prefix=/auto/insbu-cnstools/kit/ncurses-5.2/auto/insbu-cnstools

well, in principle, we could pass any number of variables along on the
command line, the issue here is that the variable you want to change is
datadir, which isn't being overridden because 'prefix' isn't passed to
lower levels. (some versions of 'make' in fact will do this, others do not
- and adding things like compiler flags to the former can make the build
break in interesting and subtle ways - prefix is a special case I've not
found especially useful since for example it would produce unusable
shared libraries on HPUX).
 
> The resulting:
> 
> cd misc && make DESTDIR="" install
> make[1]: Entering directory
> `/auto/insbu-cnstools/build/ncurses-5.2/misc'
> ./../mkinstalldirs
> /auto/insbu-cnstools/kit/ncurses-5.2/auto/insbu-cnstools/share/tabset
> mkdir /auto/insbu-cnstools/kit/ncurses-5.2/auto/insbu-cnstools/share
> mkdir /auto/insbu-cnstools/kit/ncurses-5.2/auto/insbu-cnstools/share/tabset
> DESTDIR= \
> prefix=/auto/insbu-cnstools/kit/ncurses-5.2/auto/insbu-cnstools \
> exec_prefix=/auto/insbu-cnstools/kit/ncurses-5.2/auto/insbu-cnstools \
> bindir=/auto/insbu-cnstools/kit/ncurses-5.2/auto/insbu-cnstools/bin \
> top_srcdir=.. \
> srcdir=. \
> datadir=/auto/insbu-cnstools/kit/ncurses-5.2/auto/insbu-cnstools/share \
>  ticdir=/auto/insbu-cnstools/share/terminfo \
> source=../misc/terminfo.src \
> /bin/sh ./run_tic.sh
> ** Building terminfo database, please wait...
> 
> The ticdir is incorrect.  It should use the new prefix as I specified.
> 
> _______________________________________________
> Bug-ncurses mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-ncurses
> 

-- 
T.E.Dickey <address@hidden>
http://dickey.his.com
ftp://dickey.his.com




reply via email to

[Prev in Thread] Current Thread [Next in Thread]