[MacPorts] #28032: rrdtool 1.4.4_1 fails to compile
MacPorts
noreply at macports.org
Tue Jan 18 11:28:35 PST 2011
#28032: rrdtool 1.4.4_1 fails to compile
---------------------------+------------------------------------------------
Reporter: sck@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.9.2
Keywords: | Port: rrdtool
---------------------------+------------------------------------------------
Comment(by sck@…):
In looking in the build directory I noticed...
{{{
wsip-209-242-168-10:rrdtool-1.4.4 sck$ pwd
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_rrdtool/work/rrdtool-1.4.4
wsip-209-242-168-10:rrdtool-1.4.4 sck$ find . -type f -exec grep libpng12
{} \; -ls
AdditionalIncludeDirectories=".;../contrib/include/cairo;"../contrib/include/pango-1.0";"../contrib/include/glib-2.0";"../contrib/lib/glib-2.0/include";../contrib/include;../contrib/include/libpng12;../contrib/include/libxml2"
AdditionalIncludeDirectories=".;../contrib/include/cairo;"../contrib/include/pango-1.0";"../contrib/include/glib-2.0";"../contrib/lib/glib-2.0/include";../contrib/include;../contrib/include/libpng12;../contrib/include/libxml2"
AdditionalIncludeDirectories=".;../contrib/include/cairo;"../contrib/include/pango-1.0";"../contrib/include/glib-2.0";"../contrib/lib/glib-2.0/include";../contrib/include;../contrib/include/libpng12;../contrib/include/libxml2"
16587559 24 -rw-r--r-- 1 root admin 11377 Jul 1 2010
./win32/rrdlib.vcproj
CommandLine="copy
$(ProjectDir)\..\..\contrib\cairo\bin\libcairo-2.dll
$(TargetDir)\
copy
$(ProjectDir)\..\..\contrib\glib\bin\libglib-2.0-0.dll
$(TargetDir)\
copy
$(ProjectDir)\..\..\contrib\glib\bin\libgmodule-2.0-0.dll
$(TargetDir)\
copy
$(ProjectDir)\..\..\contrib\glib\bin\libgobject-2.0-0.dll
$(TargetDir)\
copy
$(ProjectDir)\..\..\contrib\libpng\bin\libpng12-0.dll
$(TargetDir)\
copy
$(ProjectDir)\..\..\contrib\pango\bin\libpango-1.0-0.dll
$(TargetDir)\
copy
$(ProjectDir)\..\..\contrib\pango\bin\libpangocairo-1.0-0.dll
$(TargetDir)\
copy
$(ProjectDir)\..\..\contrib\pango\bin\libpangowin32-1.0-0.dll
$(TargetDir)\
copy $(ProjectDir)\..\..\contrib\zlib\zlib1.dll
$(TargetDir)\
copy
$(ProjectDir)\..\..\contrib\libxml2\lib\libxml2.dll
$(TargetDir)\
"
16587556 24 -rw-r--r-- 1 root admin 9668 Jul 1 2010
./win32/rrdtool.vcproj
libpng12.dll
16587533 32 -rw-r--r-- 1 root admin 15833 Jul 2 2010
./WIN32-BUILD-TIPS.txt
wsip-209-242-168-10:rrdtool-1.4.4 sck$
}}}
So, I didn't see where the build is getting confused... Maybe one of my
libpng-config is confused.
wsip-209-242-168-10:~ sck$ which libpng12-config
/opt/X11/bin/libpng12-config
wsip-209-242-168-10:~ sck$ which libpng14-config
/opt/local/bin/libpng14-config
wsip-209-242-168-10:~ sck$ which libpng-config
/opt/local/bin/libpng-config
wsip-209-242-168-10:~ sck$
So, this maybe a PATH issue?
wsip-209-242-168-10:~ sck$ echo $PATH
/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/usr/X11/bin:/usr/X11R6/bin:/usr/local/bin:/opt/local/sbin
wsip-209-242-168-10:~ sck$ export
PATH=/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/X11R6/bin:/usr/local/bin:/opt/local/sbin
wsip-209-242-168-10:~ sck$ echo $PATH
/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/X11R6/bin:/usr/local/bin:/opt/local/sbin
wsip-209-242-168-10:~ sck$
Am retrying with /opt/X11/bin removed from my path.
--
Ticket URL: <https://trac.macports.org/ticket/28032#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list