texinfo is not necessary.
Just try

make build



On Sun, 12 Jun 2022, 15:48 David Kohel, <drko...@gmail.com> wrote:

> This still gave the same error.  If I instead deactivate conda, I get
> further, but
> with the homebrew installation it fails to find texinfo:
>
> configure:
>
>     hint: installing the following system packages, if not
>     already present, may provide additional optional features:
>
>       $ brew install texinfo
>
>     Homebrew can issue suggestions regarding keg-only packages.
>     The following command is to automatically apply these suggestions
>     for packages relevant for Sage to make them available for the build.
>     Run it once to apply the suggestions for the current session.
>     Add it to your shell profile to apply them for all future sessions.
>
>       $ source /usr/local/sage-9.6/.homebrew-build-env
>
> configure:
>
>     hint: After installation, re-run configure using:
>
>       $ ./config.status --recheck && ./config.status
>
> Following these instructions it verifies that the texinfo is installed,
> but I get the
> same failure from configuration.
>
> Is there any chance that this would be easier to debug?  The full log is
> attached.
>
> --David
>
> On Sunday, June 12, 2022 at 3:06:45 PM UTC+2 dim...@gmail.com wrote:
>
>> On Sun, Jun 12, 2022 at 1:23 PM David Kohel <david...@univ-amu.fr>
>> wrote:
>> >
>> > I'm been unable to compile Sage on my MacOS laptop (Monterrey, x86
>> intel)
>> >
>> > I've tried installing all homebrew packages requested, but it tends to
>> > still not
>> > find them (path problem?). I switched to using conda, following the
>> > directions
>> > here:
>> >
>> > https://doc.sagemath.org/html/en/installation/conda.html
>> >
>> > but it fails with the error message below (another path problem?). The
>> > config
>> > log file is attached.
>> >
>> > Any suggestions would be appreciated.
>> >
>> > --David Kohel
>> >
>> > Checking whether SageMath should install SPKG gmp...
>> > checking gmp.h usability... yes
>> > checking gmp.h presence... no
>> > configure: WARNING: gmp.h: accepted by the compiler, rejected by the
>> > preprocessor!
>> > configure: WARNING: gmp.h: proceeding with the compiler's result
>> > checking for gmp.h... yes
>> > checking gmpxx.h usability... yes
>> > checking gmpxx.h presence... no
>> > configure: WARNING: gmpxx.h: accepted by the compiler, rejected by the
>> > preprocessor!
>> > configure: WARNING: gmpxx.h: proceeding with the compiler's result
>> > checking for gmpxx.h... yes
>> > checking for library containing __gmpq_cmp_z... -lgmp
>> > configure: will use system package and not install SPKG gmp
>> > checking absolute name of <gmp.h>... checking for gmp.h... (cached) yes
>> >
>> > configure: error: failed to find absolute path to gmp.h despite it
>> being
>> > reported found
>> >
>> this is due to the test in build/pkgs/gmp/spkg-configure.m4
>>
>> AX_ABSOLUTE_HEADER([gmp.h])
>> if test x$gl_cv_absolute_gmp_h = x; then
>> AC_MSG_ERROR(m4_normalize([
>> failed to find absolute path to gmp.h despite it being reported
>> found
>> ]))
>> fi
>> AC_SUBST(SAGE_GMP_INCLUDE, [`AS_DIRNAME($gl_cv_absolute_gmp_h)`])
>>
>> Replace this fragment with
>>
>> AC_SUBST(SAGE_GMP_INCLUDE, [' '])
>>
>> and re-run ./bootstrap
>>
>> this will disable this check - I also assume that any package that
>> potentially needs
>> the correct value of SAGE_GMP_INCLUDE actually comes from Conda anyway,
>> and so
>> this value, the absolute path to GMP include headers, is not relevant;
>> it can also be replaced with the value in question, say, /foo/bar, if
>> needed, by using instead
>>
>> AC_SUBST(SAGE_GMP_INCLUDE, ['/foo/bar/'])
>>
>>
>>
>>
>>
>>
>> > --
>> > You received this message because you are subscribed to the Google
>> Groups "sage-devel" group.
>> > To unsubscribe from this group and stop receiving emails from it, send
>> an email to sage-devel+...@googlegroups.com.
>> > To view this discussion on the web visit
>> https://groups.google.com/d/msgid/sage-devel/86561d45-63e9-69fb-9361-4142fa731a9d%40univ-amu.fr.
>>
>>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-devel+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-devel/c36d2ce8-7d2c-4846-aa13-41ba4a297b70n%40googlegroups.com
> <https://groups.google.com/d/msgid/sage-devel/c36d2ce8-7d2c-4846-aa13-41ba4a297b70n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAAWYfq1%3DTCUWGfd-PH-ZjwEK7vFzJa9-xk7qeGxerTSQR6DoBg%40mail.gmail.com.

Reply via email to