Re: [COOT] Coot 1.0 installation

2023-07-11 Thread Colin Gauvin
If you must try Coot 1, there is a binary available in the science repo 
for OpenSUSE Tumbleweed. That's the only Coot 1 binary I am aware of.


Jul 11, 2023 3:03:54 AM Charles BARCHET :


Dear all,

I am currently trying to compile Coot 1.0 on Ubuntu 22.04.
After downloading all the necessary binaries, I end up with a python 
version error message :



*:1: DeprecationWarning: The distutils.sysconfig module is 
deprecated, use sysconfig instead
:1: DeprecationWarning: The distutils package is deprecated and 
slated for removal in Python 3.12. Use setuptools or check PEP 632 for 
potential alternatives
:1: DeprecationWarning: The distutils.sysconfig module is 
deprecated, use sysconfig instead

-I/usr/include/python3.10
checking for Python library path... :4: DeprecationWarning: The 
distutils package is deprecated and slated for removal in Python 3.12. 
Use setuptools or check PEP 632 for potential alternatives
:4: DeprecationWarning: The distutils.sysconfig module is 
deprecated, use sysconfig instead
:3: DeprecationWarning: The distutils package is deprecated and 
slated for removal in Python 3.12. Use setuptools or check PEP 632 for 
potential alternatives
:3: DeprecationWarning: The distutils.sysconfig module is 
deprecated, use sysconfig instead
:2: DeprecationWarning: The distutils package is deprecated and 
slated for removal in Python 3.12. Use setuptools or check PEP 632 for 
potential alternatives
:2: DeprecationWarning: The distutils.sysconfig module is 
deprecated, use sysconfig instead

-L/usr/lib/x86_64-linux-gnu -lpython3.10
checking for Python site-packages path... :1: 
DeprecationWarning: The distutils package is deprecated and slated for 
removal in Python 3.12. Use setuptools or check PEP 632 for potential 
alternatives
:1: DeprecationWarning: The distutils.sysconfig module is 
deprecated, use sysconfig instead

/usr/lib/python3/dist-packages
checking python extra libraries... :1: DeprecationWarning: The 
distutils package is deprecated and slated for removal in Python 3.12. 
Use setuptools or check PEP 632 for potential alternatives
:1: DeprecationWarning: The distutils.sysconfig module is 
deprecated, use sysconfig instead

-lcrypt -ldl  -lm -lm
checking python extra linking flags... :1: DeprecationWarning: 
The distutils package is deprecated and slated for removal in Python 
3.12. Use setuptools or check PEP 632 for potential alternatives
:1: DeprecationWarning: The distutils.sysconfig module is 
deprecated, use sysconfig instead

-Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions
checking consistency of all components of python development 
environment... no

configure: error: in `/home/barchetc/Downloads/coot1/coot-1':
configure: error:
  Could not link test program to Python. Maybe the main Python library 
has been
  installed in some non-standard library path. If so, pass it to 
configure,

  via the LIBS environment variable.
  Example: ./configure LIBS="-L/usr/non-standard-path/python/lib"
  


   ERROR!
   You probably have to install the development version of the Python 
package
   for your distribution.  The exact name of this package varies among 
them.
  
*


I have tried using "update-alternatives" to fix this issue but it 
didn't work.


Is it possible to get a precompiled version somewhere or to help me fix 
this problem ?


Thank you,
Charles


To unsubscribe from the COOT list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/WA-JISC.exe?SUBED1=COOT=1


--
Best Regards,

Colin Gauvin
Sent from my mobile device.



To unsubscribe from the COOT list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/WA-JISC.exe?SUBED1=COOT=1

This message was issued to members of www.jiscmail.ac.uk/COOT, a mailing list 
hosted by www.jiscmail.ac.uk, terms & conditions are available at 
https://www.jiscmail.ac.uk/policyandsecurity/


Re: [COOT] Coot 1.0 installation

2023-07-11 Thread Paul Emsley


On 11/07/2023 09:53, Charles BARCHET wrote:


Dear all,


I am currently trying to compile Coot 1.0 on Ubuntu 22.04.

After downloading all the necessary binaries, I end up with a python 
version error message :



*:1: DeprecationWarning: The distutils.sysconfig module is 
deprecated, use sysconfig instead
:1: DeprecationWarning: The distutils package is deprecated 
and slated for removal in Python 3.12. Use setuptools or check PEP 632 
for potential alternatives
:1: DeprecationWarning: The distutils.sysconfig module is 
deprecated, use sysconfig instead

-I/usr/include/python3.10
*



I am presuming that you ran this script:


https://raw.githubusercontent.com/pemsley/coot/gtk3/build-it-3-3


Is that right?


For the record, although that should work (I'd like that to work) I have 
spend little time on it over the past year.


Ubuntu 22.04 comes with GTK4, I think, so you should be able to use


https://raw.githubusercontent.com/pemsley/coot/main/build-it-3-3.


Anyway, it is not clear to me what you did to make the above message 
happen. It certainly doesn't look like a standard Coot startup message. 
What did you do to make that happen?



> I have tried using "update-alternatives" to fix this issue but it 
didn't work.



I don't know what this means.


> Is it possible to get a pre-compiled version somewhere or to help me 
fix this problem ?



Sadly not. Building binaries is practically a full-time job and I just 
don't have time to fit it into my day at the moment.



Regards,


Paul.




To unsubscribe from the COOT list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/WA-JISC.exe?SUBED1=COOT=1

This message was issued to members of www.jiscmail.ac.uk/COOT, a mailing list 
hosted by www.jiscmail.ac.uk, terms & conditions are available at 
https://www.jiscmail.ac.uk/policyandsecurity/