Skip to content

Instantly share code, notes, and snippets.

@cpjolicoeur
Created March 3, 2010 17:32
Show Gist options
  • Save cpjolicoeur/320791 to your computer and use it in GitHub Desktop.
Save cpjolicoeur/320791 to your computer and use it in GitHub Desktop.
==> Downloading http://www.spinnaker.de/debian/lbdb_0.36.tar.gz
File already downloaded and cached to /Users/cpjolicoeur/Library/Caches/Homebrew
==> Patching
patching file ABQuery/ABQuery.pbproj/project.pbxproj
patching file ABQuery/ABQuery.xcodeproj/project.pbxproj
patching file Makefile.in
==> ./configure --prefix=/usr/local/Cellar/lbdb/0.36
==> make install
cat lbdbq.sh >lbdbq
cat lbdb_lib.sh >lbdb_lib
cat lbdb-fetchaddr.sh >lbdb-fetchaddr
cat lbdb-munge.sh >lbdb-munge
chmod a+x lbdbq
chmod a+x lbdb_lib
chmod a+x lbdb-fetchaddr
/usr/bin/cc -O3 -march=nocona -mfpmath=sse -w -pipe -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GETOPT_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -c fetchaddr.c
chmod a+x lbdb-munge
/usr/bin/cc -O3 -march=nocona -mfpmath=sse -w -pipe -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GETOPT_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -c rfc822.c
/usr/bin/cc -O3 -march=nocona -mfpmath=sse -w -pipe -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GETOPT_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -c helpers.c
/usr/bin/cc -O3 -march=nocona -mfpmath=sse -w -pipe -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GETOPT_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -c rfc2047.c
/usr/bin/cc -O3 -march=nocona -mfpmath=sse -w -pipe -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GETOPT_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -c qpto8bit.c
cat munge.awk > munge
cat munge-keeporder.awk > munge-keeporder
cat nodelist2lbdb.pl > nodelist2lbdb
chmod a+x munge
chmod a+x munge-keeporder
cat palm_lsaddr.pl > palm_lsaddr
cat mutt_ldap_query.pl > mutt_ldap_query
sed -e 's!@''libdir@!/usr/local/Cellar/lbdb/0.36/lib!' \
-e 's!@''sysconfdir@!/usr/local/Cellar/lbdb/0.36/etc!' \
-e 's!@''dotlock@!lbdb_dotlock!' lbdbq.man.in > lbdbq.man
sed -e 's!@''libdir@!/usr/local/Cellar/lbdb/0.36/lib!' \
-e 's!@''sysconfdir@!/usr/local/Cellar/lbdb/0.36/etc!' \
-e 's!@''dotlock@!lbdb_dotlock!' lbdb-fetchaddr.man.in > lbdb-fetchaddr.man
sed -e 's!@''libdir@!/usr/local/Cellar/lbdb/0.36/lib!' \
-e 's!@''sysconfdir@!/usr/local/Cellar/lbdb/0.36/etc!' \
-e 's!@''dotlock@!lbdb_dotlock!' nodelist2lbdb.man.in > nodelist2lbdb.man
if [ "/usr/local/bin/perl" != "no" ]; then \
pod2man mutt_ldap_query.pl > mutt_ldap_query.man; \
else \
touch mutt_ldap_query.man; \
fi
cat m_inmail.sh >m_inmail
cat m_passwd.sh >m_passwd
chmod a+x m_inmail
chmod a+x m_passwd
cat m_muttalias.sh >m_muttalias
cat m_pine.sh >m_pine
chmod a+x m_muttalias
chmod a+x m_pine
cat m_gnomecard.sh >m_gnomecard
cat m_bbdb.sh >m_bbdb
chmod a+x m_bbdb
chmod a+x m_gnomecard
cat m_wanderlust.sh >m_wanderlust
cat m_finger.sh >m_finger
chmod a+x m_wanderlust
chmod a+x m_finger
cat m_yppasswd.sh >m_yppasswd
cat m_fido.sh >m_fido
chmod a+x m_yppasswd
cat m_palm.sh >m_palm
chmod a+x m_fido
cat m_ldap.sh >m_ldap
chmod a+x m_palm
chmod a+x m_ldap
if [ "/usr/bin/xcodebuild" != "no" ]; then \
(cd ABQuery; xcodebuild -configuration Deployment; printf '#!/bin/sh\nmkdir ABQuery/sym\nEXE=ABQuery/build/Release/ABQuery\nif test -x ABQuery/build/Debug/ABQuery; then EXE=ABQuery/build/Debug/ABQuery; fi\ncp $EXE ABQuery/sym\n' > pbxbuild.sh; chmod a+x pbxbuild.sh) \
else \
(cd ABQuery; pbxbuild -configuration Deployment export) \
fi
/usr/bin/cc -O3 -march=nocona -mfpmath=sse -w -pipe -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GETOPT_H=1 -DHAVE_ICONV=1 -DICONV_CONST= -c dotlock.c
cat tac.awk > tac
chmod a+x tac
/usr/bin/cc -O3 -march=nocona -mfpmath=sse -w -pipe -liconv fetchaddr.o rfc822.o helpers.o rfc2047.o -o fetchaddr
/usr/bin/cc -O3 -march=nocona -mfpmath=sse -w -pipe -liconv qpto8bit.o rfc822.o helpers.o rfc2047.o -o qpto8bit
/usr/bin/cc -O3 -march=nocona -mfpmath=sse -w -pipe dotlock.o helpers.o -o lbdb_dotlock
xcodebuild: Warning: configuration Deployment is not in the project. Building default configuration.
=== BUILDING NATIVE TARGET ABQuery OF PROJECT ABQuery WITH THE DEFAULT CONFIGURATION (Release) ===
Checking Dependencies...
error: There is no SDK with the name or path 'macosx10.6'
** BUILD FAILED **
ABQuery/pbxbuild.sh
cp: ABQuery/build/Release/ABQuery: No such file or directory
make: *** [ABQuery/sym/ABQuery] Error 1
http://github.com/mxcl/homebrew/blob/master/Library/Formula/lbdb.rb#L14
==> Environment
sh: line 1: 73751 Trace/BPT trap git rev-parse --verify HEAD 2> /dev/null
HOMEBREW_VERSION: 0.5
HEAD:
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_CACHE: /Users/cpjolicoeur/Library/Caches/Homebrew
HOMEBREW_REPOSITORY: /usr/local
HOMEBREW_LIBRARY_PATH: /usr/local/Library/Homebrew
Hardware: quad-core 64-bit core2
OS X: 10.5.8
Kernel Architecture: i386
Ruby: 1.8.6-287
GCC-4.2: build 5577 (5577 or newer recommended)
LLVM: N/A
MacPorts or Fink? false
X11 installed? true
Exit status: 2
Error: Failure while executing: make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment