|
View:
New views
14 Messages
—
Rating Filter:
Alert me
|
|
|
Trying to build rrdtool 1.4.1 on RedHat EL4I am looking at building RRDtool 1.4.1 for our EL4
environment. Looking the spec file which was included in the source tar of
1.4.1, it has certain requirements: Pango >= 1.14 Intltool >= 0.35.0 Both these are not provided by RedHat in a recent enough
version, nor are they available in for example rpmforge. Can anyone point me to
the exact reasons for requiring the above versions? Would it be possible to
change the .spec to the lower version, which could cause consequences. Ulf. _______________________________________________ rrd-users mailing list rrd-users@... https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users |
|
|
Re: Trying to build rrdtool 1.4.1 on RedHat EL4Hi Ulf,
On Mon, 2 Nov 2009, Ulf Zimmermann wrote: > I am looking at building RRDtool 1.4.1 for our EL4 environment. Looking > the spec file which was included in the source tar of 1.4.1, it has > certain requirements: The .spec file was designed for RHEL5 and above. The last version of rrdtool I backported to the RHEL4 platform was the latest in 1.2.x. For the 1.3.x and 1.4.x branches, there were just too many dependencies and version requirements to reasonably compile those properly for RHEL4. > Pango >= 1.14 > Intltool >= 0.35.0 > Both these are not provided by RedHat in a recent enough version, nor > are they available in for example rpmforge. Can anyone point me to the > exact reasons for requiring the above versions? Would it be possible to > change the .spec to the lower version, which could cause consequences. The rrdtool sources says that "last tested version of pangocairo is 1.17." So, I was perhaps a bit lenient with the pango 1.14 version, but I've found that it works well. As for the intltool version, I believe that was the lowest common denominator in the RHEL5 and above installed packages. There's a thread on rrdtool 1.3.x on RHEL4 here: https://lists.oetiker.ch/pipermail/rrd-users/2008-September/014646.html however, I'd encourage you to update to RHEL5 for the newer branches. Hope this helps, -- William R. Lorenz _______________________________________________ rrd-users mailing list rrd-users@... https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users |
|
|
Re: Trying to build rrdtool 1.4.1 on RedHat EL4> -----Original Message-----
> From: William R. Lorenz [mailto:wrl@...] > Sent: Monday, November 02, 2009 3:35 PM > To: Ulf Zimmermann > Cc: rrd-users@... > Subject: Re: [rrd-users] Trying to build rrdtool 1.4.1 on RedHat EL4 > > Hi Ulf, > > On Mon, 2 Nov 2009, Ulf Zimmermann wrote: > > > I am looking at building RRDtool 1.4.1 for our EL4 environment. > Looking > > the spec file which was included in the source tar of 1.4.1, it has > > certain requirements: > > The .spec file was designed for RHEL5 and above. The last version of > rrdtool I backported to the RHEL4 platform was the latest in 1.2.x. > > For the 1.3.x and 1.4.x branches, there were just too many dependencies > and version requirements to reasonably compile those properly for > RHEL4. > > > Pango >= 1.14 > > Intltool >= 0.35.0 > > > Both these are not provided by RedHat in a recent enough version, nor > > are they available in for example rpmforge. Can anyone point me to > the > > exact reasons for requiring the above versions? Would it be possible > to > > change the .spec to the lower version, which could cause > consequences. > > The rrdtool sources says that "last tested version of pangocairo is > 1.17." > So, I was perhaps a bit lenient with the pango 1.14 version, but I've > found that it works well. As for the intltool version, I believe that > was > the lowest common denominator in the RHEL5 and above installed > packages. > > There's a thread on rrdtool 1.3.x on RHEL4 here: > > https://lists.oetiker.ch/pipermail/rrd-users/2008- > September/014646.html > > however, I'd encourage you to update to RHEL5 for the newer branches. [Ulf Zimmermann] I wished it were so easy ... I got about 250 or so EL4 machines and upgrading them aint gonna happen any time soon. I was mainly looking at rrdtool 1.4.1 because of rrdcached to be used in conjunction with collectd. Currently we have a large number of virtual machines and running collectd inside of those, each has about 75KB/sec writing due to writing to rrd files. > > Hope this helps, > > -- > William R. Lorenz _______________________________________________ rrd-users mailing list rrd-users@... https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users |
|
|
Re: Trying to build rrdtool 1.4.1 on RedHat EL4Hi Ulf,
On Mon, 2 Nov 2009, William R. Lorenz wrote: > Hi Ulf, > > On Mon, 2 Nov 2009, Ulf Zimmermann wrote: > >> I am looking at building RRDtool 1.4.1 for our EL4 environment. Looking >> the spec file which was included in the source tar of 1.4.1, it has >> certain requirements: > The .spec file was designed for RHEL5 and above. The last version of > rrdtool I backported to the RHEL4 platform was the latest in 1.2.x. Also, I'm not sure if you were talking about my spec file. I didn't see that you specifically mentioned the one in the tarball; however, mine that I use for my RPM packages will follow the same general rule of thumb. -- William R. Lorenz _______________________________________________ rrd-users mailing list rrd-users@... https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users |
|
|
Re: Trying to build rrdtool 1.4.1 on RedHat EL4> -----Original Message-----
[Ulf Zimmermann]
> From: William R. Lorenz [mailto:wrl@...] > Sent: Monday, November 02, 2009 3:39 PM > To: Ulf Zimmermann > Cc: rrd-users@... > Subject: Re: [rrd-users] Trying to build rrdtool 1.4.1 on RedHat EL4 > > Hi Ulf, > > On Mon, 2 Nov 2009, William R. Lorenz wrote: > > > Hi Ulf, > > > > On Mon, 2 Nov 2009, Ulf Zimmermann wrote: > > > >> I am looking at building RRDtool 1.4.1 for our EL4 environment. > Looking > >> the spec file which was included in the source tar of 1.4.1, it has > >> certain requirements: > > > The .spec file was designed for RHEL5 and above. The last version of > > rrdtool I backported to the RHEL4 platform was the latest in 1.2.x. > > Also, I'm not sure if you were talking about my spec file. I didn't > see > that you specifically mentioned the one in the tarball; however, mine > that > I use for my RPM packages will follow the same general rule of thumb. > > -- > William R. Lorenz Yeah, I was taking the spec file from the 1.4.1 tar file. _______________________________________________ rrd-users mailing list rrd-users@... https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users |
|
|
Re: Trying to build rrdtool 1.4.1 on RedHat EL4Hi Ulf,
the spec file has not been updated recently ... you should not need intltool at all and for pango a lower version might do as well ... the problem with pango is that the library is under heavy development and apart form new featueres there are also important bugfixes going in ... if I remember corectly there were several memory management issues which were resolved over time (not sure which version). In essence the newer the better, but you should be able use older versions to, I am not using any particularly fancy features of pango ... cheers tobi Yesterday Ulf Zimmermann wrote: > I am looking at building RRDtool 1.4.1 for our EL4 environment. Looking the spec file which was included in the source tar of 1.4.1, it has certain requirements: > > Pango >= 1.14 > Intltool >= 0.35.0 > > Both these are not provided by RedHat in a recent enough version, nor are they available in for example rpmforge. Can anyone point me to the exact reasons for requiring the above versions? Would it be possible to change the .spec to the lower version, which could cause consequences. > > Ulf. > > -- Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland http://it.oetiker.ch tobi@... ++41 62 775 9902 / sb: -9900 _______________________________________________ rrd-users mailing list rrd-users@... https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users |
|
|
Re: Trying to build rrdtool 1.4.1 on RedHat EL4Just wondering,
Yesterday Ulf Zimmermann wrote: > > I wished it were so easy ... I got about 250 or so EL4 machines > and upgrading them aint gonna happen any time soon. > > I was mainly looking at rrdtool 1.4.1 because of rrdcached to be > used in conjunction with collectd. Currently we have a large > number of virtual machines and running collectd inside of those, > each has about 75KB/sec writing due to writing to rrd files. have you tried compiling everything according to the build instructions ? of you creaded a tar file for a setup that installs into /opt, that should not be all that bad. cheers tobi > > > > Hope this helps, > > > > -- > > William R. Lorenz > > _______________________________________________ > rrd-users mailing list > rrd-users@... > https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users > > -- Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland http://it.oetiker.ch tobi@... ++41 62 775 9902 / sb: -9900 _______________________________________________ rrd-users mailing list rrd-users@... https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users |
|
|
Re: Trying to build rrdtool 1.4.1 on RedHat EL4> -----Original Message-----
> From: Tobias Oetiker [mailto:tobi@...] > Sent: Monday, November 02, 2009 6:45 PM > To: Ulf Zimmermann > Cc: rrd-users@... > Subject: Re: [rrd-users] Trying to build rrdtool 1.4.1 on RedHat EL4 > > Hi Ulf, > > the spec file has not been updated recently ... > > you should not need intltool at all and for pango a lower version > might do as well ... the problem with pango is that the library is > under heavy development and apart form new featueres there are also > important bugfixes going in ... if I remember corectly there were > several memory management issues which were resolved over time (not > sure which version). In essence the newer the better, but you > should be able use older versions to, I am not using any > particularly fancy features of pango ... I will set the spec file to the lower versions I got and test around with it. I don't actually need the graphing functions for the EL4 systems, just librrd to write to files or rrdcached to send data to a central collecting server. That server is running FreeBSD and had no problems compiling 1.4.1. Any test I have done there so far look good. > > cheers > tobi > > > Yesterday Ulf Zimmermann wrote: > > > I am looking at building RRDtool 1.4.1 for our EL4 environment. > Looking the spec file which was included in the source tar of 1.4.1, it > has certain requirements: > > > > Pango >= 1.14 > > Intltool >= 0.35.0 > > > > Both these are not provided by RedHat in a recent enough version, nor > are they available in for example rpmforge. Can anyone point me to the > exact reasons for requiring the above versions? Would it be possible to > change the .spec to the lower version, which could cause consequences. > > > > Ulf. > > > > > > -- > Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland > http://it.oetiker.ch tobi@... ++41 62 775 9902 / sb: -9900 _______________________________________________ rrd-users mailing list rrd-users@... https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users |
|
|
Re: Trying to build rrdtool 1.4.1 on RedHat EL4> -----Original Message----- > From: Tobias Oetiker [mailto:tobi@...] > Sent: Monday, November 02, 2009 6:47 PM > To: Ulf Zimmermann > Cc: William R. Lorenz; rrd-users@... > Subject: Re: [rrd-users] Trying to build rrdtool 1.4.1 on RedHat EL4 > > Just wondering, > > Yesterday Ulf Zimmermann wrote: > > > > I wished it were so easy ... I got about 250 or so EL4 machines > > and upgrading them aint gonna happen any time soon. > > > > I was mainly looking at rrdtool 1.4.1 because of rrdcached to be > > used in conjunction with collectd. Currently we have a large > > number of virtual machines and running collectd inside of those, > > each has about 75KB/sec writing due to writing to rrd files. > > have you tried compiling everything according to the build > instructions ? of you creaded a tar file for a setup that installs > into /opt, that should not be all that bad. > > cheers > tobi Trying to build a rpm, because of rolling it out to a number of machines. I need to look at collectd what it actually needs for rrdcached. Already running into another problem at manual running configure, which checks glib2 by looking for glib_check_version, which wasn't introduced until glib 2.6 and EL4 has only 2.4.x. Would love to upgrade all to EL5, but as said before, it will take a long time and I am trying to remove the need to write to local files. > > > > > > > > Hope this helps, > > > > > > -- > > > William R. Lorenz > > > > _______________________________________________ > > rrd-users mailing list > > rrd-users@... > > https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users > > > > > > -- > Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland > http://it.oetiker.ch tobi@... ++41 62 775 9902 / sb: -9900 _______________________________________________ rrd-users mailing list rrd-users@... https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users |
|
|
Re: Trying to build rrdtool 1.4.1 on RedHat EL4Ok, I got a working configure now on EL4, I will see to modify the .spec file in a few minutes to see if I can build a rpm from it.
Here is what I have done: Install from RHEL 4 Updates: evolution28-cairo-1.2.4-6.el4.i386.rpm evolution28-cairo-devel-1.2.4-6.el4.i386.rpm evolution28-glib2-2.12.3-6.el4.i386.rpm evolution28-glib2-devel-2.12.3-6.el4.i386.rpm evolution28-pango-1.14.9-11.el4_7.i386.rpm evolution28-pango-devel-1.14.9-11.el4_7.i386.rpm Set LDFLAGS: setenv LDFLAGS -L/usr/evolution28/lib Set PKG_CONFIG_PATH: setenv PKG_CONFIG_PATH /usr/evolution28/lib/pkgconfig:/usr/lib/pkgconfig Run configure: ./configure This results in an ok run as far I can tell. Ulf. _______________________________________________ rrd-users mailing list rrd-users@... https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users |
|
|
Re: Trying to build rrdtool 1.4.1 on RedHat EL4> -----Original Message-----
> From: Ulf Zimmermann > Sent: Tuesday, November 03, 2009 11:25 AM > To: Ulf Zimmermann; 'Tobias Oetiker' > Cc: rrd-users@... > Subject: RE: [rrd-users] Trying to build rrdtool 1.4.1 on RedHat EL4 > > Ok, I got a working configure now on EL4, I will see to modify the > .spec file in a few minutes to see if I can build a rpm from it. > > Here is what I have done: > > Install from RHEL 4 Updates: > > evolution28-cairo-1.2.4-6.el4.i386.rpm > evolution28-cairo-devel-1.2.4-6.el4.i386.rpm > evolution28-glib2-2.12.3-6.el4.i386.rpm > evolution28-glib2-devel-2.12.3-6.el4.i386.rpm > evolution28-pango-1.14.9-11.el4_7.i386.rpm > evolution28-pango-devel-1.14.9-11.el4_7.i386.rpm > > Set LDFLAGS: > > setenv LDFLAGS -L/usr/evolution28/lib > > Set PKG_CONFIG_PATH: > > setenv PKG_CONFIG_PATH > /usr/evolution28/lib/pkgconfig:/usr/lib/pkgconfig > > Run configure: > > ./configure > > This results in an ok run as far I can tell. > > Ulf. Now running into actual compile problems with libxml2. Rrdtool 1.4.1 code wants xmlTextReaderGetParserLineNumber, which was added to libxml2 2.6.17 and EL4 only has 2.6.16, sigh. _______________________________________________ rrd-users mailing list rrd-users@... https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users |
|
|
Re: Trying to build rrdtool 1.4.1 on RedHat EL4Hi Ulf,
On Wed, 4 Nov 2009, Ulf Zimmermann wrote: >> Ok, I got a working configure now on EL4, I will see to modify the >> .spec file in a few minutes to see if I can build a rpm from it. > Now running into actual compile problems with libxml2. Rrdtool 1.4.1 > code wants xmlTextReaderGetParserLineNumber, which was added to libxml2 > 2.6.17 and EL4 only has 2.6.16, sigh. Welcome to my RPM building world. That's why I didn't make EL4 RPMs. ;-) > evolution28-cairo-1.2.4-6.el4.i386.rpm > evolution28-cairo-devel-1.2.4-6.el4.i386.rpm > evolution28-glib2-2.12.3-6.el4.i386.rpm > evolution28-glib2-devel-2.12.3-6.el4.i386.rpm > evolution28-pango-1.14.9-11.el4_7.i386.rpm > evolution28-pango-devel-1.14.9-11.el4_7.i386.rpm Where did you find these evolution28 packages? I may try to take a peek and see if I can't make something work with these and some other packages. Is there a particular site with the SRPMS for these so I can deconstruct? Thanks, -- William R. Lorenz _______________________________________________ rrd-users mailing list rrd-users@... https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users |
|
|
Re: Trying to build rrdtool 1.4.1 on RedHat EL4> -----Original Message-----
> From: William R. Lorenz [mailto:wrl@...] > Sent: Wednesday, November 04, 2009 4:50 PM > To: Ulf Zimmermann > Cc: 'Tobias Oetiker'; rrd-users@... > Subject: Re: [rrd-users] Trying to build rrdtool 1.4.1 on RedHat EL4 > > Hi Ulf, > > On Wed, 4 Nov 2009, Ulf Zimmermann wrote: > > >> Ok, I got a working configure now on EL4, I will see to modify the > >> .spec file in a few minutes to see if I can build a rpm from it. > > > Now running into actual compile problems with libxml2. Rrdtool 1.4.1 > > code wants xmlTextReaderGetParserLineNumber, which was added to > libxml2 > > 2.6.17 and EL4 only has 2.6.16, sigh. > > Welcome to my RPM building world. That's why I didn't make EL4 RPMs. > ;-) > > > evolution28-cairo-1.2.4-6.el4.i386.rpm > > evolution28-cairo-devel-1.2.4-6.el4.i386.rpm > > evolution28-glib2-2.12.3-6.el4.i386.rpm > > evolution28-glib2-devel-2.12.3-6.el4.i386.rpm > > evolution28-pango-1.14.9-11.el4_7.i386.rpm > > evolution28-pango-devel-1.14.9-11.el4_7.i386.rpm > > Where did you find these evolution28 packages? I may try to take a > peek > and see if I can't make something work with these and some other > packages. > Is there a particular site with the SRPMS for these so I can > deconstruct? They are part of RH EL4 Updates, also available via CentOS. They provided an Evolution 2.8 package, which needs these updated libraries. Using them I continued on trying to build rrdtool. Next stopper was rrd_restore.c wanting to use xmlTextReaderGetParserLineNumber when printing out errors about importing. This function was defined in libxml2 2.6.17, EL4 only has 2.6.16. Got around it by just doing #define xmlTextReaderGetParserLineNumber(xmlTextReaderPtr) 0 Which just means any error will show line 0, instead of the real line when there is an import. Continuing on the next hurdle was dejavu-lgc-fonts, which is available on EL5, is noarch but requires fontconfig >= 2.3, I rebuild it for now setting fontconfig requirement to just >= 2.2. Now the rpm refuses still to install because of it is looking for libpangocairo-1.0.so.0, which is in /usr/evolution28/lib, but the evolution28 rpms don't add any ld.conf file to point there, so I am still trying to figure out how to teach rpmbuild/rpm to look there for the libs for installing and running. As compiled it does: el4build ulf rpmbuild/SPECS > ldd /usr/bin/rrdtool librrd.so.4 => /usr/lib/librrd.so.4 (0x00c7a000) libxml2.so.2 => /usr/lib/libxml2.so.2 (0x008f2000) libpthread.so.0 => /lib/tls/libpthread.so.0 (0x004b4000) libm.so.6 => /lib/tls/libm.so.6 (0x00295000) libpangocairo-1.0.so.0 => not found libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x0013e000) libcairo.so.2 => /usr/lib/libcairo.so.2 (0x00821000) libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x0089d000) libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x00886000) libdl.so.2 => /lib/libdl.so.2 (0x00111000) libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00174000) libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00a3d000) libz.so.1 => /usr/lib/libz.so.1 (0x0088b000) libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00d6e000) libpng12.so.0 => /usr/lib/libpng12.so.0 (0x00676000) libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0x00adc000) libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x004c8000) libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x005a9000) libc.so.6 => /lib/tls/libc.so.6 (0x002b8000) /lib/ld-linux.so.2 (0x00127000) libpangocairo-1.0.so.0 => not found libdirectfb-1.2.so.0 => /usr/lib/libdirectfb-1.2.so.0 (0x00f6d000) libfusion-1.2.so.0 => /usr/lib/libfusion-1.2.so.0 (0x00498000) libdirect-1.2.so.0 => /usr/lib/libdirect-1.2.so.0 (0x001ef000) libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x006c3000) libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x00202000) libexpat.so.0 => /usr/lib/libexpat.so.0 (0x0021a000) > > Thanks, > > -- > William R. Lorenz _______________________________________________ rrd-users mailing list rrd-users@... https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users |
|
|
Re: Trying to build rrdtool 1.4.1 on RedHat EL4Hi Ulf,
I'm going to trim some of the reply and top-post, for brevity ... Are you able to get the rrdtool 1.4.1 fully working from source compile? If so, is there any helpful info you could share RE the packages and/or independent sources you had to install due to pre-existing EL4 versions? Does it even work from a source compile on a stock EL4 + evolution28 box? Thanks, -- William R. Lorenz On Wed, 4 Nov 2009, Ulf Zimmermann wrote: > Using them I continued on trying to build rrdtool. Next stopper was > rrd_restore.c wanting to use xmlTextReaderGetParserLineNumber when > printing out errors about importing. This function was defined in > libxml2 2.6.17, EL4 only has 2.6.16. Got around it by just doing [...] > Continuing on the next hurdle was dejavu-lgc-fonts, which is available > on EL5, is noarch but requires fontconfig >= 2.3, I rebuild it for now > setting fontconfig requirement to just >= 2.2. > Now the rpm refuses still to install because of it is looking for > libpangocairo-1.0.so.0, which is in /usr/evolution28/lib, but the > evolution28 rpms don't add any ld.conf file to point there, so I am > still trying to figure out how to teach rpmbuild/rpm to look there for > the libs for installing and running. As compiled it does: _______________________________________________ rrd-users mailing list rrd-users@... https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users |
| Free embeddable forum powered by Nabble | Forum Help |