Instalação Samba

Iniciado por thiagof.fernandes, 13 de Fevereiro de 2008, 13:21

tópico anterior - próximo tópico

thiagof.fernandes

Pessoal baixei o mais novo pacote do samba o samba-latest.tar.gz tudo certo

entao entrei no terminal e digitei tar -zxvf samba-latest.tar.gz e ele extraio em uma pasta chamada samba-3.0.28

digitei cd /home/thiago/samba-3.0.28

ele entrou na pasta qndo tento o configure da o seguinte erro

Citarbash: ./configure: Arquivo ou diretório inexistente

se tentar o make da isso

Citarmake: *** Nenhum alvo indicado e nenhum arquivo make encontrado.  Pare.

e make install da isso

Citarmake: *** Sem regra para processar o alvo `install'.  Pare.

entao entrei na pasta SOURCE e vi que tinha um arquivo chamado CONFIGURE

entao dei cd /home/thiago/samba-3.0.28/source

entrei na pasta e digita ./configure

entao deu certo o configure e apareceu isso

CitarSAMBA VERSION: 3.0.28
LIBREPLACE_LOCATION_CHECKS: START
checking build system type... i686-pc-linux-gnulibc1
checking host system type... i686-pc-linux-gnulibc1
checking target system type... i686-pc-linux-gnulibc1
LIBREPLACE_LOCATION_CHECKS: END
LIBREPLACE_CC_CHECKS: START
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.

mais qndo eu tento o make ou make install dps do ./configure ele fala os mesmos erros que citei ali em cima ...

alguem pode me ajudar ? eu ja tentei pelo apt-get install samba mais ele fala que instala e na verdade nao cria uma pasta pro samba .. nem /etc/smb nem /etc/samba

alguem me ajuda a instalar por favor ?

sou iniciante no ubuntu

Abçs



jomafras

configure: error: C compiler cannot create executables
See `config.log' for more details.

É pra vc dar uma conferida no `config.log'
O Ubuntu sem dúvida é a melhor Distro.
Pesquise primeiro... só depois abra um tópico.
Canal do YouTube - Blog

thiagof.fernandes

ja li

mais o arquivo ta "grego"

vo dar uma colada nele aqui com o quote pra ver se vcs podem me ajudar

CitarThis file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.61.  Invocation command line was

  $ ./configure

## --------- ##
## Platform. ##
## --------- ##

hostname = Ubuntu
uname -m = i686
uname -r = 2.6.22-14-generic
uname -s = Linux
uname -v = #1 SMP Tue Feb 12 07:42:25 UTC 2008

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1961: checking build system type
configure:1979: result: i686-pc-linux-gnulibc1
configure:2001: checking host system type
configure:2016: result: i686-pc-linux-gnulibc1
configure:2038: checking target system type
configure:2053: result: i686-pc-linux-gnulibc1
configure:2541: checking for gcc
configure:2557: found /usr/bin/gcc
configure:2568: result: gcc
configure:2806: checking for C compiler version
configure:2813: gcc --version >&5
gcc (GCC) 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2816: $? = 0
configure:2823: gcc -v >&5
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.1.3 --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)
configure:2826: $? = 0
configure:2833: gcc -V >&5
gcc: '-V' option must have argument
configure:2836: $? = 1
configure:2859: checking for C compiler default output file name
configure:2886: gcc -O -D_SAMBA_BUILD_=3   conftest.c  >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:2889: $? = 1
configure:2927: result:
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define CONFIG_H_IS_FROM_SAMBA 1
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:2934: error: C compiler cannot create executables
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=i686-pc-linux-gnulibc1
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=i686-pc-linux-gnulibc1
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_cc_Ae=no
ac_cv_target=i686-pc-linux-gnulibc1

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACL_LIBS=''
AR=''
AUTH_LIBS=''
AUTH_MODULES=''
AUTH_STATIC=''
AWK=''
BROKEN_CC=''
BUILD_INIPARSER=''
BUILD_POPT=''
CC='gcc'
CFLAGS='-O -D_SAMBA_BUILD_=3'
CHARSET_MODULES=''
CHARSET_STATIC=''
CIFSMOUNT_PROGS=''
CONFIG_LIBS=''
CPP=''
CPPFLAGS=''
CUPS_CONFIG=''
DEFAULT_TEST_TARGET=''
DEFS=''
DYNEXP=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
EXTRA_ALL_TARGETS=''
EXTRA_BIN_PROGS=''
EXTRA_SBIN_PROGS=''
FLAGS1=''
GREP=''
HAVE_SOCKET_WRAPPER=''
HOST_OS=''
IDMAP_LIBS=''
IDMAP_MODULES=''
IDMAP_STATIC=''
INIPARSERLIBS=''
INSTALLLIBCMD_A=''
INSTALLLIBCMD_SH=''
INSTALL_CIFSMOUNT=''
INSTALL_DATA=''
INSTALL_LIBADDNS=''
INSTALL_LIBMSRPC=''
INSTALL_LIBSMBCLIENT=''
INSTALL_LIBSMBSHAREMODES=''
INSTALL_PAM_MODULES=''
INSTALL_PROGRAM=''
INSTALL_SCRIPT=''
KRB5CONFIG=''
KRB5_LIBS=''
LDAP_LIBS=''
LDBLDAP=''
LDFLAGS=''
LDSHFLAGS=''
LIBADDNS=''
LIBADDNS_SHARED=''
LIBDL=''
LIBMSRPC=''
LIBMSRPC_SHARED=''
LIBOBJS=''
LIBREPLACEOBJ='replace.o'
LIBREPLACE_OBJS=''
LIBS=''
LIBSMBCLIENT=''
LIBSMBCLIENT_SHARED=''
LIBSMBSHAREMODES=''
LIBSMBSHAREMODES_SHARED=''
LIBUNWIND_PTRACE=''
LTLIBOBJS=''
NSCD_LIBS=''
NSSSONAMEVERSIONSUFFIX=''
NSS_INFO_MODULES=''
NSS_INFO_STATIC=''
NSS_MODULES=''
OBJEXT=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PAM_MODULES=''
PASSDB_LIBS=''
PATH_SEPARATOR=':'
PDB_MODULES=''
PDB_STATIC=''
PERL=''
PICFLAG=''
PIDL_ARGS=''
PIE_CFLAGS=''
PIE_LDFLAGS=''
POPTLIBS=''
PRINT_LIBS=''
PYTHON=''
ROFF=''
RPC_MODULES=''
RPC_STATIC=''
SAMBA_CPPFLAGS='-Iinclude -I./include  -I. -I. -I./lib/replace -I./lib/talloc -I./tdb/include -I./libaddns -I./librpc'
SHELL='/bin/bash'
SHLD=''
SHLIBEXT=''
SMBD_LIBS=''
SMBLDAP=''
SMBLDAPUTIL=''
SMBMOUNT_PROGS=''
SMB_FAM_LIBS=''
SMB_KRB5_LOCATOR=''
SOCKET_WRAPPER_OBJS=''
SONAMEFLAG=''
TERMLDFLAGS=''
TERMLIBS=''
UNINSTALLLIBCMD_A=''
UNINSTALLLIBCMD_SH=''
UNINSTALL_CIFSMOUNT=''
UNINSTALL_LIBADDNS=''
UNINSTALL_LIBMSRPC=''
UNINSTALL_LIBSMBCLIENT=''
UNINSTALL_LIBSMBSHAREMODES=''
UNINSTALL_PAM_MODULES=''
UUID_LIBS=''
VFS_MODULES=''
VFS_STATIC=''
WINBIND_NSS=''
WINBIND_NSS_EXTRA_LIBS=''
WINBIND_NSS_EXTRA_OBJS=''
WINBIND_NSS_LDSHFLAGS=''
WINBIND_WINS_NSS=''
ac_ct_CC='gcc'
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnulibc1'
build_alias=''
build_cpu='i686'
build_os='linux-gnulibc1'
build_vendor='pc'
builddir=''
configdir='${LIBDIR}'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='NONE'
host='i686-pc-linux-gnulibc1'
host_alias=''
host_cpu='i686'
host_os='linux-gnulibc1'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
libreplace_cv_immediate_structures=''
libreplacedir='./lib/replace'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
lockdir='${VARDIR}/locks'
logfilebase='${VARDIR}'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
pammodulesdir='${LIBDIR}/security'
pdfdir='${docdir}'
piddir='${VARDIR}/locks'
precompiled_headers=''
prefix='NONE'
privatedir='${prefix}/private'
program_transform_name='s,x,x,'
psdir='${docdir}'
rootsbindir='${SBINDIR}'
sbindir='${exec_prefix}/sbin'
selftest_prefix=''
sharedstatedir='${prefix}/com'
smbtorture4_path=''
swatdir='${prefix}/swat'
sysconfdir='${prefix}/etc'
target='i686-pc-linux-gnulibc1'
target_alias=''
target_cpu='i686'
target_os='linux-gnulibc1'
target_vendor='pc'

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define CONFIG_H_IS_FROM_SAMBA 1

configure: exit 77