Hi all, I'm trying to update my newly installed Fink install, but somehow 'apt' seems to fail. System info: Mac OS X 10.4.x - fully updated Package manager version: 0.27.1 Distribution version: 0.8.1.rsync powerpc Trees: local/main unstable/main unstable/crypto
/sw/bin root# ./fink selfupdate ... SNIP ... In file included from contrib/mmap.cc:29: /sw/src/fink.build/apt-0.5.4-1054/apt-0.5.4/include/apt-pkg/mmap.h: 32:18: error: string: No such file or directory /sw/src/fink.build/apt-0.5.4-1054/apt-0.5.4/include/apt-pkg/fileutl.h: 30: error: 'std::string' has not been declared /sw/src/fink.build/apt-0.5.4-1054/apt-0.5.4/include/apt-pkg/fileutl.h: 40: error: 'string' does not name a type /sw/src/fink.build/apt-0.5.4-1054/apt-0.5.4/include/apt-pkg/fileutl.h: 59: error: 'string' has not been declared /sw/src/fink.build/apt-0.5.4-1054/apt-0.5.4/include/apt-pkg/fileutl.h: 71: error: ISO C++ forbids declaration of 'string' with no type /sw/src/fink.build/apt-0.5.4-1054/apt-0.5.4/include/apt-pkg/fileutl.h: 71: error: 'string' declared as an 'inline' field /sw/src/fink.build/apt-0.5.4-1054/apt-0.5.4/include/apt-pkg/fileutl.h: 71: error: expected ';' before '&' token /sw/src/fink.build/apt-0.5.4-1054/apt-0.5.4/include/apt-pkg/fileutl.h: 73: error: expected `)' before 'FileName' /sw/src/fink.build/apt-0.5.4-1054/apt-0.5.4/include/apt-pkg/fileutl.h: 84: error: 'string' was not declared in this scope /sw/src/fink.build/apt-0.5.4-1054/apt-0.5.4/include/apt-pkg/fileutl.h: 84: error: expected primary-expression before 'bool' /sw/src/fink.build/apt-0.5.4-1054/apt-0.5.4/include/apt-pkg/fileutl.h: 84: error: initializer expression list treated as compound expression /sw/src/fink.build/apt-0.5.4-1054/apt-0.5.4/include/apt-pkg/fileutl.h: 85: error: 'string' was not declared in this scope /sw/src/fink.build/apt-0.5.4-1054/apt-0.5.4/include/apt-pkg/fileutl.h: 86: error: 'string' does not name a type /sw/src/fink.build/apt-0.5.4-1054/apt-0.5.4/include/apt-pkg/fileutl.h: 94: error: 'string' does not name a type /sw/src/fink.build/apt-0.5.4-1054/apt-0.5.4/include/apt-pkg/fileutl.h: 95: error: 'string' does not name a type /sw/src/fink.build/apt-0.5.4-1054/apt-0.5.4/include/apt-pkg/fileutl.h: 96: error: 'string' does not name a type /sw/src/fink.build/apt-0.5.4-1054/apt-0.5.4/include/apt-pkg/fileutl.h: 97: error: 'string' does not name a type /sw/src/fink.build/apt-0.5.4-1054/apt-0.5.4/include/apt-pkg/fileutl.h: 98: error: 'string' does not name a type /sw/src/fink.build/apt-0.5.4-1054/apt-0.5.4/include/apt-pkg/mmap.h: 35: error: 'std::string' has not been declared /sw/src/fink.build/apt-0.5.4-1054/apt-0.5.4/include/apt-pkg/mmap.h: 98: error: 'string' has not been declared /sw/src/fink.build/apt-0.5.4-1054/apt-0.5.4/include/apt-pkg/mmap.h: In member function 'long unsigned int DynamicMMap::WriteString(int)': /sw/src/fink.build/apt-0.5.4-1054/apt-0.5.4/include/apt-pkg/mmap.h: 98: error: request for member 'c_str' in 'S', which is of non-class type 'int' /sw/src/fink.build/apt-0.5.4-1054/apt-0.5.4/include/apt-pkg/mmap.h: 98: error: request for member 'length' in 'S', which is of non-class type 'int' /sw/src/fink.build/apt-0.5.4-1054/apt-0.5.4/include/apt-pkg/error.h: At global scope: /sw/src/fink.build/apt-0.5.4-1054/apt-0.5.4/include/apt-pkg/error.h: 58: error: 'std::string' has not been declared /sw/src/fink.build/apt-0.5.4-1054/apt-0.5.4/include/apt-pkg/error.h: 64: error: 'string' does not name a type /sw/src/fink.build/apt-0.5.4-1054/apt-0.5.4/include/apt-pkg/error.h: 87: error: 'string' has not been declared contrib/mmap.cc: In constructor 'DynamicMMap::DynamicMMap(long unsigned int, long unsigned int)': contrib/mmap.cc:201: error: 'memset' was not declared in this scope contrib/mmap.cc: In member function 'long unsigned int DynamicMMap::WriteString(const char*, long unsigned int)': contrib/mmap.cc:303: error: 'strlen' was not declared in this scope contrib/mmap.cc:305: error: 'memcpy' was not declared in this scope make[2]: *** [/sw/src/fink.build/apt-0.5.4-1054/apt-0.5.4/obj/apt-pkg/ mmap.opic] Error 1 make[1]: *** [all] Error 2 make: *** [all] Error 2 ### execution of make failed, exit code 2 Removing runtime build-lock... Removing build-lock package... /sw/bin/dpkg-lockwait -r fink-buildlock-apt-0.5.4-1054 (Reading database ... 6291 files and directories currently installed.) Removing fink-buildlock-apt-0.5.4-1054 ... Failed: phase compiling: apt-0.5.4-1054 failed -- Rene ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Fink-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-users
