Opened 17 years ago

Closed 17 years ago

Last modified 15 years ago

#11617 closed defect (worksforme)

[BUG] db44 doesn't compile

Reported by: n.wieland@… Owned by: macports-tickets@…
Priority: High Milestone:
Component: ports Version:
Keywords: Cc: markd@…
Port: db44

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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
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_db44/work/db-4.4.20/build_unix" && make all" returned error 2
Command output: ./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
Error: The following dependencies failed to build: apr-util db44 sqlite3 neon
Error: Status 1 encountered during processing.
ngw@adreadedsunnyday ~$ uname -a
Darwin adreadedsunnyday.local 8.9.0 Darwin Kernel Version 8.9.0: Thu Feb 22 20:54:07 PST 2007; root:xnu-792.17.14~1/RELEASE_PPC Power Macintosh powerpc

Change History (6)

comment:1 Changed 17 years ago by pipping@…

Milestone: Port Bugs

comment:2 Changed 17 years ago by pipping@…

Component: baseports

comment:3 Changed 17 years ago by markd@…

Cc: markd@… added

It builds fine on Intel. Do you are a recent version of Xcode - 2.4.x?

comment:4 Changed 17 years ago by markd@…

Resolution: worksforme
Status: newclosed

comment:5 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Port: db44 added

comment:6 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.