http://oss.sgi.com/bugzilla/show_bug.cgi?id=312
Summary: xfsprogs does not compile on AMD64/x86_64
Product: Linux XFS
Version: Current
Platform: AMD
OS/Version: Linux
Status: NEW
Severity: normal
Priority: Medium
Component: xfsprogs
AssignedTo: xfs-master@xxxxxxxxxxx
ReportedBy: kas@xxxxxxxxxxxxxxxxxxx
I have Fedora Core 0.96 test release for AMD64, and I have tried to recompile
the xfsprogs-2.6.3-1.src.rpm. It fails when it tries to link /usr/lib/libuuid.a
to xfs_copy. The ./configure script incorrectly looks for some symbol in
"-luuid" and then sets the variable libuuid to "/usr/lib/libuuid.a", no matter
where the "-luuid" was taken from (in my case - and probably other AMD64 distros
too - the library is in /usr/lib64/libuuid.a). You may want to add "-static
-luuid" when the static libuuid is needed, and just "-luuid" otherwise.
./configure --enable-shared-uuid
works for me. Default configuration does not. I suggest the following patch to
./configure.in, which works for me:
--- configure.in.orig 2004-02-27 15:42:49.163908768 +0100
+++ configure.in 2004-02-27 15:43:21.889933656 +0100
@@ -32,9 +32,9 @@
AC_PACKAGE_NEED_UUIDCOMPARE
AC_ARG_ENABLE(shared-uuid,
[ --enable-shared-uuid=[yes/no] Link shared libuuid [default=no].],
- libuuid="/usr/lib/libuuid.a"
+ libuuid="-static -luuid"
test "$enable_shared_uuid" = yes && libuuid="-luuid",
- libuuid="/usr/lib/libuuid.a")
+ libuuid="-static -luuid")
AC_PACKAGE_CHECK_LIBUUID
AC_SUBST(libuuid)
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
|