Failled to install g95... Any suggestions ? (sorry previous mail was sent with an unrealated object...) David
port install g95 ---> 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: /bin/sh ./libtool --mode=compile /usr/bin/gcc-4.0 -c -O2 -I../dist/.. -I/opt/local/include ../dist/../db_dump185/db_dump185.c /usr/bin/gcc-4.0 -c -O2 -I../dist/.. -I/opt/local/include ../dist/../db_dump185/db_dump185.c -fno-common -DPIC -o .libs/db_dump185.o ../dist/../db_dump185/db_dump185.c: In function 'main': ../dist/../db_dump185/db_dump185.c:212: warning: assignment makes pointer from integer without a cast ../dist/../db_dump185/db_dump185.c:214: warning: assignment makes pointer from integer without a cast ../dist/../db_dump185/db_dump185.c:229: error: 'struct __db' has no member named 'seq' ../dist/../db_dump185/db_dump185.c:229: error: 'R_NEXT' undeclared (first use in this function) ../dist/../db_dump185/db_dump185.c:229: error: (Each undeclared identifier is reported only once ../dist/../db_dump185/db_dump185.c:229: error: for each function it appears in.) ../dist/../db_dump185/db_dump185.c:234: error: 'struct __db' has no member named 'seq' ../dist/../db_dump185/db_dump185.c: In function 'db_hash': ../dist/../db_dump185/db_dump185.c:262: error: 'struct __db' has no member named 'internal' ../dist/../db_dump185/db_dump185.c:264: error: 'struct __db' has no member named 'internal' ../dist/../db_dump185/db_dump185.c: In function 'db_btree': ../dist/../db_dump185/db_dump185.c:289: error: 'struct __db' has no member named 'internal' make: *** [db_dump185.lo] Error 1
Error: The following dependencies failed to build: odcctools subversion apr-util db44 sqlite3 Error: Status 1 encountered during processing.
On May 29, 2007, at 01:59, David Tremouilles wrote:
Failled to install g95... Any suggestions ? (sorry previous mail was sent with an unrealated object...) David
port install g95 ---> Building db44 with target all [snip]
It looks like it's db44, not g95, that's failing. g95 requires odcctools which requires subversion which by default requires db44, though it can be configured without db44. You could do that this way: sudo port install apr-util +no_bdb sudo port install subversion +no_bdb Then continue to install g95. If you want to work out why db44 is not working, then please first ensure that your MacPorts, OS and Xcode are up to date. Current version of MacPorts is 1.4.4.2, OS is 10.4.9 (or 10.3.9), and Xcode is 2.4.1 (for 10.4.9) or 1.5 (for 10.3.9). When you write back, let us know what version of each you have, and also your processor architecture.
participants (2)
-
David Tremouilles
-
Ryan Schmidt