From owner-freebsd-questions@FreeBSD.ORG Thu Jun 2 05:14:02 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B24C7106566B for ; Thu, 2 Jun 2011 05:14:02 +0000 (UTC) (envelope-from aussieang@gmail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 675E18FC0C for ; Thu, 2 Jun 2011 05:14:02 +0000 (UTC) Received: by vxc34 with SMTP id 34so545374vxc.13 for ; Wed, 01 Jun 2011 22:14:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=UQclm21fFAhZKZa3jNOx7VEAWe4sLk3FAiPcNBFVRvM=; b=WQEuruHPX38tIYaXRhAlNAEKqleHNOdy7c1RTFF6NU9XB3pIJ3QK3C9vuRKBm+PeUW g5oe0vpWRZOyQjadZ5zNy9na6Q2o25QgYD0soBKrJymn1m3UasCIPA9GykAG9amB8Dx5 P0AJuNAn/P2W09VORPtImRPCWOSMNE9Imw4BE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Rt8wyjxtPQq10yBq751qVb9afSliBZQGELs1E6WChfnUOF0+VBBSl7/72dNmcV/f5a w5dCw4Z3mRK0wz+uaiy/cDfraPnJb6nVm67x5yhuYV1NWsaP6bHh/v0BfBySWYZoLpTG VsKc5QbbqjB1z2tkIbbR2vwSsgG3UpiBuVO2g= MIME-Version: 1.0 Received: by 10.52.68.147 with SMTP id w19mr382689vdt.152.1306991638139; Wed, 01 Jun 2011 22:13:58 -0700 (PDT) Received: by 10.52.185.225 with HTTP; Wed, 1 Jun 2011 22:13:58 -0700 (PDT) Date: Wed, 1 Jun 2011 22:13:58 -0700 Message-ID: From: Angelo To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Install ImageMagick configured with Autotrace switch X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jun 2011 05:14:02 -0000 Thanks Peter but I can't seem to build this thing. I've tried just about everything I can think of to pass the argument "--with-autotrace" and it throws exceptions or just ignores the command. The output of the configure in ImageMagick's delegate configuration is --with-autotrace=no and I'm trying to change it to =yes before I build. When I run "make configure --with-autotrace=yes" ("./configure" won't work) or any other combination, the build is without the option set to yes just the default no. When I add the argument to the make file directly, it stops at "/usr/bin/ld: cannot find -lMagickWand" Also, make doesn't recognize "-- -" and throws exceptions there too when I enclose it with ' '. When I install autotrace first, it automatically installs ImageMagick as well but the delegate config in ImageMagick is still set to no. Last but not least (this may be tied to the problem or add clues) when I install ImageMagick and test (passes all internal tests), the system won't recognize any shell commands like "convert" but will in a php script via IMagick which still doesn't produce the correct svg xml since autotrace isn't being used for the vectorization conversion. Would be nice to run php scripting with ImageMagick commands from the shell but at this point I'll take just about anything. Cheers! Angelo ______________________ A> I am trying to install ImageMagick and Autotrace ports but I need to A> configure Imagemagick to work with Autotrace so it processes raster images A> to the vector svg format properly. A> A> This is what is recommended from the imagemagick website to do, but I don't A> know the commands to type in freebsd to accomplish: Quote: "For this to work A> however the 'development' "AutoTrace" library must be installed, and IM A> configured with a "--with-autotrace" switch. You'd better tweak the graphics/ImageMagick port for this. Its Makefile should have the 'CONFIGURE_ARGS =+' -like strings you can use as a sample for the WITH_* option you can easily add. Be sure to include the DEPENDS variable update for your library, too. Feel free to submit patch for that port then. The dependence library port should be already present on the ports tree, too. A> So do I install with "make --with-autotrace" then "make A> install --with-autotrace" and lastly "make clean"? This is about ImageMagick's ./configure I think. A> I already have ImageMagick and Autotrace installed but not configured A> together so I'm assuming I will have to uninstall imagemagick first then A> reinstall it with the autotrace switch? uninstall and compile anew, 'make clean' is the best to ensure this before 'make'. 73! Peter pgp: A0E26627 (4A42 6841 2871 5EA7 52AB 12F8 0CE1 4AAC A0E2 6627) -- http://vereshagin.org