LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 08-30-2007, 11:28 PM   #1
hxsrmeng
LQ Newbie
 
Registered: Aug 2007
Posts: 5

Rep: Reputation: 0
My XFS cannot build.


I obtained the XFS source codes from sgi, including linux-2.6-xfs and xfs-cmds.

what's the relationship between linux-2.6-xfs and linux-kernel source code?

Then I did
$ cd xfs-cmds
$ make

And I got:
echo "cmd builddirs"
cmd builddirs
([ -d /usr/src/linux-2.6.22.1/fs/xfs-cmds/SRPMS ] || mkdir -p /usr/src/linux-2.6.22.1/fs/xfs-cmds/SRPMS)
([ -d /usr/src/linux-2.6.22.1/fs/xfs-cmds/RPMS/i386 ] || mkdir -p /usr/src/linux-2.6.22.1/fs/xfs-cmds/RPMS/i386)
echo "=== Making cmds `date`"
=== Making cmds Thu Aug 30 23:23:37 EDT 2007
for d in attr acl xfsprogs dmapi xfsdump; do \
echo "== Building $d"; \
( cd /usr/src/linux-2.6.22.1/fs/xfs-cmds/$d && ./Makepkgs ) || exit 1; \
done
== Building attr
== clean, log is Logs/clean

== configure, log is Logs/configure

== default, log is Logs/default

== dist, log is Logs/dist
Wrote: /usr/src/linux-2.6.22.1/fs/xfs-cmds/attr/build/attr-2.4.38.src.tar.gz
Wrote: /usr/src/linux-2.6.22.1/fs/xfs-cmds/attr/build/tar/attr-2.4.38.tar.gz
Wrote: /usr/src/linux-2.6.22.1/fs/xfs-cmds/attr/build/rpm/attr-2.4.38-0.src.rpm
Wrote: /usr/src/linux-2.6.22.1/fs/xfs-cmds/attr/build/rpm/attr-2.4.38-0.i586.rpm
Wrote: /usr/src/linux-2.6.22.1/fs/xfs-cmds/attr/build/rpm/libattr-2.4.38-0.i586.rpm
Wrote: /usr/src/linux-2.6.22.1/fs/xfs-cmds/attr/build/rpm/libattr-devel-2.4.38-0.i586.rpm
== Building acl
== clean, log is Logs/clean

== configure, log is Logs/configure

== default, log is Logs/default

== dist, log is Logs/dist
Wrote: /usr/src/linux-2.6.22.1/fs/xfs-cmds/acl/build/acl-2.2.44.src.tar.gz
Wrote: /usr/src/linux-2.6.22.1/fs/xfs-cmds/acl/build/tar/acl-2.2.44.tar.gz
Wrote: /usr/src/linux-2.6.22.1/fs/xfs-cmds/acl/build/rpm/acl-2.2.44-1.src.rpm
Wrote: /usr/src/linux-2.6.22.1/fs/xfs-cmds/acl/build/rpm/acl-2.2.44-1.i586.rpm
Wrote: /usr/src/linux-2.6.22.1/fs/xfs-cmds/acl/build/rpm/libacl-2.2.44-1.i586.rpm
Wrote: /usr/src/linux-2.6.22.1/fs/xfs-cmds/acl/build/rpm/libacl-devel-2.2.44-1.i586.rpm
== Building xfsprogs
== clean, log is Logs/clean

== configure, log is Logs/configure
make: *** [cmds] Error 1

What's the problem? Thanks in advance.
 
Old 09-01-2007, 07:49 AM   #2
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Rep: Reputation: 46
AFAIK , the linux kernel ships with XFS support, you don't need to download anything. Your distro should be able to read XFS directly.
 
Old 09-01-2007, 08:40 AM   #3
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
If it's supposed to be compiled or installed in some special way, the package(s) should include README and/or INSTALL files. Read those carefully trough. Or any other documentation provided...such files tell how the program is supposed to be compiled, if needed, and installed - because not every project works the same way. The "usual way" is to first configure the sources, then compile them and after that execute the install make target;
Code:
./configure
make
make install
Those are done in the source directory; only proceed to the next step if the previous one succeeds (if it fails, you need to find out why, fix it and re-run it before continuing). Two first steps don't require root privileges, but the third usually does. However as this is a kernel-related thing (except the userspace tools maybe), you really should read the documentation files (INSTALL and/or README) so you know what to do exactly.
 
Old 09-02-2007, 04:42 PM   #4
hxsrmeng
LQ Newbie
 
Registered: Aug 2007
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by b0uncer View Post
If it's supposed to be compiled or installed in some special way, the package(s) should include README and/or INSTALL files. Read those carefully trough. Or any other documentation provided...such files tell how the program is supposed to be compiled, if needed, and installed - because not every project works the same way. The "usual way" is to first configure the sources, then compile them and after that execute the install make target;
Code:
./configure
make
make install
Those are done in the source directory; only proceed to the next step if the previous one succeeds (if it fails, you need to find out why, fix it and re-run it before continuing). Two first steps don't require root privileges, but the third usually does. However as this is a kernel-related thing (except the userspace tools maybe), you really should read the documentation files (INSTALL and/or README) so you know what to do exactly.
Thank you.
I find two, README.cycladesZ and README.DAC960. No other README or INSTALL. But I can not open both of them.
 
Old 09-02-2007, 04:43 PM   #5
hxsrmeng
LQ Newbie
 
Registered: Aug 2007
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by duryodhan View Post
AFAIK , the linux kernel ships with XFS support, you don't need to download anything. Your distro should be able to read XFS directly.
I see. Thank you.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Glibc-2.3.6 build issue ---- wordexp.o not build Dhana_pal Linux - Software 0 12-27-2006 01:56 AM
kdebase not recognizing XFree86-xfs package as xfs mikeyt_333 Linux - Software 1 08-17-2004 01:50 PM
Kazaa lite 2.0 build 2 and 2.02 build 5 walterw Linux - General 1 02-04-2003 04:12 PM
Xfs mikeshn Linux - Newbie 1 02-18-2002 07:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 05:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration