Opened 11 years ago
Last modified 11 years ago
#39408 closed defect
plplot @5.9.9_12+aquaterm+python27+x11: build failure — at Version 2
Reported by: | rms414@… | Owned by: | takeshi@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.3 |
Keywords: | Cc: | ||
Port: | plplot |
Description (last modified by larryv (Lawrence Velázquez))
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.
Change History (5)
Changed 11 years ago by rms414@…
comment:1 Changed 11 years ago by rms414@…
I forgot to add, in order to compile plplot with Macports, I used the command "sudo port -v install plplot +python27"
comment:2 Changed 11 years ago by larryv (Lawrence Velázquez)
Description: | modified (diff) |
---|---|
Keywords: | Compile Error removed |
Owner: | changed from macports-tickets@… to takeshi@… |
Priority: | High → Normal |
Summary: | Problems with Compiling Plplot → plplot @5.9.9_12+aquaterm+python27+x11: build failure |
Thanks. In the future, please Cc relevant port maintainers, use WikiFormatting in ticket descriptions, avoid setting the Priority field, include port version information in the ticket summary, and attach unified diffs instead of whole portfiles.
Make Log File