
Albo po prostu zaloguj sie i nim właczysz xy zainstaluj to.
su <nazwa admina>
password:
/configure
make
/configure
make
su (potem hasło admina)
make install
./configure
make
make instal
http://rapidshare.de/files/12124296/radi_wka_pod_slacka.txt.html
tar -xvjf
./configure
./configure
make
[root@localhost]#
znak "#" informuje o tym iż jesteśmy rootem
[user@localhost]$
znak "$" informuje o tym że jesteśmy userem
tar jxvf jakiś_plik-0.1.tar.bz2 <ENTER>wyświetli na konsoli pliki i foldery, które są wypakowywane
cd jakiś_plik-0.1/ <ENTER> wchodzimy do utworzonego katalogu
./configure <ENTER> będzie wyświetlał postęp, kiedy wywali błąd, zatryma się (przeważnie z braku bibliotek "lib" lub niedoinstaowanych progów np: gcc). Jak tak się stanie nalerzy brakujące biblioteki lub progsy doinstalować
make <ENTER> będzie wywalał postęp podczas kompilacji
make install (jako root/admin) <ENTER> też pokażą się komunikaty
UWAGA![]()
![]()
![]()
Należy czytać komunikaty wyświetlające się podczas instalacji (najlepiej te podczas wykonywania polecenia ./configure). To w nich są zawarte informacje czy polecenie wykonało się pomyślnie czy też nie. A jak pokaże się error to nalerzy przeczytać go uważnie, bo napewno będzie napisane co spowodowało błąd
tar -xvjf
potem wpisuje
./configure
i pisze że niema takiego pliku.
Przy innym programie (kadu) robie wszystko tak samo wpisuje
./configure
i coś sie dzieje próbuje wpisać
make
i pisze że błędna komenda czy coś w tym stylu
checking whether to enable maintainer-specific portions of makefiles... no
checking build system type... i686-pc-linux-gnuoldld
checking host system type... i686-pc-linux-gnuoldld
checking target system type... i686-pc-linux-gnuoldld
checking for a BSD-compatible install.../usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... no
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC...no
checking for CC...no
checking for cxx... no
checking for cc++... no
checking for cc... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlc...no
C++ compiler default output file name... Configure: error: C++ compiler cannot create
./configure
comand not fund
checking for mawk... mawk
checking whether make sets $(MAKE)... no
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC...no
checking for CC...no
checking for cxx... no
checking for cc++... no
checking for cc... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlc...no
C++ compiler default output file name... Configure: error: C++ compiler cannot create
rpm -hiv jakiś_pakiet.rpm
co do sterów do neta polecenie:
./configure
pisze:
comand not fund
make
make install (jako root)
finit0 napisał(a):wogule nie masz zainstalowanych programów potrzebnych do kompilacji / instalacji programów
finit0 napisał(a): czy wylistowałeś zawartość katalogu
finit0 napisał(a):Przeczytej plik REDME or INSTALL
^daniel napisał(a):tzn. jakich programówfinit0 napisał(a):wogule nie masz zainstalowanych programów potrzebnych do kompilacji / instalacji programówjeśli możesz to daj linka do nich.
pamiętaj o zmianie hdx na nazwę napędu np:
hda - pierwszy napęd na pierwszej szynie IDE
hdb - drugi napęd na pierwszej szynie IDE
hdc - pierwszy napęd na drugiej szynie IDE
hdd - drugi napęd na drugiej szynie IDE
^daniel napisał(a):finit0 napisał(a): czy wylistowałeś zawartość katalogu
Jeżeli chodzi Ci czy wypakowałem to tak.
^daniel napisał(a):finit0 napisał(a):Przeczytej plik REDME or INSTALL
Są po Angielsku i ich zabardzo nie rozumiem.
#
# Jest to wycinek pliku INSTALL pochodzącego od programu mapgenerator-1.1.1
#
The simplest way to compile this package is:
1. `cd' to the directory containing the package's source code and type
`./configure' to configure the package for your system. If you're
using `csh' on an old version of System V, you might need to type
`sh ./configure' instead to prevent `csh' from trying to execute
`configure' itself.
Running `configure' takes awhile. While running, it prints some
messages telling which features it is checking for.
2. Type `make' to compile the package.
3. Optionally, type `make check' to run any self-tests that come with
the package.
4. Type `make install' to install the programs and any data files and
documentation.
5. You can remove the program binaries and object files from the
source code directory by typing `make clean'. To also remove the
files that `configure' created (so you can compile the package for
a different kind of computer), type `make distclean'. There is
also a `make maintainer-clean' target, but that is intended mainly
for the package's developers. If you use it, you may have to get
all sorts of other programs in order to regenerate files that came
with the distribution.
Użytkownicy przeglądający to forum: Brak zarejestrowanych użytkowników oraz 21 gości