Hi all,
I am trying to do a quick and dirty compile of Debian aptitude on fink 
0.4.1 (Mac OS X 10.2.2).  I start from the sources in 
aptitude_0.2.11.1.orig.tar.gz, and can get through the full compile with 
the modifications listed below.  However, when it comes time for the final 
linking step, I get the following linker error:

ld: Undefined symbols:
typeinfo for download_manager

Has anyone seen any error message like this before?

P.S.  Please CC: any emails to me since I'm not subscribed to this list.

Thanks in advance,
-- 
Kevin McCarty                Physics Department
[EMAIL PROTECTED]       Princeton University
www.princeton.edu/~kmccarty  Princeton, NJ 08544

Notes: ----------------------------------------------

Porting aptitude to Fink on OS X...
build-depends are gettext, apt-dev, libsigc++

set CFLAGS=-I/sw/include, CPPFLAGS=$CFLAGS, LDFLAGS="-L/sw/lib -lintl"
flags to ./configure: --prefix=/sw --with-package-state-loc=/sw/var/lib/aptitude
        --localstatedir=/sw/var --with-included-gettext=/sw/lib/libintl.dylib
after ./configure, comment out HAVE_EXT_HASH_{MAP,SET}, HAVE_LIBPTHREAD
        in config.h (quick hack to get around the problem described in
        http://www.mail-archive.com/[email protected]/msg01042.html     
 

patches:
in src/vscreen/vs_treeitem, line 18: depth_shift shouldn't have default arg
   src/vscreen/vs_util.cc line 175 (same error)
   src/vscreen/vs_subtree.h line 42: change "child_list::iterator"
        to "typename child_list::iterator"

hmm, no getopt_long function in BSD / Fink / OS X...
#include <unistd.h> instead of <getopt.h> in src/main.cc
change "getopt_long" to "getopt" and comment out things which aren't 
relevant to BSD getopt in src/main.cc (yeah, this means only one-letter 
options...)



-------------------------------------------------------
This sf.net email is sponsored by: To learn the basics of securing 
your web site with SSL, click here to get a FREE TRIAL of a Thawte 
Server Certificate: http://www.gothawte.com/rd524.html
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to