<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body>
<p>If it helps, the simplest way to get xcrysden 1.6.2 to run in
Fedora 34 might be to compile it from source. The following seemed
to work in a virtual machine (i.e., VirtualBox) on Windows 10. So
it will most likely work starting at step 10 on a computer when
Fedora 34 is installed on the 'hardware' instead of in a 'virtual
machine'. <br>
<br>
1. Went to: <a class="moz-txt-link-freetext" href="https://getfedora.org/en/workstation/download/">https://getfedora.org/en/workstation/download/</a><br>
2. Downloaded Fedora 34: x86_64 DVD ISO:
Fedora-Workstation-Live-x86_64-34_Beta-1.3.iso<br>
3. Went to: <a class="moz-txt-link-freetext" href="https://www.virtualbox.org/wiki/Downloads">https://www.virtualbox.org/wiki/Downloads</a><br>
4. Downloaded Windows hosts: VirtualBox-6.1.18-142142-Win.exe<br>
5. Installed VirtualBox in Windows 10<br>
a. Ran: VirtualBox-6.1.18-142142-Win.exe<br>
b. Clicked Next<br>
c. Clicked Next<br>
d. Clicked Next<br>
e. Clicked Yes<br>
f. Clicked Install<br>
g. Clicked Finish<br>
6. If needed, enable 64 bit virtualization as described at:
<a class="moz-txt-link-freetext" href="https://superuser.com/questions/1241956/virtualbox-only-allowing-32-bit-os">https://superuser.com/questions/1241956/virtualbox-only-allowing-32-bit-os</a><br>
7. Setup VirtualBox<br>
a. On desktop, ran: Oracle VM VirtualBox<br>
b. Clicked Machine -> New...<br>
c. For Name typed: Fedora 34<br>
d. Selected Type: Linux<br>
e. Selected Version: Fedora (64 bit)<br>
f. Clicked Next<br>
g. Put 3064 and click Next<br>
h. Selected "Create a virtual hard disk now" and click Create<br>
i. Selected "VDI (Virtual Disk Image" and click Next<br>
j. Selected "Dynamically allocated" and click Next<br>
k. Put 50.00 GB and click Create<br>
l. Under Storage, click on [Optical Drive] Empty, click "Choose
a disk file..." and open
Fedora-Workstation-Live-x86_64-34_Beta-1.3.iso<br>
n. Click Settings -> System -> Processor, set Processors
to 2, then click OK<br>
n. Clicked Start<br>
8. Installed Fedora 34<br>
a. Selected "Start Fedora-Workstation-Live 34_Beta"<br>
b. Clicked "Install to Hard Drive"<br>
c. Selected English and clicked Continue<br>
d. Clicked "I want to proceed"<br>
e. Clicked "Installation Destination"<br>
f. Clicked Done<br>
g. Clicked "Begin Installation"<br>
h. Clicked "Finish Installation"<br>
i. In Fedora Live click on battery icon, click Poweroff/Log Out
-> Power Off... and Power Off<br>
j. Under Storage in VirtualBox, click on [Optical Drive]
Fedora-Workstation-Live-x86_64-34_Beta-1.3.iso and clicked "Remove
disk form virtual drive"<br>
k. In VirtualBox, clicked Start<br>
9. Setup Fedora 34<br>
a. Clicked "Start Setup"<br>
b. Turn off "Location Services" and "Automatic Problem
Reporting", then click Next<br>
c. Click "Skip" to Online Accounts<br>
d. Type a Full Name and Username and click Next<br>
e. Type a password and click Next<br>
f. Click "Start Using Fedora"<br>
10. Opened a terminal in Fedora 34 and performed the following:<br>
<br>
[username@fedora ~]$ sudo yum install patch ImageMagick openbabel
mesa-libGL-devel mesa-libGLU-devel tcl-devel tk-devel fftw-devel
libXmu-devel gfortran <br>
...<br>
Is this ok [y/N]: y<br>
...<br>
[username@fedora ~]$ wget
<a class="moz-txt-link-freetext" href="https://sourceforge.net/projects/togl/files/Togl/2.0/Togl2.0-src.tar.gz/download">https://sourceforge.net/projects/togl/files/Togl/2.0/Togl2.0-src.tar.gz/download</a><br>
...<br>
[username@fedora ~]$ tar xvf download<br>
...<br>
[username@fedora ~]$ cd Togl2.0/<br>
[username@fedora Togl2.0]$ ./configure --with-tcl=/usr/lib64
--with-tk=/usr/lib64 --enable-64bit<br>
[username@fedora Togl2.0]$ make<br>
[username@fedora Togl2.0]$ cd ..<br>
[username@fedora ~]$ wget
<a class="moz-txt-link-freetext" href="http://www.xcrysden.org/download/xcrysden-1.6.2.tar.gz">http://www.xcrysden.org/download/xcrysden-1.6.2.tar.gz</a><br>
...<br>
[username@fedora ~]$ tar xvf xcrysden-1.6.2.tar.gz <br>
...<br>
[username@fedora ~]$ cd xcrysden-1.6.2/<br>
[username@fedora xcrysden-1.6.2]$ cp system/Make.sys-semishared
Make.sys<br>
[username@fedora xcrysden-1.6.2]$ wget
<a class="moz-txt-link-freetext" href="https://raw.githubusercontent.com/gsabo/xcrysden-Patches/main/Make-fedora34.patch">https://raw.githubusercontent.com/gsabo/xcrysden-Patches/main/Make-fedora34.patch</a><br>
...<br>
[username@fedora xcrysden-1.6.2]$ patch -b Make.sys
Make-fedora34.patch <br>
patching file Make.sys<br>
[username@fedora xcrysden-1.6.2]$ make all<br>
...<br>
[username@fedora xcrysden-1.6.2]$ echo 'export
XCRYSDEN_TOPDIR=/home/username/xcrysden-1.6.2'>>~/.bashrc<br>
[username@fedora xcrysden-1.6.2]$ echo 'export
PATH=$PATH:$XCRYSDEN_TOPDIR'>>~/.bashrc<br>
[username@fedora xcrysden-1.6.2]$ echo 'export
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/username/Togl2.0'>>~/.bashrc<br>
[username@fedora xcrysden-1.6.2]$ source ~/.bashrc<br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 4/7/2021 1:45 AM, Rudra Banerjee
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:AM5PR0601MB23241FBBEEFF69CD511A9015E9759@AM5PR0601MB2324.eurprd06.prod.outlook.com">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<style type="text/css" style="display:none;">P {margin-top:0;margin-bottom:0;}</style>
<div style="font-family: Calibri, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255,
255, 255);">
<span style="color: rgb(34, 34, 34); font-family: Arial,
Helvetica, sans-serif; font-size: small; background-color:
rgb(255, 255, 255); display: inline !important;">Hi,</span><br>
<br style="color: rgb(34, 34, 34); font-family: Arial,
Helvetica, sans-serif; font-size: small; background-color:
rgb(255, 255, 255);">
<span style="color: rgb(34, 34, 34); font-family: Arial,
Helvetica, sans-serif; font-size: small; background-color:
rgb(255, 255, 255); display: inline !important;">I am trying
to run xcrysden in fedora 34.</span><br style="color: rgb(34,
34, 34); font-family: Arial, Helvetica, sans-serif; font-size:
small; background-color: rgb(255, 255, 255);">
<span style="color: rgb(34, 34, 34); font-family: Arial,
Helvetica, sans-serif; font-size: small; background-color:
rgb(255, 255, 255); display: inline !important;">On running
xcrysden, I am getting error:</span><br style="color: rgb(34,
34, 34); font-family: Arial, Helvetica, sans-serif; font-size:
small; background-color: rgb(255, 255, 255);">
<br style="color: rgb(34, 34, 34); font-family: Arial,
Helvetica, sans-serif; font-size: small; background-color:
rgb(255, 255, 255);">
<span style="color: rgb(34, 34, 34); font-family: Arial,
Helvetica, sans-serif; font-size: small; background-color:
rgb(255, 255, 255); display: inline !important;">CRYSDEN_TOPDIR=/opt/xcrysden-1</span><wbr
style="color: rgb(34, 34, 34); font-family: Arial, Helvetica,
sans-serif; font-size: small; background-color: rgb(255, 255,
255);"><span style="color: rgb(34, 34, 34); font-family:
Arial, Helvetica, sans-serif; font-size: small;
background-color: rgb(255, 255, 255); display: inline
!important;">.6.2-bin-shared</span><br style="color: rgb(34,
34, 34); font-family: Arial, Helvetica, sans-serif; font-size:
small; background-color: rgb(255, 255, 255);">
<span style="color: rgb(34, 34, 34); font-family: Arial,
Helvetica, sans-serif; font-size: small; background-color:
rgb(255, 255, 255); display: inline !important;">XCRYSDEN_SCRATCH=/tmp/xcrys_tm</span><wbr
style="color: rgb(34, 34, 34); font-family: Arial, Helvetica,
sans-serif; font-size: small; background-color: rgb(255, 255,
255);"><span style="color: rgb(34, 34, 34); font-family:
Arial, Helvetica, sans-serif; font-size: small;
background-color: rgb(255, 255, 255); display: inline
!important;">p</span><br style="color: rgb(34, 34, 34);
font-family: Arial, Helvetica, sans-serif; font-size: small;
background-color: rgb(255, 255, 255);">
<br style="color: rgb(34, 34, 34); font-family: Arial,
Helvetica, sans-serif; font-size: small; background-color:
rgb(255, 255, 255);">
<span style="color: rgb(34, 34, 34); font-family: Arial,
Helvetica, sans-serif; font-size: small; background-color:
rgb(255, 255, 255); display: inline !important;">Running on
platform : unix</span><br style="color: rgb(34, 34, 34);
font-family: Arial, Helvetica, sans-serif; font-size: small;
background-color: rgb(255, 255, 255);">
<span style="color: rgb(34, 34, 34); font-family: Arial,
Helvetica, sans-serif; font-size: small; background-color:
rgb(255, 255, 255); display: inline !important;"> Operating
system : Linux</span><br style="color: rgb(34, 34, 34);
font-family: Arial, Helvetica, sans-serif; font-size: small;
background-color: rgb(255, 255, 255);">
<span style="color: rgb(34, 34, 34); font-family: Arial,
Helvetica, sans-serif; font-size: small; background-color:
rgb(255, 255, 255); display: inline !important;">Package
ImageMagick's convert: /usr/bin/convert</span><br
style="color: rgb(34, 34, 34); font-family: Arial, Helvetica,
sans-serif; font-size: small; background-color: rgb(255, 255,
255);">
<span style="color: rgb(34, 34, 34); font-family: Arial,
Helvetica, sans-serif; font-size: small; background-color:
rgb(255, 255, 255); display: inline !important;">Package
ImageMagick's import: /usr/bin/import</span><br style="color:
rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif;
font-size: small; background-color: rgb(255, 255, 255);">
<span style="color: rgb(34, 34, 34); font-family: Arial,
Helvetica, sans-serif; font-size: small; background-color:
rgb(255, 255, 255); display: inline !important;">Executing:
/opt/xcrysden-1.6.2-bin-shared</span><wbr style="color:
rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif;
font-size: small; background-color: rgb(255, 255, 255);"><span
style="color: rgb(34, 34, 34); font-family: Arial, Helvetica,
sans-serif; font-size: small; background-color: rgb(255, 255,
255); display: inline !important;">/bin/ftnunit</span><br
style="color: rgb(34, 34, 34); font-family: Arial, Helvetica,
sans-serif; font-size: small; background-color: rgb(255, 255,
255);">
<span style="color: rgb(34, 34, 34); font-family: Arial,
Helvetica, sans-serif; font-size: small; background-color:
rgb(255, 255, 255); display: inline !important;">Error in
startup script:</span><br style="color: rgb(34, 34, 34);
font-family: Arial, Helvetica, sans-serif; font-size: small;
background-color: rgb(255, 255, 255);">
<span style="color: rgb(34, 34, 34); font-family: Arial,
Helvetica, sans-serif; font-size: small; background-color:
rgb(255, 255, 255); display: inline !important;">Couldn't
configure togl widget</span><br style="color: rgb(34, 34, 34);
font-family: Arial, Helvetica, sans-serif; font-size: small;
background-color: rgb(255, 255, 255);">
<span style="color: rgb(34, 34, 34); font-family: Arial,
Helvetica, sans-serif; font-size: small; background-color:
rgb(255, 255, 255); display: inline !important;"> while
executing</span><br style="color: rgb(34, 34, 34);
font-family: Arial, Helvetica, sans-serif; font-size: small;
background-color: rgb(255, 255, 255);">
<span style="color: rgb(34, 34, 34); font-family: Arial,
Helvetica, sans-serif; font-size: small; background-color:
rgb(255, 255, 255); display: inline !important;">"togl .mesa
-width 400 -height 400 -ident </span><br
style="color: rgb(34, 34, 34); font-family: Arial, Helvetica,
sans-serif; font-size: small; background-color: rgb(255, 255,
255);">
<span style="color: rgb(34, 34, 34); font-family: Arial,
Helvetica, sans-serif; font-size: small; background-color:
rgb(255, 255, 255); display: inline !important;">.mesa -rgba
$toglOpt(rgba) -redsize </span><br
style="color: rgb(34, 34, 34); font-family: Arial, Helvetica,
sans-serif; font-size: small; background-color: rgb(255, 255,
255);">
<span style="color: rgb(34, 34, 34); font-family: Arial,
Helvetica, sans-serif; font-size: small; background-color:
rgb(255, 255, 255); display: inline !important;">$toglOpt(redsize..."</span><br
style="color: rgb(34, 34, 34); font-family: Arial, Helvetica,
sans-serif; font-size: small; background-color: rgb(255, 255,
255);">
<span style="color: rgb(34, 34, 34); font-family: Arial,
Helvetica, sans-serif; font-size: small; background-color:
rgb(255, 255, 255); display: inline !important;">
(procedure "PlaceGlobWin" line 107)</span><br style="color:
rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif;
font-size: small; background-color: rgb(255, 255, 255);">
<span style="color: rgb(34, 34, 34); font-family: Arial,
Helvetica, sans-serif; font-size: small; background-color:
rgb(255, 255, 255); display: inline !important;"> invoked
from within</span><br style="color: rgb(34, 34, 34);
font-family: Arial, Helvetica, sans-serif; font-size: small;
background-color: rgb(255, 255, 255);">
<span style="color: rgb(34, 34, 34); font-family: Arial,
Helvetica, sans-serif; font-size: small; background-color:
rgb(255, 255, 255); display: inline !important;">"PlaceGlobWin
0 [expr round(670 * $fac1)] [expr round(670 * $fac1)]"</span><br
style="color: rgb(34, 34, 34); font-family: Arial, Helvetica,
sans-serif; font-size: small; background-color: rgb(255, 255,
255);">
<span style="color: rgb(34, 34, 34); font-family: Arial,
Helvetica, sans-serif; font-size: small; background-color:
rgb(255, 255, 255); display: inline !important;">
(procedure "ViewMol" line 25)</span><br style="color: rgb(34,
34, 34); font-family: Arial, Helvetica, sans-serif; font-size:
small; background-color: rgb(255, 255, 255);">
<span style="color: rgb(34, 34, 34); font-family: Arial,
Helvetica, sans-serif; font-size: small; background-color:
rgb(255, 255, 255); display: inline !important;"> invoked
from within</span><br style="color: rgb(34, 34, 34);
font-family: Arial, Helvetica, sans-serif; font-size: small;
background-color: rgb(255, 255, 255);">
<span style="color: rgb(34, 34, 34); font-family: Arial,
Helvetica, sans-serif; font-size: small; background-color:
rgb(255, 255, 255); display: inline !important;">"ViewMol ."</span><br
style="color: rgb(34, 34, 34); font-family: Arial, Helvetica,
sans-serif; font-size: small; background-color: rgb(255, 255,
255);">
<span style="color: rgb(34, 34, 34); font-family: Arial,
Helvetica, sans-serif; font-size: small; background-color:
rgb(255, 255, 255); display: inline !important;"> invoked
from within</span><br style="color: rgb(34, 34, 34);
font-family: Arial, Helvetica, sans-serif; font-size: small;
background-color: rgb(255, 255, 255);">
<span style="color: rgb(34, 34, 34); font-family: Arial,
Helvetica, sans-serif; font-size: small; background-color:
rgb(255, 255, 255); display: inline !important;">"if {
[llength $argv] > 2 } {</span><br style="color: rgb(34, 34,
34); font-family: Arial, Helvetica, sans-serif; font-size:
small; background-color: rgb(255, 255, 255);">
<span style="color: rgb(34, 34, 34); font-family: Arial,
Helvetica, sans-serif; font-size: small; background-color:
rgb(255, 255, 255); display: inline !important;">
parseComLinArg [lrange $argv 2 end]</span><br style="color:
rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif;
font-size: small; background-color: rgb(255, 255, 255);">
<span style="color: rgb(34, 34, 34); font-family: Arial,
Helvetica, sans-serif; font-size: small; background-color:
rgb(255, 255, 255); display: inline !important;">} else {</span><br
style="color: rgb(34, 34, 34); font-family: Arial, Helvetica,
sans-serif; font-size: small; background-color: rgb(255, 255,
255);">
<span style="color: rgb(34, 34, 34); font-family: Arial,
Helvetica, sans-serif; font-size: small; background-color:
rgb(255, 255, 255); display: inline !important;"> ViewMol .</span><br
style="color: rgb(34, 34, 34); font-family: Arial, Helvetica,
sans-serif; font-size: small; background-color: rgb(255, 255,
255);">
<span style="color: rgb(34, 34, 34); font-family: Arial,
Helvetica, sans-serif; font-size: small; background-color:
rgb(255, 255, 255); display: inline !important;">}"</span><br
style="color: rgb(34, 34, 34); font-family: Arial, Helvetica,
sans-serif; font-size: small; background-color: rgb(255, 255,
255);">
<span style="color: rgb(34, 34, 34); font-family: Arial,
Helvetica, sans-serif; font-size: small; background-color:
rgb(255, 255, 255); display: inline !important;"> (file
"/opt/xcrysden-1.6.2-bin-share</span><wbr style="color:
rgb(34, 34, 34); font-family: Arial, Helvetica, sans-serif;
font-size: small; background-color: rgb(255, 255, 255);"><span
style="color: rgb(34, 34, 34); font-family: Arial, Helvetica,
sans-serif; font-size: small; background-color: rgb(255, 255,
255); display: inline !important;">d/Tcl/xcInit.tcl" line 633)</span><br
style="color: rgb(34, 34, 34); font-family: Arial, Helvetica,
sans-serif; font-size: small; background-color: rgb(255, 255,
255);">
<br style="color: rgb(34, 34, 34); font-family: Arial,
Helvetica, sans-serif; font-size: small; background-color:
rgb(255, 255, 255);">
<span style="color: rgb(34, 34, 34); font-family: Arial,
Helvetica, sans-serif; font-size: small; background-color:
rgb(255, 255, 255); display: inline !important;">This is
apparently identical to</span><br style="color: rgb(34, 34,
34); font-family: Arial, Helvetica, sans-serif; font-size:
small; background-color: rgb(255, 255, 255);">
<a
href="http://www.democritos.it/pipermail/xcrysden/2020-February/001980.html"
rel="noreferrer" target="_blank"
data-saferedirecturl="https://www.google.com/url?q=http://www.democritos.it/pipermail/xcrysden/2020-February/001980.html&source=gmail&ust=1617867866626000&usg=AFQjCNEYhbjbmsgcTgNgK0gICrWHl_zn9g"
style="color: rgb(17, 85, 204); font-family: Arial, Helvetica,
sans-serif; font-size: small; background-color: rgb(255, 255,
255);" moz-do-not-send="true">http://www.democritos.it/piper<wbr>mail/xcrysden/2020-February/<wbr>001980.html</a><br
style="color: rgb(34, 34, 34); font-family: Arial, Helvetica,
sans-serif; font-size: small; background-color: rgb(255, 255,
255);">
<br style="color: rgb(34, 34, 34); font-family: Arial,
Helvetica, sans-serif; font-size: small; background-color:
rgb(255, 255, 255);">
<span style="color: rgb(34, 34, 34); font-family: Arial,
Helvetica, sans-serif; font-size: small; background-color:
rgb(255, 255, 255); display: inline !important;">which was
working until fedora 33. But on 34, in spite of having Togl</span><br
style="color: rgb(34, 34, 34); font-family: Arial, Helvetica,
sans-serif; font-size: small; background-color: rgb(255, 255,
255);">
<span style="color: rgb(34, 34, 34); font-family: Arial,
Helvetica, sans-serif; font-size: small; background-color:
rgb(255, 255, 255); display: inline !important;">in xcrysden
itself as Togl2.0-8.4-Linux as /opt/xcrysden-1.6.2-bin-</span><br
style="color: rgb(34, 34, 34); font-family: Arial, Helvetica,
sans-serif; font-size: small; background-color: rgb(255, 255,
255);">
<span style="color: rgb(34, 34, 34); font-family: Arial,
Helvetica, sans-serif; font-size: small; background-color:
rgb(255, 255, 255); display: inline !important;">shared/Togl2.0-8.4-Linux/lib
and libTogl.so.2 -><span> </span></span><a
href="http://libtogl2.0.so/" rel="noreferrer" target="_blank"
data-saferedirecturl="https://www.google.com/url?q=http://libTogl2.0.so&source=gmail&ust=1617867866626000&usg=AFQjCNEboxsZQuXuQ0jfXLq8TvNoEygvrQ"
style="color: rgb(17, 85, 204); font-family: Arial, Helvetica,
sans-serif; font-size: small; background-color: rgb(255, 255,
255);" moz-do-not-send="true">libTogl2.0.so</a><br
style="color: rgb(34, 34, 34); font-family: Arial, Helvetica,
sans-serif; font-size: small; background-color: rgb(255, 255,
255);">
<span style="color: rgb(34, 34, 34); font-family: Arial,
Helvetica, sans-serif; font-size: small; background-color:
rgb(255, 255, 255); display: inline !important;">I am still
facing the same error.</span><br style="color: rgb(34, 34,
34); font-family: Arial, Helvetica, sans-serif; font-size:
small; background-color: rgb(255, 255, 255);">
<br style="color: rgb(34, 34, 34); font-family: Arial,
Helvetica, sans-serif; font-size: small; background-color:
rgb(255, 255, 255);">
<span style="color: rgb(34, 34, 34); font-family: Arial,
Helvetica, sans-serif; font-size: small; background-color:
rgb(255, 255, 255); display: inline !important;">Kindly help.</span><br>
</div>
</blockquote>
<blockquote type="cite"
cite="mid:AM5PR0601MB23241FBBEEFF69CD511A9015E9759@AM5PR0601MB2324.eurprd06.prod.outlook.com"></blockquote>
</body>
</html>