Skocz do zawartości

tadek

Użytkownicy
  • Zawartość

    25
  • Rejestracja

  • Ostatnia wizyta

Profile Information

  • Skąd
    małopolska

tadek's Achievements

Użytkownik

Użytkownik (5/16)

0

Reputacja

  1. Zrobione. W rzeczy samej gcc54 zawiera już łatki wskazane przez sunrise. Dzięki za uwagi.
  2. mógłbyś rozwinąć bo ja coś nie rozumiem.
  3. Dzięki. Ja spróbowałem wg: http://www.tellurian.com.au/whitepapers/multiplegcc.php własnoręcznej kompilacji. Pomimo, że configure: [tadeusz@toyo gobj]$ ~/gcc-5.3.0/configure --disable-multilib --prefix=/usr/local/gcc/53 checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether ln works... yes checking whether ln -s works... yes checking for a sed that does not truncate output... /usr/bin/sed checking for gawk... gawk checking for libatomic support... yes checking for libcilkrts support... yes checking for libitm support... yes checking for libsanitizer support... yes checking for libvtv support... yes checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking whether g++ accepts -static-libstdc++ -static-libgcc... no checking for gnatbind... no checking for gnatmake... no checking whether compiler driver understands Ada... no checking how to compare bootstrapped objects... cmp --ignore-initial=16 $$f1 $$f2 checking for objdir... .libs checking for the correct version of gmp.h... yes checking for the correct version of mpfr.h... yes checking for the correct version of mpc.h... yes checking for the correct version of the gmp/mpfr/mpc libraries... yes checking for compatible ISL... no The following languages will be built: c,c++,fortran,java,lto,objc *** This configuration is not supported in the following subdirectories: target-libmpx gnattools gotools target-libada target-libgo target-libbacktrace target-liboffloadmic (Any other directories should still work fine.) checking for default BUILD_CONFIG... bootstrap-debug checking for --enable-vtable-verify... no checking for bison... no checking for byacc... no checking for yacc... no checking for bison... no checking for gm4... no checking for gnum4... no checking for m4... m4 checking for flex... no checking for lex... no checking for flex... no checking for makeinfo... no /home/tadeusz/gcc-5.3.0/missing: line 81: makeinfo: command not found checking for expect... no checking for runtest... no checking for ar... ar checking for as... as checking for dlltool... no checking for ld... ld checking for lipo... no checking for nm... nm checking for ranlib... ranlib checking for strip... strip checking for windres... no checking for windmc... no checking for objcopy... objcopy checking for objdump... objdump checking for readelf... readelf checking for cc... cc checking for c++... c++ checking for gcc... gcc checking for gcj... no checking for gfortran... gfortran checking for gccgo... no checking for ar... no checking for ar... ar checking for as... no checking for as... as checking for dlltool... no checking for dlltool... no checking for ld... no checking for ld... ld checking for lipo... no checking for lipo... no checking for nm... no checking for nm... nm checking for objcopy... no checking for objcopy... objcopy checking for objdump... no checking for objdump... objdump checking for ranlib... no checking for ranlib... ranlib checking for readelf... no checking for readelf... readelf checking for strip... no checking for strip... strip checking for windres... no checking for windres... no checking for windmc... no checking for windmc... no checking where to find the target ar... host tool checking where to find the target as... host tool checking where to find the target cc... just compiled checking where to find the target c++... just compiled checking where to find the target c++ for libstdc++... just compiled checking where to find the target dlltool... host tool checking where to find the target gcc... just compiled checking where to find the target gcj... just compiled checking where to find the target gfortran... just compiled checking where to find the target gccgo... host tool checking where to find the target ld... host tool checking where to find the target lipo... host tool checking where to find the target nm... host tool checking where to find the target objcopy... host tool checking where to find the target objdump... host tool checking where to find the target ranlib... host tool checking where to find the target readelf... host tool checking where to find the target strip... host tool checking where to find the target windres... host tool checking where to find the target windmc... host tool checking whether to enable maintainer-specific portions of Makefiles... no configure: creating ./config.status config.status: creating Makefile przeszło to kompilacja wywraca się: In file included from ./tm.h:48:0, from /home/tadeusz/gcc-5.3.0/gcc/cp/except.c:27: /home/tadeusz/gcc-5.3.0/gcc/defaults.h:126:24: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] fprintf ((FILE), ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n", \ ^ In file included from /home/tadeusz/gcc-5.3.0/gcc/cp/except.c:1023:0: cfns.gperf: In function ‘const char* libc_name_p(const char*, unsigned int)’: cfns.gperf:101:1: error: ‘const char* libc_name_p(const char*, unsigned int)’ redeclared inline with ‘gnu_inline’ attribute cfns.gperf:26:14: note: ‘const char* libc_name_p(const char*, unsigned int)’ previously declared here cfns.gperf: At global scope: cfns.gperf:26:14: warning: inline function ‘const char* libc_name_p(const char*, unsigned int)’ used but never defined Makefile:1065: polecenia dla obiektu 'cp/except.o' nie powiodły się make[3]: *** [cp/except.o] Błąd 1 make[3]: Opuszczenie katalogu '/home/tadeusz/gobj/gcc' Makefile:4371: polecenia dla obiektu 'all-stage1-gcc' nie powiodły się make[2]: *** [all-stage1-gcc] Błąd 2 make[2]: Opuszczenie katalogu '/home/tadeusz/gobj' Makefile:22461: polecenia dla obiektu 'stage1-bubble' nie powiodły się make[1]: *** [stage1-bubble] Błąd 2 make[1]: Opuszczenie katalogu '/home/tadeusz/gobj' Makefile:22797: polecenia dla obiektu 'bootstrap' nie powiodły się make: *** [bootstrap] Błąd 2 Może potrzebne są jakieś parametry?
  4. skoro już mam F24 to zrobić najpierw downgrade do F23 a potem upgrade do F24 z pominięciem gcc? Jestem przekonany, że można mieć kilka wersji gcc jednocześnie chociaż mnie wystarczy 53.
  5. Fedora24 przychodzi z gcc61 a ja do moich programów potrzebuję gcc53. Jak obejść tę sytuację?
  6. ja używam firefoxa i mam jave tak jak opisano w installation Nie udało mi się zainstalować opery 10 pod gnomem. oraz Binaria ściągniete jako paczka tar.gz też sie nie chce zainstalować: Pozdrawiam
  7. Nie pamietam żebym to ja wstawiał, w każdym razie nie był to nigdy powód do problemów.
  8. To by było za proste. poprawienie fstab nic nie daje: sudo cat /f10/var/log/boot.log Setting up hotplug. Creating block device nodes. Creating character device nodes. Unable to access resume device (UUID=0db3aee6-1818-4b2c-9615-c29d81815e7c) Creating root device. sudo cat /f10/etc/fstab # # /etc/fstab # Created by anaconda on Tue Jan 13 13:47:44 2009 # # Accessible filesystems, by reference, are maintained under '/dev/disk' # See man pages fstab(5), findfs(8), mount(8) and/or vol_id(8) for more info # UUID=82f53516-edd1-4f7b-9ddc-fccca266354b / ext3 defaults 1 1 UUID=9f61f307-4913-41c1-80a8-3f9986d360d9 /home ext3 defaults 1 2 tmpfs /dev/shm tmpfs defaults 0 0 devpts /dev/pts devpts gid=5,mode=620 0 0 sysfs /sys sysfs defaults 0 0 pen /dev/sdb1 fat32 defaults 0 0 proc /proc proc defaults 0 0 UUID=34cb679d-0770-46d8-9ddc-7d57c9558f9a swap swap defaults 0 0 Mimo poprawionego wpisu do /f10/etc/fstab informacja o UUID jest zaszyta gdzieś indziej. blkid /dev/sda7 /dev/sda7: TYPE="swap" UUID="34cb679d-0770-46d8-9ddc-7d57c9558f9a" Teraz dopiero przeczytałem uwagę hello_world
  9. blkid /dev/sda7 /dev/sda7: TYPE="swap" UUID="34cb679d-0770-46d8-9ddc-7d57c9558f9a" to jest /etc/fstab na F11: sudo cat /etc/fstab # # /etc/fstab # Created by anaconda on Thu Jun 25 13:15:50 2009 # # Accessible filesystems, by reference, are maintained under '/dev/disk' # See man pages fstab(5), findfs(8), mount(8) and/or vol_id(8) for more info # UUID=dd6c7ed8-0e46-48bb-9608-a792705b458d /suse ext3 defaults 1 2 UUID=82f53516-edd1-4f7b-9ddc-fccca266354b /f10 ext3 defaults 1 2 UUID=ab7dff28-948b-4f6a-9186-62a250e39512 / ext3 defaults 1 1 UUID=9f61f307-4913-41c1-80a8-3f9986d360d9 /home ext3 defaults 1 2 UUID=34cb679d-0770-46d8-9ddc-7d57c9558f9a swap swap defaults 0 0 tmpfs /dev/shm tmpfs defaults 0 0 devpts /dev/pts devpts defaults 0 0 sysfs /sys sysfs defaults 0 0 proc /proc proc defaults 0 0 a to na F10: sudo cat /f10/etc/fstab # # /etc/fstab # Created by anaconda on Tue Jan 13 13:47:44 2009 # # Accessible filesystems, by reference, are maintained under '/dev/disk' # See man pages fstab(5), findfs(8), mount(8) and/or vol_id(8) for more info # UUID=82f53516-edd1-4f7b-9ddc-fccca266354b / ext3 defaults 1 1 UUID=9f61f307-4913-41c1-80a8-3f9986d360d9 /home ext3 defaults 1 2 tmpfs /dev/shm tmpfs defaults 0 0 devpts /dev/pts devpts gid=5,mode=620 0 0 sysfs /sys sysfs defaults 0 0 pen /dev/sdb1 fat32 defaults 0 0 proc /proc proc defaults 0 0 UUID=0db3aee6-1818-4b2c-9615-c29d81815e7c swap swap defaults 0 0 Widać, że ten na F10 jest inny. Czy mogę wyedytować /f10/etc/fstab ? przy instalowaniu F11 oczywiście sformatowałem swap. Czy można wiedzieć co w UUID jest zaszyte?
  10. dodanie selinux=0 nic nie zmienia. Dla ciekawych załączam boot.log cat boot.log Setting up hotplug. Creating block device nodes. Creating character device nodes. Unable to access resume device (UUID=0db3aee6-1818-4b2c-9615-c29d81815e7c) co to może być? Creating root device. Mounting root filesystem. Setting up other filesystems. Switching to new root and running init. Welcome to Fedora Press 'I' to enter interactive startup. Uruchamianie udev: [ OK ] Ustawianie nazwy komputera toyo: [ OK ] Ustawianie zarządzania dyskami logicznymi: [ OK ] Sprawdzanie systemów plików f10: czysty, 235754/1286144 plików, 2121785/5120002 bloków /dev/sda6: czysty, 86461/1362720 plików, 3572141/5448862 bloków [ OK ] Przemontowywanie głównego systemu plików w trybie do odczyt[ OK ]su: Montowanie lokalnych systemów plików: [NIEUDANE] Włączanie udziałów na lokalnych systemach plików: [ OK ] Włączanie przestrzeni wymiany z /etc/fstab: [ OK ] Przechodzenie do uruchamiania nieinteraktywnego Zastosowywanie aktualizacji mikrokodu CPU Intela: [NIEUDANE] Enabling ondemand cpu frequency scaling: [ OK ] ip6tables: zastosowywanie reguł zapory sieciowej: ip6tables-restore: error while loading shared libraries: libdl.so.2: cannot open shared object file: Permission denied [NIEUDANE] iptables: zastosowywanie reguł zapory sieciowej: iptables-restore: error while loading shared libraries: libdl.so.2: cannot open shared object file: Permission denied [NIEUDANE] Uruchamianie auditd: auditd: error while loading shared libraries: libwrap.so.0: cannot open shared object file: Permission denied [NIEUDANE] Uruchamianie portreserve: [NIEUDANE] Uruchamianie dziennika systemowego: rsyslogd: error while loading shared libraries: libz.so.1: cannot open shared object file: Permission denied [NIEUDANE] Uruchamianie irqbalance: irqbalance: error while loading shared libraries: libglib-2.0.so.0: cannot open shared object file: Permission denied [NIEUDANE] Uruchamianie rpcbind: rpcbind: error while loading shared libraries: libwrap.so.0: cannot open shared object file: Permission denied [NIEUDANE] Uruchamianie NFS statd: rpc.statd: error while loading shared libraries: libwrap.so.0: cannot open shared object file: Permission denied [NIEUDANE] Uruchamianie RPC idmapd: rpc.idmapd: error while loading shared libraries: libevent-1.4.so.2: cannot open shared object file: Permission denied [NIEUDANE] Uruchamianie magistrali komunikatów systemowych: dbus-daemon: error while loading shared libraries: libexpat.so.1: cannot open shared object file: Permission denied [NIEUDANE] Uruchamianie demona HAL: Na razie zostaję na F11 i będę próbował przenieść programy. Byłem ciekaw czy coś zyskam przechodząc z i386 na x64.
  11. W tym wątku czytałem. Mówisz powiadasz w głównym katalogu F10 wykreować .autorelabel? A co on robi? Po co mam startować live skoro moge to zrobić spod F11?
  12. Możesz trochę jasniej. Wystartować livecd, zamontować f10 i co dalej?
  13. Poprawiłem ale ciągle jest źle. dostaję serię podobnych błędów:
  14. Edytuję gruba na sda9 bo to jest fedora ostatnio instalowana. pliki config, initrd, System.map i vmlinuz są na /sda5. Stan jest taki: title Fedora (2.6.27.21-170.2.68.fc10.i686) root (hd0,4) kernel /boot/vmlinuz-2.6.27.21-170.2.68.fc10.i686 ro root=UUID=82f53516-edd1-4f7b-9ddc-fccca266354b vga=0x318 initrd /boot/initrd-2.6.27.21-170.2.68.fc10.i686.img blkid /dev/sda5 /dev/sda5: LABEL="f10" UUID="82f53516-edd1-4f7b-9ddc-fccca266354b" TYPE="ext3" SEC_TYPE="ext2" sudo ls /f10/boot/ config-2.6.18-92.1.6.el5 config-2.6.27.19-170.2.35.fc10.i686 config-2.6.27.21-170.2.56.fc10.i686 config-2.6.27.24-170.2.68.fc10.i686 efi elf-memtest86+-2.11 grub initrd-2.6.18-92.1.6.el5.img initrd-2.6.27.19-170.2.35.fc10.i686.img initrd-2.6.27.21-170.2.56.fc10.i686.img initrd-2.6.27.24-170.2.68.fc10.i686.img memtest86+-2.11 symvers-2.6.18-92.1.6.el5.gz System.map-2.6.18-92.1.6.el5 System.map-2.6.27.19-170.2.35.fc10.i686 System.map-2.6.27.21-170.2.56.fc10.i686 System.map-2.6.27.24-170.2.68.fc10.i686 vmlinuz-2.6.18-92.1.6.el5 vmlinuz-2.6.27.19-170.2.35.fc10.i686 vmlinuz-2.6.27.21-170.2.56.fc10.i686 vmlinuz-2.6.27.24-170.2.68.fc10.i686 podczas bootowania dostaję: montowanie lokalnego systemu plików [color="#FF0000"]NIEUDANE[/color] Permission denied Byłem zdziwiony, że z poziomu F11 mogę wykonywać programy które instalowałem na /usr/local/share F10
  15. blkid /dev/sda5 /dev/sda5: LABEL="f10" UUID="82f53516-edd1-4f7b-9ddc-fccca266354b" TYPE="ext3" SEC_TYPE="ext2" title Fedora (2.6.27.21-170.2.68.fc10.i686) root (hd0,4) kernel /boot/vmlinuz-2.6.27.21-170.2.68.fc10.i686 ro root=UUID=82f53516-edd1-4f7b-9ddc-fccca266354b vga=0x318 initrd /boot/initrd-2.6.27.21-170.2.68.fc10.i686.img Zacząłem dłubać w grubie i teraz F10 już nie chce bootować, Dostaje Error 15 File not found
×
×
  • Dodaj nową pozycję...