Opened 11 years ago
Last modified 11 years ago
#39408 closed defect
Problems with Compiling Plplot — at Initial Version
Reported by: | rms414@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.3 |
Keywords: | Cc: | ||
Port: | plplot |
Description
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 "sObjCObjC -framework AquaTerm|" ${worksrcpath}/cmake/modules/aqt.cmake reinplace "sframework AquaTermF${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.
Make Log File