[MacPorts] #39408: plplot @5.9.9_12+aquaterm+python27+x11: build failure (was: Problems with Compiling Plplot)
MacPorts
noreply at macports.org
Mon Jun 10 16:24:44 PDT 2013
#39408: plplot @5.9.9_12+aquaterm+python27+x11: build failure
-----------------------+-----------------------
Reporter: rms414@… | Owner: takeshi@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.3
Resolution: | Keywords:
Port: plplot |
-----------------------+-----------------------
Changes (by larryv@…):
* priority: High => Normal
* keywords: Compile Error =>
* owner: macports-tickets@… => takeshi@…
Old 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 "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.
New 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 "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.
--
Comment:
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.
--
Ticket URL: <https://trac.macports.org/ticket/39408#comment:2>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list