Armin K. wrote:
> On 01/30/2013 07:27 PM, Bruce Dubbs wrote:

>> This is what I have right now, but want to post it for comment.
>>
>> ./configure --prefix=/usr           \
>>                --mandir=/usr/share/man \
>>                --with-shared           \
>>                --without-debug         \
>> # Added this line
>>                --enable-pc-files       \
>>                --enable-widec
>>
>> make
>> make install
>> mv -v /usr/lib/libncursesw.so.5* /lib
>> ln -sfv ../../lib/libncursesw.so.5 /usr/lib/libncursesw.so
>>
>> for lib in ncurses form panel menu ; do
>>        rm -vf                    /usr/lib/lib${lib}.so
>>        echo "INPUT(-l${lib}w)" > /usr/lib/lib${lib}.so
>>        ln -sfv lib${lib}w.a      /usr/lib/lib${lib}.a
>>     # Added this line for non-wide .pc files
>>     # Note that it does not create a ncurses++.pc file since
>>     # it's not made for the non-wide build
>>        ln -sfv ${lib}w           /usr/lib/pkgconfig/${lib}.pc
>
> it's ${lib}w*.pc*

Typo.  Thatks for pointint it out.

>> done
>>
>> ln -sfv libncurses++w.a /usr/lib/libncurses++.a
>>
>> rm -vf                     /usr/lib/libcursesw.so
>> echo "INPUT(-lncursesw)" > /usr/lib/libcursesw.so
>> ln -sfv libncurses.so      /usr/lib/libcurses.so
>> ln -sfv libncursesw.a      /usr/lib/libcursesw.a
>> ln -sfv libncurses.a       /usr/lib/libcurses.a
>>
>> mkdir -v       /usr/share/doc/ncurses-5.9
>> cp -v -R doc/* /usr/share/doc/ncurses-5.9
>>
>> # Note for non-wide build
>>
>> make distclean
>> ./configure --prefix=/usr    \
>>                --with-shared    \
>>                --without-normal \
>>                --without-debug  \
>>                --without-cxx-binding
>>
>> make sources libs
>> cp -av lib/lib*.so.5* /usr/lib
>>
>> pushd misc
>> sh gen-pkgconfig
>> cp -v --remove-destination *.pc /usr/lib/pkgconfig
>> popd

> You don't want to do this. This copies only runtime libraries, not
> development files. It would only duplicate the work you did earlier.

We already copied all the headers.  This is in addition to the wide 
version of the libraries above.  We only need to copy a couple of 
non-wide libraries and the non-wide pc files.  Would you please 
elaborate on your comment.

   -- Bruce



-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to