Michael wrote:
ok I am at a loss herre as to the difference. I have seen in the CompileScript ./configure %c, now I have seen in the InstallScript make install --prefix=%i, but the way I would do it is add --prefix=%p either in the CompileScript or in the ConfigureParams. Now am I right in surmising that these all do the same thing, or am I getting my symbols mixed up?

I assume you are looking at the Fink packaging documentation, so you know that "make install prefix=%i" (prefix, not --prefix) is the default InstallScript and that "it is preferably [sic] to use make install DESTDIR=%d instead". This suggests that even for the standard cases, there is no general one-size-fits-all rule. You have to look inside the Makefile and try to understand what "make install" is doing and what parameters it is using.


If you use the ConfigureParams field, you don't need --prefix=%p, it is added automatically. If you use the CompileScript field, you are not even obliged to use ConfigureParams, it is just more convenient, but you can always spell out the configure command explicitly with all its parameters. Many configure scripts use non-standard options anyway, so you are forced to do more than just "./configure %c". You should try to understand what your configure script in your package is doing exactly and what variables and options it wants.

--
Martin






------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Fink-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to