On Sun, Nov 3, 2019 at 6:49 AM David Joyner <wdjoy...@gmail.com> wrote:

>
>
> On Sun, Nov 3, 2019 at 3:00 AM Dima Pasechnik <dimp...@gmail.com> wrote:
>
>> looks like gd package didn't install right.
>>
>> you can install gd via Homebrew:
>>
>> https://formulae.brew.sh/formula/gd
>>
>> also, by the way, install pkg-config
>>
>> https://formulae.brew.sh/formula/pkg-config
>>
>> (it would be great if someone with well-working osx system updated
>> Installation guide to list names of Homebrew packages to match Sage ones,
>> listed on
>> https://trac.sagemath.org/ticket/27330)
>>
>>
> I'll do that and try again.
>

This time it failed while compiling m4ri.


m4ri-20140914.p0] ld: library not found for -lpng12
[m4ri-20140914.p0] clang: error: linker command failed with exit code 1
(use -v to see invocation)
[m4ri-20140914.p0] make[5]: *** [libm4ri.la] Error 1
[m4ri-20140914.p0] make[4]: *** [all] Error 2
[m4ri-20140914.p0]


>
> BTW, I added gdlib.pc to PKG_CONFIG_PATH and reran make.
> This time it got all the way to sagelib before stalling:
>
> [sagelib-9.0.beta3]
> /Volumes/Transcend/wooster/computer-algebra/sage-9.0.beta3/local/include/omalloc/omalloc.h:20:20:
> note: expanded from macro 'REGISTER'
>
> [sagelib-9.0.beta3]   #define REGISTER register
>
> [sagelib-9.0.beta3]                    ^
>
> [sagelib-9.0.beta3] 96 warnings generated.
>
> make[3]: *** [sagelib] Error 2
>
> make[2]: *** [all-start] Error 2
>
>
>
>
>>
>> I also have formulas for flint and arb, they would be built from source
>> and installed in Homebrew structure.
>>
>>
>>
>>
>>
>>
>>
>>
>> On Sat, 2 Nov 2019, 23:46 David Joyner, <wdjoy...@gmail.com> wrote:
>>
>>>
>>>
>>> On Fri, Nov 1, 2019 at 1:15 PM John H Palmieri <jhpalmier...@gmail.com>
>>> wrote:
>>>
>>>> If you have the time, could you try uninstalling Xcode and then
>>>> reinstalling it? You might also try uninstalling and reinstalling
>>>> homebrew's gcc and any other homebrew components that are relevant to Sage.
>>>> There may be some remnants of previously installed software that is somehow
>>>> interfering.
>>>>
>>>>   John
>>>>
>>>>
>>> I uninstalled xcode (including the CL tools) then reinstalled the latest
>>> version
>>> (including the CL tools, which now go in a new directory). I also
>>> uninstalled and reinstalled
>>> homebrew.
>>>
>>> This time homebrew installed gcc fine. The compilation of sage-9.0b3
>>> went fine until
>>> it hit brial-1.2.5. Then I got:
>>>
>>> [brial-1.2.5] Package gdlib was not found in the pkg-config search path.
>>> [brial-1.2.5] Perhaps you should add the directory containing `gdlib.pc'
>>> [brial-1.2.5] to the PKG_CONFIG_PATH environment variable
>>> [brial-1.2.5] Package 'gdlib', required by 'world', not found
>>>
>>> FWIW, I did find gdlib.pc in a directory of a non-working older sage:
>>>
>>> /Users/wdj/sagefiles/SageMath/local/lib/pkgconfig/gdlib.pc
>>>
>>>
>>>  Any suggestions?
>>>
>>>
>>>> On Wednesday, October 30, 2019 at 8:58:38 PM UTC-7, Andrew wrote:
>>>>>
>>>>>
>>>>>
>>>>> On Wednesday, 30 October 2019 23:27:45 UTC+11, Dima Pasechnik wrote:
>>>>>>
>>>>>> I meant cmath files without extensions. These are C++ header files.
>>>>>> It appears there are two such files on the list. Are they different?
>>>>>>
>>>>>> In the interim have have installed homebrew's gcc to see if this
>>>>> helps, but it doesn't. The cmath files that I now have on my system are:
>>>>>
>>>>> -rw-r--r--  1 root    wheel  14515 23 Jul 03:08
>>>>> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/cmath
>>>>> -rw-r--r--  1 root    wheel  14515 23 Jul 03:08
>>>>> /Library/Developer/CommandLineTools/usr/include/c++/v1/cmath
>>>>>
>>>>> As you suspected, these two files are identical.
>>>>>
>>>>> from homebrew's gcc:
>>>>> -rw-r--r--  1 andrew  staff    619 14 Aug 22:29
>>>>> /usr/local/Cellar/boost/1.71.0/include/boost/compatibility/cpp_c_headers/cmath
>>>>> -rw-r--r--  1 andrew  staff  49094 12 Aug 17:58
>>>>> /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/cmath
>>>>> -rw-r--r--  1 andrew  staff   6570 12 Aug 17:58
>>>>> /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/ext/cmath
>>>>> -rw-r--r--  1 andrew  staff  43806 12 Aug 17:58
>>>>> /usr/local/Cellar/gcc/9.2.0_1/include/c++/9.2.0/tr1/cmath
>>>>> -rw-r--r--  1 andrew  wheel    619 31 Oct 13:51
>>>>> /usr/local/src/sage/local/include/boost/compatibility/cpp_c_headers/cmath
>>>>>
>>>>> Andrew
>>>>>
>>>>> --
>>>> 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/181aab57-8e49-46f3-b758-45f700587410%40googlegroups.com
>>>> <https://groups.google.com/d/msgid/sage-devel/181aab57-8e49-46f3-b758-45f700587410%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/CAEQuuAXWYFLxvsCuTMCmymAOYP%3D1XZjDKF6WiXLDOyLHdCa%2Bxg%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/sage-devel/CAEQuuAXWYFLxvsCuTMCmymAOYP%3D1XZjDKF6WiXLDOyLHdCa%2Bxg%40mail.gmail.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/CAAWYfq2wz154s%2Brk4g7m9Wa2fMcav%2BMQJVJGmVGpBP1sQT0J2Q%40mail.gmail.com
>> <https://groups.google.com/d/msgid/sage-devel/CAAWYfq2wz154s%2Brk4g7m9Wa2fMcav%2BMQJVJGmVGpBP1sQT0J2Q%40mail.gmail.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/CAEQuuAXs%3D-qHz-gMPXmQFC_WSNMC_wX1LxEwmbBJq_pDKsp7iw%40mail.gmail.com.

Reply via email to