Freeze Question

Zooko zooko at zooko.com
Wed Aug 6 10:11:45 EDT 2003


Skip:

Thank you very much for posting this recipe.  It happens to be exactly what 
I need right now.

I think maybe steps 2 and 3 are in reversed order.

Regards,

Zooko

 Skip Montanaro wrote:
>
> I think Modules/Setup is about it.  If I had to do this today, here's what
> I'd do.
> 
>     1. Starting from a clean source tree, run the 'script' command to get
>        a log of the session in a file named 'typescript'.
> 
>     2. Exit the script session.
> 
>     3. Run the usual 'configure ; make' commands.
> 
>     4. Edit Modules/Setup, uncommenting those modules which you want built
>        statically.  Many are simple and require no extra compile or link
>        flags.  For others, use the build commands found in the typescript
>        file to identify -I..., -L..., and -l... flags.  Obviously, omit or
>        modify any flags that would be used to generate a shared library
>        (-shared, -Bshared, -fPIC, etc).
> 
>     5. Run 'make clean ; make'
> 
>     6. Test the resulting executable.
> 
>     7. Repeat steps 4-6 as necessary.
> 
>     8. Congratulate yourself on a job well done and buy yourself a beer.







More information about the Python-list mailing list