Hi Jeffrey -
The top-level Makefile in the cmd/ subdir was written for an internal
build system, so some of it may not make the most sense outside
of SGI - i.e. the default target is to build all RPMs, because
that's what the build system wants.
There probably are some things in the subdirs that could
be cleaned up, but it's just not very high on the priority list,
I'm afraid.
-Eric
On Mon, 19 Aug 2002, Jeffrey Hundstad wrote:
> Hello,
>
> First, I'd like to say thanks to the developers for making a great
> product. It's nice to have a truly great file-system available for
> linux.
>
> Now for the meat ;-)
>
> I've had very little problems trying to make the cmd utilities from
> source... but when I try to make the utilities with options
> (ie. --prefix or --static) the options get lost in the makefiles.
>
> Over the last few months I've been successful at going into each of
> the subdirectories in the cmd tree (ie. xfsdump xfsprogs etc.) and
> modifying the Makefile near the ./configure line and putting
> --prefix=/otherdir.
>
> I then have to go to each program that I want to make statically
> linked, rm it then run make. I grab the line that linked the file and
> place a -static before the "-o".
>
> There is also a Makefile belief that the linux source tree, linux,
> lives at the same level as cmd. While a simple symlink seems to make
> it happy there'd seem to be a better way.
>
> So... here's where the request part starts:
>
> It'd be a lot of fun do the following from a command line at the root
> of the cmd directory:
>
> autoconf
>
> ./configure --kernel-source=/home/me/src/linux-2.4.19-xfs --static-binaries
> --prefix=/myowntree --with-xfsdump --with-aclsupport --with-xfsprogs
> --without-rpmpackaging
>
> make
>
> make install
>
>
> I'm not at a level where I can really do this work myself. I'm just
> learning how the configure stuff works. ...But if anyone else is
> thinking about a build rewrite these would make nice features.
>
> --
> jeffrey hundstad
>
>
>
|