Building from SlackBuild scripts... what am I doing wrong?

Se avete problemi con l'installazione e la configurazione di Slackware postate qui. Non usate questo forum per argomenti generali... per quelli usate Gnu/Linux in genere.

Moderatore: Staff

Regole del forum
1) Citare sempre la versione di Slackware usata, la versione del Kernel e magari anche la versione della libreria coinvolta. Questi dati aiutano le persone che possono rispondere.
2) Per evitare confusione prego inserire in questo forum solo topic che riguardano appunto Slackware, se l'argomento è generale usate il forum Gnu/Linux in genere.
3) Leggere attentamente le risposte ricevute.
4) Scrivere i messaggi con il colore di default, evitare altri colori.
5) Scrivere in Italiano o in Inglese, se possibile grammaticalmente corretto, evitate stili di scrittura poco chiari, quindi nessuna abbreviazione tipo telegramma o scrittura stile SMS o CHAT.
6) Appena registrati è consigliato presentarsi nel forum dedicato.

La non osservanza delle regole porta a provvedimenti di vari tipo da parte dello staff, in particolare la non osservanza della regola 5 porta alla cancellazione del post e alla segnalazione dell'utente. In caso di recidività l'utente rischia il ban temporaneo.
Rispondi
kikinovak
Linux 0.x
Linux 0.x
Messaggi: 15
Iscritto il: ven 28 ott 2005, 14:04

Building from SlackBuild scripts... what am I doing wrong?

Messaggio da kikinovak »

Hi,

I'm actually experimenting doing my own packages with slacky.it's build scripts. Until recently, when I needed an extra package, I just compiled the source - and all the needed dependencies - then I installed everything one after another with checkinstall. This gets a bit tedious when I have to do it on many machines, that's why I wanted to experiment with the Slackbuild scripts.

I tried the following.

Create two directories, ~/source and ~/packages. Let's say I want to build lame: I create a directory ~/source/lame, which will contain a) the lame source tarball b) lame.Slackbuild and c) the slack-desc for lame. So far so good. In this directory, I su to root, and then I simple do the following:

Codice: Seleziona tutto

# ./lame.SlackBuild
I wait for everything to configure, compile and build a package. At the end of the operation, I have a lame-xxx-xxx-xxx.tgz package in /tmp. I copy this package to ~/packages, and then I install it (as root, of course).

On my main machine, I have several partitions, with a total of three complete Slackware 10.2 installs. The first Slackware is my "production" environment, the one I write this message on. Only tested software here. Then I have my "build environment". And the 3rd one is the "testing" environment.

Problem: I can build packages and install them OK, it seems, in the build environment. BUT... when I transfer these packages to the testing environment and install them with a simple installpkg, some packages have errors. Example: kaffeine and superkaramba don't appear anymore in the KDE menu, and when I start kaffeine manually, it sort of starts, but with an error messge about a kaffeine_something module not found.

Am I doing wrong in the build process?

Suggestions very welcome,

Niki Kovacs

PS: I understand a little bit italian.... e possibile rispondere in italiano 8)

Avatar utente
zzt
Linux 2.x
Linux 2.x
Messaggi: 249
Iscritto il: lun 7 mar 2005, 0:00

Messaggio da zzt »

1) you must have the same library (better same version) in every system
2) Don't forget the "doinst.sh" script, that usually fix problems with desktop links end /etc stuff

kikinovak
Linux 0.x
Linux 0.x
Messaggi: 15
Iscritto il: ven 28 ott 2005, 14:04

Messaggio da kikinovak »

The two systems are identical: full installs of Slackware 10.2. Kaffeine works OK on one, and I get error message about missing module on the other. Two systems also have same (2.6.12) kernel with same .config. I'm clueless.

Niki

Bart
Staff
Staff
Messaggi: 4249
Iscritto il: lun 9 ago 2004, 0:00
Località: Rimini

Messaggio da Bart »

Strange! What is the name of this module? You receive a FATAL error?

kikinovak
Linux 0.x
Linux 0.x
Messaggi: 15
Iscritto il: ven 28 ott 2005, 14:04

Messaggio da kikinovak »

Later...

Tried everything again from scratch, and everything worked perfectly! But I think I found the error. The first time round, I tried two different builds of libdvdread and libdvdcss... but I forgot to remove the old ones everytime... so I had two different builds of libdvdread and libdvdcss installed. Maybe that confused the shit out of Kaffeine... but then, I'm not sure.

Anyway, cheers,

Niki

Rispondi