| 1234567891011121314151617181920212223242526272829 | <sect2><title>Command explanations</title><para><userinput>--with-shared:</userinput> This enables the build of theshared ncurses library files.</para><para><userinput>--disable-termcap:</userinput> Disabled the compilation oftermcap fall back support.</para><para><userinput>cd /lib && mv *.a /usr/lib :</userinput> Thismoves all of the static ncurses library files from /lib to /usr/lib./lib should only contain the shared files which are essential to thesystem when /usr may not be mounted.</para><para><userinput>chmod 755 *.5.2:</userinput> Shared libraries should beexecutable.  Ncurses install routine doesn't set the permissionsproperly so we do it manaully instead.</para><para><userinput>ln -sf libncurses.a libcurses.a:</userinput> Someprograms try to link using -lcurses instead of -lncurses.  This symlinkensures that they will install correctly.</para><para><userinput>ln -sf ../../lib/libncurses.so etc:</userinput> Theselinks are created because if they aren't, the linker will not find the dynamic libraries when linking and so link all programs with the staticversions.</para></sect2>
 |