On Tue, Apr 1, 2008 at 3:36 PM, Bernard Li <[EMAIL PROTECTED]> wrote:
> Working configure's config.log: > > This file contains any messages produced by compilers while > running configure, to aid debugging if configure makes a mistake. > > It was created by configure, which was > generated by GNU Autoconf 2.59. Invocation command line was > > $ ./configure --build=i686-redhat-linux-gnu > --host=i686-redhat-linux-gnu --target=i386-redhat-linux-gnu > --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin > --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share > --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec > --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man > --infodir=/usr/share/info --with-gmetad > > Non-working configure's config.log: > > $ ./configure > > What happened to the configure options?? Actually, the above configure options were appended by RPM during rpmbuild, so ignore that. Carlo, it looks like r1179 broke configure for me: http://ganglia.svn.sourceforge.net/viewvc/ganglia/trunk/monitor-core/configure.in?r1=1179&r2=1178&pathrev=1179 This results in passing "-L" with no arguments: gcc -o conftest -g -O2 -L conftest.c -lapr-1 -lpthread -ldl -lpthread On my system: # apr-1-config --link-ld -lapr-1 I'll revert this in my local checkout for now. Also, in the following code snippet: 1064 carenas if test -f "$libaprpath" ; then 1064 carenas APR_INCLUDES=`$libaprpath --includes` 1064 carenas AC_SUBST(APR_INCLUDES) 1072 carenas APR_LIBPATH=`$libaprpath --link-ld` 1072 carenas LDFLAGS="$LDFLAGS -L`expr "x$APR_LIBPATH" : '.*-L\(.*\) '`" 1168 carenas AC_CHECK_LIB(apr-1, apr_socket_send,,,[`$libaprpath --libs`]) 1064 carenas else 1064 carenas CFLAGS="$CFLAGS -I$libaprpath/include" 1064 carenas LDFLAGS="$LDFLAGS -L$libaprpath/lib" 1064 carenas echo "Added -I$libaprpath/include to CFLAGS" 1065 carenas echo "Added -L$libaprpath/lib to LDFLAGS" 1168 carenas AC_CHECK_LIB(apr-1, apr_socket_send) 1064 carenas fi I think you meant to put down "$libaprpath/apr-1-config --includes", etc. Regards, Bernard ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Ganglia-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ganglia-developers
