Sto provando a compilare il kernel, ovviamente seguendo una guida...
La quetione è: al comando make xconfig mi esce un errore con scritta la richiesta di "QT development package"; al che ho cercato e poi trovato qt-x11-2.3.0 ma no riesco a installarle!
Mi sembra di seguire correttamente la guida d'installazione presente nel file ISTALL
1. Unpack the archive if you have not done so already:
cd /usr/local
gunzip qt-x11-2.3.0.tar.gz # uncompress the archive
tar xf qt-x11-2.3.0.tar # unpack it
This creates the directory /usr/local/qt-2.3.0 containing the
files from the main archive.
Rename qt-2.3.0 to qt (or make a symlink):
mv qt-2.3.0 qt
The rest of this file assumes that Qt is installed in /usr/local/qt.
2. Set some environment variables in the file .profile (or .login,
depending on your shell) in your home directory. (Create the
file if it is not there already.)
QTDIR - wherever you installed Qt
PATH - to locate the moc program and other Qt tools
MANPATH - to access the Qt man pages
LD_LIBRARY_PATH - for the shared Qt library
This is done like this:
In .profile (if your shell is bash, ksh, zsh or sh), add the
following lines:
QTDIR=/usr/local/qt
PATH=$QTDIR/bin:$PATH
MANPATH=$QTDIR/doc/man:$MANPATH
LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
export QTDIR PATH MANPATH LD_LIBRARY_PATH
In .login (in case your shell is csh or tcsh), add the following lines:
setenv QTDIR /usr/local/qt
setenv PATH $QTDIR/bin:$PATH
setenv MANPATH $QTDIR/doc/man:$MANPATH
setenv LD_LIBRARY_PATH $QTDIR/lib:$LD_LIBRARY_PATH
After you have done this, you will need to login again, or
re-source the profile before continuing, so that at least $QTDIR
is set. The installation will give an error message and not
proceed otherwise.
ma al comando ./configure mi esce
The environment variable $QTDIR is not set correctly. It is currently
set to "/usr/lib/qt3/", but it should be set to this directory,
which is "/usr/local/qt".
Please read the INSTALL file for instructions on how to set $QTDIR
correctly. If you have set $QTDIR in your .profile or .login, you
will need to log out and log in again to make the setting effective.
Il problema penso sia il punto 2, io ho trovato il file .bash_profile, inoltre le righe dei comandi sù riportate sono giuste? vanno inserite nel file con qualche procedura particolare?
Ciao.