FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 08-14-2010, 05:41 AM
JohnS
 
Default uuid problem while compiling glue

On Sat, 2010-08-14 at 11:07 +0800, Tang Jianwei wrote:

> what should I do to fix those problems?
---
Try & try again & don't build it as root....& ask on the linux-ha
LIST...
Full CentOS/RH 5.5 + epel repo should build it. No EL6 packages are
needed. But if you try to build the EL6 version one it will not. Build
Requires get you

glue-1.0.6.tar.bz from http://www.linux-ha.org/wiki/Download
autogen.sh; configure; make

cc1: warnings being treated as errors
main.c:64: warning: function declaration isn't a prototype
main.c:78: warning: function declaration isn't a prototype
gmake[2]: *** [main.o] Error 1
gmake[2]: Leaving directory
`/home/foo/rpmbuild/BUILD/cluster-glue/lib/stonith'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/foo/rpmbuild/BUILD/cluster-glue/lib'
make: *** [all-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.55884 (%build)
########
Now:
%configure
--enable-fatal-warnings=no # here is the key redhat disables this
--with-daemon-group=%{gname}
--with-daemon-user=%{uname}
--localstatedir=%{_var}
--libdir=%{_libdir}

rpmbuild -ba cluster-glue.spec

Checking for unpackaged
file(s): /usr/lib/rpm/check-files /var/tmp/cluster-glue-1.0.6-1.el5-x32679
Wrote: /home/foo/rpmbuild/SRPMS/cluster-glue-1.0.6-1.el5.src.rpm
Wrote: /home/foo/rpmbuild/RPMS/i386/cluster-glue-1.0.6-1.el5.i386.rpm
Wrote: /home/foo/rpmbuild/RPMS/i386/cluster-glue-debuginfo-1.0.6-1.el5.i386.rpm
Wrote: /home/foo/rpmbuild/RPMS/i386/cluster-glue-libs-1.0.6-1.el5.i386.rpm
Wrote: /home/foo/rpmbuild/RPMS/i386/cluster-glue-libs-devel-1.0.6-1.el5.i386.rpm
----------
Does it work? I do not know. I just thought I would kick it around
since it interested me.

John



_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 08-14-2010, 08:22 AM
Tang Jianwei
 
Default uuid problem while compiling glue

well, the problem you found can be resolve like this:

edit lib/stonith/main.c by comment of the contents about the version();

Tang Jianwei


On 08/14/2010 01:41 PM, JohnS wrote:
> On Sat, 2010-08-14 at 11:07 +0800, Tang Jianwei wrote:
>
>
>> what should I do to fix those problems?
>>
> ---
> Try& try again& don't build it as root....& ask on the linux-ha
> LIST...
> Full CentOS/RH 5.5 + epel repo should build it. No EL6 packages are
> needed. But if you try to build the EL6 version one it will not. Build
> Requires get you
>
> glue-1.0.6.tar.bz from http://www.linux-ha.org/wiki/Download
> autogen.sh; configure; make
>
> cc1: warnings being treated as errors
> main.c:64: warning: function declaration isn't a prototype
> main.c:78: warning: function declaration isn't a prototype
> gmake[2]: *** [main.o] Error 1
> gmake[2]: Leaving directory
> `/home/foo/rpmbuild/BUILD/cluster-glue/lib/stonith'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/home/foo/rpmbuild/BUILD/cluster-glue/lib'
> make: *** [all-recursive] Error 1
> error: Bad exit status from /var/tmp/rpm-tmp.55884 (%build)
> ########
> Now:
> %configure
> --enable-fatal-warnings=no # here is the key redhat disables this
> --with-daemon-group=%{gname}
> --with-daemon-user=%{uname}
> --localstatedir=%{_var}
> --libdir=%{_libdir}
>
> rpmbuild -ba cluster-glue.spec
>
> Checking for unpackaged
> file(s): /usr/lib/rpm/check-files /var/tmp/cluster-glue-1.0.6-1.el5-x32679
> Wrote: /home/foo/rpmbuild/SRPMS/cluster-glue-1.0.6-1.el5.src.rpm
> Wrote: /home/foo/rpmbuild/RPMS/i386/cluster-glue-1.0.6-1.el5.i386.rpm
> Wrote: /home/foo/rpmbuild/RPMS/i386/cluster-glue-debuginfo-1.0.6-1.el5.i386.rpm
> Wrote: /home/foo/rpmbuild/RPMS/i386/cluster-glue-libs-1.0.6-1.el5.i386.rpm
> Wrote: /home/foo/rpmbuild/RPMS/i386/cluster-glue-libs-devel-1.0.6-1.el5.i386.rpm
> ----------
> Does it work? I do not know. I just thought I would kick it around
> since it interested me.
>
> John
>
>
>
> _______________________________________________
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 
Old 08-14-2010, 11:43 AM
JohnS
 
Default uuid problem while compiling glue

On Sat, 2010-08-14 at 16:22 +0800, Tang Jianwei wrote:
> well, the problem you found can be resolve like this:
> edit lib/stonith/main.c by comment of the contents about the version();

While that may be true, but did you see my comment in the %configure
section for the specfile? All warnings (fatal) are disabled so it would
build. That option I pulled out of the RH el6 version of cluster-glue
because they have it disabled. You can pull down there source rpm and
check it. So I suspect in the RH version of it with it set to "yes" the
build will fail.

Using the specfile provided is the way to go and your deps will be
solved much easier.

> > %configure
> > --enable-fatal-warnings=no # here is the key redhat disables this
> > --with-daemon-group=%{gname}
> > --with-daemon-user=%{uname}
> > --localstatedir=%{_var}
> > --libdir=%{_libdir}

John

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Sat Aug 14 14:30:01 2010
Return-path: <gentoo-dev+bounces-42255-tom=linux-archive.org@lists.gentoo.org>
Envelope-to: tom@linux-archive.org
Delivery-date: Sat, 14 Aug 2010 13:59:43 +0300
Received: from pigeon.gentoo.org ([208.92.234.80]:42226 helo=lists.gentoo.org)
by s2.java-tips.org with esmtps (TLSv1:AES256-SHA:256)
(Exim 4.69)
(envelope-from <gentoo-dev+bounces-42255-tom=linux-archive.org@lists.gentoo.org>)
id 1OkESl-0002Wh-Bn
for tom@linux-archive.org; Sat, 14 Aug 2010 13:59:43 +0300
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
by pigeon.gentoo.org (Postfix) with SMTP id 36275E07CD;
Sat, 14 Aug 2010 11:46:21 +0000 (UTC)
X-Original-To: gentoo-dev@lists.gentoo.org
Delivered-To: gentoo-dev@lists.gentoo.org
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
by pigeon.gentoo.org (Postfix) with ESMTP id 754F3E07A1
for <gentoo-dev@lists.gentoo.org>; Sat, 14 Aug 2010 11:45:33 +0000 (UTC)
Received: from [192.168.178.58] (e178072151.adsl.alicedsl.de [85.178.72.151])
(using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits))
(No client certificate requested)
by smtp.gentoo.org (Postfix) with ESMTPSA id 9C1271B4044
for <gentoo-dev@lists.gentoo.org>; Sat, 14 Aug 2010 11:45:32 +0000 (UTC)
Message-ID: <4C6681E3.2040006@gentoo.org>
Date: Sat, 14 Aug 2010 13:45:39 +0200
From: =?UTF-8?B?Q2jDrS1UaGFuaCBDaHJpc3RvcGhlciBOZ3V54buFbg==?=
<chithanh@gentoo.org>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.11) Gecko/20100727 Gentoo/2.0.6 SeaMonkey/2.0.6
Precedence: bulk
List-Post: <mailto:gentoo-dev@lists.gentoo.org>
List-Help: <mailto:gentoo-dev+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-dev+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-dev+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-dev.gentoo.org>
X-BeenThere: gentoo-dev@lists.gentoo.org
Reply-to: gentoo-dev@lists.gentoo.org
MIME-Version: 1.0
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Why (i.e. USE="openssl" instead of USE="ssl")
References: <1281785177.6299.58.camel@lillen>
In-Reply-To: <1281785177.6299.58.camel@lillen>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: quoted-printable

Peter Hjalmarsson schrieb:
> This is about my beloved USE=3D"ssl". A bit long and ranty, but if you
> want the consensus, just read the last part.
>
>
> Today a new snapshot of gnash was uploaded where the old USE=3D"ssl" wa=
s
> renamed to USE=3D"openssl".
>
> So yet another package where if you want ssl support you have to
> _personally_ audit what function this useflag has (i.e. does it enable
> ssl or tune the ssl implementation?).
>
> So I wanted to figure it out, does gnash provide ssl itself and the
> USE=3D"openssl" only tunes how it is implemented or does USE=3D"openssl=
"
> enable ssl?
> =20

The USE flag was renamed after discussion with upstream. Gnash does not=20
provide any SSL implementation itself and (when invoked as NPAPI plugin)=20
uses the browser's facilities. Possibly I could make more explicit that=20
users only interested in the plugin don't need it.


Best regards,
Ch=C3=AD-Thanh Christopher Nguy=E1=BB=85n
 
Old 08-14-2010, 11:55 AM
JohnS
 
Default uuid problem while compiling glue

On Sat, 2010-08-14 at 11:07 +0800, Tang Jianwei wrote:
#######################
> gmake[2]: Leaving directory `/root/Reusable-Cluster-Components-glue-1.0.5/lib/clplumbing'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/root/Reusable-Cluster-Components-glue-1.0.5/lib'
> make: *** [all-recursive] Error 1
########################
> Version = 1.0.6 (Build: 1c87a0c58c59fc384b93ec11476cefdbb6ddc1e1)
########################

Any one notice anything strange about the above? :-)

You are showing outputs from TWO different versions; 1.0.5 & 1.0.6.....

John

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 

Thread Tools




All times are GMT. The time now is 12:37 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org