pari seems to depend on x11 #15293

Closed
laurentbartholdi opened this Issue Oct 4, 2012 · 6 comments

6 participants

@laurentbartholdi

Title says it all: I tried 'brew install pari', and up came an error message

==> make all
ld: library not found for -lX11
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I then added 'depends_on :x11' in the formula, and ta-da.

@adamv adamv added a commit that closed this issue Oct 4, 2012
@adamv adamv pari depends on x11
Fixes #15293.
801734c
@adamv adamv closed this in 801734c Oct 4, 2012
@Nexuapex

Is this why pari fails to upgrade, complaining that I don't have XQuartz installed? Somehow I managed to install pari 2.5.1 without X11, and now upgrading to 2.5.3 requires it?

@MikeMcQuaid
Homebrew member

Fixed. This doesn't depend on X11.

@MikeMcQuaid MikeMcQuaid added a commit that referenced this issue Nov 30, 2012
@MikeMcQuaid MikeMcQuaid pari: doesn't depend on X11.
References #15293.
92d3794
@snakeyroc3 snakeyroc3 pushed a commit to snakeyroc3/homebrew that referenced this issue Dec 17, 2012
@adamv adamv pari depends on x11
Fixes #15293.
653539b
@snakeyroc3 snakeyroc3 pushed a commit to snakeyroc3/homebrew that referenced this issue Dec 17, 2012
@MikeMcQuaid MikeMcQuaid pari: doesn't depend on X11.
References #15293.
44ebf46
@gwydirsam gwydirsam added a commit that referenced this issue Jan 2, 2013
@MikeMcQuaid MikeMcQuaid pari: doesn't depend on X11.
References #15293.
8ec3632
@GeeF

pari depends on X11.
Adding depends_on :x11 to the formula works for me.

@mthome

Sure looks like pari depends on X11:
$ brew install pari
==> Downloading http://pari.math.u-bordeaux.fr/pub/pari/unix/pari-2.5.3.tar.gz
Already downloaded: /Library/Caches/Homebrew/pari-2.5.3.tar.gz
==> ./Configure --prefix=/usr/local/Cellar/pari/2.5.3 --without-gmp --with-readline-include=/usr/local/Cellar/readline/6.2.4/include --with-readline-lib=/usr/local/
==> make all
ld: library not found for -lX11
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [gp-dyn] Error 1
make[1]: *** [gp] Error 2
make: *** [all] Error 2

@GeeF

@adamv This needs to be reopened.

@adamv

@GeeF open a new ticket

@xu-cheng xu-cheng locked and limited conversation to collaborators Feb 16, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.