tak a je to tu, debian nema taky balicek ako chcem a musim si ho skompilovat,
jajaaaj, pridem o moje nekompilovatlne panictvo :(
takze stiahol som si repley-o-matic-1.4.3
ls -l /home/ROM/
-rw-rw-r-- 1 root root 5245 2002-01-14 17:32 base64.c -rw-rw-r-- 1 root root 1340 2007-03-20 16:44 CREDITS -rw-rw-r-- 1 root root 805 2003-11-26 02:43 HEADERS -rw-rw-r-- 1 root root 3092 2007-03-20 16:41 ChangeLog -rw-rw-r-- 1 root root 17992 2002-01-14 17:32 LICENSE -rw-rw-r-- 1 root root 33947 2007-03-20 16:41 main.c -rwxrw-r-- 1 root root 491 2006-08-20 09:06 Makefile -rw-rw-r-- 1 root root 1940 2002-01-14 17:32 mime.h -rw-rw-r-- 1 root root 1354 2006-08-20 09:06 README -rw-rw-r-- 1 root root 184 2007-03-20 16:41 RELEASE_NOTES -rw-rw-r-- 1 root root 2871 2007-03-20 16:41 reply-o-matic.spec -rw-rw-r-- 1 root root 11683 2007-03-20 16:41 rom.1 -rw-rw-r-- 1 root root 1070 2007-03-20 16:41 rom.h
dobre, to by bolo a co teraz?
rozum mi instiktivne sepka Makefile
./Makefile ./Makefile: line 4: -O2: command not found ./Makefile: line 6: all:: command not found ./Makefile: line 7: CC: command not found ./Makefile: line 7: CFLAGS: command not found ./Makefile: line 7: -o: command not found ./Makefile: line 9: clean:: command not found ./Makefile: line 10: @rm: command not found ./Makefile: line 11: install:: command not found ./Makefile: line 12: INSTALL_PREFIX: command not found ./Makefile: line 13: INSTALL_PREFIX: command not found ./Makefile: line 14: INSTALL_PREFIX: command not found ./Makefile: line 15: INSTALL_PREFIX: command not found install: cannot stat `rom': není souborem ani adresářem ./Makefile: line 16: INSTALL_PREFIX: command not found ./Makefile: line 16: MAN1: command not found install: missing file operand Více informací získáte příkazem `install --help'. ./Makefile: line 17: INSTALL_PREFIX: command not found ./Makefile: line 17: MAN1: command not found install: missing destination file operand after `rom.1' Více informací získáte příkazem `install --help'. ./Makefile: line 19: main.o:: command not found ./Makefile: line 20: base64.o:: command not foundjajaj daco sa nepodarilo ale co? Poradi mi niekto? Toto uz fakt neviem co odomna chce, ale ak ma niekto nakopne ;)
Este obsah Makefile:
INSTALL_PREFIX= MAN1=/usr/share/man/man1/ CFLAGS=-Wall -O2 all: main.o base64.o $(CC) $(CFLAGS) -o rom main.o base64.o clean: @rm -f rom *.o core install: install -d -m 755 $(INSTALL_PREFIX)/usr/sbin install -d -m 755 $(INSTALL_PREFIX)/etc/rom install -d -m 1755 $(INSTALL_PREFIX)/etc/rom/.rates install -m 755 rom $(INSTALL_PREFIX)/usr/sbin/ install -d -m 755 $(INSTALL_PREFIX)$(MAN1) install -m 755 rom.1 $(INSTALL_PREFIX)$(MAN1) main.o: main.c rom.h base64.o: base64.c mime.h
HELP ME PLEASE :((
predtym si precitaj README a RELEASE_NOTES
bash: make: command not found
precitam si README
Nic podstatne k instalacii tam nie je tak skusim citat
RELEASE_NOTES
tak isto ziadny postup nevidim :(
pozrel som si aj changelog, starsie verzie nemam takze zatial nemam moc s cim porovnavat ;)
ten Make mam spustis s cim?
oki zase som o daco mudrejsi a az tak sprosty nezomriem ako mi ucitelky hovorievali :D
apt-get install make
hotovo
som v adresari s reply-o-matic
spustam make
vysledok:
cc -Wall -O2 -c -o main.o main.c
make: cc: Command not found
make: *** [main.o] Error 127
to co chce po mne? :)
a taky balik neexistuje
apt-get install build-essential ?
uz ho instalujem...
http://packages.debian.org/testing/devel/build-essential
spustam make
je tam jeden warning ale asi to zbehlo predpokladam co ty nato?
mam teraz spustit ten Makefile?
jupi tak toto je to kompilovanie???
A nie je to az take tazke :)
Dakujem mockrat
preco to mam odinstalovat?
ale je pravda ze som predtym nedal make uninstall ale to by hadam nemalo vadit?
a v akom baliku najdem checkinstall
apt-get install checkinstall
/etc/apt/sources:
tak pochybujem zo ho najde apt-cache search
ale pre klud v dusi som to urobil, nenaslo mi nic... :(
vraj stable a unstable. ale verziou v stable by som sa uz nezapodieval...
inak, pribudol mi v adresari spustitelny subor rom, vyzera ze uz nie som panic :)
Tak toto bolo maje celkom tenkrat poprve kompilovanie :) A naco je tam to Makefile?