Skip to content
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

Υποβάθμιση μεταγλωττιστών σε παλαιότερη έκδοση #114

Open
steve-anunknown opened this issue May 1, 2023 · 4 comments

Comments

@steve-anunknown
Copy link

steve-anunknown commented May 1, 2023

Σε ubuntu 22.04 επιχειρώντας να εγκαταστήσω τις κατάλληλες εκδόσεις των μεταγλωττιστών:

sudo apt-get install gcc-6 g++-6 gfortran-6

τυπώνεται το σφάλμα ότι δεν βρίσκονται τα πακέτα:

Package g++-6 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package gcc-6 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'gcc-6' has no installation candidate
E: Package 'g++-6' has no installation candidate
E: Unable to locate package gfortran-6

Λύνεται αυτό κάπως; Είναι απαραίτητη η υποβάθμιση;

Ευχαριστώ.

@olgabarlou
Copy link

olgabarlou commented May 1, 2023

Εγώ το έλυσα σε Ubuntu 20.04 έτσι:

  1. sudo vim /etc/apt/sources.list
  2. add deb http://dk.archive.ubuntu.com/ubuntu/ bionic main universe to file
  3. sudo apt update
  4. sudo apt-get install gcc-6 g++-6 gfortran-6 -y

@georgepar
Copy link
Contributor

Μπορείτε να δοκιμάσετε και με τα καινούρια gcc. Το kaldi θα πρέπει να κάνει compile.
Η οδηγία αυτή γίνεται για την αποφυγή πιθανής ασυμβατότητας

Δείτε και το recording της εγκατάστασης

https://asciinema.org/a/473710

@steve-anunknown
Copy link
Author

steve-anunknown commented May 1, 2023

Πάντως, επιχειρώντας να συνεχίσω με τους ενημερωμένους μεταγλωττιστές, το make τύπωνε σφάλμα

libtool: error: error: cannot install 'libfstscript.la' to a directory not ending in /usr/local/lib

το οποίο δεν κατάφερα να λύσω. Δοκιμάζοντας ξανά με τους παλιούς μεταγλωττιστές make clean; make, πέτυχε και τελικά ολοκληρώθηκε η εγκατάσταση.

@steve-anunknown
Copy link
Author

Εγώ το έλυσα σε Ubuntu 20.04 έτσι:

1. sudo vim /etc/apt/sources.list

2. add _**deb http://dk.archive.ubuntu.com/ubuntu/ bionic main universe**_ to file

3. sudo apt update

4. sudo apt-get install gcc-6 g++-6 gfortran-6 -y

πέτυχε κάνοντας

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3B4FE6ACC0B21F32 
sudo apt update

μετά την επεξεργασία του sources.list και μετά επιχειρώντας την εγκατάσταση.

Ευχαριστώ για την απάντηση.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants