Massimo Marengo wrote: []
Phase 3 was already there in the "Fink unstable" info file for 10.3, but it didn't work for Panther. The problem was that the cc command was using the command line option -framework which is apparently no more recognized by dyld (if I have understood correctly, the option -framework is passed by gcc to the linker as it is). For this reason
This is the point I don't believe. I know that recent g77 doesn't understand -framework any more and needs -lgcc_dynamic, but if you link using cc, I don't think this is true.
The pgplot package uses g77 for linking. Here is a typical command line:
g77 -fno-backslash -o pgdemo1 /sw/src/pgplot-5.2-6/pgplot/examples/pgdemo1.f -L/sw/src/root-pgplot-5.2-6/sw/lib/pgplot -lpgplot -L/sw/lib -lpng -lz -L/usr/X11R6/lib -lX11 /System/Library/Frameworks/Foundation.framework/Versions/Current/Foundation /System/Library/Frameworks/AppKit.framework/Versions/Current/AppKit -lcc_dynamic
the compile script was failing. Looking at the info file of the pgplot package I saw that the -framework option was gone, and the two frameworks used (AppKit and Foundation) were listed with their full path at the end of the compile command. Since the pgplot script also had the "-lcc_dynamic" option, I added it to the pgplot-perl script. The result worked properly and the test was passed with flying colors.
I don't know how the perl module does the linking, maybe it uses g77, too, in which case you are right that the change is necessary. I just would like to avoid that wrong rumors are spreading.
In recent versions of the scribus package, I am using the Python framework which on 10.3 is for the first time usable (it has all headers and the dynamic lib, just the static lib is missing). It works perfectly with the -framework flag.
-- 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