problems after upgrading from darwinports

Dorian Mcfarland loaf at isness.org
Wed Nov 15 21:59:46 PST 2006


actually, after a full reinstall of darwinports(completely removing /opt/local) I still have the same problem with db44

> $ gcc_select
> Current default compiler:
> gcc version 4.0.1 (Apple Computer, Inc. build 5367)

this is still the case.

I am now at a total loss!
anyone have any ideas why I might be getting the following:

<snip>
creating libdb-4.4.la
(cd .libs && rm -f libdb-4.4.la && ln -s ../libdb-4.4.la libdb-4.4.la)
rm -f libdb.a
ln -s .libs/libdb-4.4.a libdb.a
/bin/sh ./libtool --mode=compile /usr/bin/g++-4.0 -c -I. -I../dist/..  -O ../dist/../cxx/cxx_db.cpp
 /usr/bin/g++-4.0 -c -I. -I../dist/.. -O ../dist/../cxx/cxx_db.cpp  -fno-common -DPIC -o .libs/cxx_db.o
In file included from ../dist/../cxx/cxx_db.cpp:15:
./db_cxx.h:60:22: error: iostream.h: No such file or directory
./db_cxx.h:61:23: error: exception.h: No such file or directory
./db_cxx.h:268: error: 'ostream' has not been declared
./db_cxx.h:274: error: ISO C++ forbids declaration of 'ostream' with no type
./db_cxx.h:274: error: 'ostream' declared as a 'virtual' field
./db_cxx.h:274: error: expected ';' before '*' token
./db_cxx.h:275: error: 'ostream' has not been declared
./db_cxx.h:276: error: ISO C++ forbids declaration of 'ostream' with no type
./db_cxx.h:276: error: 'ostream' declared as a 'virtual' field
./db_cxx.h:276: error: expected ';' before '*' token
./db_cxx.h:277: error: 'ostream' has not been declared
./db_cxx.h:491: error: ISO C++ forbids declaration of 'ostream' with no type
./db_cxx.h:491: error: 'ostream' declared as a 'virtual' field
./db_cxx.h:491: error: expected ';' before '*' token
./db_cxx.h:492: error: 'ostream' has not been declared
./db_cxx.h:493: error: ISO C++ forbids declaration of 'ostream' with no type
./db_cxx.h:493: error: 'ostream' declared as a 'virtual' field
./db_cxx.h:493: error: expected ';' before '*' token
./db_cxx.h:494: error: 'ostream' has not been declared
./db_cxx.h:653: error: ISO C++ forbids declaration of 'ostream' with no type
./db_cxx.h:653: error: expected ';' before '*' token
./db_cxx.h:654: error: ISO C++ forbids declaration of 'ostream' with no type
./db_cxx.h:654: error: expected ';' before '*' token
./db_cxx.h:1032: error: expected class-name before '{' token
../dist/../cxx/cxx_db.cpp: In function 'int _verify_callback_c(void*, const void*)':
../dist/../cxx/cxx_db.cpp:503: error: 'ostream' was not declared in this scope
../dist/../cxx/cxx_db.cpp:503: error: 'out' was not declared in this scope
../dist/../cxx/cxx_db.cpp:506: error: expected primary-expression before ')' token
../dist/../cxx/cxx_db.cpp:506: error: expected `;' before 'handle'
../dist/../cxx/cxx_db.cpp: At global scope:
../dist/../cxx/cxx_db.cpp:516: error: 'ostream' has not been declared
../dist/../cxx/cxx_db.cpp:637: error: expected constructor, destructor, or type conversion before '*' token
../dist/../cxx/cxx_db.cpp:642: error: variable or field 'set_error_stream' declared void
../dist/../cxx/cxx_db.cpp:642: error: 'int Db::set_error_stream' is not a static member of 'class Db'
../dist/../cxx/cxx_db.cpp:642: error: 'ostream' was not declared in this scope
../dist/../cxx/cxx_db.cpp:642: error: 'error_stream' was not declared in this scope
../dist/../cxx/cxx_db.cpp:643: error: expected ',' or ';' before '{' token
../dist/../cxx/cxx_db.cpp:647: error: expected constructor, destructor, or type conversion before '*' token
../dist/../cxx/cxx_db.cpp:652: error: variable or field 'set_message_stream' declared void
../dist/../cxx/cxx_db.cpp:652: error: 'int Db::set_message_stream' is not a static member of 'class Db'
../dist/../cxx/cxx_db.cpp:652: error: 'ostream' was not declared in this scope
../dist/../cxx/cxx_db.cpp:652: error: 'message_stream' was not declared in this scope
../dist/../cxx/cxx_db.cpp:653: error: expected ',' or ';' before '{' token
make: *** [cxx_db.lo] Error 1
Warning: the following items did not execute (for db44): com.apple.activate com.apple.build com.apple.destroot com.apple.install

anyone?

thanks
dorian


-- 
I do things for love or money



More information about the macports-users mailing list