Received: (from majordomo@localhost) by oss.sgi.com (8.11.2/8.11.3) id g1AIQk520721 for linux-xfs-outgoing; Sun, 10 Feb 2002 10:26:46 -0800 Received: from maynard.mail.mindspring.net (maynard.mail.mindspring.net [207.69.200.243]) by oss.sgi.com (8.11.2/8.11.3) with SMTP id g1AIQd920699 for ; Sun, 10 Feb 2002 10:26:40 -0800 Received: from user-2inia72.dialup.mindspring.com ([165.121.40.226] helo=waltsathlon.localhost.net) by maynard.mail.mindspring.net with esmtp (Exim 3.33 #1) id 16ZxkM-0002aD-00 for linux-xfs@oss.sgi.com; Sun, 10 Feb 2002 12:26:38 -0500 Received: from mindspring.com (localhost.localdomain [127.0.0.1]) by waltsathlon.localhost.net (Postfix) with ESMTP id B09A8E00E15; Sun, 10 Feb 2002 09:25:51 -0800 (PST) Message-ID: <3C66AD1F.3020607@mindspring.com> Date: Sun, 10 Feb 2002 09:25:51 -0800 From: Walt H User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.8) Gecko/20020204 X-Accept-Language: en-us MIME-Version: 1.0 To: elkner@linofee.org Cc: linux-xfs@oss.sgi.com Subject: Re: configure bug ? References: <200202100922.g1A9MqX14612@wh58-307.st.uni-magdeburg.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-linux-xfs@oss.sgi.com Precedence: bulk Not sure if this helps you out, but if you set DIST_ROOT=/somedirectory/ and then export it prior to make install, it will prepend that dir to your install. Useful for installing the progs to a temp location for rescue disc builds etc... -Walt elkner@linofee.org wrote: > Hi, > > just tried to build xfsprogs-1.3.17.src.tar.gz. For the "usual" user > no problem, but if you want to make your own packages, which are not > debian or redhat, you are out of luck, since your configure does > not obey the --prefix=$proto option :( > > Since setting PREFIX and ROOT_PREFIX env variables did not work either, > I need to replace PKG_.*_DIR values with sed, but IMHO this is quick and > dirty as well. > > Furthermore I consider checking for ${prefix}/[share/]man/man1/man.1.gz > to set HAVE_ZIPPED_MANPAGES is also very dirty because these directories > or the man man page might not exist or not gzipped, but others. > > Thus an configure option e.g. --man={gz|cat|auto} would be nice, which > might be set for compatibility reasons per default to "auto", where the > traditional mechanismen might be used to determine the HAVE_ZIPPED_MANPAGES > value. > > Another bug is related to static builds. With > ./configure --prefix=$PROTO --enable-shared=no --enable-shared-uuid=no > one is out of luck again, since on pass 1 it is compiled static, but than > make builds the dynamic version and overwrites the static binary :((( > > So can you fix the: > --prefix option > gzipped man page stuff and > building static progs > please? > > > Regards, > jens. >