[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: building on osx

From: Max Bowsher <maxb_at_ukf.net>
Date: 2005-02-06 23:05:05 CET

Jon Scott Stevens wrote:
> I would do the following:
>
> #1. Bundle SWIG with the src distribution and make it part of the build
> process. It's under a BSD license so that is easily possible and the
> tar.gz is only 2megs (.24 is 3megs).

Several megs is a *lot* for a non-core dependency.

...
> #2. I would consider putting a special case into the build system for
> OSX to look for libs in "/sw" which is the default fink installation
> path.

Fink's /sw/bin/init.sh is pretty comprehensive about revealing /sw.
I don't think special cases should be needed.

> libiconv is distributed with OSX by default, but for whatever
> reason, the configure system finds the /sw version first but forgets to
> add -L/sw/lib to the build.

Now *that's* a bug.

> #3. I would make SWIG_LDFLAGS settable from environment variables (and
> not just after make) and I would make it default to inheriting the
> LDFLAGS settings...or maybe just this is enough...
>
> [4][ /usr/local/src/subversion/subversion-1.1.3 ]# diff build.conf.bak
> build.conf
> 343c343
> < link-cmd = $(LINK) $(SWIG_LDFLAGS) $(SWIG_PY_LIBS)
> ---
>> link-cmd = $(LINK) $(LDFLAGS) $(SWIG_LDFLAGS) $(SWIG_PY_LIBS)

I'm not in favour of opening up the guts of configure even more, but
whatever lack of propagation of flags you are seeing is certainly a bug.

Could you give a summary of the environment to cause the failure?
(Sorry if you already have, I've been very busy lately, and unable to follow
the mailing lists in detail.)

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Feb 6 23:11:30 2005

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.