Friday, July 27, 2007

INSTALL: howto sudo port install db4 Successfully

As Admin: vi /opt/local/var/macports/sources/rsync.macports.org/release/ports/databases/db4/PortfileChange the line:configure.args --enable-compat185 --enable-dump185 --enable-cxx \TOconfigure.args --enable-cxx \Then: sudo port clean db4; sudo port install db4Background, for those interested:The db4 package in MacPorts is - as of this writing - broken. It fails to compile due to issues with db_dump18:> sudo port -b install db4---> Fetching db4---> Verifying checksum(s) for db4---> Extracting db4---> Applying patches to db4---> Configuring db4---> Building db4 with target allError: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_db4/work/db-4.3.29/build_unix" && make all " returned error 2Command output: ar cru .libs/libdb_tcl-4.3.a tcl_compat.o tcl_db.o tcl_db_pkg.o tcl_dbcursor.o tcl_env.o tcl_internal.o tcl_lock.o tcl_log.o tcl_mp.o tcl_rep.o tcl_seq.o tcl_txn.o tcl_util.o db185.o mut_tas.o bt_compare.o bt_conv.o bt_curadj.o bt_cursor.o bt_delete.o bt_method.o bt_open.o bt_put.o bt_rec.o bt_reclaim.o bt_recno.o bt_rsearch.o bt_search.o bt_split.o bt_stat.o bt_upgrade.o btree_auto.o hash.o hash_auto.o hash_conv.o hash_dup.o hash_meta.o hash_method.o hash_open.o hash_page.o hash_rec.o hash_reclaim.o hash_stat.o hash_upgrade.o hash_verify.o qam.o qam_auto.o qam_conv.o qam_files.o qam_method.o qam_open.o qam_rec.o qam_stat.o qam_upgrade.o qam_verify.o rep_auto.o rep_backup.o rep_method.o rep_record.o rep_region.o rep_stat.o rep_util.o db_ovfl_vrfy.o db_vrfy.o db_vrfyutil.o bt_verify.o aes_method.o crypto.o mt19937db.o rijndael-alg-fst.o rijndael-api-fst.o crdel_auto.o crdel_rec.o db.o db_am.o db_auto.o db_byteorder.o db_cam.o db_conv.o db_dispatch.o db_dup.o db_err.o db_getlong.o db_idspace.o db_iface.o db_join.o db_log2.o db_meta.o db_method.o db_open.o db_overflow.o db_pr.o db_rec.o db_reclaim.o db_rename.o db_remove.o db_ret.o db_salloc.o db_setid.o db_setlsn.o db_shash.o db_stati.o db_truncate.o db_upg.o db_upg_opd.o dbm.o dbreg.o dbreg_auto.o dbreg_rec.o dbreg_stat.o dbreg_util.o env_file.o env_method.o env_open.o env_recover.o env_region.o env_stat.o fileops_auto.o fop_basic.o fop_rec.o fop_util.o hash_func.o hmac.o hsearch.o lock.o lock_deadlock.o lock_id.o lock_list.o lock_method.o lock_region.o lock_stat.o lock_timer.o lock_util.o log.o log_archive.o log_compare.o log_get.o log_method.o log_put.o log_stat.o mp_alloc.o mp_bh.o mp_fget.o mp_fmethod.o mp_fopen.o mp_fput.o mp_fset.o mp_method.o mp_region.o mp_register.o mp_stat.o mp_sync.o mp_trickle.o mutex.o os_abs.o os_alloc.o os_clock.o os_config.o os_dir.o os_errno.o os_fid.o os_fsync.o os_handle.o os_id.o os_map.o os_method.o os_oflags.o os_open.o os_region.o os_rename.o os_root.o os_rpath.o os_rw.o os_seek.o os_sleep.o os_spin.o os_stat.o os_tmpdir.o os_truncate.o os_unlink.o sha1.o seq_stat.o sequence.o snprintf.o txn.o txn_auto.o txn_method.o txn_rec.o txn_recover.o txn_region.o txn_stat.o txn_util.o xa.o xa_db.o xa_map.oranlib: file: .libs/libdb_tcl-4.3.a(tcl_compat.o) has no symbolsranlib: file: .libs/libdb_tcl-4.3.a(tcl_lock.o) has no symbolsranlib: file: .libs/libdb_tcl-4.3.a(tcl_log.o) has no symbolsranlib: file: .libs/libdb_tcl-4.3.a(tcl_rep.o) has no symbolsranlib: file: .libs/libdb_tcl-4.3.a(snprintf.o) has no symbolsranlib .libs/libdb_tcl-4.3.aranlib: file: .libs/libdb_tcl-4.3.a(tcl_compat.o) has no symbolsranlib: file: .libs/libdb_tcl-4.3.a(tcl_lock.o) has no symbolsranlib: file: .libs/libdb_tcl-4.3.a(tcl_log.o) has no symbolsranlib: file: .libs/libdb_tcl-4.3.a(tcl_rep.o) has no symbolsranlib: file: .libs/libdb_tcl-4.3.a(snprintf.o) has no symbolscreating libdb_tcl-4.3.la(cd .libs && rm -f libdb_tcl-4.3.la && ln -s ../libdb_tcl-4.3.la libdb_tcl-4.3.la)/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 1Digging on the DarwinPorts and Fink forums online (usually a goldmine for fixing issues like this) proved fruitless until I looked on the comp.databases.berkeley-db newsgroup and found that the thorn in the compiler's side was an optional component. At that point I had to dig up the MacPorts Portfile for db4 and manually remove the db_compat185 and db_dump185 options from configure.args. Cleaning and rebuilding solved my problem.

13 comments:

Anonymous said...

[color=blue]Buy cheap Asacol without prescription. Asacol no rx needed cod accepted. Cheap Asacol cod saturday delivery.Asacol online fed ex.[/color]
 
[url=http://www.topmeds10.com/search.php?aid=89869&q=Asacol][img]http://aleksandrr.webng.com/viagra.gif[/img][/url]
 
[url=http://www.topmeds10.com/search.php?aid=89869&q=Asacol]Asacol[/url]-[b]CLICK HERE TO BUY ONLINE![/b]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

[b]buy cheap Asacol cod free fedex.us Asacol cod sales.Asacol for cheap.Asacol without prescription overnight shipping.buy Asacol without a prescription or membership.buying Asacol overnight.buy Asacol next day delivery.purchase Asacol pharmacy online.Asacol without prescription.generic Asacol no prescription overnight.Asacol mg.buy online Asacol without prescription.buy Asacol online with overnight delivery.buy cheap Asacol without prescription.buy Asacol online.Asacol 2 business days delivery.order Asacol 2 days delivery.next day delivery Asacol.cod pay Asacol.Asacol no dr.buying Asacol.Asacol medication online.[/b]

Abou3Ali said...

Hi guys i installed wubi on my windows xp OS but after rebooting as it recommend, i don't seems to be able to start ubuntu in any way, i do find the ubuntu directory under the c drive but nothing to start it?? can any one help me please

Anonymous said...

Who can skilled in and articulate what goods are sold on this locate: [url=http://tingliverli.chez.com]one klick[/url]
Thanks against waiting!

Anonymous said...

Who can recognize and tell what goods are sold on this site: [url=http://tingliverli.chez.com]see here[/url]
Thanks for waiting!

Anonymous said...

Atrakcyjna wydaje się istnieć Nie wymaga natomiast w nazwie Water w pozycji.
[url=http://bzstaszekw101.zzn.com/blog/webmaster?147962 ]prestashop[/url]
Czasochłonnie. Od wielu lat szybciej przystosować się pozostałych biznesie w naszym dziewczyn, to spora część detalicznie w skłonne, dzięki przeto podejmuje aktywność rzeczową, fitness dzięki kobiety, stanowiska, wielokrotne przesiedlenie się zwykły trening to dostać, muszą stanowić a tu nowy mega oszczędzają się trzy początki:
Ciekawa wydaje się być Nie wymaga oraz w firmie Water w lokalizacji.

Anonymous said...

Great blog here! Also yοuг webѕitе loadѕ up fast!
Whаt web hоst aгe уou using?
Сan I get youг affiliate link to your host? I
wish my site loadeԁ up as quicκly
as yours lol

My pagе get the facts

Anonymous said...

yes tramadol 100mg online overnight - buy tramadol online in florida

Anonymous said...

Howdy! This article could not be written any better!
Looking through this post reminds me of my previous roommate!
He constantly kept preaching about this. I am going to forward this information to him.
Fairly certain he'll have a great read. Thanks for sharing!


Feel free to surf to my web blog: clash of clans hack

Anonymous said...

Hello, I do believe your website could be having
internet browser compatibility issues. When I take a look at your web site in Safari, it looks fine however, when opening in I.E., it's got some overlapping
issues. I merely wanted to provide you with a quick heads up!
Apart from that, excellent blog!

my page iherb coupon code

Anonymous said...

Does your blog have a contact page? I'm having problems locating it but,
I'd like to send you an email. I've got some creative
ideas for your blog you might be interested in hearing.

Either way, great site and I look forward to seeing it develop over time.



Here is my website boot camp

Anonymous said...

Hurrah! At last I got a website from where
I be able to actually get helpful information regarding my study
and knowledge.

Here is my homepage - generalized anxiety disorder

Anonymous said...

You need to be marrakech 75 drink recipe completely redone.
However ARI is externally managed by a property it is, you can't find out about communication. The orange juice here
is particularly tasty: at 4 dirhams 40 cents and make
sure to serve snacks, appetizers, and a strong working knowledge of that, too, that a few pictures.


Stop by my site - Marrakech riad exclusive; ,

Izabella Nowotka said...

Jestem pod wrażeniem. Bardzo ciekawie napisany artykuł.