question about db4 installation
"John Gant" <[email protected]> Mon, 14 Aug 2006 23:17:25 -0400
| Newsgroups | gmane.os.opendarwin.darwinports |
|---|---|
| Message-ID | <[email protected]> |
Hello,
I have tried to install subversion via darwinports with no success. My
main hangup is the db4 installation. The syserr/sysout output of the
command "sudo port install db4" is as follows:
---> Fetching db4
---> Verifying checksum(s) for db4
---> Extracting db4
---> Configuring db4
---> Building db4 with target all
<new lines removed>
Error: Target com.apple.build returned: shell command "cd
"/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_databases_db4/work/db-4.3.29/build_unix"
&& make all" returned error 2
Command output: ./db_cxx.h:478: error: 'ostream' has not been declared
./db_cxx.h:479: error: ISO C++ forbids declaration of 'ostream' with no type
./db_cxx.h:479: error: 'ostream' declared as a 'virtual' field
./db_cxx.h:479: error: expected ';' before '*' token
./db_cxx.h:480: error: 'ostream' has not been declared
./db_cxx.h:610: error: ISO C++ forbids declaration of 'ostream' with no type
./db_cxx.h:610: error: expected ';' before '*' token
./db_cxx.h:611: error: ISO C++ forbids declaration of 'ostream' with no type
./db_cxx.h:611: error: expected ';' before '*' token
./db_cxx.h:987: 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:500: error: 'ostream' was not declared in this scope
../dist/../cxx/cxx_db.cpp:500: error: 'out' was not declared in this scope
../dist/../cxx/cxx_db.cpp:503: error: expected primary-expression
before ')' token
../dist/../cxx/cxx_db.cpp:503: error: expected `;' before 'handle'
../dist/../cxx/cxx_db.cpp: At global scope:
../dist/../cxx/cxx_db.cpp:513: error: 'ostream' has not been declared
../dist/../cxx/cxx_db.cpp:636: error: expected constructor,
destructor, or type conversion before '*' token
../dist/../cxx/cxx_db.cpp:641: error: variable or field
'set_error_stream' declared void
../dist/../cxx/cxx_db.cpp:641: error: 'int Db::set_error_stream' is
not a static member of 'class Db'
../dist/../cxx/cxx_db.cpp:641: error: 'ostream' was not declared in this scope
../dist/../cxx/cxx_db.cpp:641: error: 'error_stream' was not declared
in this scope
../dist/../cxx/cxx_db.cpp:642: error: expected ',' or ';' before '{' token
../dist/../cxx/cxx_db.cpp:646: error: expected constructor,
destructor, or type conversion before '*' token
../dist/../cxx/cxx_db.cpp:651: error: variable or field
'set_message_stream' declared void
../dist/../cxx/cxx_db.cpp:651: error: 'int Db::set_message_stream' is
not a static member of 'class Db'
../dist/../cxx/cxx_db.cpp:651: error: 'ostream' was not declared in this scope
../dist/../cxx/cxx_db.cpp:651: error: 'message_stream' was not
declared in this scope
../dist/../cxx/cxx_db.cpp:652: error: expected ',' or ';' before '{' token
make: *** [cxx_db.lo] Error 1
It seems there might either be:
1. A problem with the db4 port.
2. A missing library, or a library that is installed but cannot be
found by the linker.
I'm guessing the port is ok, and its a lib issue :)
Can anyone point me toward a solution?
Thanks,
John