maddox / magick-installer Goto Github PK
View Code? Open in Web Editor NEWImageMagick installer script because macports sucks
ImageMagick installer script because macports sucks
Could not resolve host: voxel.dl.sourceforge.net;
nodename nor servname provided, or not known.
But I can visit http://sourceforge.net/projects/wvware/files/libwmf/0.2.8.4/libwmf-0.2.8.4.tar.gz to download the lib.
Hello,
I'm now installing this on 10.0.7, however, I do not know how to load this in php.ini, I mean, where's the .so, file and such things.
I use the default apache server and the php.ini is in /private/etc/php.ini
I´m used this one http://www.imagemagick.org/download/delegates/jpegsrc.v8b.tar.gz
download ftp://ftp.simplesystems.org/pub/libpng/png/src/libpng-1.4.5.tar.gz
server response: 550 status
http://heanet.dl.sourceforge.net/project/ghostscript/GPL%20Ghostscript/9.00/ghostscript-9.00.tar.gz
The current ghostcript link does not work
I used this one instead
http://sourceforge.net/projects/ghostscript/files/GPL%20Ghostscript/9.02/ghostscript-9.02.tar.gz
The current version of the script references libpng-1.5.4 which has now been bumped to libpng-1.5.5 and renders the script unusable:
ftp://ftp.simplesystems.org/pub/libpng/png/src/
the correct link is now https://raw.githubusercontent.com/maddox/magick-installer/master/magick-installer.sh
I don't know if this is a temporary outage or not but the very first link is dead. I have confirmed all the others are still live.
The offender: http://nongnu.askapache.com/freetype/freetype-2.3.9.tar.gz
this one is not working: http://downloads.sourceforge.net/project/lcms/lcms/1.19/lcms-1.19.tar.gz
re-download it yourself and it worked!
Thanks!!!
What's the advantage of using this over using brew?
Brew also installs ImageMagick easily, you just have to setup brew once and get rid of macports. Until now I never had problems with brew and it replaced my macports installation perfectly.
I get this error message:
configure: creating ./config.status
./config.status: line 398: syntax error near unexpected token `)'
./config.status: line 398: ` *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;'
Any ideas?
ndefined symbols:
"_iconv_close", referenced from:
_opvp_to_utf8 in gdevopvp.o
"_iconv", referenced from:
_opvp_to_utf8 in gdevopvp.o
"_iconv_open", referenced from:
_opvp_to_utf8 in gdevopvp.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [bin/gs] Error 1
Like the other go-to ImageMagick installer script found on github (http://github.com/masterkain/ImageMagick-sl), I had to add the
--without-fontconfig
flag the configuration for ImageMagick. Took a while to figure that out and I finally found the other answer in the issues section for the other script. Just FYI.
The rmagick install doesn't find the Magick-config file. Is it having a problem since the default Ruby Enterprise Edition path is in /opt? What should I change? Any help would be appreciated. Thanks.
Thanks a lot for the script!
The version is no longer available at that URL. It should be updated to the current one 1.19.
I had some difficulty getting the last portion to work which downloads ImageMagick and compiles it. The file would not download all of the way, and the one time it did download it did not include a configure
file, very strange. I ended up doing this.
ftp ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick.tar.gz tar xzvf ImageMagick.tar.gz cd ImageMagick-* export CPPFLAGS=-I/usr/local/include export LDFLAGS=-L/usr/local/lib ./configure --prefix=/usr/local --disable-static --with-modules --without-perl --without-magick-plus-plus --with-quantum-depth=8 --with-gs-font-dir=/usr/local/share/ghostscript/fonts make sudo make install cd ..
Nice script for installing ImageMagick on Mac.
Only thing - would be really nice to see SVG support, especially with the push for retina / HD graphics these days!
So far I've tried to install:
http://www.imagemagick.org/download/delegates/libxml2-2.9.1.tar.gz
http://ftp.gnome.org/pub/GNOME/sources/librsvg/2.9/librsvg-2.9.5.tar.gz
but get error making librsvg:
configure: error: Library requirements ( gdk-pixbuf-2.0 >= 1.3.7 glib-2.0 >= 2.0.0 libart-2.0 >= 2.3.10 libxml-2.0 >= 2.4.7 pangoft2 >= 1.2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
Hi,
Looks like
http://voxel.dl.sourceforge.net/project/wvware/libwmf/0.2.8.4/libwmf-0.2.8.4.tar.gz
Isn't available anymore
How can we resolve that
Thanks
Hi, on OS X 10.7.3
I get this:
gcc -DHAVE_MKSTEMP -DHAVE_FONTCONFIG -DHAVE_SETLOCALE -DHAVE_SSE2 -DHAVE_BSWAP32 -O2 -Wall -Wstrict-prototypes -Wundef -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings -Wno-strict-aliasing -Wdeclaration-after-statement -fno-builtin -fno-common -DHAVE_STDINT_H -DGX_COLOR_INDEX_TYPE="unsigned long int" -I./obj -I./base -DWHICH_CMS="lcms" -o ./obj/gsromfs1.o -c ./obj/gsromfs1.c
./obj/aux/echogs -w ./obj/ldt.tr -n - gcc -L/usr/X11/lib -o ./bin/gs
./obj/aux/echogs -a ./obj/ldt.tr -n -s ./obj/gsromfs1.o ./obj/gs.o -s
cat ./obj/ld.tr >>./obj/ldt.tr
./obj/aux/echogs -a ./obj/ldt.tr -s - -ldl -lm -liconv -L/opt/local/lib -lfontconfig -lexpat -lfreetype -lz -liconv -lpthread -lm
if [ x != x ]; then LD_RUN_PATH=; export LD_RUN_PATH; fi;
XCFLAGS= XINCLUDE= XLDFLAGS= XLIBDIRS= XLIBS=
FEATURE_DEVS= DEVICE_DEVS= DEVICE_DEVS1= DEVICE_DEVS2= DEVICE_DEVS3=
DEVICE_DEVS4= DEVICE_DEVS5= DEVICE_DEVS6= DEVICE_DEVS7= DEVICE_DEVS8=
DEVICE_DEVS9= DEVICE_DEVS10= DEVICE_DEVS11= DEVICE_DEVS12=
DEVICE_DEVS13= DEVICE_DEVS14= DEVICE_DEVS15= DEVICE_DEVS16=
DEVICE_DEVS17= DEVICE_DEVS18= DEVICE_DEVS19= DEVICE_DEVS20=
DEVICE_DEVS_EXTRA=
/bin/sh <./obj/ldt.tr
Undefined symbols for architecture x86_64:
"_iconv_open", referenced from:
_opvp_to_utf8 in gdevopvp.o
"_iconv", referenced from:
_opvp_to_utf8 in gdevopvp.o
"_iconv_close", referenced from:
_opvp_to_utf8 in gdevopvp.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make: *** [bin/gs] Error 1
Seems fairly similar to the error I get with Brew also. Going nuts here. Nothing works to get ImageMagick onto OS X
By issuing a "set -e" call at the top of the script, it will cause the entire script to exit immediately if any of the commands within the script return non-0 exit status codes.
This should aid us as a community in keeping the script up to date. Currently, the script marches on and since there are thousands of lines of output, it can be hard to detect.
This commit corrects this: http://github.com/jtrupiano/magick-installer/commit/4bbe09b7f197a05be6eb3b2971acae1c3321bbeb
changing line 43 from:
ln -s which glibtool
./libtool
to:
ln -s -f which glibtool
./libtool
fixed the problem
Keep getting the following error.
./base/gp_unix.c:25:37: error: fontconfig/fontconfig.h: No such file or directory
Some sources suggested i install xquartz but that did not help, naturally i have xcode installed together with command line tools.
Any suggestions?
download http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.13.1.tar.gz
download http://nongnu.askapache.com/freetype/freetype-2.4.3.tar.gz
download http://sourceforge.net/projects/libpng/files/libpng15/older-releases/1.5.5/libpng-1.5.5.tar.gz
download http://www.imagemagick.org/download/delegates/jpegsrc.v8b.tar.gz
download http://download.osgeo.org/libtiff/tiff-3.9.4.tar.gz
download http://downloads.sourceforge.net/project/wvware/libwmf/0.2.8.4/libwmf-0.2.8.4.tar.gz
download http://downloads.sourceforge.net/project/lcms/lcms/1.19/lcms-1.19.tar.gz
download http://sourceforge.net/projects/ghostscript/files/GPL%20Ghostscript/9.04/ghostscript-9.04.tar.gz
download http://downloads.sourceforge.net/project/gs-fonts/gs-fonts/8.11%20%28base%2035%2C%20GPL%29/ghostscript-fonts-std-8.11.tar.gz
download ftp://ftp.sunet.se/pub/multimedia/graphics/ImageMagick/ImageMagick-6.6.7-0.tar.gz
Using this script installed all the files in my home directory. It makes for a not so clean home directory. You might want to change that. :/
cp: /usr/local/share/ghostscript/9.04/#inst.50085#: No such file or directory
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.