I do have Xcode 3.0 installed (first thing I did after setting up the account).
fink list indicates fltk-x11 1.1.7-1009 and the corresponding shlibs are installed. fink list also shows htmldoc as installed, even though there was an error in linking. There is no htmldoc in /sw/bin To try to make this a bit cleaner, I did a "fink purge htmldoc", and also deleted the .deb, so fink list shows htmldoc is not installedj and no .deb is available for fink to reinstall from. Then, I redid the "fink install htmldoc": The following package will be installed or updated: htmldoc Setting runtime build-lock... dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-htmldoc-1.8.23-1013 /sw/src/fink.build dpkg-deb: building package `fink-buildlock-htmldoc-1.8.23-1013' in `/sw/src/fink.build/fink-buildlock-htmldoc-1.8.23-1013_2008.05.19-17.14.01_darwin-i386.deb'. Installing build-lock package... /sw/bin/dpkg-lockwait -i /sw/src/fink.build/fink-buildlock-htmldoc-1.8.23-1013_2008.05.19-17.14.01_darwin-i386.deb Selecting previously deselected package fink-buildlock-htmldoc-1.8.23-1013. (Reading database ... 115589 files and directories currently installed.) Unpacking fink-buildlock-htmldoc-1.8.23-1013 (from .../fink-buildlock-htmldoc-1.8.23-1013_2008.05.19-17.14.01_darwin-i386.deb) ... Setting up fink-buildlock-htmldoc-1.8.23-1013 (2008.05.19-17.14.01) ... bzip2 -dc /sw/src/htmldoc-1.8.23-source.tar.bz2 | /sw/bin/tar -xf - --no-same-owner --no-same-permissions ./configure --prefix=/sw --mandir=${prefix}/share/man --with-openssl-libs=/sw/lib --with-openssl-includes=/sw/include --with-fltk-libs=/sw/lib --with-fltk-includes=/sw/include --with-x=yes --with-gui=yes checking for gawk... gawk checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking how to run the C preprocessor... gcc -E checking for ranlib... ranlib checking for ar... /usr/bin/ar checking for chmod... /bin/chmod checking for cp... /bin/cp checking for fltk-config... /sw/bin/fltk-config checking for mv... /bin/mv checking for mkdir... /bin/mkdir checking for rm... /bin/rm checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for strings.h... (cached) yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for strdup... yes checking for strcasecmp... yes checking for strncasecmp... yes checking for snprintf... yes checking for vsnprintf... yes checking for tm_gmtoff member in tm structure... yes checking for pow in -lm... yes checking for socket in -lsocket... no checking for gethostbyaddr in -lnsl... no checking for SSL_new in -lssl... yes checking openssl/ssl.h usability... yes checking openssl/ssl.h presence... yes checking for openssl/ssl.h... yes checking for jpeg_CreateCompress in -ljpeg... yes checking for gzgets in -lz... yes checking for png_set_tRNS_to_alpha in -lpng... yes checking if GCC supports -fno-rtti... yes checking if GCC supports -fno-exceptions... yes configure: creating ./config.status config.status: creating Makedefs config.status: creating Makefile config.status: creating htmldoc.list config.status: creating config.h make Making all in htmldoc... Compiling gui.cxx... gui.cxx: In member function 'int GUI::newBook()': gui.cxx:1476: warning: array subscript has type 'char' gui.cxx:1477: warning: array subscript has type 'char' gui.cxx:1478: warning: array subscript has type 'char' gui.cxx:1479: warning: array subscript has type 'char' gui.cxx:1480: warning: array subscript has type 'char' gui.cxx:1481: warning: array subscript has type 'char' gui.cxx:1482: warning: array subscript has type 'char' gui.cxx:1483: warning: array subscript has type 'char' gui.cxx:1484: warning: array subscript has type 'char' gui.cxx:1485: warning: array subscript has type 'char' gui.cxx:1486: warning: array subscript has type 'char' gui.cxx:1487: warning: array subscript has type 'char' gui.cxx:1488: warning: array subscript has type 'char' gui.cxx:1489: warning: array subscript has type 'char' gui.cxx:1490: warning: array subscript has type 'char' gui.cxx:1493: warning: array subscript has type 'char' gui.cxx:1494: warning: array subscript has type 'char' gui.cxx:1495: warning: array subscript has type 'char' gui.cxx:1498: warning: array subscript has type 'char' gui.cxx:1499: warning: array subscript has type 'char' gui.cxx:1500: warning: array subscript has type 'char' gui.cxx:1519: warning: array subscript has type 'char' gui.cxx:1520: warning: array subscript has type 'char' gui.cxx:1521: warning: array subscript has type 'char' gui.cxx:1524: warning: array subscript has type 'char' gui.cxx:1525: warning: array subscript has type 'char' gui.cxx:1526: warning: array subscript has type 'char' gui.cxx: In member function 'void GUI::parseOptions(const char*)': gui.cxx:1769: warning: array subscript has type 'char' gui.cxx:1770: warning: array subscript has type 'char' gui.cxx:1771: warning: array subscript has type 'char' gui.cxx:1772: warning: array subscript has type 'char' gui.cxx:1773: warning: array subscript has type 'char' gui.cxx:1774: warning: array subscript has type 'char' gui.cxx:1775: warning: array subscript has type 'char' gui.cxx:1776: warning: array subscript has type 'char' gui.cxx:1777: warning: array subscript has type 'char' gui.cxx:1778: warning: array subscript has type 'char' gui.cxx:1779: warning: array subscript has type 'char' gui.cxx:1780: warning: array subscript has type 'char' gui.cxx:1781: warning: array subscript has type 'char' gui.cxx:1782: warning: array subscript has type 'char' gui.cxx:1783: warning: array subscript has type 'char' gui.cxx:2076: warning: array subscript has type 'char' gui.cxx:2077: warning: array subscript has type 'char' gui.cxx:2078: warning: array subscript has type 'char' gui.cxx:2082: warning: array subscript has type 'char' gui.cxx:2083: warning: array subscript has type 'char' gui.cxx:2084: warning: array subscript has type 'char' gui.cxx:2122: warning: array subscript has type 'char' gui.cxx:2123: warning: array subscript has type 'char' gui.cxx:2124: warning: array subscript has type 'char' gui.cxx:2128: warning: array subscript has type 'char' gui.cxx:2129: warning: array subscript has type 'char' gui.cxx:2130: warning: array subscript has type 'char' gui.cxx: In static member function 'static void GUI::saveAsBookCB(Fl_Widget*, GUI*)': gui.cxx:3775: warning: 'fl_ask' is deprecated (declared at /sw/include/FL/fl_ask.H:59) gui.cxx:3775: warning: 'fl_ask' is deprecated (declared at /sw/include/FL/fl_ask.H:59) gui.cxx: In static member function 'static void GUI::generateBookCB(Fl_Widget*, GUI*)': gui.cxx:4018: warning: 'fl_ask' is deprecated (declared at /sw/include/FL/fl_ask.H:59) gui.cxx:4019: warning: 'fl_ask' is deprecated (declared at /sw/include/FL/fl_ask.H:59) htmldoc.xbm: At global scope: htmldoc.xbm:3: warning: 'htmldoc_bits' defined but not used Compiling file.c... cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C Compiling html.cxx... Compiling htmldoc.cxx... Compiling htmllib.cxx... Compiling http.c... cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C Compiling image.cxx... Compiling iso8859.cxx... Compiling md5.c... cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C Compiling progress.cxx... Compiling ps-pdf.cxx... ps-pdf.cxx: In function 'void render_contents(tree_t*, float, float, float, float, float*, int*, int, tree_t*)': ps-pdf.cxx:3357: warning: array subscript has type 'char' ps-pdf.cxx:3498: warning: array subscript has type 'char' ps-pdf.cxx:3502: warning: array subscript has type 'char' ps-pdf.cxx: In function 'void parse_paragraph(tree_t*, float, float, float, float, float*, float*, int*, int)': ps-pdf.cxx:4670: warning: array subscript has type 'char' ps-pdf.cxx:4814: warning: array subscript has type 'char' ps-pdf.cxx: In function 'int write_type1(FILE*, typeface_t, style_t)': ps-pdf.cxx:11677: warning: array subscript has type 'char' Compiling rc4.c... cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C Compiling snprintf.c... cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C Compiling string.c... cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C Compiling toc.cxx... Compiling util.cxx... Linking htmldoc... Undefined symbols: "operator new(unsigned long)", referenced from: GUI::GUI(char const*)in gui.o GUI::GUI(char const*)in gui.o [many repetitions...] GUI::GUI(char const*)in gui.o _main in htmldoc.o _main in htmldoc.o "operator delete(void*)", referenced from: GUI::~GUI() in gui.o GUI::~GUI() in gui.o GUI::~GUI() in gui.o Fl_Input::~Fl_Input()in gui.o Fl_Secret_Input::~Fl_Secret_Input()in gui.o Fl_Secret_Input::~Fl_Secret_Input()in gui.o _main in htmldoc.o ld: symbol(s) not found collect2: ld returned 1 exit status make[1]: *** [htmldoc] Error 1 /bin/rm -rf /sw/src/fink.build/root-htmldoc-1.8.23-1013 /bin/mkdir -p /sw/src/fink.build/root-htmldoc-1.8.23-1013/sw /bin/mkdir -p /sw/src/fink.build/root-htmldoc-1.8.23-1013/DEBIAN /usr/sbin/chown -R root:admin /sw/src/fink.build/root-htmldoc-1.8.23-1013 make install prefix=/sw/src/fink.build/root-htmldoc-1.8.23-1013/sw mandir=/sw/src/fink.build/root-htmldoc-1.8.23-1013/sw/share/man Making all in htmldoc... Linking htmldoc... Undefined symbols: "operator new(unsigned long)", referenced from: GUI::GUI(char const*)in gui.o GUI::GUI(char const*)in gui.o [many repetitions...] GUI::GUI(char const*)in gui.o _main in htmldoc.o _main in htmldoc.o "operator delete(void*)", referenced from: GUI::~GUI() in gui.o GUI::~GUI() in gui.o GUI::~GUI() in gui.o Fl_Input::~Fl_Input()in gui.o Fl_Secret_Input::~Fl_Secret_Input()in gui.o Fl_Secret_Input::~Fl_Secret_Input()in gui.o _main in htmldoc.o ld: symbol(s) not found collect2: ld returned 1 exit status make[2]: *** [htmldoc] Error 1 Installing in fonts... Installing font files in /sw/src/fink.build/root-htmldoc-1.8.23-1013/sw/share/htmldoc/fonts... Installing in data... Installing in doc... Undefined symbols: "_file_extension", referenced from: _main in htmldoc.o "_file_basename", referenced from: read_file(char const*, tree_str**, char const*)in htmldoc.o "_file_nolocal", referenced from: _main in htmldoc.o "_htmlAddTree", referenced from: read_file(char const*, tree_str**, char const*)in htmldoc.o _main in htmldoc.o "Fl::display(char const*)", referenced from: _main in htmldoc.o "_htmlSetTextColor", referenced from: _prefs_load in htmldoc.o parse_options(char const*, int (**)(tree_str*, tree_str*))in htmldoc.o _main in htmldoc.o "_progress_error", referenced from: read_file(char const*, tree_str**, char const*)in htmldoc.o read_file(char const*, tree_str**, char const*)in htmldoc.o load_book(char const*, tree_str**, int (**)(tree_str*, tree_str*))in htmldoc.o _main in htmldoc.o _main in htmldoc.o _main in htmldoc.o "_htmlSetBaseSize", referenced from: _prefs_load in htmldoc.o _prefs_load in htmldoc.o parse_options(char const*, int (**)(tree_str*, tree_str*))in htmldoc.o parse_options(char const*, int (**)(tree_str*, tree_str*))in htmldoc.o _main in htmldoc.o _main in htmldoc.o "_htmlSetVariable", referenced from: read_file(char const*, tree_str**, char const*)in htmldoc.o _main in htmldoc.o "Fl_File_Icon::load_system_icons()", referenced from: _main in htmldoc.o "__htmlHeadingFont", referenced from: __htmlHeadingFont$non_lazy_ptr in htmldoc.o "GUI::loadBook(char const*)", referenced from: _main in htmldoc.o "_image_flush_cache", referenced from: _main in htmldoc.o term_handler(int) in htmldoc.o "_htmlDeleteTree", referenced from: _main in htmldoc.o _main in htmldoc.o "GUI::GUI(char const*)", referenced from: _main in htmldoc.o _main in htmldoc.o "operator new(unsigned long)", referenced from: _main in htmldoc.o _main in htmldoc.o "_file_proxy", referenced from: parse_options(char const*, int (**)(tree_str*, tree_str*))in htmldoc.o _main in htmldoc.o "__htmlData", referenced from: __htmlData$non_lazy_ptr in htmldoc.o "_set_page_size", referenced from: parse_options(char const*, int (**)(tree_str*, tree_str*))in htmldoc.o _main in htmldoc.o "_htmlSetCharSet", referenced from: _prefs_load in htmldoc.o parse_options(char const*, int (**)(tree_str*, tree_str*))in htmldoc.o _main in htmldoc.o "_get_measurement", referenced from: parse_options(char const*, int (**)(tree_str*, tree_str*))in htmldoc.o parse_options(char const*, int (**)(tree_str*, tree_str*))in htmldoc.o parse_options(char const*, int (**)(tree_str*, tree_str*))in htmldoc.o parse_options(char const*, int (**)(tree_str*, tree_str*))in htmldoc.o _main in htmldoc.o _main in htmldoc.o _main in htmldoc.o _main in htmldoc.o "_get_fmt", referenced from: _prefs_save in htmldoc.o _prefs_save in htmldoc.o _prefs_save in htmldoc.o _prefs_save in htmldoc.o "__htmlBrowserWidth", referenced from: __htmlBrowserWidth$non_lazy_ptr in htmldoc.o "__htmlGrayscale", referenced from: __htmlGrayscale$non_lazy_ptr in htmldoc.o "_html_export", referenced from: _html_export$non_lazy_ptr in htmldoc.o "_toc_build", referenced from: _main in htmldoc.o "_get_format", referenced from: _prefs_load in htmldoc.o _prefs_load in htmldoc.o _prefs_load in htmldoc.o _prefs_load in htmldoc.o _prefs_load in htmldoc.o _prefs_load in htmldoc.o _prefs_load in htmldoc.o _prefs_load in htmldoc.o parse_options(char const*, int (**)(tree_str*, tree_str*))in htmldoc.o parse_options(char const*, int (**)(tree_str*, tree_str*))in htmldoc.o parse_options(char const*, int (**)(tree_str*, tree_str*))in htmldoc.o parse_options(char const*, int (**)(tree_str*, tree_str*))in htmldoc.o _main in htmldoc.o _main in htmldoc.o _main in htmldoc.o _main in htmldoc.o "__htmlCharSet", referenced from: __htmlCharSet$non_lazy_ptr in htmldoc.o "__htmlTextColor", referenced from: __htmlTextColor$non_lazy_ptr in htmldoc.o "_htmlDebugStats", referenced from: _main in htmldoc.o _main in htmldoc.o "Fl::run()", referenced from: _main in htmldoc.o "_htmlReadFile", referenced from: read_file(char const*, tree_str**, char const*)in htmldoc.o _main in htmldoc.o "GUI::help_dir", referenced from: __ZN3GUI8help_dirE$non_lazy_ptr in htmldoc.o "__htmlSpacings", referenced from: __htmlSpacings$non_lazy_ptr in htmldoc.o "__htmlPPI", referenced from: __htmlPPI$non_lazy_ptr in htmldoc.o "_file_find", referenced from: read_file(char const*, tree_str**, char const*)in htmldoc.o load_book(char const*, tree_str**, int (**)(tree_str*, tree_str*))in htmldoc.o "operator delete(void*)", referenced from: _main in htmldoc.o "_pspdf_export", referenced from: _pspdf_export$non_lazy_ptr in htmldoc.o "GUI::show()", referenced from: _main in htmldoc.o "_file_cleanup", referenced from: _main in htmldoc.o term_handler(int) in htmldoc.o "__htmlBodyFont", referenced from: __htmlBodyFont$non_lazy_ptr in htmldoc.o "GUI::~GUI()", referenced from: _main in htmldoc.o "_file_directory", referenced from: read_file(char const*, tree_str**, char const*)in htmldoc.o load_book(char const*, tree_str**, int (**)(tree_str*, tree_str*))in htmldoc.o "__htmlSizes", referenced from: __htmlSizes$non_lazy_ptr in htmldoc.o "_file_gets", referenced from: load_book(char const*, tree_str**, int (**)(tree_str*, tree_str*))in htmldoc.o load_book(char const*, tree_str**, int (**)(tree_str*, tree_str*))in htmldoc.o load_book(char const*, tree_str**, int (**)(tree_str*, tree_str*))in htmldoc.o ld: symbol(s) not found collect2: ld returned 1 exit status make[1]: *** [../htmldoc/htmldoc] Error 1 /usr/bin/install -d -m 700 /sw/src/fink.build/root-htmldoc-1.8.23-1013/sw/share/doc/htmldoc /bin/cp -r CHANGES.txt /sw/src/fink.build/root-htmldoc-1.8.23-1013/sw/share/doc/htmldoc/ /bin/cp -r COMPILE.txt /sw/src/fink.build/root-htmldoc-1.8.23-1013/sw/share/doc/htmldoc/ /bin/cp -r COPYING.txt /sw/src/fink.build/root-htmldoc-1.8.23-1013/sw/share/doc/htmldoc/ /bin/cp -r README.txt /sw/src/fink.build/root-htmldoc-1.8.23-1013/sw/share/doc/htmldoc/ /bin/chmod -R go=u-w /sw/src/fink.build/root-htmldoc-1.8.23-1013/sw/share/doc/htmldoc /bin/rm -f /sw/src/fink.build/root-htmldoc-1.8.23-1013/sw/info/dir /sw/src/fink.build/root-htmldoc-1.8.23-1013/sw/info/dir.old /sw/src/fink.build/root-htmldoc-1.8.23-1013/sw/share/info/dir /sw/src/fink.build/root-htmldoc-1.8.23-1013/sw/share/info/dir.old Writing control file... dpkg-deb -b root-htmldoc-1.8.23-1013 /sw/fink/10.5/unstable/crypto/binary-darwin-i386 dpkg-deb: building package `htmldoc' in `/sw/fink/10.5/unstable/crypto/binary-darwin-i386/htmldoc_1.8.23-1013_darwin-i386.deb'. Removing runtime build-lock... Removing build-lock package... /sw/bin/dpkg-lockwait -r fink-buildlock-htmldoc-1.8.23-1013 (Reading database ... 115590 files and directories currently installed.) Removing fink-buildlock-htmldoc-1.8.23-1013 ... Reading buildlock packages... /sw/bin/dpkg-lockwait -i /sw/fink/dists/unstable/crypto/binary-darwin-i386/htmldoc_1.8.23-1013_darwin-i386.deb Selecting previously deselected package htmldoc. (Reading database ... 115589 files and directories currently installed.) Unpacking htmldoc (from .../htmldoc_1.8.23-1013_darwin-i386.deb) ... Setting up htmldoc (1.8.23-1013) ... Updating the list of locally available binary packages. Scanning dists/unstable/crypto/binary-darwin-i386 Changed package: dists/unstable/crypto/binary-darwin-i386/htmldoc_1.8.23-1013_darwin-i386.deb > Alexander K Hansen wrote: > > On Monday 19 May 2008 14:49:47 James McKenzie wrote: > > > >> [EMAIL PROTECTED] wrote: > >> > >>> MacBook Pro, Leopard 10.5.2 > >>> > >>> I have run fink selfupdate and fink update-all. > >>> > >>> I'm still having problems getting htmldoc-1.8.23 to build; there are > >>> ld errors: > >>> > >>> Making all in htmldoc... > >>> Linking htmldoc... > >>> Undefined symbols: > >>> "operator new(unsigned long)", referenced from: > >>> GUI::GUI(char const*)in gui.o > >>> GUI::GUI(char const*)in gui.o > >>> [...] > >>> GUI::GUI(char const*)in gui.o > >>> GUI::GUI(char const*)in gui.o > >>> GUI::GUI(char const*)in gui.o > >>> GUI::GUI(char const*)in gui.o > >>> _main in htmldoc.o > >>> _main in htmldoc.o > >>> "operator delete(void*)", referenced from: > >>> GUI::~GUI() in gui.o > >>> GUI::~GUI() in gui.o > >>> GUI::~GUI() in gui.o > >>> Fl_Input::~Fl_Input()in gui.o > >>> Fl_Secret_Input::~Fl_Secret_Input()in gui.o > >>> Fl_Secret_Input::~Fl_Secret_Input()in gui.o > >>> _main in htmldoc.o > >>> ld: symbol(s) not found > >>> collect2: ld returned 1 exit status > >>> make[1]: *** [htmldoc] Error 1 > >>> > >>> Any ideas as to where the problem is? Is there another library > >>> which needs to be linked in? > >>> > >> Are you using XCode 3.0? > >> I did a compile and build and two additional dependencies appeared for > >> this package. They were fltk and fltk-X11. Both installed without > >> errors. htmldoc also appears to have installed properly as well. > >> > >> James McKenzie > >> > >> > >> > >> > > > > Did you pick fltk-x11 from the dependency choices? I got the same errors w hen > > I used that, although the build process didn't stop, and a .deb without > > the 'htmldoc' executable got created. This seems to work properly if you > > use the obsolete fltk instead. > > > > The old fltk and fltk-X11 aren't actually drop-in compatible, so the packag e > > really shouldn't give a choice. > > > > > Yes, I did pick fltk-x11 from what I remember. According to Fink list > htmldoc, it is installed. > > I can check the .deb and /sw/bin to see if htmldoc was built. > > James McKenzie ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users