On 01/15/2010 05:39 PM, Daniel Pocock wrote: >> I built it on my AIX 5.3 build host and you have to have the >> following RPMs installed as prereqs for Ganglia to compile (you can >> get all those from my website http://www.perzl.org/aix): >> >> Here are the versions I used: >> apr-1.3.9 and apr-devel-1.3.9 >> libconfuse-2.6 and libconfuse-devel-2.6 >> expat-2.0.1 and expat-devel-2.0.1 >> rrdtool-1.2.30 and rrdtool-devel 1.2.30 >> > Do I need to take any action, e.g. do you want configure to check for > these? > Are you trying to use the spec file and do you want it to enforce > those versions, or is this information just for the README? No, I was just summarizing what prereqs I was using for my tests. This is definitely something for the README.
>> which finished successfully. The compilation (just using "make") ran >> successfully until the gmond link step. >> The changed patch of BUG227 looks good to me, however now that >> "fabsf()" is required the link step fails as no "-lm" is specified >> for the gmond link step. >> > > For AIX < 5.2, it should be using fabs, not fabsf. The macro causes > the fabsf call to be redirected to fabs > > -lm will definitely be in the next snapshot I give you - is this > needed for all AIX versions or just some versions? yes, for AIX 5.1 the macro is expanded to fabs. On my build hosts (AIX 5.1, 5.2, 5.3 and 6.1) "-lm" is always needed. > I was looking at a document that told me _AIX52 would be defined on > all versions >= 5.2 - do you believe that is correct, or is it only > defined on that exact version? Speaking for the IBM XLC/C++ compiler this is definitely true, for GCC I still have to check. I always set the appropriate environment variables on the different levels of AIX (I don't want to run into any surprises :-) ) as documented at: http://www.perzl.org/aix/index.php?n=Main.Instructions >> The following patch is absolutely required to get it working on AIX 6.1: > I will apply this patch for the next snapshot - this will be safe on > any AIX version? Yes, I have just verified it on AIX 5.1, 5.2, 5.3 and 6.1. > I had already applied that on the branch, but to make the code > portable between AIX and other platforms, I did this by setting > EXPORT_SYMBOLS_DYNAMIC in configure.in and using it's value in > gmond/Makefile.am > > Can you please look at whether EXPORT_SYMBOLS_DYNAMIC is being used > properly? Please share the output of this command: > > egrep 'DYN|STATIC' config.status Here the output against config.status in the Ganglia root directory: s,@STATIC_BUILD_TRUE@,|#_!!_#|#,g s,@STATIC_BUILD_FALSE@,|#_!!_#|,g s,@STATIC_USER_MODULES@,|#_!!_#|,g s,@EXPORT_SYMBOLS_DYNAMIC@,|#_!!_#|-Wl\,-bexpfull,g The output against libmetrics/config.status is empty. >> I also had to apply the following patch to libmetrics/aclocal.m4 >> (essentially removing any "-berok" occurrences): > I want to avoid patching aclocal.m4 and try to find the right way to > make this work > > Looking at the comments in the code, do you know about the -brtl > suggestion? Can you try that flag in your LDFLAGS? I will comment this separately, this takes longer :-) > Could you also post this particular issue on the list > autom...@gnu.org? Someone else may already know the solution straight > away. Ok, good tip. Regards, Michael ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev _______________________________________________ Ganglia-developers mailing list Ganglia-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-developers