|
From: Sette D. <set...@gm...> - 2016-01-27 17:42:46
|
This is an additional valuable piece of information. Thanks so much Mark! Best regards, Sette > On Jan 27, 2016, at 2:32 PM, Mark Brethen <mar...@gm...> wrote: > > If you are using macports, this page describes a procedure for transitioning your macports installation for major os upgrades: https://trac.macports.org/wiki/Migration. There is also a port to install reduce. Try ‘port info reduce.” > > Frameworks are simply a hierarchical directory structure to bundle shared resources. See: https://developer.apple.com/library/mac/documentation/MacOSX/Conceptual/BPFrameworks/Concepts/WhatAreFrameworks.html > > >> On Jan 27, 2016, at 6:30 AM, Arthur Norman <ac...@ca...> wrote: >> >>> Unfortunately, now I ran through the following errors: >>> >>> >>> Makefile:4525: TRACE: csl :: csl-arith01.o csl-arith02.o csl-arith03.o csl-arith04.o csl-arith05.o csl-arith06.o csl-arith07.o csl-arith08.o csl-arith09.o csl-arith10.o csl-arith11.o csl-arith12.o csl-arith13.o csl-bytes1.o csl-char.o csl-cslmpi.o csl-eval1.o csl-eval2.o csl-eval3.o csl-eval4.o csl-fns1.o csl-fns2.o csl-fns3.o csl-print.o csl-cslread.o csl-restart.o csl-serialize.o csl-sysfwin.o csl-csl.o csl-fasl.o csl-cslgc.o csl-preserve.o csl-stubs.o reduce.fonts/cmr10.pfb ../lib/libcrlibm.a ../include/crlibm.h ../lib/libFOX-1.6.a >>> rm -f csl >>> MACOSX_DEPLOYMENT_TARGET=10.10 g++ -fno-common -I/opt/local/include/freetype2 -fno-strict-aliasing -O2 -Wall -L/usr/X11R6/lib -L/opt/local/lib -L/opt/X11/lib -framework Carbon -framework CoreServices -framework ApplicationServices -framework Carbon -framework CoreServices -framework ApplicationServices -o csl csl-arith01.o csl-arith02.o csl-arith03.o csl-arith04.o csl-arith05.o csl-arith06.o csl-arith07.o csl-arith08.o csl-arith09.o csl-arith10.o csl-arith11.o csl-arith12.o csl-arith13.o csl-bytes1.o csl-char.o csl-cslmpi.o csl-eval1.o csl-eval2.o csl-eval3.o csl-eval4.o csl-fns1.o csl-fns2.o csl-fns3.o csl-print.o csl-cslread.o csl-restart.o csl-serialize.o csl-sysfwin.o csl-csl.o csl-fasl.o csl-cslgc.o csl-preserve.o csl-stubs.o -L"/Users/seet/Library/reduce-algebra/code/trunk/cslbuild/x86_64-mac_10.11_elcapitan-darwin15.3.0/lib" -lFOX-1.6 -L../lib -lcrlibm /opt/local/lib/libXrandr.a /opt/local/lib/libXcursor.a /opt/local/lib/libXrender.a /opt/local/lib/libcurses.a /opt/local/lib/libXext.a /opt/local/lib/libX11.a /opt/local/lib/libXft.a /opt/local/lib/libXau.a /opt/local/lib/libXfixes.a /opt/local/lib/libxcb.a /opt/local/lib/libXdmcp.a /opt/local/lib/libpng.a /opt/local/lib/libz.a /opt/local/lib/libbz2.a /opt/local/lib/libfreetype.a /opt/local/lib/libiconv.a /opt/local/lib/libXft.a /opt/local/lib/libfontconfig.a /opt/local/lib/libexpat.a -lpthread -ldl >>> clang: error: no such file or directory: '/opt/local/lib/libXft.a' >>> clang: error: no such file or directory: '/opt/local/lib/libXft.a' >>> clang: error: no such file or directory: '/opt/local/lib/libfontconfig.a' >>> make[3]: *** [csl] Error 1 >>> make[2]: *** [all] Error 2 >>> make[1]: *** [all] Error 2 >>> Building failed with return code 2 for version cslbuild/x86_64-mac_10.11_elcapitan-darwin15.3.0 >>> make: *** [all] Error 2 >>> >>> I have no idea about packages I should install to get these missing "libXft.a" and "libfontconfig.a". >>> I have installed the XQartz 2.7.9_rc2, MacPorts-2.3.4 previously. >>> >> >> There are two things you need to do. The first is to observe >> $ port search xft >> Xft2 @2.3.2 (x11) >> client-side font API for X applications >> so it looks as if you need "sudo port install Xft2". I note that sometimes when you upgrade the operating system you need to do a fairly full refresh of MacPorts - certainly at least "sudo port selfupdate; sudo port upgrade outdated" and for bigger changes that involve a change in the version of Xcode possibly even more. Info on that is on the macporfts web-site. >> >> The second issue is libfontconfig. That is a HORRID state, but if I explain it here I hope that others will find this response and understand what need to be done! >> >> macports "port install fontconfig" installs a libfontconfig.dylib for you (typically in /opt/local/lib) and the build sequences for Reduce COULD have been set up to link to that. However if they do then the resulting binary needs a file /opt/local/liv/libfontconfig.dylib to be present. That is not a terrible burden for you on your own machine, but if you copies a binary you had built to somebody else it would mean that unless they also had installed macports the binary would not work on their machine. >> This are (I hope and believe!) only library that Reduce uses wherte macports does not (currently?) generated and install a ".a" library file (linking that in would lead to a portable executable binary application). >> So there is a script called something like "make-static-libfontconfig.sh" in the directory csl/cslbase and on a once-only basis on your machine you need to run it. It created linfontconfig.a and puts it in /opt/local/lib. Then you can link CSL and Reduce. Because it is once-only and it probably needs superuser authority to write to /usr/local/lib I have not automated triggering it. I also hope that a future macports will arrange to install a libfontconfig.a for me so that the hack becomes irrelevant, or some frieldly and knowledgable Mac expert will help explain to me about Framework Bundles in case I can put the .dylib files in one of those and still survive - but note that the licensing issues that have to be faced differ if .dylib files are shipped along with Reduce as distinct from .a files linked into a single binary. >> >> I hope this explains what is going on and why. >> >> ANother thing I might mention is that these dats (perhaps always - I find it really hard to look back in time) Reduce NEEDS Xquartz installed because fontconfig looks for configuration files in /usr/local/etc/fonts (and I do not know how to make it just look at configuratiosn files within my applications)... so by XQuartz I mean that as distinct from any other X server.... >> >> Arthur >> ------------------------------------------------------------------------------ >> Site24x7 APM Insight: Get Deep Visibility into Application Performance >> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month >> Monitor end-to-end web transactions and take corrective actions now >> Troubleshoot faster and improve end-user experience. Signup Now! >> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140_______________________________________________ >> Reduce-algebra-developers mailing list >> Red...@li... >> https://lists.sourceforge.net/lists/listinfo/reduce-algebra-developers > |