[Gluster-users] Build glusterfs RPM package for fedora core 11

Zhuo Yin zhuoyin at gmail.com
Tue Jul 14 16:08:37 UTC 2009


Hi All:

I got a problem when I build a fedora 11 package from glusterfs-2.0.3

the ./configure result is good:

GlusterFS configure summary
===========================
FUSE client        : yes
Infiniband verbs   : yes
epoll IO multiplex : yes
Berkeley-DB        : yes
libglusterfsclient : yes
mod_glusterfs      : yes (2.2)
argp-standalone    : no

And I typed `make dist`, then he gave me the glusterfs-2.0.3.tar.gz
So I tried to make rpm package from this by `rpmbuild -ta
glusterfs-2.0.3.tar.gz`, but this error occurs:

test -z "/usr/lib/glusterfs/2.0.3/transport/" || /bin/mkdir -p
"/root/rpmbuild/BUILDROOT/glusterfs-2.0.3-1.fc11.i386/usr/lib/glusterfs/2.0.3/transport/"
 /bin/sh ../../../libtool   --mode=install /usr/bin/install -c
socket.la'/root/rpmbuild/BUILDROOT/glusterfs-2.0.3-1.fc11.i386/usr/lib/glusterfs/2.0.3/transport/'
libtool: install: error: cannot install `socket.la' to a directory not
ending in /usr/lib/glusterfs/2.0.3/transport/
make[4]: *** [install-transportLTLIBRARIES] Error 1
make[4]: Leaving directory
`/root/rpmbuild/BUILD/glusterfs-2.0.3/transport/socket/src'
make[3]: *** [install-am] Error 2
make[3]: Leaving directory
`/root/rpmbuild/BUILD/glusterfs-2.0.3/transport/socket/src'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory
`/root/rpmbuild/BUILD/glusterfs-2.0.3/transport/socket'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/root/rpmbuild/BUILD/glusterfs-2.0.3/transport'
make: *** [install-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.JqWGs5 (%install)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.JqWGs5 (%install)

Can somebody told me how to fix this? The platform I'm running is Fedora
Core 11

Thanks,
Zhuo Yin (917)215-8740
Gentoo Linux Fan - int (*(*(*pFile)())[10])();
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20090714/3b3bbde3/attachment.html>


More information about the Gluster-users mailing list