[CFT] nALFS-1.2.0-gnubuild-pre2.tar.bz2

Kevin P. Fleming kpfleming at linuxfromscratch.org
Sun Oct 5 10:51:17 PDT 2003


http://linuxfromscratch.org/~kpfleming/nALFS-1.2.0-gnubuild-pre2.tar.bz2

Smaller tarball, faster and somewhat quieter build and installation. 
Quite a bit still on my todo list for this stuff, but it's shaping up 
well. As promised, here is the list of improvements (so far) that this 
package has over the previous build system...

For End Users:

configuration options that used to be in src/config.h are now 
--with/--enable options to the configure script

specifying --with-libxml2, --with-curl or --with-ssl and a path that 
does not contain the proper files no longer allows the configuration 
to proceed and use "something found on the path"

correspondingly, libxml2, libcurl and libssl are actually checked to 
see if a simple link can be accomplished before accepting that they 
are usable; if not, the error is reported and the configure process stops

build system uses GNU libtool for all linking, eliminating the need 
for directories containing libxml2, libcurl, libssl/libcrypto to be in 
LD_LIBRARY_PATH or /etc/ld.so.conf

build system uses autoheader to tell the configure script about all 
header files (system headers) that the package needs; if something is 
not present at configure time, an error will be reported (as opposed 
to just failing to compile during "make")

For Maintainers:

"make dist" in a configured source directory creates a 
distribution-ready tarball; "make distcheck" checks that the tarball 
will unpack, configure, compile and install

full dependency tracking on all source files in the distribution, so 
editing header files causes the needed recompiles when "make" is run

static library in ../lib has been converted into a shared library, so 
digest verification and downloading functions are no longer duplicated 
in new-unpack/new-download

config.h now generated by configure script and contains defines for 
all configure tests that produced relevant results (no need to 
manually -D... settings for libraries or options any longer)

new "include" directory created containing nALFS.h, which will become 
the "interface description" for libnALFS.so as more functions are 
moved into the shared library. this include file gets installed into 
$(prefix)/include as well.




More information about the alfs-discuss mailing list