File tree Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -385,17 +385,20 @@ for the header and library files to your ``configure`` command.  For example,
385385
386386with **Homebrew **::
387387
388-     $ brew install pkg-config openssl xz gdbm 
388+     $ brew install pkg-config openssl xz gdbm tcl-tk  
389389
390- and `` configure ``  Python versions >= 3.7 ::
390+ For  Python 3.10 and newer ::
391391
392-     ./configure --with-pydebug --with-openssl=$(brew --prefix openssl) 
392+     $ PKG_CONFIG_PATH="$(brew --prefix tcl-tk)/lib/pkgconfig" \ 
393+       ./configure --with-pydebug --with-openssl=$(brew --prefix openssl) 
393394
394- or `` configure ``  Python versions <  3.7::
395+ For  Python versions 3.9 through  3.7::
395396
396-     $ CPPFLAGS="-I$(brew --prefix openssl)/include" \ 
397-       LDFLAGS="-L$(brew --prefix openssl)/lib" \ 
398-       ./configure --with-pydebug 
397+     $ export PKG_CONFIG_PATH="$(brew --prefix tcl-tk)/lib/pkgconfig" 
398+     $ ./configure --with-pydebug \ 
399+                   --with-openssl=$(brew --prefix openssl) \ 
400+                   --with-tcltk-libs="$(pkg-config --libs tcl tk)" \ 
401+                   --with-tcltk-includes="$(pkg-config --cflags tcl tk)" 
399402
400403and ``make ``::
401404
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments