Skip to content
This repository has been archived by the owner on Jan 16, 2025. It is now read-only.

subversion (--universal --java) failed to build on 10.9.3 #30073

Closed
DKroot opened this issue Jun 11, 2014 · 17 comments
Closed

subversion (--universal --java) failed to build on 10.9.3 #30073

DKroot opened this issue Jun 11, 2014 · 17 comments

Comments

@DKroot
Copy link

DKroot commented Jun 11, 2014

Failed >brew install -v --universal --java subversion
This is being done per instructions from Subclipse project: http://subclipse.tigris.org/wiki/JavaHL#head-5bf26515097c3231c1b04dfdb22c036bc511926b

Here are logs:
https://gist.github.com/DKroot/8a186c027a6cd53354dd

@mistydemeo
Copy link
Contributor

It looks like it's not detecting your sqlite. Try brew reinstall sqlite --universal first, then retry building svn.

@DKroot
Copy link
Author

DKroot commented Jun 11, 2014

Yeah, I did something along this lines. sqllite complains that it is already in OS X and suggest to add compilation flags, but I'm not sure where to add flags:

~> brew reinstall sqlite --universal
==> Reinstalling sqlite with --universal
==> Downloading http://sqlite.org/2014/sqlite-autoconf-3080403.tar.gz
Already downloaded: /Library/Caches/Homebrew/sqlite-3.8.4.3.tar.gz
==> ./configure --prefix=/usr/local/Cellar/sqlite/3.8.4.3 --enable-dynamic-extensions
==> make install
==> Caveats
This formula is keg-only, so it was not symlinked into /usr/local.

Mac OS X already provides this software and installing another version in
parallel can cause all kinds of trouble.

OS X provides an older sqlite3.

Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:

LDFLAGS:  -L/usr/local/opt/sqlite/lib
CPPFLAGS: -I/usr/local/opt/sqlite/include

@jacknagel
Copy link
Contributor

Yeah, I did something along this lines. sqllite complains that it is already in OS X and suggest to add compilation flags, but I'm not sure where to add flags:

It's not complaining, this is just boilerplate messaging explaining why sqlite is not linked into the prefix by default. The installation of sqlite succeeded.

@DKroot
Copy link
Author

DKroot commented Jun 14, 2014

Well, if it succeeded, why did subversion fail to build with:

configure: error: Subversion requires SQLite

@jacknagel
Copy link
Contributor

I don't know. I'm just pointing out that there was no error during the sqlite install.

@mistydemeo
Copy link
Contributor

Can you gist the contents of the config.log, please?

@DKroot
Copy link
Author

DKroot commented Jun 14, 2014

Done. Updated the Gist with subversion / config.log.

@adamv
Copy link
Contributor

adamv commented Jun 15, 2014

Can we confirm that your sqlite is built with --universal?

@DKroot
Copy link
Author

DKroot commented Jun 16, 2014

adamv,

Yes, the listing I provided above was from >brew reinstall sqlite --universal

@npacenop
Copy link

I know this thread has been dead for a while, but I hope that posting mine resolution of the problem here might help someone else - I was simply missing the mavericks command line tools.
These you can get either by typing xcode-select --install in a terminal prompt of your choice, or by visiting https://developer.apple.com/downloads/index.action and searching for "command line tools" and selecting the most recent version for mavericks.
Cheers.

@DKroot
Copy link
Author

DKroot commented Jul 22, 2014

nortimer,

thanks for a suggestion. I had installed Command Line Tools manually, but it did not make any difference for my problem.

@jacknagel
Copy link
Contributor

I would again try:

$ brew update
$ brew rm sqlite
$ brew install subversion --universal --java

If that fails, then I would like to see gists for both sqlite and subversion, i.e. brew gist-logs sqlite and brew gist-logs subversion.

@jacknagel
Copy link
Contributor

And also file /usr/local/opt/sqlite/lib/libsqlite3.0.dylib

@DKroot
Copy link
Author

DKroot commented Sep 10, 2014

Trying... It died on the entirely different issue this time:

==> ./configure --prefix=/usr/local/Cellar/subversion/1.8.10_1 --with-apr=/opt/local/bin --with-zlib=/usr --with-sqlite=/usr/lo
An appropriate version of serf could not be found, so libsvn_ra_serf
will not be built.  If you want to build libsvn_ra_serf, please
install serf 1.2.1 or newer.

configure: error: Serf was explicitly enabled but an appropriate version was not found.

READ THIS: https://github.com/Homebrew/homebrew/wiki/troubleshooting`

Is there a formula for serf? Any advice?

@jacknagel
Copy link
Contributor

serf is vendored in the subversion formula. Please post brew gist-logs subversion.

@DKroot
Copy link
Author

DKroot commented Sep 13, 2014

Sure, here they are: https://gist.github.com/8de5264bedff8f081e9e

@jacknagel
Copy link
Contributor

A lot of MacPorts flags are being used due to presence of /opt/local/bin/apr-1-config. Is there a serf installed there?

@Homebrew Homebrew locked and limited conversation to collaborators Feb 17, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants