ntop doesn't add to or subtract from the native locations. Whatever the list used natively by the gcc compiler and/or ld linker is what it is. AFAIK, everything from Sun Freeware installs into /usr/local, but it's up to the SysAdmin to add them to /etc/ld.so.conf or whatever it's called under Solaris.
If they're not part of the 'native' install, then you have to tell ntop and that's what the --with flags are for. Why do you care what the gcc lines look like? As long as they work?? As a general rule, I'll accept any reasonable change in the configureextra/<os>[<distro>][<release>] files, but I'm going to become a lot more pig-headed about changes to configure.in -----Burton -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Chris Turbeville Sent: Saturday, August 23, 2003 2:17 PM To: [EMAIL PROTECTED] Subject: Re: [Ntop-dev] rrdPlugin under Sparc Sol9 (gd) > > Well, for libgd, you may need to use --with-gd-root or --with-gd-lib > and --with-gd-include. ./configure --with-gd-root=/usr/local works ok. It is a bit counter intuitive as /usr/local is usually assumed as a "system" path but it'll work. > > Or you may need to set BOTH in configureextra/SOLARIS9 (maybe you should > set INCS not CPPFLAGS?) I really don't know - everywhere else, setting > CPPFLAGS has been good enough. It could be that one of the derived fields > is picking up different stuff vs. Linux. I'm about to commit a set of > changes to ./configure, part of which improves and rationalizes the debug > feature. You'll be able to export NTOPCONFIGDEBUG=yes and then see the ebb > and flow of all these variables throughout the ./configure process. The problem is I need /usr/local/include and /opt/sfw/include added to both CPPFLAGS and INCS to make it automatic and that results in very messy gccs. configure only looks for things in paths in CPPFLAGS and Makefiles only use the INCS for compiling. BTW thanks for the DEBUG flags they are very usefull. -Chris -- [EMAIL PROTECTED] Chris Turbeville NTT/VERIO Send mail with subject "send PGP Key" for PGP 6.5.2 Public key _______________________________________________ Ntop-dev mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop-dev _______________________________________________ Ntop-dev mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop-dev
