Thanx so much again, but now I'm having a prob with libiconv. It prob just won't work, but i can't find the warning saying why it won't prebind.

i'm bootstraping fink, with the modifications to the files before doing ./bootstrap.sh. when it starts compiling gettext, it eventually sprits out "ld: warning prebinding disabled because dependent library: /sw/lib/libintl.1.dylib is not prebound" but it hasn't build libiconv yet! (I assume that gettext makes its own) but then how do I prebind that? none of it will prebind if that one file (used by almost everything) won't. :(

Any help would be appreciated,
JP





On Saturday, February 8, 2003, at 08:52 AM, Carsten Klapp wrote:

Hi John,

I dug up a copy of my old message from the list, here's the patch you need to apply. Note that it only works for packages which use autoconf/automake, all other packages Makefiles' will still have to be patched.

From: Max Horn <[EMAIL PROTECTED]>
Date: Sun Nov 17, 2002 6:08:54 pm Canada/Eastern
To: Carsten Klapp <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
Subject: Re: [Fink-devel] Packages which can be prebound right now

At 17:11 Uhr -0500 17.11.2002, Carsten Klapp wrote:
Hi all,

I realized today that there are many fink programs which could be prebound right now but aren't, even though the fink dylib automatic prebinding isn't quite ready yet.

Using 'otool -L' I made of list of binaries which link ONLY to Apple-supplied dylibs, there are probably more as this list reflects what I have installed.

Files should be compiled and linked with the '-prebind' flag. If a file can't be prebound the compiler/linker just skips the prebinding step and spits out a warning.

I'm proposing the following patch to fink:
--------------------------------------------------------
--- PkgVersion.pm-original Fri Oct 25 02:41:42 2002
+++ PkgVersion.pm Sun Nov 17 16:46:51 2002
@@ -1710,5 +1710,7 @@
my ($varname, $s, $expand);
my %defaults = ( "CPPFLAGS" => "-I\%p/include",
- "LDFLAGS" => "-L\%p/lib" );
+ "LDFLAGS" => "-prebind -L\%p/lib",
+ "CFLAGS" => "-prebind",
+ "MFLAGS" => "-j8" )
my $bsbase = get_bsbase();

--------------------------------------------------------


The problem with this is that could cause a *lot* of regressions. Feel free to modify your local version of Fink and try, or even better, bootstrap a clean new install using it (verifying that still works with your change).

I am not really willing to put that into CVS just now, we are already trying to stabilize a fairly major change there, and I want to get a new release out of fink eventually. That said, one could always make a branch for this if you think it's useful to do so.


Max
--
-----------------------------------------------
Max Horn
Software Developer

email: <mailto:[EMAIL PROTECTED]>
phone: (+49) 6151-494890




--
God is dead, now the war shall never end.

Reply via email to