#39408: Problems with Compiling Plplot ---------------------------+-------------------------------- Reporter: rms414@… | Owner: macports-tickets@… Type: defect | Status: new Priority: High | Milestone: Component: ports | Version: 2.1.3 Keywords: Compile Error | Port: plplot ---------------------------+-------------------------------- I am having some issues with compiling plplot and cannot figure out how to solve it. There were some changes made to the portfile which was necessary for the compilation. This could potentially be the source of the problem. I have attached both the log file for the plplot compilation and the portfile. To save some time reading through the portfile, the changes made were the following: 1.) Replacing the post-patch section with: post-patch { # reinplace "s|-framework AquaTerm|-F${prefix}/Library/Frameworks -framework AquaTerm|" ${worksrcpath}/cmake/modules/aqt.cmake reinplace "s|-ObjC|-ObjC -framework AquaTerm|" ${worksrcpath}/cmake/modules/aqt.cmake reinplace "s|-framework AquaTerm|-F${frameworks_dir} -framework AquaTerm|" ${worksrcpath}/cmake/modules/aqt.cmake if {[variant_isset python]} { reinplace "s|find_package(PythonLibs)||" ${worksrcpath}/cmake/modules/python.cmake reinplace "s|get_python_lib\(1,0,prefix='$\{CMAKE_INSTALL_EXEC_PREFIX\}'\)|get_python_lib()|" ${worksrcpath}/cmake/modules/python.cmake } } 2.) Adding a new variant variant python27 description {Add support for python27} { depends_lib-append port:python27 \ port:py27-numpy \ port:swig-python configure.args-delete -DENABLE_python=OFF configure.args-append -DENABLE_python=ON \ -DHAVE_NUMPY:BOOL=ON \ -DPYTHON_INCLUDE_PATH=/opt/local/Library/Frameworks/Python.framework/Versions/Current/include/python2.7 \ -DPYTHON_LIBRARIES=/opt/local/Library/Frameworks/Python.framework/Versions/Current/lib/libpython2.7.dylib } If anyone has any idea on what can potentially be the problem, it will be greatly appreciated. -- Ticket URL: <https://trac.macports.org/ticket/39408> MacPorts <http://www.macports.org/> Ports system for OS X