printf ' ' | fink --no-use-binary-dist --yes rebuild plzip 2>&1 The package 'plzip' will be built without being installed. Reading build dependency for plzip-1.0-1... Reading dependency for plzip-1.0-1... Reading build conflict for plzip-1.0-1... The following package will be rebuilt: plzip Setting runtime build-lock... dpkg-deb -b /sw/build.build/root-fink-buildlock-plzip-1.0-1 /sw/build.build dpkg-deb: building package `fink-buildlock-plzip-1.0-1' in `/sw/build.build/fink-buildlock-plzip-1.0-1_2014.07.30-06.04.10_darwin-x86_64.deb'. Installing build-lock package... /sw/bin/dpkg-lockwait -i /sw/build.build/fink-buildlock-plzip-1.0-1_2014.07.30-06.04.10_darwin-x86_64.deb Selecting previously deselected package fink-buildlock-plzip-1.0-1. (Reading database ... 4314 files and directories currently installed.) Unpacking fink-buildlock-plzip-1.0-1 (from .../fink-buildlock-plzip-1.0-1_2014.07.30-06.04.10_darwin-x86_64.deb) ... Setting up fink-buildlock-plzip-1.0-1 (2014.07.30-06.04.10) ... sudo -u fink-bld [ENV] sh -c /tmp/fink.IV7XC env LANG=C LC_ALL=C /sw/bin/tar --no-same-owner --no-same-permissions -xvf /sw/src/plzip-1.0.tar.gz plzip-1.0/AUTHORS plzip-1.0/COPYING plzip-1.0/ChangeLog plzip-1.0/INSTALL plzip-1.0/Makefile.in plzip-1.0/NEWS plzip-1.0/README plzip-1.0/configure plzip-1.0/doc/plzip.1 plzip-1.0/doc/plzip.info plzip-1.0/doc/plzip.texinfo plzip-1.0/testsuite/check.sh plzip-1.0/testsuite/test.txt plzip-1.0/testsuite/test.txt.lz plzip-1.0/arg_parser.h plzip-1.0/file_index.h plzip-1.0/lzip.h plzip-1.0/arg_parser.cc plzip-1.0/compress.cc plzip-1.0/dec_stdout.cc plzip-1.0/dec_stream.cc plzip-1.0/decompress.cc plzip-1.0/file_index.cc plzip-1.0/main.cc sudo -u fink-bld [ENV] sh -c /tmp/fink.3dWy0 ./configure --prefix=/sw CXXFLAGS='-Wall -W -Os' CPPFLAGS=-I/sw/include LDFLAGS=-L/sw/lib creating config.status creating Makefile VPATH = . prefix = /sw exec_prefix = $(prefix) bindir = $(exec_prefix)/bin datarootdir = $(prefix)/share infodir = $(datarootdir)/info mandir = $(datarootdir)/man CXX = g++ CPPFLAGS = -I/sw/include CXXFLAGS = -Wall -W -Os LDFLAGS = -L/sw/lib OK. Now you can run make. If make fails, verify that the lzlib compression library is correctly installed. (see INSTALL) make g++ -I/sw/include -Wall -W -Os -c -o arg_parser.o arg_parser.cc g++ -I/sw/include -Wall -W -Os -c -o file_index.o file_index.cc g++ -I/sw/include -Wall -W -Os -c -o compress.o compress.cc g++ -I/sw/include -Wall -W -Os -c -o dec_stdout.o dec_stdout.cc g++ -I/sw/include -Wall -W -Os -c -o dec_stream.o dec_stream.cc g++ -I/sw/include -Wall -W -Os -c -o decompress.o decompress.cc g++ -I/sw/include -Wall -W -Os -DPROGVERSION=\"1.0\" -c -o main.o main.cc In file included from file_index.cc:27: ./lzip.h:159:13: error: unknown type name 'pthread_mutex_t' void xinit( pthread_mutex_t * const mutex ); ^ ./lzip.h:160:13: error: unknown type name 'pthread_cond_t' void xinit( pthread_cond_t * const cond ); ^ ./lzip.h:161:16: error: unknown type name 'pthread_mutex_t' void xdestroy( pthread_mutex_t * const mutex ); ^ ./lzip.h:162:16: error: unknown type name 'pthread_cond_t' void xdestroy( pthread_cond_t * const cond ); ^ ./lzip.h:163:13: error: unknown type name 'pthread_mutex_t' void xlock( pthread_mutex_t * const mutex ); ^ ./lzip.h:164:15: error: unknown type name 'pthread_mutex_t' void xunlock( pthread_mutex_t * const mutex ); ^ ./lzip.h:165:13: error: unknown type name 'pthread_cond_t' void xwait( pthread_cond_t * const cond, pthread_mutex_t * const mutex ); ^ ./lzip.h:165:42: error: unknown type name 'pthread_mutex_t' void xwait( pthread_cond_t * const cond, pthread_mutex_t * const mutex ); ^ ./lzip.h:166:15: error: unknown type name 'pthread_cond_t' void xsignal( pthread_cond_t * const cond ); ^ ./lzip.h:167:18: error: unknown type name 'pthread_cond_t' void xbroadcast( pthread_cond_t * const cond ); ^ ./lzip.h:209:3: error: unknown type name 'pthread_mutex_t' pthread_mutex_t mutex; ^ ./lzip.h:210:3: error: unknown type name 'pthread_cond_t' pthread_cond_t slot_av; // free slot available ^ 12 errors generated. make: *** [file_index.o] Error 1 make: *** Waiting for unfinished jobs.... ### execution of make failed, exit code 2 ### execution of /tmp/fink.3dWy0 failed, exit code 2 Removing runtime build-lock... Removing build-lock package... /sw/bin/dpkg-lockwait -r fink-buildlock-plzip-1.0-1 (Reading database ... 4315 files and directories currently installed.) Removing fink-buildlock-plzip-1.0-1 ... Failed: phase compiling: plzip-1.0-1 failed Before reporting any errors, please run "fink selfupdate" and try again. Also try using "fink configure" to set your maximum build jobs to 1 and attempt to build the package again. If you continue to have issues, please check to see if the FAQ on Fink's website solves the problem. If not, ask on one (not both, please) of these mailing lists: The Fink Users List The Fink Beginners List , with a carbon copy to the maintainer: Daniel Johnson Note that this is preferable to emailing just the maintainer directly, since most fink package maintainers do not have access to all possible hardware and software configurations. Please try to include the complete error message in your report. This generally consists of a compiler line starting with e.g. "gcc" or "g++" followed by the actual error output from the compiler. Also include the following system information: Package manager version: 0.37.0 Distribution version: selfupdate-cvs Thu Jul 24 20:26:24 2014, 10.9, x86_64 Trees: local/main stable/main Xcode.app: 5.1.1 Xcode command-line tools: 6.0.0.0.1.1405597879 Max. Fink build jobs: 8