[MacPorts] #44341: cmake can't find SDK when building openjpeg

MacPorts noreply at macports.org
Wed Jul 16 01:00:30 PDT 2014


#44341: cmake can't find SDK when building openjpeg
-----------------------------+--------------------------------
  Reporter:  dave.evans55@…  |      Owner:  macports-tickets@…
      Type:  defect          |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.3.1
Resolution:                  |   Keywords:  cmake
      Port:  openjpeg        |
-----------------------------+--------------------------------

Comment (by dave.evans55@…):

 Replying to [comment:1 ryandesign@…]:
 > Replying to [ticket:44341 dave.evans55@…]:
 >
 > That all looks fine, and suggests that `${developer_dir}` has the wrong
 value for you.
 >

 You are right - I had developer_dir set to an unusual value in
 macports.conf.  I commented it out and now openjpeg builds.

 > `developer_dir` is automatically set by MacPorts base to the value
 returned by `xcode-select -print-path`. Try running that on the command
 line; if it does not say "/Applications/Xcode.app/Contents/Developer",
 then run `sudo xcode-select -switch
 /Applications/Xcode.app/Contents/Developer` to fix it.
 >
 xcode_select was set correctly.

 > If that's not it: Have you overridden `developer_dir` in macports.conf?
 If so, comment that out and try again.
 >

 Done. It Now works.

 The reason I had set developer_dir is lost in the mists of time.  I must
 have done it to fix some other breakage.

 Thank you for your kind assistance.

-- 
Ticket URL: <https://trac.macports.org/ticket/44341#comment:2>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list