New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test installation on Rocky Linux #281
Comments
Guess https://centos.rip is related here... I guess support for CentOS will go away... |
It's unclear what's happening to CentOS, but I'd like to have it tested anyway. |
Rocky Linux 8.5
Errors at: ./script/install-texlive.sh stepwrong datestatus: fixed error:
fix:replace tlmgrstatus: not fixed error
log access:
How can I fix this issue? Codes runned before:root userdnf install -y epel-release
dnf install -y git nginx perl-local-lib sqlite cgit perl-App-cpanminus fontconfig GraphicsMagick ImageMagick shared-mime-info openssl openssl-devel xapian-core-devel unzip wget libxml2-devel expat-devel policycoreutils setroubleshoot
dnf groupinstall -y 'Development Tools'
mkdir -p /etc/nginx/sites-enabled
cat > /etc/nginx/conf.d/post-amuse.conf <<EOF
include /etc/nginx/sites-enabled/*;
client_max_body_size 8m;
EOF
systemctl enable nginx.service
systemctl start nginx.service
adduser -d /var/www/amusewiki amusewiki
chown -R amusewiki:amusewiki /var/www/amusewiki amusewiki usereval `perl -Mlocal::lib`
cpanm Perl::Build
perl-build -j 3 --test 5.24.1 $HOME/amw-perl
git clone https://github.com/melmothx/amusewiki.git
cd amusewikix
./script/install-texlive.sh
^ error at this step
echo 'export PATH=$HOME/amw-perl/bin:$HOME/texlive/2018/bin/x86_64-linux:$PATH' >> $HOME/.bashrc
chmod 755 $HOME check commands
|
Rojen Zaman ***@***.***> writes:
# Rocky Linux 8.5
```
NAME="Rocky Linux"
VERSION="8.5 (Green Obsidian)"
ID="rocky"
ID_LIKE="rhel centos fedora"
VERSION_ID="8.5"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Rocky Linux 8.5 (Green Obsidian)"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:rocky:rocky:8:GA"
HOME_URL="https://rockylinux.org/"
BUG_REPORT_URL="https://bugs.rockylinux.org/"
ROCKY_SUPPORT_PRODUCT="Rocky Linux"
ROCKY_SUPPORT_PRODUCT_VERSION="8"
```
## Errors at: ./script/install-texlive.sh step
### wrong date
status: fixed
#### error:
```
./script/install-texlive.sh: line 47: cd: install-tl-2021*: No such file or directory
```
#### fix:
replace `year=2021` with `year=$(date +%Y)`
No, that's not the correct fix, texlive 2022 is not yet released.
However, pull latest master and try again please.
How so you have texlive/2018 in your PATH?
Btw, I can't see an error in the logs you posted, but please retry with
a clean master branch.
… ### tlmgr
status: not fixed
#### error
```
tlmgr: package log updated: /var/www/amusewiki/amusewiki/local/texlive/2022/texmf-var/web2c/tlmgr.log
tlmgr: command log updated: /var/www/amusewiki/amusewiki/local/texlive/2022/texmf-var/web2c/tlmgr-commands.log
tlmgr: An error has occurred. See above messages. Exiting.
```
log access:
- [/var/www/amusewiki/amusewiki/local/texlive/2022/texmf-var/web2c/tlmgr.log](https://share.riseup.net/#XDPuzsy8np7rcjW0TwZ7NQ)
- [/var/www/amusewiki/amusewiki/local/texlive/2022/texmf-var/web2c/tlmgr-commands.log](https://share.riseup.net/#e4lP8R5Szv322pGWmlvcgw)
How can I fix this issue?
#### Codes runned before:
##### root user
```bash
dnf install -y epel-release
dnf install -y git nginx perl-local-lib sqlite cgit perl-App-cpanminus fontconfig GraphicsMagick ImageMagick shared-mime-info openssl openssl-devel xapian-core-devel unzip wget libxml2-devel expat-devel policycoreutils setroubleshoot
dnf groupinstall -y 'Development Tools'
mkdir -p /etc/nginx/sites-enabled
cat > /etc/nginx/conf.d/post-amuse.conf <<EOF
include /etc/nginx/sites-enabled/*;
client_max_body_size 8m;
EOF
systemctl enable nginx.service
systemctl start nginx.service
adduser -d /var/www/amusewiki amusewiki
chown -R amusewiki:amusewiki /var/www/amusewiki
```
##### amusewiki user
```bash
eval `perl -Mlocal::lib`
cpanm Perl::Build
perl-build -j 3 --test 5.24.1 $HOME/amw-perl
git clone https://github.com/melmothx/amusewiki.git
cd amusewikix
./script/install-texlive.sh
^ error at this step
echo 'export PATH=$HOME/amw-perl/bin:$HOME/texlive/2018/bin/x86_64-linux:$PATH' >> $HOME/.bashrc
chmod 755 $HOME
```
#### check commands
```
$ which perl
~/amw-perl/bin/perl
$ which xelatex
/usr/bin/which: no xelatex in (/var/www/amusewiki/amw-perl/bin:/var/www/amusewiki/texlive/2018/bin/x86_64-linux:/var/www/amusewiki/.local/bin:/var/www/amusewiki/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin)
```
--
Marco
|
I copied and pasted from the documentation, it's my fault. I will replace with 2021 texlive |
melmothx
changed the title
Test installation on CentOS
Test installation on Rocky Linux
Jul 21, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This was done at the time but after the recent tide of changes and documentation something could be broken.
The text was updated successfully, but these errors were encountered: