[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] OSX 10.10
From: |
Michael Dickens |
Subject: |
Re: [Discuss-gnuradio] OSX 10.10 |
Date: |
Thu, 02 Jul 2015 12:43:10 -0400 |
Hi Ed - Sorry to hear of your troubles migrating / upgrading MacPorts.
Yes, it can be a real pain. If you stick with default variants, then
most of the ports will be downloaded as pre-compiled binary. If you just
use MacPorts for GNU Radio related ports, then the easier way is to:
1) wipe all MP stuff ("sudo port -f uninstall installed");
2) "sudo port reclaim" and answer yes, to remove binary / tarball cruft;
3) "sudo port selfupdate"
4) install the ports you want (without dependencies; those will be taken
care of now, hopefully correctly).
The header 'iosfwd' provides the I/O stream Forward Declarations, so it
should be available in any C++ header install (whether clang or gcc, old
or new, Apple or MacPorts). Maybe your install is trying to mix C++
runtime libraries and headers? That would not be good.
You might want to check your MacPorts conf file to make sure it's still
appropriate for your new OS.
I -highly- recommend not using +universal unless you have to, by default
or otherwise; most ports work with it but some critical ones don't yet
(e.g., NumPy, SciPy).
Hope this helps! - MLD
On Thu, Jul 2, 2015, at 12:30 PM, Ed Criscuolo wrote:
> After spending the better part of 8 hrs doing the whole migration
> procedure, as specified at the link you provided, I'm pretty much
> worse off than before. The restore script failed when building a
> component (this time TCL instead of swig) with the same error.
>
> "fatal error: 'iosfwd' file not found"
>
> And of course, now all my ports are wiped out.
>
> In digging into it, it seems to be somehow related to a mix of
> different variants requested for the same port. In particular,
> requests that have and don't have the +universal, but are otherwise
> identical.
>
> I may try editing my "myports.txt" file to omit all but the most recent
> versions of each port and try again. Failing that, the only course
> I see is to wipe everything again and start installing them one by one,
> by hand. :((
>
> Any suggestions would be welcome.