Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Installing from source ./configure can't find texlive

I'm trying to install SageMath from source on Ubuntu 20.04. ./configure says, among other things that are less a concern to me:

Checking whether SageMath should install SPKG texlive...
checking for pdflatex... /usr/local/texlive/2022/bin/x86_64-linux/pdflatex
checking for latexmk... /usr/local/texlive/2022/bin/x86_64-linux/latexmk
checking for dvipng... /usr/local/texlive/2022/bin/x86_64-linux/dvipng
checking for latex package fontspec... no
checking for latex package xunicode... no
checking for latex package xltxtra... no
checking for latex package amssymb... yes
checking for latex package amsfonts... yes
checking for latex package graphicx... no
checking for latex package mathrsfs... no
checking for latex package textcomp... no
checking for latex package tikz... no
checking for latex package tikz-qtree... no
checking for latex package iftex... yes
checking for latex package tkz-berge... no
checking for latex package tkz-graph... no
checking for latex package xy... no
checking for latex package babel... no
checking for latex package subfigure... no
checking for latex package hyperref... no
checking for latex package hypcap... no
checking for latex package xr... no
checking for latex package tgtermes... no
checking for latex package fncychap... no
configure: no suitable system package found for SPKG texlive

I always install the latest version of texlive, and ./configure does indeed find pdflatex, as you see. All the packages are there, I use some of them all the time and I keep my installation updated frequently. The $PATH is set up as per the instructions of texlive. I really wouldn't like Sage to install another texlive in my system because that will break things.

Is there any way I can tell ./configure where to find those packages?