On Thu, 2005-02-10 at 22:00 -0500, Andrew Pinski wrote:
> On Feb 10, 2005, at 9:13 PM, Richard Kenner wrote:
> 
> >     Next time you don't want to deal with configuring source, install 
> > the
> >     binaries.
> >
> > I don't think that's fair.  There are a very wide variety of machines
> > used for GCC development and we want to *encourage* that.
It was perfectly fair. He's complaining the source has dependencies, and
uses configure to find out what is available, and complains when it
can't find the things it absolutely depends on.
(He neglected to mention that it tells you what to get and where to get
it, including urls, of course)

He's also just flat out not reading.
He complains it doesn't tell him what he's missing, giving the example
of the database backend.
However, the configure script contains this, and removing bdb libraries
prints this message:

You don't seem to have Berkeley DB version $db_version or newer
installed and linked to APR-UTIL.  We have created Makefiles which
will build without the Berkeley DB back-end; your repositories will
use FSFS as the default back-end.  You can find the latest version of
Berkeley DB here:
  http://www.sleepycat.com/download/index.shtml


When it detects a missing apr, which is a requirement, it prints:

  echo "The Apache Portable Runtime (APR) library cannot be found."
  echo "Please install APR on this system and supply the appropriate"
  echo "--with-apr option to 'configure'"
  echo ""
  echo "or"
  echo ""
  echo "get it with SVN and put it in a subdirectory of this source:"
  echo ""
  echo "   svn co \\"
  echo "    http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x \\"
  echo "    apr"
  echo ""
  echo "Run that right here in the top level of the Subversion tree,"
  echo "then run autogen.sh again."
  echo ""
  echo "Whichever of the above you do, you probably need to do"
  echo "something similar for apr-util, either providing both"
  echo "--with-apr and --with-apr-util to 'configure', or"
  echo "getting both from SVN with:"
  echo ""
  echo "   svn co \\"
  echo "    http://svn.apache.org/repos/asf/apr/apr-util/branches/0.9.x
\\"
  echo "    apr-util"
  echo ""

How absolutely unfriendly!
It told you where you can check it out, and exactly what to do when you
got it!



>   Plus, some
> > people may use NFS and do filesystem stuff on a different machine than
> > they use for GCC development.  You can't always assume that binaries 
> > are
> > available for every machine in question.


I wasn't. I was simply stating that if one is going to complain about
having to get source to build from source, one is in the wrong business.
Because every user program depends on some library or another.
This one tlels you what the libraries are and where to get them, without
having to google around to find the real source.


> >
> > I was concerned about the difficulty in building svn and must say that 
> > I
> > wasn't at all encouraged by this report.
> 
> I think this report was misleading.  I just did a build with no options 
> to svn
> on powerpc-darwin (aka Mac OS X) and I had troubles.

I also have built svn on an osx machine with *nothing* but the developer
tools installed, with absolutely no trouble.
I know David has built it on aix.
Anyone is free to try and build it on the platform they use to develop
gcc.
If it does not work, please, let me know.

Kenner, before you complain about difficulties building it, you should
probably try building it.
If you run into trouble, please feel free to also complain on the
subversion/apr/whatever mailing list, and i'm sure they'll be happy to
fix their source if it's broken or not working.



Reply via email to