Thank you for the guidance.
Firstly, I am trying Fedora in vmWare, actually. I just want to test it before migrating from Win11 to Fedora.
Secondly, Mathematica 12 in Fedora 43 weirdly cannot find xAct folder in ~/.Wolfram/Applications/ but it can if I change it to ~/.Mathematica/Applications/. Thus I just put xAct folder in both of them.
When I call xTensor in Mathematica, it gives me this:
------------------------------------------------------------
Package xAct`xCore` version 0.6.10, {2018,2,28}
CopyRight (C) 2007-2020, Jose M. Martin-Garcia, under the General Public License.
------------------------------------------------------------
This package comes with ABSOLUTELY NO WARRANTY; for details type Disclaimer[]. This is free software, and you are welcome to redistribute it under certain conditions. See the General Public License for details.
------------------------------------------------------------
------------------------------------------------------------
Package xAct`xPerm` version 1.2.3, {2015,8,23}
CopyRight (C) 2003-2020, Jose M. Martin-Garcia, under the General Public License.
Connecting to external linux executable...
LinkOpen::linke: Could not find MathLink executable.
Lastly, I had done using mcc. It is still give error like below.
$ mcc xperm.tm -O3 -o xperm.linux.64-bit
xperm.linux.64-bit.tm.c: xperm.tm: In function ‘main’:
xperm.tm:573:5: warning: old-style function definition [-Wold-style-definition]
573 | int main(argc, argv)
| ^~~~
In file included from xperm.tm:24:
In function ‘copy_list’,
inlined from ‘copy_list’ at xperm.c:283:6,
inlined from ‘sort’ at xperm.c:389:2,
inlined from ‘double_coset_rep’ at xperm.c:1973:2:
xperm.c:285:9: warning: ‘__builtin_memcpy’ writing between 18446744065119617024 and 18446744073709551612 bytes into a region of size between 0 and 9223372036854775807 [-Wstringop-overflow=]
285 | memmove(list2, list1, n*sizeof(int));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xperm.c: In function ‘double_coset_rep’:
xperm.c:1738:35: note: destination object of size [0, 9223372036854775807] allocated by ‘malloc’
1738 | int *drummytmp2= (int*)malloc( n*sizeof(int));
| ^~~~~~~~~~~~~~~~~~~~~~~
In function ‘copy_list’,
inlined from ‘copy_list’ at xperm.c:283:6,
inlined from ‘sort’ at xperm.c:389:2,
inlined from ‘double_coset_rep’ at xperm.c:1973:2:
xperm.c:285:9: warning: ‘__builtin_memcpy’ specified bound between 18446744065119617024 and 18446744073709551612 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
285 | memmove(list2, list1, n*sizeof(int));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/bin/ld: cannot find -luuid: No such file or directory
collect2: error: ld returned 1 exit status
I am confused. Any suggestions?
Regards,
Ilham