Both define the function hash_create, but (of course) in a completely incompatible way. Compare the file /sw/src/tetex-2.0.2-32/tetex-src-2.0.2/texk/kpathsea/hash.c in the tetex sources with /usr/include/strhash.h.
For the compilation of xdvik, there is a simple workaround, one can remove the "-ldl" from the linker line which pulls in libSystem (disguised as libdl here). This can be done by the following patch to the tetex.info file:
diff -u -b -w -r1.4 tetex.info
--- tetex.info 31 Oct 2003 00:34:18 -0000 1.4
+++ tetex.info 1 Dec 2003 15:43:42 -0000
@@ -1,6 +1,6 @@
Package: tetex
Version: 2.0.2
-Revision: 32
+Revision: 33
GCC: 3.3
Description: Complete distribution of the TeX typesetting system
Depends: %N-base (= %v-%r), texinfo, debianutils, ncurses, ncurses-shlibs
@@ -17,6 +17,7 @@
ConfigureParams: --without-texinfo --enable-shared --datadir='${prefix}/share' --infodir='${prefix}/share/info' --mandir='${prefix}/share/man' --disable-multiplatform --with-system-ncurses --with-system-pnglib --with-system-t1lib --with-system-wwwlib --with-system-zlib
CompileScript: <<
./configure %c
+ perl -pi -e 's|\-ldl||g' texk/xdvik/Makefile
export DYLD_LIBRARY_PATH="%b/texk/kpathsea/SHARED" ; make -j1
<<
InstallScript: <<
This works for me in any case. David, I can easily commit this patch if you agree.
But there might be more to this story than just the failure of xdvik, and a more thorough fix might be in order. Or maybe something more intelligent using the fact that we have, after all, this twolevel_namespace thing that might, for once, be useful for something :-) I don't quite see it yet.
-- Martin
------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel