https://github.com/dpavlin/perl-fuse
Alternativno, ssh account je skoro jednako dobar (ili vm koji radi pod
kvm-om ili VirtualBox-om)
--
Dobrica Pavlinusic 2share!2flame dpa...@rot13.org
Unix addict. Internet consultant. http://www.rot13.org/~dpavlin
Ovak, build failure koji se vidi na CPANu je zbog toga što taj stroj
na kojem je testiran build nema instaliran MacFuse. Ja imam i ja sam
dobio druge greške u make fazi :)
Fuse.xs:25: error: expected specifier-qualifier-list before ‘tTHX’
Fuse.xs: In function ‘_PLfuse_open’:
Fuse.xs:543: warning: value computed is not used
Fuse.xs:544: warning: value computed is not used
Fuse.xs: At top level:
Fuse.xs:981: warning: initialization from incompatible pointer type
Fuse.xs:982: warning: initialization from incompatible pointer type
Fuse.xs:988: warning: initialization from incompatible pointer type
Fuse.xs: In function ‘XS_Fuse_CLONE’:
Fuse.xs:1005: error: ‘tTHX’ undeclared (first use in this function)
Fuse.xs:1005: error: (Each undeclared identifier is reported only once
Fuse.xs:1005: error: for each function it appears in.)
Fuse.xs:1005: error: expected ‘;’ before ‘parent’
Fuse.xs:1006: error: ‘my_cxt_t’ has no member named ‘self’
Fuse.xs:1006: error: ‘my_perl’ undeclared (first use in this function)
Fuse.xs:1023: error: ‘parent’ undeclared (first use in this function)
Fuse.xs:1028: warning: implicit declaration of function ‘sv_dup’
Fuse.xs:1028: warning: assignment makes pointer from integer without a cast
Fuse.xs:1030: warning: cast to pointer from integer of different size
Fuse.c:1058: warning: unused variable ‘items’
Fuse.xs: In function ‘XS_Fuse_fuse_get_context’:
Fuse.xs:1044: warning: value computed is not used
Fuse.xs:1045: warning: value computed is not used
Fuse.xs:1046: warning: value computed is not used
Fuse.xs: In function ‘XS_Fuse_perl_fuse_main’:
Fuse.xs:1074: error: ‘my_cxt_t’ has no member named ‘threaded’
Fuse.xs:1076: error: ‘my_cxt_t’ has no member named ‘threaded’
Fuse.xs:1085: error: ‘my_cxt_t’ has no member named ‘threaded’
Fuse.xs:1132: error: ‘my_cxt_t’ has no member named ‘threaded’
Fuse.xs: In function ‘boot_Fuse’:
Fuse.xs:996: error: ‘my_cxt_t’ has no member named ‘self’
Fuse.xs:996: error: expected expression before ‘;’ token
make: *** [Fuse.o] Error 1
Uglavnom, tu vidim da ima nešto simbola koji se koriste a nisu nigdje
deklarirani/definirani. Kad to središ, sve će raditi ;)
--
IgorR
Zapravo, ovo zvu�i kao da threading nije dobro detectan. Mo�e� mi
poslati perl -V output?
Može, ovo je perl -V od moje custom instlacije Perla. Na njoj sam
pokušao instalirati Fuse.
$ perl -V
Summary of my perl5 (revision 5 version 12 subversion 3) configuration:
Platform:
osname=darwin, osvers=10.6.0, archname=darwin-2level
uname='darwin mb-igorr 10.6.0 darwin kernel version 10.6.0: wed
nov 10 18:13:17 pst 2010; root:xnu-1504.9.26~3release_i386 i386 '
config_args=''
hint=recommended, useposix=true, d_sigaction=define
useithreads=undef, usemultiplicity=undef
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-fno-common -DPERL_DARWIN -no-cpp-precomp
-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include',
optimize='-O3',
cppflags='-no-cpp-precomp -fno-common -DPERL_DARWIN
-no-cpp-precomp -fno-strict-aliasing -pipe -fstack-protector
-I/usr/local/include'
ccversion='', gccversion='4.2.1 (Apple Inc. build 5664)', gccosandvers=''
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='env MACOSX_DEPLOYMENT_TARGET=10.3 cc', ldflags ='
-fstack-protector -L/usr/local/lib'
libpth=/usr/local/lib /usr/lib
libs=-ldbm -ldl -lm -lutil -lc
perllibs=-ldl -lm -lutil -lc
libc=/usr/lib/libc.dylib, so=dylib, useshrplib=false, libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags=' -bundle -undefined dynamic_lookup
-L/usr/local/lib -fstack-protector'
Characteristics of this binary (from libperl):
Compile-time options: PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP USE_64_BIT_ALL
USE_64_BIT_INT USE_LARGE_FILES USE_PERLIO
USE_PERL_ATOF
Built under darwin
Compiled at Jan 29 2011 14:48:11
@INC:
/Users/igorrumiha/local/perl/lib/site_perl/5.12.3/darwin-2level
/Users/igorrumiha/local/perl/lib/site_perl/5.12.3
/Users/igorrumiha/local/perl/lib/5.12.3/darwin-2level
/Users/igorrumiha/local/perl/lib/5.12.3
.
To je dakle 64bitni Perl, bez threadova.
Evo ti i output od sistemskog perla:
/usr/bin/perl -V
Summary of my perl5 (revision 5 version 10 subversion 0) configuration:
Platform:
osname=darwin, osvers=10.0, archname=darwin-thread-multi-2level
uname='darwin neige.apple.com 10.0 darwin kernel version 10.0.0d8:
tue may 5 19:29:59 pdt 2009; root:xnu-1437.2~2release_i386 i386 '
config_args='-ds -e -Dprefix=/usr -Dccflags=-g -pipe -Dldflags=
-Dman3ext=3pm -Duseithreads -Duseshrplib -Dinc_version_list=none
-Dcc=gcc-4.2'
hint=recommended, useposix=true, d_sigaction=define
useithreads=define, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc-4.2', ccflags ='-arch x86_64 -arch i386 -arch ppc -g -pipe
-fno-common -DPERL_DARWIN -fno-strict-aliasing -I/usr/local/include',
optimize='-Os',
cppflags='-g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing
-I/usr/local/include'
ccversion='', gccversion='4.2.1 (Apple Inc. build 5646)', gccosandvers=''
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='gcc-4.2 -mmacosx-version-min=10.6', ldflags ='-arch x86_64
-arch i386 -arch ppc -L/usr/local/lib'
libpth=/usr/local/lib /usr/lib
libs=-ldbm -ldl -lm -lutil -lc
perllibs=-ldl -lm -lutil -lc
libc=/usr/lib/libc.dylib, so=dylib, useshrplib=true, libperl=libperl.dylib
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags='-arch x86_64 -arch i386 -arch ppc
-bundle -undefined dynamic_lookup -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP USE_64_BIT_ALL
USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES
USE_PERLIO USE_REENTRANT_API
Locally applied patches:
/Library/Perl/Updates/<version> comes before system perl directories
installprivlib and installarchlib points to the Updates directory
Built under darwin
Compiled at Jun 24 2009 00:35:27
@INC:
/Library/Perl/Updates/5.10.0
/System/Library/Perl/5.10.0/darwin-thread-multi-2level
/System/Library/Perl/5.10.0
/Library/Perl/5.10.0/darwin-thread-multi-2level
/Library/Perl/5.10.0
/Network/Library/Perl/5.10.0/darwin-thread-multi-2level
/Network/Library/Perl/5.10.0
/Network/Library/Perl
/System/Library/Perl/Extras/5.10.0/darwin-thread-multi-2level
/System/Library/Perl/Extras/5.10.0
.
HTH
--
IgorR