Changes between Initial Version and Version 1 of Ticket #48012, comment 5


Ignore:
Timestamp:
Jun 11, 2015, 9:03:45 PM (9 years ago)
Author:
m74z00219@…
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #48012, comment 5

    initial v1  
    22
    33Thanks!
     4
     5EDIT:
     6
     7So, in "/opt/local/lib/" I have the library that is old:
     8{{{
     9/opt/local/lib/libgmp.10.dylib
     10}}}
     11
     12But I also have another library, which I suppose is the correct one:
     13{{{
     14/opt/local/lib/libgmp.dylib
     15}}}
     16
     17Before I ran "sudo port -n upgrade --force gmp" I noticed that libgmp.10.dylib had a modification date going back to 2012. The aforementioned command succeeded in forcing gmp to install and, you know what, I was subsequently able to successfully install nettle!
     18
     19When I next attempted to install gnutls, I got an unsurprising error:
     20{{{
     21Unable to execute port: can't set "depends_lib": invalid depspec: path:~/.git/nettle/nettle:nettle
     22}}}
     23
     24So, I tried again with tracemode activated -- got the same error. Then I made sure to uninstall the git build and other extra-macports builds I attempted -- same darn error.
     25
     26Finally, I surmised that there is some file floating around that points to git, most likely generated by a previous build. So, I updated Macports and then ran "sudo port upgrade outdated" and thankfully it finally let me install gnutls and everything else I had previously failed at installing.
     27
     28So, things work now, though I can't say I fully understand how this problem began. While that old gmp library had a modification date from 2012, that doesn't necessarily mean it was added to the directory back then. Even so, I'm confused as to why nettle couldn't differentiate between the newer gmp library, which, according to my own analysis, was in the same directory.
     29
     30*shrugs*
     31
     32Thank you for your valuable advice, ryandesign.
     33
     34
     35