Hi Luc, good to know you are happy now. As I do not remember exactely what I told you back then, would you be willing to do a final experiment? Just remove all "config.cache" files from the tree before doing "configure" (with the original configure script). And/or do a "make distclean" before.
Could be a "sed" problem. Mine is newer (4.1.4), but we never had a requirement on the sed-version. Cheers Martin --- Luc Gauthier <[EMAIL PROTECTED]> wrote: > Hi Martin, > > I finally had time to come back to my problem compiling ganglia on > Irix... > > Thanks to your hint, I managed to have everything working ! If you > remember, you suggested I should investigate those error messages I > got > when running the 'configure' script: > > ________________________________________________________________________ > Configuring expat ... > > configure: loading > cache /home/master/shared/lgauthie/ganglia/ganglia-3.0.2/config.cache > ./configure[1347]: syntax error at line 157 : `(' unexpected > > Configuring apr ... > > configure: loading > cache /home/master/shared/lgauthie/ganglia/ganglia-3.0.2/config.cache > ./configure[1398]: syntax error at line 157 : `(' unexpected > > Configuring libconfuse ... > > configure: loading > cache /home/master/shared/lgauthie/ganglia/ganglia-3.0.2/config.cache > ./configure[1428]: syntax error at line 157 : `(' unexpected > > ________________________________________________________________________ > > Those error messages did not stop the 'configure' script from running > but I had those strange error messages (hard links not adjusted to > our > directory architecture) when gmake'ing: > gmake[3]: *** No rule to make target > `/home/scratch/ganglia-cvs/ganglia- > post-2_5_7/monitor-core/srclib/apr/build/apr_rules.mk'. Stop. > > So I decided to take a look at line 157 of the config.cache file that > was giving the errors at configuration time and here it is: > test "${lt_cv_sys_global_symbol_to_c_name_address+set}" = set || > lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^\'^: \([^ > \'^ ]*\) $/ {\"\1\", (lt_ptr) 0},/p'\'' -e '\''s/^\'^[BCDEGRST] \([^ > \'^ ]*\) \([^\'^ ]*\)$/ {"\2", (lt_ptr) \&\2},/p'\' > > Unfortunately, I must admit I am not advanced enough to rapidly see > where is that unexpected '('. And since I did not have enough time to > investigate it, I decided to refrain 'expat', 'apr' and 'libconfuse' > from using the cache file at configuration time. To do so, I simply > modified three lines in the 'configure' file (line number between > square > brackets): > > ________________________________________________________________________ > [2119] cd srclib/expat && ./configure --cache-file= > $ganglia_popdir/config.cache > became > [2119] cd srclib/expat && ./configure > > [2123] cd srclib/apr && ./configure --cache-file= > $ganglia_popdir/config.cache > became > [2123] cd srclib/apr && ./configure > > [2127] cd srclib/confuse && ./configure --cache-file= > $ganglia_popdir/config.cache --disable-nls > became > [2127] cd srclib/confuse && ./configure --disable-nls > > ________________________________________________________________________ > > So those three modules do the whole configuration step from scratch. > Of > course, it takes more time and this is not the best way to do the job > but in the end, the gmake step goes all the way to the end and I get > the > binaries I've been waiting for ! :) Now that I have them, I can go on > and try to set up ganglia on our network. I'll come back to the list > if > I have problems there. > > Thanks again for your help and if it can help, here is a summary of > the > tools I have on the machine I compiled ganglia on : > - OS: IRIX 6.5.24m > - sed: GNU sed version 4.0.7 > - test: test (GNU sh-utils) 2.0 > - automake: automake (GNU automake) 1.7.5 > - autoconf: autoconf (GNU Autoconf) 2.57 > - gmake: GNU Make 3.80 > - install: install (fileutils) 4.1 > > > Best regards, > Luc Gauthier > > > > > > > Le mercredi 25 janvier 2006 � 06:19 -0800, Martin Knoblauch a �crit : > > > Hi Luc, > > > > yes, the "native" IRIX does not support "--version". Actually, > using > > "gmake" is the right thing to do. > > > > Your toolchain seems older than mine (automake-1.9.5, > autoconf-2.59, > > libtool-1.5.20), but newer than the recommended (1.6.3, 2.53, > 1.4.2). > > What is the version of "libtool"? > > > > In any case, what worries me are the syntax errors from configure. > > Maybe you can check what they are about. > > > > > Configuring expat ... > > > > > > configure: loading cache > > > /home/master/shared/ganglia_src/ganglia-3.0.2/config.cache > > > ./configure[1347]: syntax error at line 157 : `(' unexpected > > > > > > Configuring apr ... > > > > > > configure: loading cache > > > /home/master/shared/ganglia_src/ganglia-3.0.2/config.cache > > > ./configure[1398]: syntax error at line 157 : `(' unexpected > > > > > > Configuring libconfuse ... > > > > > > configure: loading cache > > > /home/master/shared/ganglia_src/ganglia-3.0.2/config.cache > > > ./configure[1428]: syntax error at line 157 : `(' unexpected > > > > Also, could you reproduce a list of files with those wrong pathes > > (after configure). > > > > And no, IRIX 6.5.24m vs. 6.5.27m should not make a difference. > > > > Thanks > > Martin > > > > --- Luc Gauthier <[EMAIL PROTECTED]> wrote: > > > > > Hi Martin, > > > > > > Quite surprisingly, I was unable to determine the version of > 'make' > > > that > > > is installed on the machine. There is indeed no option or way to > get > > > the > > > version. So I guess we could describe it as "the version of make > that > > > comes with Irix 6.5.24m". > > > > > > > > > ------------------------------------------------------ > > Martin Knoblauch > > email: k n o b i AT knobisoft DOT de > > www: http://www.knobisoft.de > ------------------------------------------------------ Martin Knoblauch email: k n o b i AT knobisoft DOT de www: http://www.knobisoft.de