Anime i manga en català

Moderadors: Guiru, Maki

 
Avatar de l’usuari
LordNightmareII
Sushinchu
Sushinchu
Entrades: 780
Membre des de: dg. 07 des. 2003, 13:58
Ubicació: En un munt d'escombreries. Gally :D
Contacta:

Instalar ntfs-3g

dl. 18 set. 2006, 00:26

Woo0les com va!?

Tinc dos hd, i necessito que el segon estigui disponible tant en windows com en linux, i m'han parlat del programa ntfs-3g, el cas es que l'estic intentant instalar.

Obro la consola, em loguejo com a root, entro dins el directori del programa i escric:

./configure
La consola em dona aquest missatge
[hide]
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
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)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
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 ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking whether gcc needs -traditional... no
checking for a BSD-compatible install... /usr/bin/install -c
checking for rm... /bin/rm
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for a sed that does not truncate output... /bin/sed
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking how to recognise dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
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 cl... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
[/hide]

Llavors segueixo el manual i escric

make

[hide]
root@xxxxxx-desktop:/home/xxxxxxx/ntfs-3g-20070910-BETA/ntfs-3g-20070910-BETA# make
make: *** No targets specified and no makefile found. Stop.[/hide]


Aquí ja me dona els problemes pero jo segueixo am les instruccions xD

make install

[hide]root@xxxxxx-desktop:/home/xxxxxxx/ntfs-3g-20070910-BETA/ntfs-3g-20070910-BETA# make install
make: *** No rule to make target `install'. Stop.[/hide]


El manual es aquest http://wiki.linux-ntfs.org/doku.php?id=ntfs-3g

Avore si me podeu dir com instalar correctament el programa, Merci! :adeu:
Imatge
Imatge
 
Avatar de l’usuari
Mad93
Moderadors
Moderadors
Entrades: 5850
Membre des de: dj. 27 nov. 2003, 20:00
Ubicació: Vivint a la universitat ><
Contacta:

dl. 18 set. 2006, 01:52

No pots fer ni el make ni el make install pq no s'ha pogut fer la configuració per a compilar el programa, si t'hi fixes:

configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.


Això segurament vol dir que no tens una versió prou nova del compilador. Pot o provar d'actualitzar la versió que tinguis (per saber exactament on fall mira el config.log) o mirar de descarregar una versió més vella del paquet.

Altre solució, no sé quina distro fas servir, és descarregar un paquet ja compilat per a la teva distribució del programa.
Imatge
Tant avorrit que m'he fet un bloc... un més. Servidor mig online...
 
TasMan

dl. 18 set. 2006, 12:24

Jo crec que el que no té és instal·lat el paquet cpp.

Per allò de: checking for c++... no

si tens un linux basat en paquets RPM (Com openSUSE, Mandriva, Fedora, etc) pots utilitzar el següent comandament:

rpm -q cpp

amb això et dirà si ho tens instal·lat, i quina versió.
per a sistemes amb paquets debian, a vorer si el Mad et diu algun comandament paregut, perquè jo només conec el apt i el aptitude :P

:adeu:
 
Avatar de l’usuari
Mad93
Moderadors
Moderadors
Entrades: 5850
Membre des de: dj. 27 nov. 2003, 20:00
Ubicació: Vivint a la universitat ><
Contacta:

dl. 18 set. 2006, 12:37

Si tens debian a base de synaptic o amb "apt-cache search paquet" ;)
Imatge
Tant avorrit que m'he fet un bloc... un més. Servidor mig online...
 
Avatar de l’usuari
LordNightmareII
Sushinchu
Sushinchu
Entrades: 780
Membre des de: dg. 07 des. 2003, 13:58
Ubicació: En un munt d'escombreries. Gally :D
Contacta:

dl. 18 set. 2006, 15:35

Okas ara ho provaré. Per cert, per executar el programa en el manual em demana el programa fuse, com podria comprovar que se m'ha instalat bé¿?
Imatge

Imatge
 
Avatar de l’usuari
LordNightmareII
Sushinchu
Sushinchu
Entrades: 780
Membre des de: dg. 07 des. 2003, 13:58
Ubicació: En un munt d'escombreries. Gally :D
Contacta:

dl. 18 set. 2006, 16:08

Veja'm :P Tasman he provat el que dius de la comanda "rpm -q cpp" però no me la reconeix.

Mad, utilitzant el synaptic me troba un arxiu semblant, apt-cacher, le instalat pero a l'hora de compilar, segueix igual.

Que me suggeriu¿? :wub:
Imatge

Imatge
 
klixato

dl. 18 set. 2006, 16:17

quina distro fas servir? si no dónes gaire informació (o l'essencial com aquesta) no et podem ajudar gaire

sigui com sigui has d'instal·lar el cpp així que fes servir la línia d'ordes, el synaptic o la-mare-que-la-va-matricular per instal·lar-lo i llavors llestos, tornar a fer el ./configure && make && make install
:bleh:
 
Avatar de l’usuari
LordNightmareII
Sushinchu
Sushinchu
Entrades: 780
Membre des de: dg. 07 des. 2003, 13:58
Ubicació: En un munt d'escombreries. Gally :D
Contacta:

dl. 18 set. 2006, 16:40

Juas tens raó no he dit la distro xDDDDD

Jo uso kubuntu, pero acabo de comprovar al synaptic que tinc instalat el cpp-4-0 aixi que no se que deu passar :blink:
Imatge

Imatge
 
Avatar de l’usuari
Mad93
Moderadors
Moderadors
Entrades: 5850
Membre des de: dj. 27 nov. 2003, 20:00
Ubicació: Vivint a la universitat ><
Contacta:

dl. 18 set. 2006, 20:52

Doncs el dit, que no sigui prou nova la versió o la busqui en un altre lloc on la tens.

Mirat aquests enllaços:

http://www.ubuntu-es.org/node/21061
http://www.vivalinux.com.ar/soft/ntfs-3 ... -6.06.html
Imatge
Tant avorrit que m'he fet un bloc... un més. Servidor mig online...
 
Avatar de l’usuari
LordNightmareII
Sushinchu
Sushinchu
Entrades: 780
Membre des de: dg. 07 des. 2003, 13:58
Ubicació: En un munt d'escombreries. Gally :D
Contacta:

dl. 18 set. 2006, 22:55

Ei, he seguit el manual, i a l'hora dinstalar el fuse (amb el ./configure make i make install) no m'ha donat cap error, al igual que els dos programes que demanen al principi kernel-heaaders i build-essentials pero em segueix donant errors, a l'hora dinstalar l'ntfs enkara que ara ja no em surten tants no xDDDD

[hide]
root@oriol-desktop:/home/oriol/Desktop/ntfs-3g-20070910-BETA# ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
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)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
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 ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking whether gcc needs -traditional... no
checking for a BSD-compatible install... /usr/bin/install -c
checking for rm... /bin/rm
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for a sed that does not truncate output... /bin/sed
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking how to recognise dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for _LARGE_FILES value needed for large files... no
checking for pkg-config... no
*** The pkg-config script could not be found. Make sure it is
*** in your path, or set the PKG_CONFIG environment variable
*** to the full path to pkg-config.
*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config.
configure: error: ntfs-3g requires FUSE version >= 2.5.0. See http://fuse.source
forge.net/ how to install FUSE.
root@oriol-desktop:/home/oriol/Desktop/ntfs-3g-20070910-BETA# make
make: *** No targets specified and no makefile found. Stop.
root@oriol-desktop:/home/oriol/Desktop/ntfs-3g-20070910-BETA# ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
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)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
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 ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking whether gcc needs -traditional... no
checking for a BSD-compatible install... /usr/bin/install -c
checking for rm... /bin/rm
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for a sed that does not truncate output... /bin/sed
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking how to recognise dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for _LARGE_FILES value needed for large files... no
checking for pkg-config... no
*** The pkg-config script could not be found. Make sure it is
*** in your path, or set the PKG_CONFIG environment variable
*** to the full path to pkg-config.
*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config.
configure: error: ntfs-3g requires FUSE version >= 2.5.0. See http://fuse.source forge.net/ how to install FUSE.
root@oriol-desktop:/home/oriol/Desktop/ntfs-3g-20070910-BETA# make
make: *** No targets specified and no makefile found. Stop.
[/hide]
[/hide][/quote]
Imatge

Imatge
 
Avatar de l’usuari
Mad93
Moderadors
Moderadors
Entrades: 5850
Membre des de: dj. 27 nov. 2003, 20:00
Ubicació: Vivint a la universitat ><
Contacta:

dl. 18 set. 2006, 23:47

Has de tenir la versió 2.5.0 o superior de fuse:

onfigure: error: ntfs-3g requires FUSE version >= 2.5.0. See http://fuse.sourceforge.net
Imatge
Tant avorrit que m'he fet un bloc... un més. Servidor mig online...
 
Avatar de l’usuari
LordNightmareII
Sushinchu
Sushinchu
Entrades: 780
Membre des de: dg. 07 des. 2003, 13:58
Ubicació: En un munt d'escombreries. Gally :D
Contacta:

dt. 19 set. 2006, 00:05

Imatge

Imatge
 
Avatar de l’usuari
Mad93
Moderadors
Moderadors
Entrades: 5850
Membre des de: dj. 27 nov. 2003, 20:00
Ubicació: Vivint a la universitat ><
Contacta:

dt. 19 set. 2006, 00:10

No sé si és el teu cas, però en gentoo, quan canvies coses importants, pots actualitzar l'entorn amb "etc-update", sinó sempre pots reiniciar el pc, que és el mateix.

Llavors torna a provar a veure que et diu.
Imatge
Tant avorrit que m'he fet un bloc... un més. Servidor mig online...
 
Avatar de l’usuari
LordNightmareII
Sushinchu
Sushinchu
Entrades: 780
Membre des de: dg. 07 des. 2003, 13:58
Ubicació: En un munt d'escombreries. Gally :D
Contacta:

dt. 19 set. 2006, 17:05

res de res, el codi per actualitzar el pc no em funciona, i tampoc reiniciar.

He tornat a instalar el fuse.2.5.3 pero res, al instalar ntfs-3g em dona el mateix missatge :no:
Imatge

Imatge
 
Avatar de l’usuari
Mad93
Moderadors
Moderadors
Entrades: 5850
Membre des de: dj. 27 nov. 2003, 20:00
Ubicació: Vivint a la universitat ><
Contacta:

dt. 19 set. 2006, 18:12

A veure, si ho fàs a mà, quan fas el configure, pots soler passar-hi paràmetres, tipus: ./configure --sdl-lib=/directori/on/es

Vull dir que possiblement li podries passar la ruta a mà d'on es troba el fuse al teu sistema. Segurament tot això vingui a les intruccions...
Imatge
Tant avorrit que m'he fet un bloc... un més. Servidor mig online...

Qui està connectat

Usuaris navegant en aquest fòrum: No hi ha cap usuari registrat i 8 visitants