[Bug 581] New: Must not use ./configure --prefix=/usr for xfsprogs

blfs-bugs at linuxfromscratch.org blfs-bugs at linuxfromscratch.org
Wed Jan 28 18:09:30 PST 2004


http://blfs-bugs.linuxfromscratch.org/show_bug.cgi?id=581

           Summary: Must not use ./configure --prefix=/usr for xfsprogs
           Product: Beyond LinuxFromScratch
           Version: CVS
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: BOOK
        AssignedTo: blfs-book at linuxfromscratch.org
        ReportedBy: petri.koistinen at iki.fi
         QAContact: blfs-book at linuxfromscratch.org


Hi!

I had problems with xfsdump program and I had chat with XFS kernel maintainer
Nathan Scott. On page blfs-book-cvs-html-2004-01-28/postlfs/xfsfs.html there is
these instructions:

"Install XFS by running the following commands:

./configure --prefix=/usr &&
make &&
make install"

This is not correct. One must not use ./configure with xfsprogs. Make and make
install is enough.

Here is copy of relevant messages:

Date: Thu, 29 Jan 2004 11:19:19 +1100
From: Nathan Scott <nathans at sgi.com>
To: Petri T. Koistinen <petri.koistinen at iki.fi>
Cc: Eric Sandeen <sandeen at sgi.com>
Subject: Re: xfsprogs-2.6.2 has no 'make install-lib'

On Thu, Jan 29, 2004 at 01:54:39AM +0200, Petri T. Koistinen wrote:
> Hi!
> 
> I am sorry to bother you again.
> 
> On Wed, 28 Jan 2004, Nathan Scott wrote:
> 
> > > root:/usr/src/xfs/xfsprogs-2.6.2# make install-lib
> > > make: *** No rule to make target `install-lib'.  Stop.
> >
> > Yes, that was a typo in the error message - fixed in more recent
> > versions of xfsdump.  "make install-dev" is the correct target,
> > iirc.
> 
> Ok, I did "make install-dev" from xfsprogs-2.6.3 directory, but xfsdump
> still can not find /usr/libexec/libxfs.a file.
> 
> [root /usr/src/xfs/xfsdump-2.2.16]# ./configure --prefix=/usr

Don't do that, just type "make" - it will use a sane set
of configure options by default (specifying just one like
you have there causes lots of other configure-defaults to
be used, which are not necessarily what you want).

cheers.

-- 
Nathan

and reply to query if I should report this to you:

Date: Thu, 29 Jan 2004 12:50:48 +1100
From: Nathan Scott <nathans at sgi.com>
To: Petri T. Koistinen <petri.koistinen at iki.fi>
Cc: Eric Sandeen <sandeen at sgi.com>
Subject: Re: xfsprogs-2.6.2 has no 'make install-lib'

On Thu, Jan 29, 2004 at 03:16:58AM +0200, Petri T. Koistinen wrote:
> Hi!
> 
> On Thu, 29 Jan 2004, Nathan Scott wrote:
> 
> > Don't do that, just type "make" - it will use a sane set
> > of configure options by default
> 
> Ok, I installed xfsprogs in same way and that makes this work, great!
> Thank you!

Good to hear.

> I need to write notice to Beyond Linux From Scratch[1] people, because
> ...
> Install XFS by running the following commands:
> 
> ./configure --prefix=/usr &&
> make &&
> make install
> ...
> May I forward your previous message to their bugzilla[2]?

Please do - they should just drop that first "configure" step
in their recipe.

thanks.

-- 
Nathan



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact.



More information about the blfs-book mailing list