η καλύτερη και ευκολότερη λύση είναι να φτιάξεις ένα PKGBUILD. Μην τα βάλεις με το χέρι.
Αν θες βοήθεια πες να το δούμε
Εμφάνιση 5.416-5.430 από 6427
Θέμα: Περί Arch Linux... (v6)
-
05-08-20, 18:38 Απάντηση: Περί Arch Linux... (v6) #5416
-
06-08-20, 13:14 Απάντηση: Περί Arch Linux... (v6) #5417
Σε κάθε boot έχω ειδοποίηση πως, "Failed to start Apply Kernel Variables".
Όταν δίνω
Κώδικας:sudo journalctl -p 3 -xb
Κώδικας:Failed to start Apply Kernel Variables. Failed to start Apply Kernel Variables. -- Subject: A start job for unit systemd-sysctl.service has failed -- Defined-By: systemd -- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- A start job for unit systemd-sysctl.service has finished with a failure. -- -- The job identifier is 154 and the job result is failed. Αυγ 06 09:31:42 voyager1-allseries systemd[1]: Failed to start Apply Kernel Variables. -- Subject: A start job for unit systemd-sysctl.service has failed -- Defined-By: systemd -- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- A start job for unit systemd-sysctl.service has finished with a failure. -- -- The job identifier is 237 and the job result is failed.
-
06-08-20, 13:16 Απάντηση: Περί Arch Linux... (v6) #5418
@ranger ναι PKGBUILD είνια η ασφαλής λύση.
Ναι θα χρειαστώ βοήθεια .
Να πω την αμαρτία μου ποτέ δεν χρειάστηκε να φτιάξω κάποιο PKGBUILD από την αρχή, συνήθως απλά έπερνα τα ήδη έτοιμα για κάποιο πακέτο και έκανα απλά μικρές αλλαγές για το λόγο που ήθελα.
Να λοιπόν που ήρθε η ώρα .
Λοιπόν προσπάθησα να φτιάξω δύο PKGBUILs ένα που χρησιμοποιεί τα ήδη compiled αρχεία και ένα που να πρέπει να κάνεις compile from scratch.
Κώδικας:# Maintainer: Your Name <youremail@domain.com> pkgname=Radiance pkgver=5.3a.914d7c40 pkgrel=1 pkgdesc="A Validated Lighting Simulation Tool" arch=('x86_64') url="https://radiance-online.org/" license=('OSS') groups=() depends=() makedepends=('unzip') optdepends=() provides=('ies2rad' 'obj2mesh' 'rpict ' 'rvu' 'ranimate' 'rad' 'trad' 'ximage' 'falsecolor' 'pcond') conflicts=() replaces=() backup=() options=() install= changelog= source=("https://github.com/LBNL-ETA/Radiance/releases/download/${pkgver}/${pkgname}_${pkgver}_Linux.zip") noextract=() md5sums=('ab9ad373e5ccf92fe38a8bd5c11b2eb8') sha256sums=('bd67188b992d9ea02abf195a091829b93fd3fab97654535fb159453ea85a71ae' prepare(){ } build() { cd "$pkgname-$pkgver" ./configure --prefix=/usr make } package() { cd "$pkgname-$pkgver" make DESTDIR="$pkgdir/" install }
Κώδικας:# Maintainer: Your Name <youremail@domain.com> pkgname=Radiance pkgver=5.3a.914d7c40 pkgrel=1 pkgdesc="A Validated Lighting Simulation Tool" arch=('x86_64') url="https://radiance-online.org/" license=('OSS') groups=() depends=() makedepends=() optdepends=() provides=('ies2rad' 'obj2mesh' 'rpict ' 'rvu' 'ranimate' 'rad' 'trad' 'ximage' 'falsecolor' 'pcond') conflicts=() replaces=() backup=() options=() install= changelog= source=("https://github.com/LBNL-ETA/Radiance/archive/${pkgver}.tar.gz") noextract=() md5sums=('08ab2b1db4ae9416dca2fcf066f0990b') sha256sums=('20f2bd2dbae6420bf81ac00b1f0055c840a0eef368776c9ba8036edef434b26b' prepare(){ } build() { cd "$pkgname-$pkgver" ./configure --prefix=/usr make } package() { cd "$pkgname-$pkgver" make DESTDIR="$pkgdir/" install }
“The truth is rarely pure and never simple.”― Oscar Wilde
"A man lives three lifes...
The first, ends with the loss of naiveness,
the second, with the loss of innocence
and the third one with the loss of his soul itself.
It's inevitable that we go through all three." ― Dark
-
09-08-20, 14:32 Απάντηση: Περί Arch Linux... (v6) #5419
θέλει λίγη δουλειά το PKGBUILD σου και δεν είμαι σε arch. Βλέπω ότι απλά άλλαξες το source, το όνομα κτλ
Η εύκολη λύση είναι να πας με το precombiled πακέτο για να μην μπλέκεις με εξαρτήσεις.
Το untar γίνεται στο φάκελο του PKGBUILD. Δες την δομή των φακέλων/αρχείων του έτοιμου πακέτου και μετακίνησε τα αρχεία στους αντίστοιχους φακέλους
-
10-08-20, 21:23 Απάντηση: Περί Arch Linux... (v6) #5420
Ωράια, αν πάω με τα pre-compiled binaries έχουμε. Το source που κατεβάζω στην αρχή έχει την εξής δομή:
Κώδικας:Radiance_5.3a.914d7c40_Linux.zip | | - radiance-5.3.914d7c401d-Linux.tar.gz | | - /usr | | - /local | | - /radiance | | - /bin - /lib - /man
Κώδικας:package() { cp -r * $pkgdir }
Ερώτηση, η makepkg κάνει αυτόματα unzip/untar το source?
Εντωμεταξύ δεν βρήκα ούτε ένα οδηγό να τα εξηγεί αναλυτικά, what the heck. Τι πάει σε κάθε πεδίο, πως κανονίζεις τα dependencies, αν χρειάζεται να φτιάξεις φακέλους, να ζιπάρεις/ξεζιπάρεις, κτλπ....
Μόνο αυτό εδώ εχουν που έχει κάποιες πιο αναλυτικές οδηγίες άλλα και παλι δεν σου εξηγεί πως και τι.Τελευταία επεξεργασία από το μέλος ttsesm : 10-08-20 στις 21:28.
“The truth is rarely pure and never simple.”― Oscar Wilde
"A man lives three lifes...
The first, ends with the loss of naiveness,
the second, with the loss of innocence
and the third one with the loss of his soul itself.
It's inevitable that we go through all three." ― Dark
-
10-08-20, 23:37 Απάντηση: Περί Arch Linux... (v6) #5421
Ναι
Δες κάποιο έτοιμο PKGBUILD που κάνει την ίδια δουλειά
πχ
https://aur.archlinux.org/packages/yakyak-bin/
https://aur.archlinux.org/packages/s...nux-stable-bin
https://aur.archlinux.org/packages/w...x-current-bin/
ή όποιο άλλο -bin πακέτο
-
11-08-20, 14:16 Απάντηση: Περί Arch Linux... (v6) #5422
ok το παρακάτω PKGBUILD φαίνεται να κάνει τη δουλειά
Κώδικας:# Maintainer: Your Name <youremail@domain.com> pkgname=Radiance pkgver=5.3a.914d7c40 pkgrel=1 pkgdesc="A Validated Lighting Simulation Tool" arch=('x86_64') url="https://radiance-online.org/" license=('OSS') makedepends=('unzip') optdepends=() provides=('ies2rad' 'obj2mesh' 'rpict' 'rvu' 'ranimate' 'rad' 'trad' 'ximage' 'falsecolor' 'pcond') source=("https://github.com/LBNL-ETA/Radiance/releases/download/${pkgver}/${pkgname}_${pkgver}_Linux.zip") md5sums=('ab9ad373e5ccf92fe38a8bd5c11b2eb8') sha256sums=('bd67188b992d9ea02abf195a091829b93fd3fab97654535fb159453ea85a71ae') prepare(){ cd ${srcdir} tar xf "radiance-5.3.914d7c401d-Linux.tar.gz" } package() { cp -R "${srcdir}/radiance-5.3.914d7c401d-Linux/usr/local/radiance/" "${pkgdir}/usr" }
“The truth is rarely pure and never simple.”― Oscar Wilde
"A man lives three lifes...
The first, ends with the loss of naiveness,
the second, with the loss of innocence
and the third one with the loss of his soul itself.
It's inevitable that we go through all three." ― Dark
-
11-08-20, 16:06 Απάντηση: Περί Arch Linux... (v6) #5423
-
11-08-20, 16:31 Απάντηση: Περί Arch Linux... (v6) #5424
-
11-08-20, 17:20 Απάντηση: Περί Arch Linux... (v6) #5425
Ναι τα παρέχει όλα αυτά τα binaries και πολλά άλλα όπως παρέθεσε και ο @MitsakosGR. Απλά δεν μπήκα στη διαδικασία να τα βάλω όλα, παρά μόνο κάποια που είναι και τα πιο βασικά.
Ερώτηση, εγκέστησα το πακέτο άλλα παρατήρησα ότι μου δημιουργεί πρόβλημα στο dolphin, τα μενου και τα κουμπιά εμφανίζονται περίεργα. Και νομίζω ότι φταίνε κάτι libqt.so αρχεία που εμπεριέχονται μεσα στο /bin. Δεν είμαι και πολύ σιγουρος ότι μπορώ να χρησιμοποιήσω τα precompiled αρχεια (Δεν διευκρινίζουν σε τι σύστημα έχουν κάνει compile και με τι libs, είστε σίγουροι ότι μπορώ να τα πάρω και να τα εγκαταστήσω έτσι?).
Επίσης όταν πήγα να τρέξω μια εντολή μου έβγαλε μύνημα λάθους:
Κώδικας:$ trad Error in startup script: invalid command name "helplink" while executing "helplink .mess trad trad messages" (file "/usr/bin/trad" line 103)
“The truth is rarely pure and never simple.”― Oscar Wilde
"A man lives three lifes...
The first, ends with the loss of naiveness,
the second, with the loss of innocence
and the third one with the loss of his soul itself.
It's inevitable that we go through all three." ― Dark
-
11-08-20, 17:57 Απάντηση: Περί Arch Linux... (v6) #5426
-
11-08-20, 18:09 Απάντηση: Περί Arch Linux... (v6) #5427“The truth is rarely pure and never simple.”― Oscar Wilde
"A man lives three lifes...
The first, ends with the loss of naiveness,
the second, with the loss of innocence
and the third one with the loss of his soul itself.
It's inevitable that we go through all three." ― Dark
-
12-08-20, 21:39 Απάντηση: Περί Arch Linux... (v6) #5428
Με την σημερινή ενημέρωση του firejail, μου έσκασε πρόβλημα με το apparmor.
Κώδικας:Warning: Cannot confine the application using AppArmor. Maybe firejail-default AppArmor profile is not loaded into the kernel. As root, run "aa-enforce firejail-default" to load it.
Κώδικας:# aa-enforce firejail-default ERROR: Include file /etc/apparmor.d/local/firejail-default not found
-
13-08-20, 16:39 Απάντηση: Περί Arch Linux... (v6) #5429
@mzaf selinux ή apparmor για τα Arch? το μόνο που έχω δουλέψει είναι το selinux.
-
14-08-20, 12:37 Απάντηση: Περί Arch Linux... (v6) #5430
Παρόμοια Θέματα
-
Περί Arch Linux... (v5)
Από flamelab στο φόρουμ Unix - LinuxΜηνύματα: 2023Τελευταίο Μήνυμα: 23-07-12, 00:41 -
Περί Arch Linux... (v4)
Από flamelab στο φόρουμ Unix - LinuxΜηνύματα: 5800Τελευταίο Μήνυμα: 29-08-11, 16:14 -
Περί Arch Linux... (v3)
Από flamelab στο φόρουμ Unix - LinuxΜηνύματα: 2542Τελευταίο Μήνυμα: 19-05-10, 13:43 -
Περί Arch Linux... (v2)
Από giorgosc61 στο φόρουμ Unix - LinuxΜηνύματα: 10797Τελευταίο Μήνυμα: 18-10-09, 21:48 -
Περί Arch Linux...
Από giorgosc61 στο φόρουμ Unix - LinuxΜηνύματα: 5046Τελευταίο Μήνυμα: 06-06-08, 00:46
Bookmarks