Skip to content

Instantly share code, notes, and snippets.

@kasitmp
Created July 30, 2012 08:16
Show Gist options
  • Save kasitmp/3205636 to your computer and use it in GitHub Desktop.
Save kasitmp/3205636 to your computer and use it in GitHub Desktop.
error svg2pdf in homebrew
HOMEBREW_VERSION: 0.9.2
HEAD: 8b8688031c8ac9d6142e4a02aa6554b7f0f7cd56
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: quad-core 64-bit sandybridge
OS X: 10.8-x86_64
Xcode: 4.4
CLT: 4.4.0.0.1.1249367152
GCC-4.0: N/A
GCC-4.2: N/A
LLVM: build 2336
Clang: 4.0 build 421
MacPorts or Fink? false
X11: 2.7.2 @ /opt/X11
System Ruby: 1.8.7-358
Which Perl: /usr/bin/perl
Which Python: /usr/bin/python
Which Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
Warning: Some directories in /usr/local/share/man aren't writable.
This can happen if you "sudo make install" software that isn't managed
by Homebrew. If a brew tries to add locale information to one of these
directories, then the install will fail during the link step.
You should probably `chown` them:
/usr/local/share/man/de
/usr/local/share/man/de/man1
brew doctor 5,69s user 2,02s system 70% cpu 10,985 total
==> Downloading http://cairographics.org/snapshots/svg2pdf-0.1.3.tar.gz
Already downloaded: /Library/Caches/Homebrew/svg2pdf-0.1.3.tar.gz
/usr/bin/tar xf /Library/Caches/Homebrew/svg2pdf-0.1.3.tar.gz
==> ./configure --disable-debug --disable-dependency-tracking --prefix=/usr/local/Cellar/svg2pdf/0.1.3 --mandir=/usr/local/Cellar/svg2pdf/0.1.3/share/man
./configure --disable-debug --disable-dependency-tracking --prefix=/usr/local/Cellar/svg2pdf/0.1.3 --mandir=/usr/local/Cellar/svg2pdf/0.1.3/share/man
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... /usr/bin/clang
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/bin/clang accepts -g... yes
checking for /usr/bin/clang option to accept ANSI C... none needed
checking dependency style of /usr/bin/clang... none
checking for library containing strerror... none required
checking for gcc... (cached) /usr/bin/clang
checking whether we are using the GNU C compiler... (cached) yes
checking whether /usr/bin/clang accepts -g... (cached) yes
checking for /usr/bin/clang option to accept ANSI C... (cached) none needed
checking dependency style of /usr/bin/clang... (cached) none
checking how to run the C preprocessor... /usr/bin/clang -E
checking for gawk... (cached) awk
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for pkg-config... /usr/local/bin/pkg-config
checking for libsvg-cairo >= 0.1.6...
configure: error: Library requirements (libsvg-cairo >= 0.1.6) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
config.log was copied to /Users/******/Library/Logs/Homebrew
==> Exit Status: 1
https://github.com/mxcl/master/blob/master/Library/Formula/svg2pdf.rb#L12
==> Build Environment
HOMEBREW_VERSION: 0.9.2
HEAD: 8b8688031c8ac9d6142e4a02aa6554b7f0f7cd56
CPU: quad-core 64-bit sandybridge
OS X: 10.8-x86_64
Xcode: 4.4
CLT: 4.4.0.0.1.1249367152
X11: 2.7.2 @ /opt/X11
CC: /usr/bin/clang
CXX: /usr/bin/clang++ => /usr/bin/clang
LD: /usr/bin/clang
CFLAGS: -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.8
CXXFLAGS: -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.8
CPPFLAGS: -I/usr/local/Cellar/gettext/0.18.1.1/include -isystem /usr/local/include
LDFLAGS: -L/usr/local/Cellar/gettext/0.18.1.1/lib -L/usr/local/lib
MACOSX_DEPLOYMENT_TARGET: 10.8
MAKEFLAGS: -j4
PKG_CONFIG_PATH: /usr/local/Library/Homebrew/pkgconfig
Error: Failed executing: ./configure --disable-debug --disable-dependency-tracking --prefix=/usr/local/Cellar/svg2pdf/0.1.3 --mandir=/usr/local/Cellar/svg2pdf/0.1.3/share/man (svg2pdf.rb:12)
This may help you fix or report the issue if `brew doctor` does not:
https://github.com/mxcl/homebrew/wiki/bug-fixing-checklist
We saved the configure log:
~/Library/Logs/Homebrew/config.log
When you report the issue please paste the config.log here:
http://gist.github.com/
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.59. Invocation command line was
$ ./configure --disable-debug --disable-dependency-tracking --prefix=/usr/local/Cellar/svg2pdf/0.1.3 --mandir=/usr/local/Cellar/svg2pdf/0.1.3/share/man
## --------- ##
## Platform. ##
## --------- ##
hostname = ********-MacBook-Pro.local
uname -m = x86_64
uname -r = 12.0.0
uname -s = Darwin
uname -v = Darwin Kernel Version 12.0.0: Sun Jun 24 23:00:16 PDT 2012; root:xnu-2050.7.9~1/RELEASE_X86_64
/usr/bin/uname -p = i386
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = Mach kernel version:
Darwin Kernel Version 12.0.0: Sun Jun 24 23:00:16 PDT 2012; root:xnu-2050.7.9~1/RELEASE_X86_64
Kernel configured for up to 4 processors.
2 processors are physically available.
4 processors are logically available.
Processor type: i486 (Intel 80486)
Processors active: 0 1 2 3
Primary memory available: 4.00 gigabytes
Default processor set: 147 tasks, 854 threads, 4 processors
Load average: 1.46, Mach factor: 2.52
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/local/Cellar/gettext/0.18.1.1/bin
PATH: /Users/********/bin
PATH: /usr/local/bin
PATH: /usr/local/mysql/bin
PATH: /usr/local/sbin
PATH: /usr/bin
PATH: /bin
PATH: /usr/sbin
PATH: /sbin
PATH: /usr/local/bin
PATH: /opt/X11/bin
PATH: /usr/texbin
PATH: /usr/local/Library/Contributions/cmds
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1308: checking for a BSD-compatible install
configure:1363: result: /usr/bin/install -c
configure:1374: checking whether build environment is sane
configure:1417: result: yes
configure:1482: checking for gawk
configure:1511: result: no
configure:1482: checking for mawk
configure:1511: result: no
configure:1482: checking for nawk
configure:1511: result: no
configure:1482: checking for awk
configure:1498: found /usr/bin/awk
configure:1508: result: awk
configure:1518: checking whether make sets $(MAKE)
configure:1538: result: yes
configure:1709: checking whether to enable maintainer-specific portions of Makefiles
configure:1718: result: no
configure:1746: checking for style of include used by make
configure:1774: result: GNU
configure:1845: checking for gcc
configure:1871: result: /usr/bin/clang
configure:2115: checking for C compiler version
configure:2118: /usr/bin/clang --version </dev/null >&5
Apple clang version 4.0 (tags/Apple/clang-421.0.57) (based on LLVM 3.1svn)
Target: x86_64-apple-darwin12.0.0
Thread model: posix
configure:2121: $? = 0
configure:2123: /usr/bin/clang -v </dev/null >&5
Apple clang version 4.0 (tags/Apple/clang-421.0.57) (based on LLVM 3.1svn)
Target: x86_64-apple-darwin12.0.0
Thread model: posix
configure:2126: $? = 0
configure:2128: /usr/bin/clang -V </dev/null >&5
clang: error: argument to '-V' is missing (expected 1 value)
clang: error: no input files
configure:2131: $? = 1
configure:2154: checking for C compiler default output file name
configure:2157: /usr/bin/clang -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.8 -I/usr/local/Cellar/gettext/0.18.1.1/include -isystem /usr/local/include -L/usr/local/Cellar/gettext/0.18.1.1/lib -L/usr/local/lib conftest.c >&5
configure:2160: $? = 0
configure:2206: result: a.out
configure:2211: checking whether the C compiler works
configure:2217: ./a.out
configure:2220: $? = 0
configure:2237: result: yes
configure:2244: checking whether we are cross compiling
configure:2246: result: no
configure:2249: checking for suffix of executables
configure:2251: /usr/bin/clang -o conftest -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.8 -I/usr/local/Cellar/gettext/0.18.1.1/include -isystem /usr/local/include -L/usr/local/Cellar/gettext/0.18.1.1/lib -L/usr/local/lib conftest.c >&5
configure:2254: $? = 0
configure:2279: result:
configure:2285: checking for suffix of object files
configure:2306: /usr/bin/clang -c -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.8 -I/usr/local/Cellar/gettext/0.18.1.1/include -isystem /usr/local/include conftest.c >&5
configure:2309: $? = 0
configure:2331: result: o
configure:2335: checking whether we are using the GNU C compiler
configure:2359: /usr/bin/clang -c -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.8 -I/usr/local/Cellar/gettext/0.18.1.1/include -isystem /usr/local/include conftest.c >&5
configure:2365: $? = 0
configure:2369: test -z
|| test ! -s conftest.err
configure:2372: $? = 0
configure:2375: test -s conftest.o
configure:2378: $? = 0
configure:2391: result: yes
configure:2397: checking whether /usr/bin/clang accepts -g
configure:2418: /usr/bin/clang -c -g -I/usr/local/Cellar/gettext/0.18.1.1/include -isystem /usr/local/include conftest.c >&5
configure:2424: $? = 0
configure:2428: test -z
|| test ! -s conftest.err
configure:2431: $? = 0
configure:2434: test -s conftest.o
configure:2437: $? = 0
configure:2448: result: yes
configure:2465: checking for /usr/bin/clang option to accept ANSI C
configure:2535: /usr/bin/clang -c -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.8 -I/usr/local/Cellar/gettext/0.18.1.1/include -isystem /usr/local/include conftest.c >&5
configure:2541: $? = 0
configure:2545: test -z
|| test ! -s conftest.err
configure:2548: $? = 0
configure:2551: test -s conftest.o
configure:2554: $? = 0
configure:2572: result: none needed
configure:2590: /usr/bin/clang -c -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.8 -I/usr/local/Cellar/gettext/0.18.1.1/include -isystem /usr/local/include conftest.c >&5
conftest.c:2:3: error: unknown type name 'choke'
choke me
^
conftest.c:2:11: error: expected ';' after top level declarator
choke me
^
;
2 errors generated.
configure:2596: $? = 1
configure: failed program was:
| #ifndef __cplusplus
| choke me
| #endif
configure:2731: checking dependency style of /usr/bin/clang
configure:2821: result: none
configure:2839: checking for library containing strerror
configure:2869: /usr/bin/clang -o conftest -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.8 -I/usr/local/Cellar/gettext/0.18.1.1/include -isystem /usr/local/include -L/usr/local/Cellar/gettext/0.18.1.1/lib -L/usr/local/lib conftest.c >&5
configure:2875: $? = 0
configure:2879: test -z
|| test ! -s conftest.err
configure:2882: $? = 0
configure:2885: test -s conftest
configure:2888: $? = 0
configure:2958: result: none required
configure:3011: checking for gcc
configure:3037: result: /usr/bin/clang
configure:3281: checking for C compiler version
configure:3284: /usr/bin/clang --version </dev/null >&5
Apple clang version 4.0 (tags/Apple/clang-421.0.57) (based on LLVM 3.1svn)
Target: x86_64-apple-darwin12.0.0
Thread model: posix
configure:3287: $? = 0
configure:3289: /usr/bin/clang -v </dev/null >&5
Apple clang version 4.0 (tags/Apple/clang-421.0.57) (based on LLVM 3.1svn)
Target: x86_64-apple-darwin12.0.0
Thread model: posix
configure:3292: $? = 0
configure:3294: /usr/bin/clang -V </dev/null >&5
clang: error: argument to '-V' is missing (expected 1 value)
clang: error: no input files
configure:3297: $? = 1
configure:3300: checking whether we are using the GNU C compiler
configure:3356: result: yes
configure:3362: checking whether /usr/bin/clang accepts -g
configure:3413: result: yes
configure:3430: checking for /usr/bin/clang option to accept ANSI C
configure:3537: result: none needed
configure:3555: /usr/bin/clang -c -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.8 -I/usr/local/Cellar/gettext/0.18.1.1/include -isystem /usr/local/include conftest.c >&5
conftest.c:2:3: error: unknown type name 'choke'
choke me
^
conftest.c:2:11: error: expected ';' after top level declarator
choke me
^
;
2 errors generated.
configure:3561: $? = 1
configure: failed program was:
| #ifndef __cplusplus
| choke me
| #endif
configure:3696: checking dependency style of /usr/bin/clang
configure:3786: result: none
configure:3808: checking how to run the C preprocessor
configure:3843: /usr/bin/clang -E -I/usr/local/Cellar/gettext/0.18.1.1/include -isystem /usr/local/include conftest.c
configure:3849: $? = 0
configure:3881: /usr/bin/clang -E -I/usr/local/Cellar/gettext/0.18.1.1/include -isystem /usr/local/include conftest.c
conftest.c:11:10: fatal error: 'ac_nonexistent.h' file not found
#include <ac_nonexistent.h>
^
1 error generated.
configure:3887: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "svg2pdf"
| #define VERSION "0.1.3"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:3926: result: /usr/bin/clang -E
configure:3950: /usr/bin/clang -E -I/usr/local/Cellar/gettext/0.18.1.1/include -isystem /usr/local/include conftest.c
configure:3956: $? = 0
configure:3988: /usr/bin/clang -E -I/usr/local/Cellar/gettext/0.18.1.1/include -isystem /usr/local/include conftest.c
conftest.c:11:10: fatal error: 'ac_nonexistent.h' file not found
#include <ac_nonexistent.h>
^
1 error generated.
configure:3994: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "svg2pdf"
| #define VERSION "0.1.3"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:4041: checking for gawk
configure:4067: result: awk
configure:4078: checking for egrep
configure:4088: result: grep -E
configure:4093: checking for ANSI C header files
configure:4118: /usr/bin/clang -c -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.8 -I/usr/local/Cellar/gettext/0.18.1.1/include -isystem /usr/local/include conftest.c >&5
configure:4124: $? = 0
configure:4128: test -z
|| test ! -s conftest.err
configure:4131: $? = 0
configure:4134: test -s conftest.o
configure:4137: $? = 0
configure:4226: /usr/bin/clang -o conftest -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.8 -I/usr/local/Cellar/gettext/0.18.1.1/include -isystem /usr/local/include -L/usr/local/Cellar/gettext/0.18.1.1/lib -L/usr/local/lib conftest.c >&5
configure:4229: $? = 0
configure:4231: ./conftest
configure:4234: $? = 0
configure:4249: result: yes
configure:4267: checking for pkg-config
configure:4285: found /usr/local/bin/pkg-config
configure:4298: result: /usr/local/bin/pkg-config
configure:4315: checking for libsvg-cairo >= 0.1.6
configure:4354: error: Library requirements (libsvg-cairo >= 0.1.6) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_c_compiler_gnu=yes
ac_cv_env_CC_set=set
ac_cv_env_CC_value=/usr/bin/clang
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.8'
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value='-I/usr/local/Cellar/gettext/0.18.1.1/include -isystem /usr/local/include'
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value='-L/usr/local/Cellar/gettext/0.18.1.1/lib -L/usr/local/lib'
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_exeext=
ac_cv_header_stdc=yes
ac_cv_objext=o
ac_cv_path_PKG_CONFIG=/usr/local/bin/pkg-config
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=awk
ac_cv_prog_CPP='/usr/bin/clang -E'
ac_cv_prog_ac_ct_CC=/usr/bin/clang
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_egrep='grep -E'
ac_cv_prog_make_make_set=yes
ac_cv_search_strerror='none required'
am_cv_CC_dependencies_compiler_type=none
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /private/tmp/homebrew-svg2pdf-0.1.3-DWX2/svg2pdf-0.1.3/missing --run aclocal-1.9'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE='#'
AMTAR='${SHELL} /private/tmp/homebrew-svg2pdf-0.1.3-DWX2/svg2pdf-0.1.3/missing --run tar'
AUTOCONF='${SHELL} /private/tmp/homebrew-svg2pdf-0.1.3-DWX2/svg2pdf-0.1.3/missing --run autoconf'
AUTOHEADER='${SHELL} /private/tmp/homebrew-svg2pdf-0.1.3-DWX2/svg2pdf-0.1.3/missing --run autoheader'
AUTOMAKE='${SHELL} /private/tmp/homebrew-svg2pdf-0.1.3-DWX2/svg2pdf-0.1.3/missing --run automake-1.9'
AWK='awk'
CC='/usr/bin/clang'
CCDEPMODE='depmode=none'
CFLAGS='-Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.8'
CPP='/usr/bin/clang -E'
CPPFLAGS='-I/usr/local/Cellar/gettext/0.18.1.1/include -isystem /usr/local/include'
CYGPATH_W='echo'
DEFS=''
DEPDIR='.deps'
ECHO_C='ECHO_N=''
ECHO_T=''
EGREP='grep -E'
EXEEXT=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LDFLAGS='-L/usr/local/Cellar/gettext/0.18.1.1/lib -L/usr/local/lib'
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /private/tmp/homebrew-svg2pdf-0.1.3-DWX2/svg2pdf-0.1.3/missing --run makeinfo'
OBJEXT='o'
PACKAGE='svg2pdf'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PKG_CONFIG='/usr/local/bin/pkg-config'
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
SVG2PDF_CFLAGS=''
SVG2PDF_LIBS=''
SVG2PDF_VERSION='0.1.3'
VERSION='0.1.3'
ac_ct_CC='/usr/bin/clang'
ac_ct_STRIP=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE='#'
am__include='include'
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build_alias=''
datadir='${prefix}/share'
exec_prefix='NONE'
host_alias=''
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/private/tmp/homebrew-svg2pdf-0.1.3-DWX2/svg2pdf-0.1.3/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='/usr/local/Cellar/svg2pdf/0.1.3/share/man'
mkdir_p='$(install_sh) -d'
oldincludedir='/usr/include'
prefix='/usr/local/Cellar/svg2pdf/0.1.3'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE "svg2pdf"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define STDC_HEADERS 1
#define VERSION "0.1.3"
configure: exit 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment