[MacPorts] #20359: dia build fails when libemf is installed

Nigel King nigel at nigelking.me.uk
Tue Jul 21 13:55:24 PDT 2009


Hi,
I managed to get the new dia to install by

sudo cp /opt/local/var/macports/software/libemf/1.0.3_0/opt/local/ 
include/libEMF/emf.h /opt/local/include/

all on one line

and then issuing

sudo port install dia

dia in principle supports python with the installation directive -- 
with-python which I would like

I tried adding this to the dia Portfile

configure.args \
    --with-cairo \
    --with-xslt-prefix=${prefix} \
    --with-python

however
sudo port install dia --with-python
returns
Error: --with-python is not installed

obviously my understanding of MacPorts is at the very dangerous stage

Thanks for your help

Nigel King


On 18 Jul 2009, at 09:53, MacPorts wrote:

> #20359: dia build fails when libemf is installed
> ------------------------------------- 
> +--------------------------------------
> Reporter:  ryandesign@…             |       Owner:  nox@…
>    Type:  defect                   |      Status:  new
> Priority:  Normal                   |   Milestone:
> Component:  ports                    |     Version:  1.7.1
> Keywords:                           |        Port:  dia
> ------------------------------------- 
> +--------------------------------------
>
> Comment(by ryandesign@…):
>
> Or, the build could be fixed so that emf.h can be found, and a  
> dependency
> on libemf added. If that would be useful.
>
> -- 
> Ticket URL: <http://trac.macports.org/ticket/20359#comment:1>
> MacPorts <http://www.macports.org/>
> Ports system for Mac OS



More information about the macports-users mailing list