Trying to execute LibcxxOnOlderSytems (3rd ed.)

ftp83plus gestos at ftp83plus.net
Tue Mar 15 15:31:54 PDT 2016


Ok, I changed the topic to reflect the new attempt. MacPorts has been uninstalled as per instructions, and reinstalled. I am now attempting to run https://trac.macports.org/wiki/LibcxxOnOlderSystems in order to support software that may be written according to C++11 standard.

I ran step 2 as corrected. No error reported.
I ran step 3.1. No error reported at either step (3.1.1 and 3.1.2).
Edited /opt/local/etc/macports/macports.conf as per step 3.2:
The beginning of the file now looks like:
cxx_stdlib         libc++
buildfromsource    always
delete_la_files    yes
default_compilers  macports-clang-3.4 macports-clang-3.3 gcc-4.2 apple-gcc-4.2 gcc-4.0

# $Id: macports.conf.in 117120 2014-02-17 00:55:33Z jmr at macports.org $ […]

Then step 3.3. Received:
Error: No ports matched the given expression
I assumed it was normal since this is a fresh installation, no port has been inactivated by step 3.1.1.

Then step 3.4: was long and noisy, but received no error.
Then step 3.5: no error
Then step 3.6: no error
Then step 3.7: It says to edit /opt/local/etc/macports/macports.conf again ; mine now looks like
cxx_stdlib         libc++
buildfromsource    always
delete_la_files    yes
default_compilers  macports-clang-3.7 macports-clang-3.4 macports-clang-3.3 gcc-4.2 apple-gcc-4.2 gcc-4.0

# $Id: macports.conf.in 117120 2014-02-17 00:55:33Z jmr at macports.org $

As I understand it, this is the last step.

Then I tried to install Xsane, but it failed; I will open another thread so as to keep this one clean.






El 2016-03-15, a las 01:49, Ryan Schmidt escribió:

> 
>> On Mar 15, 2016, at 12:46 AM, [ftp83plus] <gestos at ftp83plus.net> wrote:
>> 
>> Thanks all for your advices,
>> 
>> I see contradictions here: should I start afresh and bear hours of whining fans like Christopher suggests to make the topic easier to follow, or try to add precision to my former request like Ryan tries to tell?
>> 
>> The main concern is of course the fan noise and the fact I have to rely on a much slower backup Mac should I need to leave home. I try to bear in mind that you guys aren't in fort of my screen, and its not easy to follow who said what and when.
> 
> If you're stuck on the bootstrapping 2 step, starting over and following the newly edited instructions, without the -s flag on that step, should be very quick, since you'll be getting a precompiled archive from our server rather than having to compile it on your system.
> 
> For subsequent steps, there will still be compiling involved, since we don't yet have a naming convention for distinguishing libc++ packages from libstdc++ packages, so we don't provide libc++ packages for older OSes.
> 
> 
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-users/attachments/20160315/6508e456/attachment.html>


More information about the macports-users mailing list