Opened 20 years ago

Closed 20 years ago

#753 closed defect (invalid)

Must not use ./configure --prefix=/usr for xfsprogs

Reported by: petri.koistinen@… Owned by: lfs-book@…
Priority: lowest Milestone:
Component: Book Version: CVS
Severity: blocker Keywords:
Cc:

Description

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@…> To: Petri T. Koistinen <petri.koistinen@…> Cc: Eric Sandeen <sandeen@…> 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@…> To: Petri T. Koistinen <petri.koistinen@…> Cc: Eric Sandeen <sandeen@…> 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

Change History (1)

comment:1 by petri.koistinen@…, 20 years ago

Resolution: invalid
Status: newclosed

Damn,I messed it up, this is blfs bug. Sorry.

Note: See TracTickets for help on using tickets.