Comments (26)
"brew install jpeg" first
from legacy-homebrew.
Yeah sorry, deps handling is almost done now!
from legacy-homebrew.
So installing jpeg helped me because I was having the same prob. However, I now get caught up on ghostscript. I was able to compile it outside of my homebrew. This is what I see:
gcc -DHAVE_MKSTEMP -DHAVE_HYPOT -DHAVE_FONTCONFIG -O2 -I/opt/local/include -I/usr/X11R6/include -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" -O3 -march=core2 -m64 -mmmx -msse4.1 -w -pipe -fomit-frame-pointer -mmacosx-version-min=10.6 -I./obj -Ijpeg -o ./obj/jcinit.o -c ./obj/jcinit.c
./obj/jcinit.c: In function ‘jinit_compress_master’:
./obj/jcinit.c:45: error: ‘JERR_ARITH_NOTIMPL’ undeclared (first use in this function)
./obj/jcinit.c:45: error: (Each undeclared identifier is reported only once
./obj/jcinit.c:45: error: for each function it appears in.)
make: *** [obj/jcinit.o] Error 1
from legacy-homebrew.
The /opt/local line worries me, do you have macports installed? As that could break it.
But possibly ghostscript just adds that automatically on mac, so are you on 10.5 or 10.6?
from legacy-homebrew.
/opt/local is where I decided to put my homebrew. I am on a fresh install of 10.6.
from legacy-homebrew.
Aah cool. OK. I've just rm -rf Cellar and I'm rebuilding it to see if it still works.
from legacy-homebrew.
Yeah installs for me. We'll have to look deeper.
from legacy-homebrew.
My bad. I thought dependency support was already in place.
Installing jpeg per josh got me further. The ghostscript installation step now fails with:
gcc-4.2 -DHAVE_MKSTEMP -DHAVE_HYPOT -DHAVE_FONTCONFIG -O2 -I/Users/nirvdrum/homebrew/include -I/usr/X11R6/include -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 long" -O3 -march=nocona -mfpmath=sse -mmmx -msse4.1 -w -pipe -fomit-frame-pointer -mmacosx-version-min=10.5 -DUSE_LIBICONV_GNU -I./obj -Ijpeg -o ./obj/jcinit.o -c ./obj/jcinit.c
./obj/jcinit.c: In function ‘jinit_compress_master’:
./obj/jcinit.c:45: error: ‘JERR_ARITH_NOTIMPL’ undeclared (first use in this function)
./obj/jcinit.c:45: error: (Each undeclared identifier is reported only once
./obj/jcinit.c:45: error: for each function it appears in.)
make: *** [obj/jcinit.o] Error 1
If I'm better holding off until homebrew adds in dependency support, I can do that.
from legacy-homebrew.
imagemagick clean installs for me, but I'm still having some issues with it. I haven't had time to debug it, but it seems it is not picking up the other dependency libs.
$ identify -list Format
Format Module Mode Description
-------------------------------------------------------------------------------
* native blob support
r read support
w write support
+ support for multiple images
from legacy-homebrew.
I was able to install by having homebrew inside /usr/local. Previously, I was trying to install to /opt/local.
I am a little concerned about having homebrew in /usr/local because other things install themselves there. /usr/local is a a clone of my fork, so I just git pull to get updates. Am I going about this the wrong way?
from legacy-homebrew.
My ImageMagick installation did exactly like it did for josh. Didn't pick up any dependencies. My 'identify -list format' results look the same as his.
from legacy-homebrew.
@wesrog if it doesn't work other than to install to /usr/local that is intersting. Suggests some part of the imagemagick build system expects to be installed there.
I'll be looking into this thoroughly this week.
from legacy-homebrew.
The imagemagick ftp url isn't present, so fails. When fixed, and the md5 is adjusted accordingly, and jepg dependancy is installed, I am getting the same error as nirvdrum posted above. Would be great to get this sorted ASAP. Homebrew is awesome and problems like this are sad :(
from legacy-homebrew.
Another two quick points. The error I referred to is a few comments up (his latest one), not the one in the original ticket. Secondly, I am installing into /opt/local (I don't want to touch /usr/local.
from legacy-homebrew.
Adding a "--disable-shared" to the configure step seems to do the trick.
from legacy-homebrew.
@KieranP brew install pkg-config
from legacy-homebrew.
On my homebrew clone, I updated references to the latest imagemagick, added the --disable-shared configure option and reinstalled. Now, my command-line "convert"'s work
convert image.jpg image.png
They did not work before.
from legacy-homebrew.
@wesrog +1 All working now
We should make a patch for the updated url.
from legacy-homebrew.
Apologies for the badly formatted output earlier.
So, digging in some more, my problem seems to be that GhostScript will not compile with JPEG 7. It looks like the source for JPEG 6b has been taken down, so downgrading is not terribly straightforward. I'll have to dig around for an old copy of the tarball.
from legacy-homebrew.
Rolling back to jpeg 6b with a mirror I found at http://afs.caspur.it/afs/italia/project/casis/html/src/Libraries/jpeg.v6b.tar.gz did the trick.
At this stage, I don't think there's anyway to use jpeg 7 with ghostscript, although there seems to be some work going on in the latter's SVN trunk. So, I guess I'd suggest either rolling back the jpeg formula to 6b or drop ghostscript in the imagemagick formula.
from legacy-homebrew.
Doesn't build for me too. Even after installing jpeg 6 as mentioned by @nirvdrum and disabling libwmf, which I really don't need either.
Anyways, I gave up and used the rmagick-osx-installer script (v1.2.3) which has never failed me yet. And didn't fail me now. It might be interesting for the people maintaining this formula: http://rubyforge.org/frs/?group_id=12&release_id=37260
from legacy-homebrew.
$ identify -list Format Format Mode Description ------------------------------------------------------------------------------- A* rw+ Raw alpha samples AI rw- Adobe Illustrator CS2 ART* rw- PFS: 1st Publisher Clip Art ARW r-- Sony Alpha Raw Image Format AVI* r-- Microsoft Audio/Visual Interleaved AVS* rw+ AVS X image B* rw+ Raw blue samples BGR* rw+ Raw blue, green, and red samples BMP* rw- Microsoft Windows bitmap image BMP2* -w- Microsoft Windows bitmap image v2 BMP3* -w- Microsoft Windows bitmap image v3 BRG* rw+ Raw blue, red, and green samples C* rw+ Raw cyan samples CAPTION* r-- Image caption CIN* rw+ Cineon Image File CIP* -w- Cisco IP phone image format CLIP* -w+ Image Clip Mask CMYK* rw+ Raw cyan, magenta, yellow, and black samples CMYKA* rw+ Raw cyan, magenta, yellow, black, and alpha samples CR2 r-- Canon Digital Camera Raw Image Format CRW r-- Canon Digital Camera Raw Image Format CUR* rw- Microsoft icon CUT* r-- DR Halo DCM* r-- Digital Imaging and Communications in Medicine image DICOM is used by the medical community for images like X-rays. The specification, "Digital Imaging and Communications in Medicine (DICOM)", is available at http://medical.nema.org/. In particular, see part 5 which describes the image encoding (RLE, JPEG, JPEG-LS), and supplement 61 which adds JPEG-2000 encoding. DCR r-- Kodak Digital Camera Raw Image File DCX* rw+ ZSoft IBM PC multi-page Paintbrush DDS* r-- Microsoft DirectDraw Surface DFONT* r-- Multi-face font package (Freetype 2.3.9) DNG r-- Digital Negative DPX* rw- SMPTE 268M-2003 (DPX 2.0) Digital Moving Picture Exchange Bitmap, Version 2.0. See SMPTE 268M-2003 specification at http://www.smtpe.org EPDF rw- Encapsulated Portable Document Format EPI rw- Encapsulated PostScript Interchange format EPS rw- Encapsulated PostScript EPS2* -w- Level II Encapsulated PostScript EPS3* -w+ Level III Encapsulated PostScript EPSF rw- Encapsulated PostScript EPSI rw- Encapsulated PostScript Interchange format EPT rw- Encapsulated PostScript with TIFF preview EPT2 rw- Encapsulated PostScript Level II with TIFF preview EPT3 rw+ Encapsulated PostScript Level III with TIFF preview ERF r-- Epson RAW Format FAX* rw+ Group 3 FAX FAX machines use non-square pixels which are 1.5 times wider than they are tall but computer displays use square pixels, therefore FAX images may appear to be narrow unless they are explicitly resized using a geometry of "150x100%". FITS* rw- Flexible Image Transport System FRACTAL* r-- Plasma fractal image FTS* rw- Flexible Image Transport System G* rw+ Raw green samples G3* rw- Group 3 FAX GBR* rw+ Raw green, blue, and red samples GIF* rw+ CompuServe graphics interchange format GIF87* rw- CompuServe graphics interchange format (version 87a) GRADIENT* r-- Gradual linear passing from one shade to another GRAY* rw+ Raw gray samples GRB* rw+ Raw green, red, and blue samples HISTOGRAM* -w- Histogram of the image HRZ* rw- Slow Scan TeleVision HTM* -w- Hypertext Markup Language and a client-side image map HTML* -w- Hypertext Markup Language and a client-side image map ICB* rw+ Truevision Targa image ICO* rw+ Microsoft icon ICON* rw- Microsoft icon INFO -w+ The image format and characteristics INLINE* r-- Base64-encoded inline images IPL* rw+ IPL Image Sequence JNG* rw- JPEG Network Graphics See http://www.libpng.org/pub/mng/ for details about the JNG format. JPEG* rw- Joint Photographic Experts Group JFIF format (70) JPG* rw- Joint Photographic Experts Group JFIF format (70) K* rw+ Raw black samples K25 r-- Kodak Digital Camera Raw Image Format KDC r-- Kodak Digital Camera Raw Image Format LABEL* r-- Image label M* rw+ Raw magenta samples M2V rw+ MPEG Video Stream M4V rw+ Raw MPEG-4 Video MAP* rw- Colormap intensities and indices MAT rw+ MATLAB image format MATTE* -w+ MATTE format MIFF* rw+ Magick Image File Format MNG* rw+ Multiple-image Network Graphics (libpng 1.2.35) See http://www.libpng.org/pub/mng/ for details about the MNG format. MONO* rw- Raw bi-level bitmap MOV rw+ MPEG Video Stream MP4 rw+ MPEG-4 Video Stream MPC* rw+ Magick Persistent Cache image format MPEG rw+ MPEG Video Stream MPG rw+ MPEG Video Stream MRW r-- Sony (Minolta) Raw Image File MSL* rw+ Magick Scripting Language MSVG rw+ ImageMagick's own SVG internal renderer MTV* rw+ MTV Raytracing image format MVG* rw- Magick Vector Graphics NEF r-- Nikon Digital SLR Camera Raw Image File NULL* rw- Constant image of uniform color O* rw+ Raw opacity samples ORF r-- Olympus Digital Camera Raw Image File OTB* rw- On-the-air bitmap OTF* r-- Open Type font (Freetype 2.3.9) PAL* rw- 16bit/pixel interleaved YUV PALM* rw+ Palm pixmap PAM* rw+ Common 2-dimensional bitmap format PATTERN* r-- Predefined pattern PBM* rw+ Portable bitmap format (black and white) PCD* rw- Photo CD PCDS* rw- Photo CD PCL rw+ Printer Control Language PCT* rw- Apple Macintosh QuickDraw/PICT PCX* rw- ZSoft IBM PC Paintbrush PDB* rw+ Palm Database ImageViewer Format PDF rw+ Portable Document Format PDFA rw+ Portable Document Archive Format PEF r-- Pentax Electronic File PFA* r-- Postscript Type 1 font (ASCII) (Freetype 2.3.9) PFB* r-- Postscript Type 1 font (binary) (Freetype 2.3.9) PFM* rw+ Portable float format PGM* rw+ Portable graymap format (gray scale) PICON* rw- Personal Icon PICT* rw- Apple Macintosh QuickDraw/PICT PIX* r-- Alias/Wavefront RLE image format PJPEG* rw- Joint Photographic Experts Group JFIF format (70) PLASMA* r-- Plasma fractal image PNG* rw- Portable Network Graphics (libpng 1.2.35) See http://www.libpng.org/ for details about the PNG format. PNG24* rw- opaque 24-bit RGB (zlib 1.2.3) PNG32* rw- opaque or transparent 32-bit RGBA PNG8* rw- 8-bit indexed with optional binary transparency PNM* rw+ Portable anymap PPM* rw+ Portable pixmap format (color) PREVIEW* -w- Show a preview an image enhancement, effect, or f/x PS rw+ PostScript PS2* -w+ Level II PostScript PS3* -w+ Level III PostScript PSD* rw+ Adobe Photoshop bitmap PTIF* rw+ Pyramid encoded TIFF PWP* r-- Seattle Film Works R* rw+ Raw red samples RADIAL-GRADIENT* r-- Gradual radial passing from one shade to another RAF r-- Fuji CCD-RAW Graphic File RAS* rw+ SUN Rasterfile RBG* rw+ Raw red, blue, and green samples RGB* rw+ Raw red, green, and blue samples RGBA* rw+ Raw red, green, blue, and alpha samples RGBO* rw+ Raw red, green, blue, and opacity samples RLA* r-- Alias/Wavefront image RLE* r-- Utah Run length encoded image SCR* r-- ZX-Spectrum SCREEN$ SCT* r-- Scitex HandShake SFW* r-- Seattle Film Works SGI* rw+ Irix RGB image SHTML* -w- Hypertext Markup Language and a client-side image map SR2 r-- Sony Raw Format 2 SRF r-- Sony Raw Format STEGANO* r-- Steganographic image SUN* rw+ SUN Rasterfile SVG rw+ Scalable Vector Graphics (XML 2.7.3) SVGZ rw+ Compressed Scalable Vector Graphics (XML 2.7.3) TEXT* rw- Text TGA* rw+ Truevision Targa image THUMBNAIL* -w+ EXIF Profile Thumbnail TIFF* rw+ Tagged Image File Format (LIBTIFF, Version 3.8.2) TIFF64* --- Tagged Image File Format (64-bit) (LIBTIFF, Version 3.8.2) TILE* r-- Tile image with a texture TIM* r-- PSX TIM TTC* r-- TrueType font collection (Freetype 2.3.9) TTF* r-- TrueType font (Freetype 2.3.9) TXT* rw- Text UIL* -w- X-Motif UIL table UYVY* rw- 16bit/pixel interleaved YUV VDA* rw+ Truevision Targa image VICAR* rw- VICAR rasterfile format VID* rw+ Visual Image Directory VIFF* rw+ Khoros Visualization image VST* rw+ Truevision Targa image WBMP* rw- Wireless Bitmap (level 0) image WMV rw+ Windows Media Video WPG* r-- Word Perfect Graphics X* rw+ X Image X3F r-- Sigma Camera RAW Picture File XBM* rw- X Windows system bitmap (black and white) XC* r-- Constant image uniform color XCF* r-- GIMP image XPM* rw- X Windows system pixmap (color) XPS r-- Microsoft XML Paper Specification XV* rw+ Khoros Visualization image XWD* rw- X Windows system window dump (color) Y* rw+ Raw yellow samples YCbCr* rw+ Raw Y, Cb, and Cr samples YCbCrA* rw+ Raw Y, Cb, Cr, and alpha samples YUV* rw- CCIR 601 4:1:1 or 4:2:2 * native blob support r read support w write support + support for multiple images
Fix in my next push, I hope it works for you all.
from legacy-homebrew.
Dependencies has been installed well, but when homebrew try to 'make install' imagemagick package I got:
Error: No such file or directory - /usr/local/Cellar/imagemagick/6.5.5-10/share/NEWS.txt
from legacy-homebrew.
Oh man. How did I miss that. Fix upcoming.
from legacy-homebrew.
ImageMagick install works, closed by b01c13d
Careless mistake from me.
from legacy-homebrew.
Ok great, now it works well :-)
from legacy-homebrew.
Related Issues (20)
- MC segmetation faults HOT 1
- ghost database spiritual blog HOT 1
- Creating qmake... gmake: *** No rule to make target `/var/lib/openshift/57596aab7628e1749b0000b0/app-root/runtime/srv/phantomjs/src/qt/qtbase/src/corelib/tools/qlocale_unix.cpp', needed by `qlocale_unix.o'. Stop.
- You need bison version 3.0 or greater.
- curl: one or more libs available at link-time are not available at run-time #48633 HOT 2
- Looks like there is a bug. HOT 1
- Homebrew website has invalid SSL cert HOT 1
- close
- problem installing homebrew/boneyard/clang-omp HOT 6
- Change build tbb with gcc in mac OSx HOT 1
- pip3 not installed HOT 1
- Still Impossible uninstall brew HOT 1
- gfortran compilation error HOT 1
- install error with Xcode8 HOT 1
- configure: error: cannot run C compiled programs. HOT 1
- error with every pip install could not find a version HOT 1
- brew install pyqt5 (only...) HOT 1
- pip ImportError HOT 1
- install error of control package on Macintosh HOT 1
- brew install rpm
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from legacy-homebrew.