Apple just gave me a supplemental Catalina update, and now sagelib is 
building.  If this works, I'll attribute it to some Apple problem.

On Thursday, April 9, 2020 at 9:37:56 AM UTC-4, David Einstein wrote:
>
> davideinstein@Davids-MacBook-Pro-3 sage % pkg-config --modversion libpng
>
> 1.6.37
>
> davideinstein@Davids-MacBook-Pro-3 sage % set | grep PKG
>
> PKG_CONFIG_PATH=/Users/davideinstein/projects/sage/local/lib/pkgconfig
>
> SAGE_PKGCONFIG=/Users/davideinstein/projects/sage/local/lib/pkgconfig
>
> SAGE_PKG_CONFIG_PATH=/Users/davideinstein/projects/sage/local/lib/pkgconfig
>
>
> SAGE_SPKG_INST=/Users/davideinstein/projects/sage/local/var/lib/sage/installed
>
>
> SAGE_SPKG_SCRIPTS=/Users/davideinstein/projects/sage/local/var/lib/sage/scripts
>
> davideinstein@Davids-MacBook-Pro-3 sage % 
>
> On Wednesday, April 8, 2020 at 11:29:09 PM UTC-4, Dima Pasechnik wrote:
>>
>> Could you post the outputs of 
>>
>>    pkg-config --modversion libpng 
>>    set | grep PKG 
>>
>> run at the terminal, and run at the Sage shell prompt (./sage -sh) ? 
>> I really don't understand this error, as at configure time libpng is 
>> found via pkg-config 
>> Thanks 
>> Dima 
>>
>> On Thu, Apr 9, 2020 at 10:58 AM David Einstein <dei...@gmail.com> wrote: 
>> > 
>> > Here is the config.log. 
>> > 
>> > On Wednesday, April 8, 2020 at 10:32:51 PM UTC-4, Dima Pasechnik wrote: 
>> >> 
>> >> Hi David, 
>> >> It might help if you posted the top-level config.log, thanks. 
>> >> 
>> >> Dima 
>> >> 
>> >> On Thu, Apr 9, 2020 at 9:58 AM David Einstein <dei...@gmail.com> 
>> wrote: 
>> >> > 
>> >> > I am trying to build on OSX Catalina, and everything seems to go 
>> well until it builds sagelib, and I get a libpng not found. 
>> >> > 
>> >> > Everything built nicely a few weeks ago.  I am tempted to blame the 
>> upgrade to catalina, but I also upgraded hombrew and XCode. 
>> >> > 
>> >> > Any ideas? 
>> >> > 
>> >> > Here is the final output from the terminal. 
>> >> > 
>> >> > if [ -z "$SAGE_INSTALL_FETCH_ONLY" ]; then \ 
>> >> > 
>> >> > cd /Users/davideinstein/projects/sage/src && source bin/sage-env && 
>> source /Users/davideinstein/projects/sage/build/bin/sage-build-env-config 
>> && \ 
>> >> > 
>> >> > sage-logger -p 'time make sage' 
>> '/Users/davideinstein/projects/sage/logs/pkgs/sagelib-9.1.beta9.log'; \ 
>> >> > 
>> >> > fi 
>> >> > 
>> >> > [sagelib-9.1.beta9] cd . && export                                   
>>  \ 
>> >> > 
>> >> > [sagelib-9.1.beta9]     SAGE_ROOT=/doesnotexist                     
>>           \ 
>> >> > 
>> >> > [sagelib-9.1.beta9]     SAGE_SRC=/doesnotexist                       
>>          \ 
>> >> > 
>> >> > [sagelib-9.1.beta9]     SAGE_SRC_ROOT=/doesnotexist                 
>>           \ 
>> >> > 
>> >> > [sagelib-9.1.beta9]     SAGE_DOC_SRC=/doesnotexist                   
>>          \ 
>> >> > 
>> >> > [sagelib-9.1.beta9]     SAGE_BUILD_DIR=/doesnotexist                 
>>          \ 
>> >> > 
>> >> > [sagelib-9.1.beta9]     
>> SAGE_PKGS=/Users/davideinstein/projects/sage/build/pkgs                \ 
>> >> > 
>> >> > [sagelib-9.1.beta9] && sage-python -u setup.py --no-user-cfg build 
>> install 
>> >> > 
>> >> > [sagelib-9.1.beta9] 
>> /Users/davideinstein/projects/sage/src/bin/sage-env: line 130: cd: 
>> /doesnotexist: No such file or directory 
>> >> > 
>> >> > [sagelib-9.1.beta9] Warning: overwriting SAGE_ROOT environment 
>> variable: 
>> >> > 
>> >> > [sagelib-9.1.beta9] Old SAGE_ROOT=/doesnotexist 
>> >> > 
>> >> > [sagelib-9.1.beta9] New SAGE_ROOT= 
>> >> > 
>> >> > [sagelib-9.1.beta9] 
>> ************************************************************************ 
>> >> > 
>> >> > [sagelib-9.1.beta9] Traceback (most recent call last): 
>> >> > 
>> >> > [sagelib-9.1.beta9]   File "setup.py", line 72, in <module> 
>> >> > 
>> >> > [sagelib-9.1.beta9]     from module_list import ext_modules, 
>> library_order 
>> >> > 
>> >> > [sagelib-9.1.beta9]   File 
>> "/Users/davideinstein/projects/sage/src/module_list.py", line 36, in 
>> <module> 
>> >> > 
>> >> > [sagelib-9.1.beta9]     png_pc = pkgconfig.parse('libpng') 
>> >> > 
>> >> > [sagelib-9.1.beta9]   File 
>> "/Users/davideinstein/projects/sage/local/lib/python3.7/site-packages/pkgconfig/pkgconfig.py",
>>  
>> line 248, in parse 
>> >> > 
>> >> > [sagelib-9.1.beta9]     _raise_if_not_exists(package) 
>> >> > 
>> >> > [sagelib-9.1.beta9]   File 
>> "/Users/davideinstein/projects/sage/local/lib/python3.7/site-packages/pkgconfig/pkgconfig.py",
>>  
>> line 103, in _raise_if_not_exists 
>> >> > 
>> >> > [sagelib-9.1.beta9]     raise PackageNotFoundError(package) 
>> >> > 
>> >> > [sagelib-9.1.beta9] pkgconfig.pkgconfig.PackageNotFoundError: libpng 
>> not found 
>> >> > 
>> >> > [sagelib-9.1.beta9] 
>> ************************************************************************ 
>> >> > 
>> >> > [sagelib-9.1.beta9] Error building the Sage library 
>> >> > 
>> >> > [sagelib-9.1.beta9] 
>> ************************************************************************ 
>> >> > 
>> >> > [sagelib-9.1.beta9] Please email sage-devel (
>> http://groups.google.com/group/sage-devel) 
>> >> > 
>> >> > [sagelib-9.1.beta9] explaining the problem and including the 
>> relevant part of the log file 
>> >> > 
>> >> > [sagelib-9.1.beta9]   
>> /Users/davideinstein/projects/sage/logs/pkgs/sagelib-9.1.beta9.log 
>> >> > 
>> >> > [sagelib-9.1.beta9] Describe your computer, operating system, etc. 
>> >> > 
>> >> > [sagelib-9.1.beta9] 
>> ************************************************************************ 
>> >> > 
>> >> > [sagelib-9.1.beta9] make[4]: *** [sage] Error 1 
>> >> > 
>> >> > [sagelib-9.1.beta9] 
>> >> > 
>> >> > [sagelib-9.1.beta9] real 0m0.612s 
>> >> > 
>> >> > [sagelib-9.1.beta9] user 0m0.193s 
>> >> > 
>> >> > [sagelib-9.1.beta9] sys 0m0.133s 
>> >> > 
>> >> > make[3]: *** [sagelib] Error 2 
>> >> > 
>> >> > make[2]: *** [all-start] Error 2 
>> >> > 
>> >> > 
>> >> > real 212m28.552s 
>> >> > 
>> >> > user 151m29.195s 
>> >> > 
>> >> > sys 26m1.334s 
>> >> > 
>> >> > *************************************************************** 
>> >> > 
>> >> > Error building Sage. 
>> >> > 
>> >> > 
>> >> > The following package(s) may have failed to build (not necessarily 
>> >> > 
>> >> > during this run of 'make all-start'): 
>> >> > 
>> >> > 
>> >> > * package:         sagelib-9.1.beta9 
>> >> > 
>> >> >   last build time: Apr 8 21:23 
>> >> > 
>> >> >   log file:       
>>  /Users/davideinstein/projects/sage/logs/pkgs/sagelib-9.1.beta9.log 
>> >> > 
>> >> > 
>> >> > It is safe to delete any log files and build directories, but they 
>> >> > 
>> >> > contain information that is helpful for debugging build problems. 
>> >> > 
>> >> > WARNING: If you now run 'make' again, the build directory of the 
>> >> > 
>> >> > same version of the package will, by default, be deleted. Set the 
>> >> > 
>> >> > environment variable SAGE_KEEP_BUILT_SPKGS=yes to prevent this. 
>> >> > 
>> >> > 
>> >> > make[1]: *** [all-start] Error 1 
>> >> > 
>> >> > make: *** [all] Error 2 
>> >> > 
>> >> > -- 
>> >> > You received this message because you are subscribed to the Google 
>> Groups "sage-support" group. 
>> >> > To unsubscribe from this group and stop receiving emails from it, 
>> send an email to sage-s...@googlegroups.com. 
>> >> > To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/sage-support/d8e46d82-f201-4cbd-94ad-5bceccdc678c%40googlegroups.com.
>>  
>>
>> > 
>> > -- 
>> > You received this message because you are subscribed to the Google 
>> Groups "sage-support" group. 
>> > To unsubscribe from this group and stop receiving emails from it, send 
>> an email to sage-s...@googlegroups.com. 
>> > To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/sage-support/abe507f1-b55f-489c-99ee-4c41a97a09fd%40googlegroups.com.
>>  
>>
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/3a5d033d-6aa8-4e37-9bdf-57f761edbb00%40googlegroups.com.

Reply via email to