[MacPorts] #37485: magicpp will not install
#37485: magicpp will not install ---------------------------------+-------------------------------- Reporter: staffan.scherloff@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: installation | Port: magicpp 2.16.1 ---------------------------------+-------------------------------- Magicpp 2.16.1 will not install on a freshly installed system. However, all dependencies will. Copy of log enclosed. -- Ticket URL: <https://trac.macports.org/ticket/37485> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37485: magicspp: C compiler cannot create executables ----------------------------------+----------------------- Reporter: staffan.scherloff@… | Owner: takeshi@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: magicspp | ----------------------------------+----------------------- Changes (by ryandesign@…): * keywords: installation => * owner: macports-tickets@… => takeshi@… * port: magicpp 2.16.1 => magicspp Comment: As the log says: {{{ :info:configure configure: error: C compiler cannot create executables :info:configure See `config.log' for more details. }}} This [wiki:FAQ#missingxcode usually means] the command line tools are not installed properly; please install them by opening Xcode.app, going to Preferences, to Downloads. If that doesn't fix it, please provide the afforementioned config.log file; it's in the directory identified by the command {{{port work magicspp}}}. -- Ticket URL: <https://trac.macports.org/ticket/37485#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37485: magicspp: C compiler cannot create executables ----------------------------------+----------------------- Reporter: staffan.scherloff@… | Owner: takeshi@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: invalid | Keywords: Port: magicspp | ----------------------------------+----------------------- Changes (by macsforever2000@…): * status: new => closed * resolution: => invalid Comment: Trac is not for tech support and there is nothing to fix here. Please move to the [http://lists.macosforge.org/mailman/listinfo/macports-users Macports Users mailing list] for further help. -- Ticket URL: <https://trac.macports.org/ticket/37485#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37485: magicspp: C compiler cannot create executables ----------------------------------+----------------------- Reporter: staffan.scherloff@… | Owner: takeshi@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: invalid | Keywords: Port: magicspp | ----------------------------------+----------------------- Comment (by staffan.scherloff@…): The Command Line tools are installed - see enclosure. I have deleted all ports including the directories and made an reinstall of the port package again. Installing magicspp does not work, but all dependencies will compile nicely without any problem. In the log file - also attached - one can see that the installation script apparently can't find the c compiler, although it is installed properly. If the script is working, then please advise how to proceed. -- Ticket URL: <https://trac.macports.org/ticket/37485#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37485: magicspp: C compiler cannot create executables ----------------------------------+----------------------- Reporter: staffan.scherloff@… | Owner: takeshi@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: magicspp | ----------------------------------+----------------------- Changes (by staffan.scherloff@…): * status: closed => reopened * resolution: invalid => Comment: At least two dependencies are not resolved when installing magicspp: '''gcc45''' (if this is chosen as variant) and SWIG. Moreover, '''netCDF''' does not install properly as '''netcdfcpp.h''' can't be found. A workaround for gcc45 was to install the port '''grads''' which builds it and SWIG can be installed as a separate port. The last one netcdfcpp.h is apparantly installed with the port netcdf-cxx. After these workarounds the magicspp compiles and installation terminates properly and apparently everything finishes OK. However, the port can not be executed and no logs are available since they are cleaned. -- Ticket URL: <https://trac.macports.org/ticket/37485#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37485: magicspp: C compiler cannot create executables ----------------------------------+----------------------- Reporter: staffan.scherloff@… | Owner: takeshi@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: magicspp | ----------------------------------+----------------------- Comment (by jmr@…): OK, so as Ryan said, we need to see the config.log. -- Ticket URL: <https://trac.macports.org/ticket/37485#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37485: magicspp: C compiler cannot create executables ----------------------------------+----------------------- Reporter: staffan.scherloff@… | Owner: takeshi@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: magicspp | ----------------------------------+----------------------- Comment (by staffan.scherloff@…): Attached, as requested, config.log. -- Ticket URL: <https://trac.macports.org/ticket/37485#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37485: magicspp: C compiler cannot create executables ----------------------------------+----------------------- Reporter: staffan.scherloff@… | Owner: takeshi@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: magicspp | ----------------------------------+----------------------- Comment (by jmr@…): {{{ configure:3703: checking for gcc configure:3730: result: /opt/local/bin/gcc-mp-4.5 configure:3959: checking for C compiler version configure:3968: /opt/local/bin/gcc-mp-4.5 --version >&5 ./configure: line 3970: /opt/local/bin/gcc-mp-4.5: No such file or directory }}} So the problem is that the gcc45 variant doesn't add a build dependency on gcc45. -- Ticket URL: <https://trac.macports.org/ticket/37485#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37485: magicspp: C compiler cannot create executables ----------------------------------+----------------------- Reporter: staffan.scherloff@… | Owner: takeshi@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: magicspp | ----------------------------------+----------------------- Changes (by takeshi@…): * status: reopened => closed * resolution: => fixed Comment: Committed in r101134. Thanks. -- Ticket URL: <https://trac.macports.org/ticket/37485#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37485: magicspp: C compiler cannot create executables ----------------------------------+----------------------- Reporter: staffan.scherloff@… | Owner: takeshi@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: magicspp | ----------------------------------+----------------------- Comment (by takeshi@…): A few more fixes were required. See r101135 and r101136. -- Ticket URL: <https://trac.macports.org/ticket/37485#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37485: magicspp: C compiler cannot create executables ----------------------------------+----------------------- Reporter: staffan.scherloff@… | Owner: takeshi@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: magicspp | ----------------------------------+----------------------- Changes (by ryandesign@…): * status: closed => reopened * resolution: fixed => Comment: Actually magicspp is linking with gcc45's libraries, so it needs to be a library dependency. {{{ $ otool -L /opt/local/lib/libMagPlus.dylib | grep gcc45 /opt/local/lib/gcc45/libgfortran.3.dylib (compatibility version 4.0.0, current version 4.0.0) /opt/local/lib/gcc45/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0) $ port provides /opt/local/lib/libMagPlus.dylib /opt/local/lib/libMagPlus.dylib is provided by: magicspp }}} -- Ticket URL: <https://trac.macports.org/ticket/37485#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37485: magicspp: C compiler cannot create executables ----------------------------------+----------------------- Reporter: staffan.scherloff@… | Owner: takeshi@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: magicspp | ----------------------------------+----------------------- Changes (by takeshi@…): * status: reopened => closed * resolution: => fixed Comment: Committed in r101186 and r101187. -- Ticket URL: <https://trac.macports.org/ticket/37485#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts