problems after upgrading from darwinports

Dorian Mcfarland loaf at isness.org
Wed Nov 15 00:52:00 PST 2006


Hello,
I just installed macports 1.320 from the dmg+installer on top of my old darwinports installation, subsequently I'm having great trouble installing or uprading a number of ports, particularly ones that require db44. I'm running OS X 10.4.8 on a 1.25 GHz PowerPC G4. I also installed the latest developer tools and Xcode as recommended.

For instance, I get the following output when trying to install rb-rmagick (imagemagick is up-to-date):

23:38:34:dorian #> sudo port install rb-rmagick
--->  Building rb-rmagick with target all
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_ruby_rb-rmagick/work/RMagick-1.13.0" && make all RUBY="/opt/local/bin/ruby -rvendor-specific"" returned error 2
Command output: ---> lib/rvg
<--- lib/rvg
<--- lib
---> ext
---> ext/RMagick
make
gcc -I. -I/opt/local/lib/ruby/1.8/powerpc-darwin8.8.0 -I/opt/local/lib/ruby/1.8/powerpc-darwin8.8.0 -I/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_ruby_rb-rmagick/work/RMagick-1.13.0/ext/RMagick -DRUBY_VERSION=0x185  -I/opt/local/include -fno-common -Wall -g   -c rmutil.c
rmutil.c: In function 'Color_to_ColorInfo':
rmutil.c:1771: error: incompatible types in assignment
rmutil.c: In function 'Color_to_s':
rmutil.c:1801: warning: format '%d' expects type 'int', but argument 5 has type 'MagickRealType'
rmutil.c:1801: warning: format '%d' expects type 'int', but argument 6 has type 'MagickRealType'
rmutil.c:1801: warning: format '%d' expects type 'int', but argument 7 has type 'MagickRealType'
rmutil.c:1801: warning: format '%d' expects type 'int', but argument 8 has type 'MagickRealType'
make[1]: *** [rmutil.o] Error 1
setup.rb:655:in `command': system("make") failed (RuntimeError)
        from setup.rb:664:in `make'
        from setup.rb:1258:in `setup_dir_ext'
        from setup.rb:1532:in `__send__'
        from setup.rb:1532:in `traverse'
        from setup.rb:1549:in `dive_into'
        from setup.rb:1530:in `traverse'
        from setup.rb:1534:in `traverse'
        from setup.rb:1533:in `each'
         ... 8 levels...
        from setup.rb:826:in `__send__'
        from setup.rb:826:in `invoke'
        from setup.rb:772:in `invoke'
        from setup.rb:1578
make: *** [all] Error 1

Error: Status 1 encountered during processing.


and then I get the following when trying to install db44 (needed for apache 2.2.3 etc...):


23:37:14:dorian #> sudo port install db44
Password:
--->  Building db44 with target all
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

Error: Status 1 encountered during processing.

I'm at a bit of a loss as to how to proceed. It seems that I'm missing something, perhaps some compiler or something, but I have no idea what.

can anyone help?
thanks

dorian

-- 
I do things for love or money



More information about the macports-users mailing list