On 1/23/14 3:54 PM, Hanspeter Niederstrasser wrote: > On 1/23/2014 6:19 PM, Alexander Hansen wrote: >> On 1/23/14 1:16 PM, john saylor wrote: >>> hi >>> >>> i keep getting compile failures when trying to compile squid-unified on >>> my mac. and yes, i have run "selfupdate" as well as changing the build >>> jobs from 4 to 1. >>> >>> any help is welcome ... >>> >>> >>> here's the output of the failure along with the other stuff that comes >>> with a failure: >>> >>> Making all in compat >>> /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.. >>> -I../include -I../src -I../include -I/sw/lib/openssl/include >>> -I/sw/include -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror >>> -D_REENTRANT -W 64 -g -O2 -c -o assert.lo assert.cc >>> libtool: compile: g++ -DHAVE_CONFIG_H -I.. -I../include -I../src >>> -I../include -I/sw/lib/openssl/include -I/sw/include -Wall >>> -Wpointer-arith -Wwrite-strings -Wcomments -Werror -D_REENTRANT -W 64 -g >>> -O2 -c assert.cc -o assert.o >>> clang: error: no such file or directory: '64' >>> make[1]: *** [assert.lo] Error 1 >>> make: *** [all-recursive] Error 1 >>> ### execution of /tmp/fink.tX0Vz failed, exit code 2 >>> ### execution of /tmp/fink._fI_n failed, exit code 2 >>> Removing runtime build-lock... >>> Removing build-lock package... >>> /sw/bin/dpkg-lockwait -r fink-buildlock-squid-unified-3.1.14-1 >>> (Reading database ... 8174 files and directories currently installed.) >>> Removing fink-buildlock-squid-unified-3.1.14-1 ... >>> Failed: phase compiling: squid-unified-3.1.14-1 failed >>> >>> Before reporting any errors, please run "fink selfupdate" and try 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 <fink-us...@lists.sourceforge.net> >>> The Fink Beginners List <fink-beginners@lists.sourceforge.net>, >>> >>> with a carbon copy to the maintainer: >>> >>> Benjamin Reed <sq...@fink.raccoonfink.com> >>> >>> 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.36.3.1 >>> Distribution version: selfupdate-rsync Thu Jan 23 16:05:09 2014, 10.9, >>> x86_64 >>> Trees: local/main stable/main >>> Xcode.app: 5.0.2 >>> Xcode command-line tools: 5.0.1.0.1.1382131676 >>> Max. Fink build jobs: 1 >>> >>> >> >> It worked for me on 10.6, but on 10.8 (Xcode 5) I got the same thing as >> John did, and on 10.7 (Xcode 4.6) the build went a little further but >> ultimately failed with: >> >> g++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"/sw/etc/squid.conf\" >> -DDEFAULT_SQUID_DATA_DIR=\"/sw/share\" >> -DDEFAULT_SQUID_CONFIG_DIR=\"/sw/etc\" -I.. -I../include -I../src >> -I../include -I../src -I/sw/lib/openssl/include -I/sw/include -Wall >> -Wpointer-arith -Wwrite-strings -Wcomments -Werror -D_REENTRANT -g -O2 >> -c -o DiskIO/DiskThreads/DiskThreadsDiskFile.o >> DiskIO/DiskThreads/DiskThreadsDiskFile.cc >> In file included from DiskIO/DiskThreads/DiskThreadsDiskFile.cc:38: >> DiskIO/DiskThreads/DiskThreadsDiskFile.h:81:28: error: private field >> 'IO' is not >> used [-Werror,-Wunused-private-field] >> DiskThreadsIOStrategy *IO; >> ^ >> >> A version > > Can the failing platforms check to see if the squid-unified files from > <http://cvs.snaggledworks.com/viewvc.cgi/fink/3rdparty/main/finkinfo/net/> > work ? Save the squid-unified.info and squid-unified.patch files to > /sw/fink/dists/local/main/finkinfo , then run 'fink index' and try > rebuilding? I don't know how to use squid, but this at least builds for > me on 10.7. > > Hanspeter > >
The update didn't work on 10.8/Xcode 5: same error with "-W 64". It worked on 10.7. -- Alexander Hansen, Ph.D. Fink User Liaison My package updates: http://finkakh.wordpress.com/ ------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk _______________________________________________ Fink-beginners mailing list Fink-beginners@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.apple.fink.beginners Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-beginners