Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

brew install latex2html fails #16128

Closed
calebthompson opened this Issue · 5 comments

2 participants

@calebthompson

I'll probably either just install this via the usual installer or suck it up and not have latex, but since you asked so nicely for an issue, here is the output:

/Users/caleb
↪ brew install latex2html
==> Installing latex2html dependency: libtiff
==> Downloading http://download.osgeo.org/libtiff/tiff-4.0.2.tar.gz
######################################################################## 100.0%
==> ./configure --without-x --prefix=/usr/local/Cellar/libtiff/4.0.2
==> make install
/usr/local/Cellar/libtiff/4.0.2: 240 files, 3.6M, built in 30 seconds
==> Installing latex2html dependency: jasper
==> Downloading http://www.ece.uvic.ca/~frodo/jasper/software/jasper-1.900.1.zi
######################################################################## 100.0%
==> Patching
patching file src/libjasper/jpc/jpc_dec.c
==> ./configure --enable-shared --prefix=/usr/local/Cellar/jasper/1.900.1 --man
==> make install
/usr/local/Cellar/jasper/1.900.1: 34 files, 964K, built in 30 seconds
==> Installing latex2html dependency: netpbm
==> Downloading http://sourceforge.net/projects/netpbm/files/super_stable/10.35
######################################################################## 100.0%
==> cp Makefile.config.in Makefile.config
==> make
/private/tmp/brew-netpbm-10.35.86-jLQs/netpbm-10.35.86/Makefile.common:560: Makefile.depend: No such file or directory
cat /dev/null >Makefile.depend
/usr/bin/make -C /private/tmp/brew-netpbm-10.35.86-jLQs/netpbm-10.35.86/buildtools/ -f /private/tmp/brew-netpbm-10.35.86-jLQs/netpbm-10.35.86/buildtools/Makefile \
        SRCDIR=/private/tmp/brew-netpbm-10.35.86-jLQs/netpbm-10.35.86 BUILDDIR=/private/tmp/brew-netpbm-10.35.86-jLQs/netpbm-10.35.86 typegen 
/private/tmp/brew-netpbm-10.35.86-jLQs/netpbm-10.35.86/Makefile.common:560: Makefile.depend: No such file or directory
cat /dev/null >Makefile.depend
cc -c  -o typegen.o typegen.c
cc -o typegen typegen.o
/private/tmp/brew-netpbm-10.35.86-jLQs/netpbm-10.35.86/buildtools/typegen >inttypes_netpbm.h || (rm -f inttypes_netpbm.h || false)
/usr/bin/make -C /private/tmp/brew-netpbm-10.35.86-jLQs/netpbm-10.35.86/buildtools/ -f /private/tmp/brew-netpbm-10.35.86-jLQs/netpbm-10.35.86/buildtools/Makefile \
        SRCDIR=/private/tmp/brew-netpbm-10.35.86-jLQs/netpbm-10.35.86 BUILDDIR=/private/tmp/brew-netpbm-10.35.86-jLQs/netpbm-10.35.86 endiangen 
cc -c  -o endiangen.o endiangen.c
cc -o endiangen endiangen.o
echo '/* pm_config.h GENERATED BY A MAKE RULE */' >pm_config.h || (rm -f pm_config.h || false)
echo '#ifndef PM_CONFIG_H' >>pm_config.h || (rm -f pm_config.h || false)
echo '#define PM_CONFIG_H' >>pm_config.h || (rm -f pm_config.h || false)
echo '#include <inttypes.h>' >>pm_config.h || (rm -f pm_config.h || false)
echo "#define HAVE_INT64 1" >>pm_config.h || (rm -f pm_config.h || false)
echo '/* pm_config.h.in FOLLOWS ... */' >>pm_config.h || (rm -f pm_config.h || false)
cat /private/tmp/brew-netpbm-10.35.86-jLQs/netpbm-10.35.86/pm_config.in.h >>pm_config.h || (rm -f pm_config.h || false)
/private/tmp/brew-netpbm-10.35.86-jLQs/netpbm-10.35.86/buildtools/endiangen >>pm_config.h || (rm -f pm_config.h || false)
echo '#endif' >>pm_config.h || (rm -f pm_config.h || false)
/usr/bin/make -C lib/ -f /private/tmp/brew-netpbm-10.35.86-jLQs/netpbm-10.35.86//lib/Makefile \
        SRCDIR=/private/tmp/brew-netpbm-10.35.86-jLQs/netpbm-10.35.86 BUILDDIR=/private/tmp/brew-netpbm-10.35.86-jLQs/netpbm-10.35.86 all 
/private/tmp/brew-netpbm-10.35.86-jLQs/netpbm-10.35.86/Makefile.common:560: Makefile.depend: No such file or directory
cat /dev/null >Makefile.depend
mkdir -p importinc
rm -f importinc/pm_config.h
ln -s /private/tmp/brew-netpbm-10.35.86-jLQs/netpbm-10.35.86/pm_config.h importinc/pm_config.h
mkdir -p importinc
rm -f importinc/inttypes_netpbm.h
ln -s /private/tmp/brew-netpbm-10.35.86-jLQs/netpbm-10.35.86/inttypes_netpbm.h importinc/inttypes_netpbm.h
mkdir -p importinc
rm -f importinc/version.h
ln -s /private/tmp/brew-netpbm-10.35.86-jLQs/netpbm-10.35.86/version.h importinc/version.h
mkdir -p importinc
rm -f importinc/pm.h
ln -s /private/tmp/brew-netpbm-10.35.86-jLQs/netpbm-10.35.86/lib/pm.h importinc/pm.h
mkdir -p importinc
rm -f importinc/pbm.h
ln -s /private/tmp/brew-netpbm-10.35.86-jLQs/netpbm-10.35.86/lib/pbm.h importinc/pbm.h
mkdir -p importinc
rm -f importinc/pgm.h
ln -s /private/tmp/brew-netpbm-10.35.86-jLQs/netpbm-10.35.86/lib/pgm.h importinc/pgm.h
mkdir -p importinc
rm -f importinc/ppm.h
ln -s /private/tmp/brew-netpbm-10.35.86-jLQs/netpbm-10.35.86/lib/ppm.h importinc/ppm.h
mkdir -p importinc
rm -f importinc/pnm.h
ln -s /private/tmp/brew-netpbm-10.35.86-jLQs/netpbm-10.35.86/lib/pnm.h importinc/pnm.h
mkdir -p importinc
rm -f importinc/pam.h
ln -s /private/tmp/brew-netpbm-10.35.86-jLQs/netpbm-10.35.86/lib/pam.h importinc/pam.h
mkdir -p importinc
rm -f importinc/bitio.h
ln -s /private/tmp/brew-netpbm-10.35.86-jLQs/netpbm-10.35.86/lib/bitio.h importinc/bitio.h
mkdir -p importinc
rm -f importinc/pbmfont.h
ln -s /private/tmp/brew-netpbm-10.35.86-jLQs/netpbm-10.35.86/lib/pbmfont.h importinc/pbmfont.h
mkdir -p importinc
rm -f importinc/ppmcmap.h
ln -s /private/tmp/brew-netpbm-10.35.86-jLQs/netpbm-10.35.86/lib/ppmcmap.h importinc/ppmcmap.h
mkdir -p importinc
rm -f importinc/pammap.h
ln -s /private/tmp/brew-netpbm-10.35.86-jLQs/netpbm-10.35.86/lib/pammap.h importinc/pammap.h
mkdir -p importinc
rm -f importinc/colorname.h
ln -s /private/tmp/brew-netpbm-10.35.86-jLQs/netpbm-10.35.86/lib/colorname.h importinc/colorname.h
mkdir -p importinc
rm -f importinc/ppmfloyd.h
ln -s /private/tmp/brew-netpbm-10.35.86-jLQs/netpbm-10.35.86/lib/ppmfloyd.h importinc/ppmfloyd.h
mkdir -p importinc
rm -f importinc/ppmdraw.h
ln -s /private/tmp/brew-netpbm-10.35.86-jLQs/netpbm-10.35.86/lib/ppmdraw.h importinc/ppmdraw.h
mkdir -p importinc
rm -f importinc/pm_system.h
ln -s /private/tmp/brew-netpbm-10.35.86-jLQs/netpbm-10.35.86/lib/pm_system.h importinc/pm_system.h
mkdir -p importinc
rm -f importinc/ppmdfont.h
ln -s /private/tmp/brew-netpbm-10.35.86-jLQs/netpbm-10.35.86/lib/ppmdfont.h importinc/ppmdfont.h
mkdir -p importinc
rm -f importinc/pm_gamma.h
ln -s /private/tmp/brew-netpbm-10.35.86-jLQs/netpbm-10.35.86/lib/pm_gamma.h importinc/pm_gamma.h
mkdir -p importinc
rm -f importinc/lum.h
ln -s /private/tmp/brew-netpbm-10.35.86-jLQs/netpbm-10.35.86/lib/lum.h importinc/lum.h
mkdir -p importinc
rm -f importinc/bitreverse.h
ln -s /private/tmp/brew-netpbm-10.35.86-jLQs/netpbm-10.35.86/lib/util/bitreverse.h importinc/bitreverse.h
mkdir -p importinc
rm -f importinc/mallocvar.h
ln -s /private/tmp/brew-netpbm-10.35.86-jLQs/netpbm-10.35.86/lib/util/mallocvar.h importinc/mallocvar.h
mkdir -p importinc
rm -f importinc/nstring.h
ln -s /private/tmp/brew-netpbm-10.35.86-jLQs/netpbm-10.35.86/lib/util/nstring.h importinc/nstring.h
mkdir -p importinc
rm -f importinc/filename.h
ln -s /private/tmp/brew-netpbm-10.35.86-jLQs/netpbm-10.35.86/lib/util/filename.h importinc/filename.h
mkdir -p importinc
rm -f importinc/pm_c_util.h
ln -s /private/tmp/brew-netpbm-10.35.86-jLQs/netpbm-10.35.86/lib/util/pm_c_util.h importinc/pm_c_util.h
mkdir -p importinc
rm -f importinc/shhopt.h
ln -s /private/tmp/brew-netpbm-10.35.86-jLQs/netpbm-10.35.86/lib/util/shhopt.h importinc/shhopt.h
mkdir -p importinc
rm -f importinc/wordaccess.h
ln -s /private/tmp/brew-netpbm-10.35.86-jLQs/netpbm-10.35.86/lib/util/wordaccess.h importinc/wordaccess.h
mkdir -p importinc
rm -f importinc/wordaccess_64_le.h
ln -s /private/tmp/brew-netpbm-10.35.86-jLQs/netpbm-10.35.86/lib/util/wordaccess_64_le.h importinc/wordaccess_64_le.h
mkdir -p importinc
rm -f importinc/wordaccess_gcc3_be.h
ln -s /private/tmp/brew-netpbm-10.35.86-jLQs/netpbm-10.35.86/lib/util/wordaccess_gcc3_be.h importinc/wordaccess_gcc3_be.h
mkdir -p importinc
rm -f importinc/wordaccess_gcc3_le.h
ln -s /private/tmp/brew-netpbm-10.35.86-jLQs/netpbm-10.35.86/lib/util/wordaccess_gcc3_le.h importinc/wordaccess_gcc3_le.h
mkdir -p importinc
rm -f importinc/wordaccess_generic.h
ln -s /private/tmp/brew-netpbm-10.35.86-jLQs/netpbm-10.35.86/lib/util/wordaccess_generic.h importinc/wordaccess_generic.h
mkdir -p importinc
rm -f importinc/intcode.h
ln -s /private/tmp/brew-netpbm-10.35.86-jLQs/netpbm-10.35.86/lib/util/intcode.h importinc/intcode.h
/private/tmp/brew-netpbm-10.35.86-jLQs/netpbm-10.35.86/buildtools/stamp-date >compile.h || rm compile.h
cc -c -I/private/tmp/brew-netpbm-10.35.86-jLQs/netpbm-10.35.86/lib -I. -Iimportinc -DNDEBUG  -fno-common \
        -o libpm.o libpm.c
cc -c -I/private/tmp/brew-netpbm-10.35.86-jLQs/netpbm-10.35.86/lib -I. -Iimportinc -DNDEBUG  -fno-common \
        -o fileio.o fileio.c
cc -c -I/private/tmp/brew-netpbm-10.35.86-jLQs/netpbm-10.35.86/lib -I. -Iimportinc -DNDEBUG  -fno-common \
        -o bitio.o bitio.c
cc -c -I/private/tmp/brew-netpbm-10.35.86-jLQs/netpbm-10.35.86/lib -I. -Iimportinc -DNDEBUG  -fno-common \
        -o colorname.o colorname.c
cc -c -I/private/tmp/brew-netpbm-10.35.86-jLQs/netpbm-10.35.86/lib -I. -Iimportinc -DNDEBUG  -fno-common \
        -o libpbm1.o libpbm1.c
cc -c -I/private/tmp/brew-netpbm-10.35.86-jLQs/netpbm-10.35.86/lib -I. -Iimportinc -DNDEBUG  -fno-common \
        -o libpbm2.o libpbm2.c
cc -c -I/private/tmp/brew-netpbm-10.35.86-jLQs/netpbm-10.35.86/lib -I. -Iimportinc -DNDEBUG  -fno-common \
        -o libpbm3.o libpbm3.c
libpbm3.c:120:38: error: unknown machine mode 'V8QI'
    typedef int v8qi __attribute__ ((mode(V8QI)));
                                     ^
libpbm3.c:129:36: error: passing 'v8qi' (aka 'int') to parameter of incompatible type '__attribute__((__vector_size__(8 * sizeof(char)))) char'
            __builtin_ia32_pcmpeqb(*(v8qi*) (&bitrow[col]), *(v8qi*) &zero64);
                                   ^~~~~~~~~~~~~~~~~~~~~~~
libpbm3.c:131:37: error: passing 'const v8qi' (aka 'const int') to parameter of incompatible type '__attribute__((__vector_size__(8 * sizeof(char)))) char'
            __builtin_ia32_pmovmskb(compare);
                                    ^~~~~~~
3 errors generated.
make[1]: *** [libpbm3.o] Error 1
make: *** [lib/all] Error 2
==> Build Environment
HOMEBREW_VERSION: 0.9.3
HEAD: 72c2a379d64284b316ba9fe58715305d51b28df8
CPU: 8-core 64-bit ivybridge
OS X: 10.8.2-x86_64
Xcode: 4.5.2
CLT: 4.4.0.0.1.1249367152
Error: Homebrew doesn't know what compiler versions ship with your version of
Xcode. Please file an issue with the output of `brew --config`:
  https://github.com/mxcl/homebrew/issues

Thanks!
GCC-4.2: build 5666
LLVM-GCC: build 2336
Clang: 4.0 build 421
X11: N/A
CC: cc
CXX: c++
CMAKE_PREFIX_PATH: /usr/local
CMAKE_INCLUDE_PATH: /usr/include/libxml2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers/
CMAKE_LIBRARY_PATH: /System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
PKG_CONFIG_PATH: /usr/local/lib/pkgconfig:/usr/local/Library/Homebrew/pkgconfig
ACLOCAL_PATH: /usr/local/share/aclocal
PATH: /usr/local/Library/ENV/4.3:/usr/local/opt/libtiff/bin:/usr/local/opt/jpeg/bin:/usr/local/opt/jasper/bin:/usr/local/opt/libpng/bin:/usr/bin:/bin:/usr/sbin:/sbin

Error: Failed executing: make (netpbm.rb:50)

This link will help resolve the above errors:
    https://github.com/mxcl/homebrew/wiki/bug-fixing-checklist

brew --config

↪ brew --config
HOMEBREW_VERSION: 0.9.3
HEAD: 7c022336c5fe21fd2eb5a869c3104606d5b5558c
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: 8-core 64-bit ivybridge
OS X: 10.8.2-x86_64
Xcode: 4.5.2
CLT: 4.4.0.0.1.1249367152
GCC-4.2: build 5666
LLVM-GCC: build 2336
Clang: 4.0 build 421
X11: N/A
System Ruby: 1.8.7-358
Perl: /usr/bin/perl
Python: /usr/bin/python
Ruby: /Users/caleb/.rvm/rubies/ruby-1.9.3-p194/bin/ruby
@adamv
Owner

You may need to reinstall the command-line tools to get the newer version for Xcode 4.5.2

@adamv
Owner

Please brew update and make sure you have the newest command-line tools installed. The 4.5.2 and 4.4.x looks like a mismatch.

@adamv adamv was assigned
@adamv
Owner

Might be related to #16944.

@adamv
Owner

Although I can't reproduce this build error on Lion. Can anyone reproduce on Mountain Lion? If not, I'd suggest updating the CLT as a possible fix.

@adamv
Owner

Assuming that updating Homebrew and the CLT fixed this.

@adamv adamv closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.