Kristiansen Morten
2009-Jan-26 13:37 UTC
[Ocfs2-users] problem compiling ocfs2-tools v 1.4.1 on RedHat el5
Hi, I have problem in compiling ocfs-tools v. 1.4.1 on RedHat el5. I haven't found any install instruction on how to compile it, but I guess one should run configure first. During configure I got this error: checking for pkg-config... /usr/bin/pkg-config checking for com_err... checking for com_err in -lcom_err... no configure: error: Unable to find com_err library I'm running this version of pkgconf: # rpm -qa|grep pkgconf pkgconfig-0.21-2.el5 Does anybody know how to resolv it and where to find an compile/install instruction for ocfs2-tools and ocfs2? Morten Kristiansen -------------- next part -------------- An HTML attachment was scrubbed... URL: http://oss.oracle.com/pipermail/ocfs2-users/attachments/20090126/32b87001/attachment.html
George Negoita
2009-Jan-26 14:31 UTC
[Ocfs2-users] problem compiling ocfs2-tools v 1.4.1 on RedHat el5
On Mon, Jan 26, 2009 at 3:37 PM, Kristiansen Morten < Morten.Kristiansen at hn-ikt.no> wrote:> Hi, >Hi ,> > > I have problem in compiling ocfs-tools v. 1.4.1 on RedHat el5. I haven't > found any install instruction on how to compile it, but I guess one should > run configure first. During configure I got this error: > > > > checking for pkg-config... /usr/bin/pkg-config > > checking for com_err... checking for com_err in -lcom_err... no > > configure: error: Unable to find com_err library > > > > I'm running this version of pkgconf: > > # rpm -qa|grep pkgconf > > pkgconfig-0.21-2.el5 > > > > Does anybody know how to resolv it and where to find an compile/install > instruction for ocfs2-tools and ocfs2? >the kernel module... http://oss.oracle.com/projects/ocfs2/files/RedHat/RHEL5/i386/1.4.1-1/2.6.18-92.1.22.el5/ and the userspace tools... http://oss.oracle.com/projects/ocfs2-tools/files/RedHat/RHEL5/i386/1.4.1-1/ And that's it. Good luck!> > > Morten Kristiansen > > > > _______________________________________________ > Ocfs2-users mailing list > Ocfs2-users at oss.oracle.com > http://oss.oracle.com/mailman/listinfo/ocfs2-users >-- George Negoita System Administrator Imedia Plus Group -------------- next part -------------- An HTML attachment was scrubbed... URL: http://oss.oracle.com/pipermail/ocfs2-users/attachments/20090126/072d165e/attachment.html
Joel Becker
2009-Jan-26 21:27 UTC
[Ocfs2-users] problem compiling ocfs2-tools v 1.4.1 on RedHat el5
On Mon, Jan 26, 2009 at 02:37:25PM +0100, Kristiansen Morten wrote:> I have problem in compiling ocfs-tools v. 1.4.1 on RedHat el5. I haven't found any install instruction on how to compile it, but I guess one should run configure first. During configure I got this error: > > checking for pkg-config... /usr/bin/pkg-config > checking for com_err... checking for com_err in -lcom_err... no > configure: error: Unable to find com_err library > > I'm running this version of pkgconf: > # rpm -qa|grep pkgconf > pkgconfig-0.21-2.el5Sunil's comments about -odatavolume still hold, but let's answer your original question. The problem is not pkgconfig. As you can see, /usr/bin/pkg-config is detected. The problem is libcom_err, which is part of e2fsprogs. Because you are building the tools, you need the e2fsprogs-devel package, which will provide /usr/lib/libcom_err.so and /usr/lib/libcom_err.a. So, install e2fsprogs-devel and this part of ./configure will succeed. Joel -- Joel's First Law: Nature abhors a GUI. Joel Becker Principal Software Developer Oracle E-mail: joel.becker at oracle.com Phone: (650) 506-8127