[sage-devel] Re: OS X build failure: "Error installing package gfortran-7.2.0"
I get the same error with MAcOS Mojave and Xcode 10.0. The release notes for Xcode 10 state that /usr/include is being relocated to /Library/Developer//CommandLineTools/SDKs/MacOSX.sdk/usr/include/. See the Xcode 10 release notes: https://developer.apple.com/documentation/xcode_release_notes/xcode_10_release_notes. There is a temporary workaround by installing /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg. -- 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 post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
[sage-devel] Re: Sage 8.1 building Mac-app fails
I did a make in ~/sage-8.1. When that completes I cd to src/Mac-app and run make again. My version of Mac OS is 10.13.2. -- 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 post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
[sage-devel] Re: Sage 8.1 building Mac-app fails
It appears that diskimage still has the tmp-sage-8.1-OSX_10.13.2_x86_64.app.dmg file open. You can find this with "sudo lsof |fgrep tmp-sage-8.1". Killing disk image allows the "hdiutil convert -format UDBZ -o sage-8.1-OSX_10.13.2_x86_64.app.dmg tmp-sage-8.1-OSX_10.13.2_x86_64.app.dmg" command to succeed. Mike -- 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 post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
[sage-devel] Re: Sage 8.1 building Mac-app fails
I double checked and the Xcode IDE and Xcode Command Line Tools version is 9.2 ( 9C40b). When I started the Xcode IED it wanted to install some files, after that the script to build the man app runs further, see below. I think it fails in trying to move the dmg. I will look at the Makefile to see if I can find the problem. Mike sent 5283312336 bytes received 2867200 bytes 26104590.30 bytes/sec total size is 5273738227 speedup is 1.00 test -d sage-8.1-OSX_10.13.2_x86_64/SageMath-8.1.app/Contents/Resources/sage && touch sage-8.1-OSX_10.13.2_x86_64/SageMath-8.1.app/Contents/Resources/sage rm -f sage-8.1-OSX_10.13.2_x86_64/SageMath-8.1.app/sage ln -s Contents/Resources/sage/sage sage-8.1-OSX_10.13.2_x86_64/SageMath-8.1.app/sage cp /Users/michael/sage-8.1/src/bin/sage-README-osx.txt sage-8.1-OSX_10.13.2_x86_64/README.txt mkdir -p sage-8.1-OSX_10.13.2_x86_64/.background cp sage-dmg-background.png sage-8.1-OSX_10.13.2_x86_64/.background/sage.png rm -f sage-8.1-OSX_10.13.2_x86_64/Applications ln -s /Applications/ sage-8.1-OSX_10.13.2_x86_64/Applications hdiutil create -srcfolder sage-8.1-OSX_10.13.2_x86_64 -volname sage-8.1-OSX_10.13.2_x86_64 -format UDRW tmp-sage-8.1-OSX_10.13.2_x86_64.app.dmg created: /Users/michael/sage-8.1/src/mac-app/tmp-sage-8.1-OSX_10.13.2_x86_64.app.dmg mkdir -p mnt hdiutil attach tmp-sage-8.1-OSX_10.13.2_x86_64.app.dmg -mountpoint mnt /dev/disk6 GUID_partition_scheme /dev/disk6s1EFI /dev/disk6s2Apple_APFS /dev/disk7 EF57347C--11AA-AA11-0030654 /dev/disk7s141504653--11AA-AA11-0030654 /Users/michael/sage-8.1/src/mac-app/mnt osascript arrangeIcons.applescript mnt SageMath-8.1.app arrangeIcons.applescript:107:111: execution error: Finder got an error: Can’t get disk "mnt". (-1728) make: *** [tmp-sage-8.1-OSX_10.13.2_x86_64.app.dmg] Error 1 -- 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 post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
[sage-devel] Sage 8.1 building Mac-app fails
I am trying to build the sage 8.1 mac-app on macOS 10.13.2 with Xcode V9.2 and Command Line Tools for Xcode V9.1. I have been able to compile sage and run make ptests (all tests passed). When I try to build the Mac-app in sage-8.1/src/mac-app it crashes with a failure to build MainMenu.nib, see below. Hopefully there is an easy fix. Mike *CpResource* sage-document-cython.icns build/Debug/Sage.app/Contents/Resources/sage-document-cython.icns cd /Users/michael/sage-8.1/src/mac-app builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /Users/michael/sage-8.1/src/mac-app/sage-document-cython.icns /Users/michael/sage-8.1/src/mac-app/build/Debug/Sage.app/Contents/Resources *StripNIB* English.lproj/MainMenu.nib cd /Users/michael/sage-8.1/src/mac-app export XCODE_DEVELOPER_USR_PATH=/Applications/Xcode.app/Contents/Developer/usr/bin/.. /Applications/Xcode.app/Contents/Developer/usr/bin/ibtool --write /Users/michael/sage-8.1/src/mac-app/build/Debug/Sage.app/Contents/Resources/English.lproj/MainMenu.nib --output-format human-readable-text /Users/michael/sage-8.1/src/mac-app/English.lproj/MainMenu.nib 2017-12-10 12:49:59.678 ibtoold[97811:5456402] [MT] DVTPlugInLoading: Failed to load code for plug-in com.apple.dt.IDE.IDEInterfaceBuilderCocoaTouchIntegration (/Applications/Xcode.app/Contents/PlugIns/IDEInterfaceBuilderCocoaTouchIntegration.framework), error = Error Domain=NSCocoaErrorDomain Code=3587 "dlopen_preflight(/Applications/Xcode.app/Contents/PlugIns/IDEInterfaceBuilderCocoaTouchIntegration.framework/IDEInterfaceBuilderCocoaTouchIntegration): Library not loaded: /Library/Developer/PrivateFrameworks/CoreSimulator.framework/Versions/A/CoreSimulator Referenced from: /Applications/Xcode.app/Contents/Developer/Library/PrivateFrameworks/SimulatorKit.framework/Versions/A/SimulatorKit Reason: image not found" UserInfo={NSLocalizedFailureReason=The bundle is damaged or missing necessary resources., NSLocalizedRecoverySuggestion=Try reinstalling the bundle., NSFilePath=/Applications/Xcode.app/Contents/PlugIns/IDEInterfaceBuilderCocoaTouchIntegration.framework/IDEInterfaceBuilderCocoaTouchIntegration, NSDebugDescription=dlopen_preflight(/Applications/Xcode.app/Contents/PlugIns/IDEInterfaceBuilderCocoaTouchIntegration.framework/IDEInterfaceBuilderCocoaTouchIntegration): Library not loaded: /Library/Developer/PrivateFrameworks/CoreSimulator.framework/Versions/A/CoreSimulator Referenced from: /Applications/Xcode.app/Contents/Developer/Library/PrivateFrameworks/SimulatorKit.framework/Versions/A/SimulatorKit Reason: image not found, NSBundlePath=/Applications/Xcode.app/Contents/PlugIns/IDEInterfaceBuilderCocoaTouchIntegration.framework, NSLocalizedDescription=The bundle “IDEInterfaceBuilderCocoaTouchIntegration” couldn’t be loaded because it is damaged or missing necessary resources.}, dyldError = dlopen(/Applications/Xcode.app/Contents/PlugIns/IDEInterfaceBuilderCocoaTouchIntegration.framework/IDEInterfaceBuilderCocoaTouchIntegration, 0): Library not loaded: /Library/Developer/PrivateFrameworks/CoreSimulator.framework/Versions/A/CoreSimulator Referenced from: /Applications/Xcode.app/Contents/Developer/Library/PrivateFrameworks/SimulatorKit.framework/Versions/A/SimulatorKit Reason: image not found 2017-12-10 12:49:59.678 ibtoold[97811:5456402] [MT] DVTPlugInExtensionFaulting: Failed to fire fault for extension Xcode.InterfaceBuilderKit.PepperIntegration.Singletons: Error Domain=DVTPlugInErrorDomain Code=2 "Loading a plug-in failed." UserInfo={DVTPlugInIdentifierErrorKey=com.apple.dt.IDE.IDEInterfaceBuilderCocoaTouchIntegration, DVTPlugInExecutablePathErrorKey=/Applications/Xcode.app/Contents/PlugIns/IDEInterfaceBuilderCocoaTouchIntegration.framework/IDEInterfaceBuilderCocoaTouchIntegration, NSLocalizedRecoverySuggestion=The plug-in or one of its prerequisite plug-ins may be missing or damaged and may need to be reinstalled., DVTPlugInDYLDErrorMessageErrorKey=dlopen(/Applications/Xcode.app/Contents/PlugIns/IDEInterfaceBuilderCocoaTouchIntegration.framework/IDEInterfaceBuilderCocoaTouchIntegration, 0): Library not loaded: /Library/Developer/PrivateFrameworks/CoreSimulator.framework/Versions/A/CoreSimulator Referenced from: /Applications/Xcode.app/Contents/Developer/Library/PrivateFrameworks/SimulatorKit.framework/Versions/A/SimulatorKit Reason: image not found, NSLocalizedDescription=Loading a plug-in failed., NSFilePath=/Applications/Xcode.app/Contents/PlugIns/IDEInterfaceBuilderCocoaTouchIntegration.framework, NSLocalizedFailureReason=The plug-in “com.apple.dt.IDE.IDEInterfaceBuilderCocoaTouchIntegration” at path “/Applications/Xcode.app/Contents/PlugIns/IDEInterfaceBuilderCocoaTouchIntegration.framework” could not be loaded. The plug-in or one of its prerequisite plug-ins may be missing or damaged., NSUnderlyingError=0x7fd2c160a8d0 {Error
[sage-devel] Re: Error Installing Sage 8.0 (gcc-7.2.0 won't install)
I upgraded to Command Line Tools for Xcode V9.1 and Sage 8.1 now compiles. -- 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 post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
[sage-devel] Re: Error Installing Sage 8.0 (gcc-7.2.0 won't install)
On Sunday, November 19, 2017 at 11:27:43 AM UTC-5, M Mills wrote: > > Thanks. > > On Sunday, November 19, 2017 at 4:34:30 AM UTC-6, Dima Pasechnik wrote: >> >> 8.0 will not work with the current Xcode. >> You would need 8.1.rc2 (or wait for 8.1 to be done, probably very soon). >> > This is still a problem with the 8.1 release of 12/07/2017. Does anyone have a workaround? -- 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 post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
Re: [sage-devel] Re: Sage 8.0 Build Error on MacOS, [mpir-3.0.0.p0] Error building MPIR.
This is still broken ins Sage 8.1.rc2 with the same error. Should I post a new thread? -- 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 post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
Re: [sage-devel] Re: Sage 8.0 Build Error on MacOS, [mpir-3.0.0.p0] Error building MPIR.
What is the best way to do this? The file is extracted from the mpir-3.0.0.tar.bz2 every time make is run. On Wednesday, August 2, 2017 at 5:41:01 PM UTC-4, Bill Hart wrote: > > The only workaround I'm currently aware of is to remove the offending > addmul_1.asm file. It is to do with our use of jump tables. > > >>> -- 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 post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
[sage-devel] Re: Sage 8.0 Build Error on MacOS, [mpir-3.0.0.p0] Error building MPIR.
I tried AS_INTEGRATED_ASSEMBLER=1 make without success, I also tried adding it to my environment and also from the debugging shell. I also tried: export CFLAGS="-Wa,-q $CFLAGS" without success. The make ends with: vscanf.o scanf/.libs/vsscanf.o -L/Users/michael/sage-8.0/local/lib -m64 -O2 -march=skylake -mtune=skylake -Wl,-rpath -Wl,/Users/michael/sage-8.0/local/lib -install_name /Users/michael/sage-8.0/local/lib/libmpir.23.dylib -compatibility_version 24 -current_version 24.3 -Wl,-single_module ld: in section __DATA,__const reloc 0: X86_64_RELOC_SUBTRACTOR must have r_extern=1 file 'mpn/.libs/addmul_1.o' for architecture x86_64 ld: in section __DATA,__const reloc 0: X86_64_RELOC_SUBTRACTOR must have r_extern=1 file 'mpn/.libs/addmul_1.o' for architecture x86_64 clang: *error: *linker command failed with exit code 1 (use -v to see invocation) clang: *error: *linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [libgmp.la] Error 1 make[2]: *** Waiting for unfinished jobs make[2]: *** [libmpir.la] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 -- 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 post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
[sage-devel] Re: Sage 8.0 Build Error on MacOS, [mpir-3.0.0.p0] Error building MPIR.
I found this thread on the MPIR issues list: https://github.com/wbhart/mpir/issues/217 It appears that the MacOS assembler is old. Is there to configure the sage build as they suggest? -- 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 post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
[sage-devel] Re: Workaround for missing link to MacTex for MacOS Sage app
Yes, it appears to have the path hard coded somewhere. My global path does contain /Library/TeX/texbin which appears to come from /etc/paths.d/TeX. I originally modified the /Applications/SageMath-7.5.1.app/Contents/Resources/start-sage.sh file. I then modified the src/mac-app/start-sage.sh file and rebuilt the Sage app dmg to test that this would install without problems. The only references I can find in the sage source tree are in several copies of same file, loading-page.html: adding os.environ["PATH"]+=":/usr/texbin:/usr/local/bin" to $HOME/.sage/init.sage My system does not have a ~/.sage/init.sage file. Mike On Thursday, January 19, 2017 at 11:12:22 PM UTC-5, Michael Frey wrote: > > I found that when trying to access LATeX (MacTeX) calls in a Sage notebook > via MatPlotLib or directly Sage would report that it could not find some > TeX function. It appears that the PATH variable being used by the Sage app > is pointing to /usr/texbin, not /Library/TeX/texbin. As a workaround I > modified src/mac-app/start-sage.sh and added: > > if test -d /Library/TeX/texbin > > then > > export PATH=$PATH:/Library/TeX/texbin > > fi > > > After rebuilding the Sage app dmg, Sage works as expected when accessing > TeX calls. > > > There may be a better way, but I could not find one searching through the > Sage source. > > > I am not sure how proceed with getting this corrected so users do not have > the manually edit the start-sage.sh file. > > > Regards, > > > Mike > -- 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 post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
[sage-devel] Workaround for missing link to MacTex for MacOS Sage app
I found that when trying to access LATeX (MacTeX) calls in a Sage notebook via MatPlotLib or directly Sage would report that it could not find some TeX function. It appears that the PATH variable being used by the Sage app is pointing to /usr/texbin, not /Library/TeX/texbin. As a workaround I modified src/mac-app/start-sage.sh and added: if test -d /Library/TeX/texbin then export PATH=$PATH:/Library/TeX/texbin fi After rebuilding the Sage app dmg, Sage works as expected when accessing TeX calls. There may be a better way, but I could not find one searching through the Sage source. I am not sure how proceed with getting this corrected so users do not have the manually edit the start-sage.sh file. Regards, Mike -- 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 post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
[sage-devel] Error when attaching file, NameError: name 'cython' is not defined
I am trying to attach a code file to a sage notebook. The call is : attach ("~/.sage/MHF_Bloch_n_Plot.sage"). The error I get is "NameError: name 'cython' is not defined". The code in the attach file is: ... cython(""" #Parallel Cython, Numpy calls -- 3 part3 #Part 1 #Cython version for parallel import numpy as np import scipy as sp from scipy import linalg cimport numpy as np cdef extern from "math.h": float cosf(float theta) float sinf(float theta) ... """) ... Am I missing something or is this a bug? I am using SageMath version 7.5, Release Date: 2017-01-11 built from source in a MacBook Pro with MacOS 10.12.2 Thank you for your help. Mike -- 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 post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.