Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

pari seems to depend on x11 #15293

Closed
laurentbartholdi opened this Issue · 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 closed this issue from a commit
@adamv adamv pari depends on x11
Fixes #15293.
801734c
@adamv adamv closed this in 801734c
@allenhuang allenhuang referenced this issue from a commit
Commit has since been removed from the repository and is no longer available.
@theirix theirix referenced this issue from a commit
Commit has since been removed from the repository and is no longer available.
@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
Owner

Fixed. This doesn't depend on X11.

@mikemcquaid mikemcquaid referenced this issue from a commit
@mikemcquaid mikemcquaid pari: doesn't depend on X11.
References #15293.
92d3794
@nilsonholger nilsonholger referenced this issue from a commit
Commit has since been removed from the repository and is no longer available.
@snakeyroc3 snakeyroc3 referenced this issue from a commit in snakeyroc3/homebrew
@adamv adamv pari depends on x11
Fixes #15293.
653539b
@snakeyroc3 snakeyroc3 referenced this issue from a commit in snakeyroc3/homebrew
@mikemcquaid mikemcquaid pari: doesn't depend on X11.
References #15293.
44ebf46
@gwydirsam gwydirsam referenced this issue from a commit
@mikemcquaid mikemcquaid pari: doesn't depend on X11.
References #15293.
8ec3632
@cooljeanius cooljeanius referenced this issue from a commit
Commit has since been removed from the repository and is no longer available.
@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
Owner

@GeeF open a new ticket

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.