Hi, Fresh 10.9 fink installation with the binary distribution enabled chokes on compiling libsidplay as follows:
g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libsidplay\" -DVERSION=\"1.36.59\" -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 -DSIZEOF_CHAR=1 -DSIZEOF_SHORT_INT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG_INT=8 -DSTDC_HEADERS=1 -DHAVE_LONG_FILE_NAMES=1 -DHAVE_DLFCN_H=1 -I. -I. -I.. -I/sw/include -g -O2 -MT eeconfig.lo -MD -MP -MF .deps/eeconfig.Tpo -c eeconfig.cpp -fno-common -DPIC -o .libs/eeconfig.o sidtune.cpp:310:40: error: no member named 'bin' in 'std::__1::basic_ios<char>' ifstream myIn( fileName, ios::in|ios::bin|ios::ate ); ~~~~~^ sidtune.cpp:976:50: error: no member named 'bin' in 'std::__1::basic_ios<char>' fMyOut.open( fileName, ios::out|ios::bin|ios::trunc ); ~~~~~^ sidtune.cpp:1065:50: error: no member named 'bin' in 'std::__1::basic_ios<char>' fMyOut.open( fileName, ios::out|ios::bin|ios::trunc ); ~~~~~^ 3 errors generated. I was under the impression that ios::bin is in fact ios::binary. To confirm I did a test with this simple file: #include <iostream> #include <fstream> using namespace std; int main () { ofstream myfile; myfile.open("temp", ios::binary); } and it compiles fine with the stock clang++/g++. Yet the respective test built into the configuration of the package does not think so: checking whether standard member ios::binary is available... no I am not sure how to fix this. Advice is appreciated. Many thanks. Here is the system information: Package manager version: 0.36.4.1 Distribution version: selfupdate-rsync Sat Apr 12 10:55:40 2014, 10.9, x86_64 Trees: local/main stable/main Xcode.app: 5.1.1 Xcode command-line tools: 5.1.0.0.1.1396320587 Max. Fink build jobs: 3 Best regards, Stefan -- If it was so, it might be; and if it were so, it would be; but as it isn't, it ain't. That's logic. --Lewis Carroll, Through the Looking-Glass No HTML emails and proprietary attachments please <http://bruda.ca/ascii> ------------------------------------------------------------------------------ Put Bad Developers to Shame Dominate Development with Jenkins Continuous Integration Continuously Automate Build, Test & Deployment Start a new project now. Try Jenkins in the cloud. http://p.sf.net/sfu/13600_Cloudbees _______________________________________________ Fink-users mailing list Fink-users@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users