adenison
(usa Ubuntu)
Enviado em 07/02/2012 - 17:37h
Boa tarde!!
Estou tentanto configurar o samba no ubuntu server 11.10 e quando executo o comando sudo make recebo a seguinte mensagem de erro:
/softwares/samba-3.6.1/source3$ make
Using CFLAGS = -I../lib/zlib -O -I. -I/home/pentaho/softwares/samba-3.6.1/source3 -I/home/pentaho/softwares/samba-3.6.1/source3/../lib/popt -I/home/pentaho/softwares/samba-3.6.1/source3/../lib/iniparser/src -Iinclude -I./include -I. -I. -I./../lib/replace -I./../lib/tevent -I./librpc -I./.. -I./../lib/talloc -I../lib/tdb/include -DHAVE_CONFIG_H -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Iinclude -I./include -I. -I. -I./../lib/replace -I./../lib/tevent -I./librpc -I./.. -I./../lib/popt -I/home/pentaho/softwares/samba-3.6.1/source3/lib -I.. -D_SAMBA_BUILD_=3 -D_SAMBA_BUILD_=3
PICFLAG = -fPIC
LIBS = -lresolv -lnsl -ldl -lrt
LDFLAGS = -pie -Wl,-z,relro -L./bin
DYNEXP = -Wl,--export-dynamic
LDSHFLAGS = -fPIC -shared -Wl,-Bsymbolic -Wl,-z,relro -L./bin -lc -Wl,-z,defs
SHLIBEXT = so
SONAMEFLAG = -Wl,-soname=
Compiling ../lib/replace/getifaddrs.c
Linking shared library bin/libtalloc.so.2
/usr/bin/ld: cannot open output file bin/libtalloc.so.2: Permission denied
collect2: ld returned 1 exit status
make: *** [bin/libtalloc.so.2] Error 1
pentaho@arrowbrasil3:~/softwares/samba-3.6.1/source3$ sudo make
Using CFLAGS = -I../lib/zlib -O -I. -I/home/pentaho/softwares/samba-3.6.1/source3 -I/home/pentaho/softwares/samba-3.6.1/source3/../lib/popt -I/home/pentaho/softwares/samba-3.6.1/source3/../lib/iniparser/src -Iinclude -I./include -I. -I. -I./../lib/replace -I./../lib/tevent -I./librpc -I./.. -I./../lib/talloc -I../lib/tdb/include -DHAVE_CONFIG_H -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Iinclude -I./include -I. -I. -I./../lib/replace -I./../lib/tevent -I./librpc -I./.. -I./../lib/popt -I/home/pentaho/softwares/samba-3.6.1/source3/lib -I.. -D_SAMBA_BUILD_=3 -D_SAMBA_BUILD_=3
PICFLAG = -fPIC
LIBS = -lresolv -lnsl -ldl -lrt
LDFLAGS = -pie -Wl,-z,relro -L./bin
DYNEXP = -Wl,--export-dynamic
LDSHFLAGS = -fPIC -shared -Wl,-Bsymbolic -Wl,-z,relro -L./bin -lc -Wl,-z,defs
SHLIBEXT = so
SONAMEFLAG = -Wl,-soname=
Linking shared library bin/libtalloc.so.2
Linking shared library bin/libtdb.so.1
Linking shared library bin/libwbclient.so.0
Compiling dynconfig.c
Compiling librpc/gen_ndr/ndr_lsa.c
librpc/gen_ndr/ndr_lsa.c: In function 'ndr_pull_lsa_PrivilegeSet':
librpc/gen_ndr/ndr_lsa.c:2556:26: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.6/README.Bugs> for instructions.
Preprocessed source stored into /tmp/ccpfS7o2.out file, please attach this to your bugreport.
The following command failed:
gcc -I../lib/zlib -O -I. -I/home/pentaho/softwares/samba-3.6.1/source3 -I/home/pentaho/softwares/samba-3.6.1/source3/../lib/popt -I/home/pentaho/softwares/samba-3.6.1/source3/../lib/iniparser/src -Iinclude -I./include -I. -I. -I./../lib/replace -I./../lib/tevent -I./librpc -I./.. -I./../lib/talloc -I../lib/tdb/include -DHAVE_CONFIG_H -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Iinclude -I./include -I. -I. -I./../lib/replace -I./../lib/tevent -I./librpc -I./.. -I./../lib/popt -I/home/pentaho/softwares/samba-3.6.1/source3/lib -I.. -D_SAMBA_BUILD_=3 -D_SAMBA_BUILD_=3 -fPIC -c librpc/gen_ndr/ndr_lsa.c -o librpc/gen_ndr/ndr_lsa.o
make: *** [librpc/gen_ndr/ndr_lsa.o] Error 1
pentaho@arrowbrasil3:~/softwares/samba-3.6.1/source3$ sudo make install
Using CFLAGS = -I../lib/zlib -O -I. -I/home/pentaho/softwares/samba-3.6.1/source3 -I/home/pentaho/softwares/samba-3.6.1/source3/../lib/popt -I/home/pentaho/softwares/samba-3.6.1/source3/../lib/iniparser/src -Iinclude -I./include -I. -I. -I./../lib/replace -I./../lib/tevent -I./librpc -I./.. -I./../lib/talloc -I../lib/tdb/include -DHAVE_CONFIG_H -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Iinclude -I./include -I. -I. -I./../lib/replace -I./../lib/tevent -I./librpc -I./.. -I./../lib/popt -I/home/pentaho/softwares/samba-3.6.1/source3/lib -I.. -D_SAMBA_BUILD_=3 -D_SAMBA_BUILD_=3
PICFLAG = -fPIC
LIBS = -lresolv -lnsl -ldl -lrt
LDFLAGS = -pie -Wl,-z,relro -L./bin
DYNEXP = -Wl,--export-dynamic
LDSHFLAGS = -fPIC -shared -Wl,-Bsymbolic -Wl,-z,relro -L./bin -lc -Wl,-z,defs
SHLIBEXT = so
SONAMEFLAG = -Wl,-soname=
Compiling librpc/gen_ndr/ndr_lsa.c
librpc/gen_ndr/ndr_lsa.c: In function 'ndr_pull_lsa_PrivilegeSet':
librpc/gen_ndr/ndr_lsa.c:2556:26: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.6/README.Bugs> for instructions.
Preprocessed source stored into /tmp/ccdoAM0B.out file, please attach this to your bugreport.
The following command failed:
gcc -I../lib/zlib -O -I. -I/home/pentaho/softwares/samba-3.6.1/source3 -I/home/pentaho/softwares/samba-3.6.1/source3/../lib/popt -I/home/pentaho/softwares/samba-3.6.1/source3/../lib/iniparser/src -Iinclude -I./include -I. -I. -I./../lib/replace -I./../lib/tevent -I./librpc -I./.. -I./../lib/talloc -I../lib/tdb/include -DHAVE_CONFIG_H -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Iinclude -I./include -I. -I. -I./../lib/replace -I./../lib/tevent -I./librpc -I./.. -I./../lib/popt -I/home/pentaho/softwares/samba-3.6.1/source3/lib -I.. -D_SAMBA_BUILD_=3 -D_SAMBA_BUILD_=3 -fPIC -c librpc/gen_ndr/ndr_lsa.c -o librpc/gen_ndr/ndr_lsa.o
make: *** [librpc/gen_ndr/ndr_lsa.o] Error 1
Já procurei solução o dia inteiro e não achei.. Agradeço a ajuda
Obrigado