View previous topic :: View next topic |
Author |
Message |
_easyrider_ Apprentice
Joined: 02 May 2003 Posts: 238 Location: Denmark
|
Posted: Fri Oct 02, 2009 7:05 am Post subject: Can't emerge/install samba "SOLVED" |
|
|
I try to emerge samba but the compiler fails.
Can somebody help me
I got from the log file
Code: |
Compiling rpc_server/srv_pipe_hnd.c
Compiling rpc_server/srv_pipe.c
Compiling rpc_server/srv_lsa_hnd.c
Compiling rpc_parse/parse_lsa.c
Compiling rpc_parse/parse_rpc.c
Compiling rpc_parse/parse_net.c
Compiling rpc_parse/parse_srv.c
Compiling rpc_parse/parse_samr.c
Compiling rpc_parse/parse_ds.c
Compiling rpc_parse/parse_spoolss.c
Compiling rpc_parse/parse_eventlog.c
Compiling rpc_parse/parse_buffer.c
Compiling rpc_parse/parse_ntsvcs.c
Compiling rpc_parse/parse_svcctl.c
Compiling registry/reg_objects.c
Compiling rpc_parse/parse_dfs.c
Compiling rpc_parse/parse_reg.c
Compiling rpc_parse/parse_echo.c
Compiling rpc_parse/parse_shutdown.c
Compiling passdb/secrets.c
Compiling passdb/machine_sid.c
Compiling locking/locking.c
Compiling locking/brlock.c
Compiling locking/posix.c
Compiling passdb/pdb_get_set.c
Compiling passdb/passdb.c
Compiling passdb/pdb_interface.c
Compiling passdb/util_wellknown.c
Compiling passdb/util_builtin.c
Compiling passdb/pdb_compat.c
Compiling passdb/util_unixsids.c
Compiling passdb/lookup_sid.c
Compiling passdb/login_cache.c
Compiling passdb/pdb_ldap.c
Compiling passdb/pdb_nds.c
Compiling passdb/pdb_smbpasswd.c
Compiling passdb/pdb_tdb.c
Compiling lib/account_pol.c
Compiling lib/privileges.c
Compiling lib/util_nscd.c
Compiling printing/pcap.c
Compiling printing/print_svid.c
Compiling printing/print_aix.c
Compiling printing/print_cups.c
Compiling printing/print_generic.c
Compiling printing/lpq_parse.c
Compiling printing/load.c
Compiling printing/print_iprint.c
Compiling printing/print_test.c
Compiling profile/profile.c
Compiling lib/replace/replace.c
Compiling lib/replace/snprintf.c
Compiling lib/socket_wrapper/socket_wrapper.c
Compiling lib/talloc/talloc.c
Compiling lib/version.c
Compiling lib/charcnv.c
Compiling lib/debug.c
Compiling lib/fault.c
Compiling lib/interface.c
Compiling lib/md4.c
Compiling lib/interfaces.c
Compiling lib/pidfile.c
Compiling lib/signal.c
Compiling lib/system.c
Compiling lib/sendfile.c
Compiling lib/time.c
Compiling lib/ufc.c
Compiling lib/genrand.c
Compiling lib/username.c
Compiling lib/util_pw.c
Compiling lib/access.c
Compiling lib/smbrun.c
Compiling lib/bitmap.c
Compiling lib/crc32.c
Compiling lib/dprintf.c
Compiling lib/xfile.c
Compiling lib/wins_srv.c
Compiling lib/util_str.c
Compiling lib/clobber.c
Compiling lib/util_sid.c
Compiling lib/util_uuid.c
Compiling lib/util_unistr.c
Compiling lib/util_file.c
Compiling lib/data_blob.c
Compiling lib/util.c
Compiling lib/util_sock.c
Compiling lib/sock_exec.c
Compiling lib/util_sec.c
Compiling lib/substitute.c
Compiling lib/fsusage.c
Compiling lib/ms_fnmatch.c
Compiling lib/select.c
Compiling lib/messages.c
Compiling lib/tallocmsg.c
Compiling lib/dmallocmsg.c
Compiling libsmb/smb_signing.c
Compiling lib/md5.c
Compiling lib/hmacmd5.c
Compiling lib/arc4.c
Compiling lib/iconv.c
Compiling nsswitch/wb_client.c
Compiling nsswitch/wb_common.c
Compiling lib/pam_errors.c
Compiling intl/lang_tdb.c
Compiling lib/adt_tree.c
Compiling lib/gencache.c
Compiling tdb/common/tdb.c
Compiling tdb/common/dump.c
Compiling tdb/common/error.c
Compiling tdb/common/freelist.c
Compiling tdb/common/freelistcheck.c
Compiling tdb/common/io.c
Compiling tdb/common/lock.c
Compiling tdb/common/open.c
Compiling tdb/common/transaction.c
Compiling tdb/common/traverse.c
Compiling lib/util_tdb.c
Compiling tdb/common/tdbback.c
Compiling lib/module.c
Compiling lib/events.c
Compiling lib/ldap_escape.c
Compiling lib/secdesc.c
Compiling lib/util_seaccess.c
Compiling lib/secace.c
Compiling lib/secacl.c
Compiling libads/krb5_errs.c
Compiling lib/system_smbd.c
Compiling lib/audit.c
Compiling printing/printing.c
Compiling printing/nt_printing.c
Compiling printing/notify.c
Compiling printing/printing_db.c
Compiling smbd/oplock.c
Compiling smbd/oplock_irix.c
Compiling smbd/oplock_linux.c
Compiling smbd/notify.c
Compiling smbd/notify_inotify.c
Compiling smbd/notify_internal.c
Compiling groupdb/mapping.c
Compiling groupdb/mapping_tdb.c
Compiling auth/auth.c
Compiling auth/auth_sam.c
Compiling auth/auth_unix.c
Compiling auth/auth_winbind.c
Compiling auth/auth_server.c
Compiling auth/auth_domain.c
Compiling auth/auth_builtin.c
Compiling auth/auth_util.c
Compiling auth/auth_compat.c
Compiling auth/auth_ntlmssp.c
Compiling auth/pampass.c
Compiling auth/pass_check.c
Compiling libsmb/samlogon_cache.c
Compiling libsmb/namequery_dc.c
Compiling libsmb/trustdom_cache.c
Compiling libsmb/trusts_util.c
Compiling rpc_client/cli_lsarpc.c
Compiling rpc_client/cli_samr.c
Compiling rpc_client/cli_netlogon.c
Compiling rpc_client/cli_srvsvc.c
Compiling rpc_client/cli_reg.c
Compiling rpc_client/cli_pipe.c
Compiling rpc_client/cli_spoolss.c
Compiling rpc_client/cli_spoolss_notify.c
Compiling rpc_client/cli_ds.c
Compiling rpc_client/cli_svcctl.c
Compiling rpc_client/cli_shutdown.c
Compiling rpc_client/cli_dfs.c
Compiling rpc_client/cli_echo.c
Compiling librpc/gen_ndr/cli_wkssvc.c
Compiling librpc/gen_ndr/ndr_wkssvc.c
Compiling librpc/gen_ndr/ndr_notify.c
Compiling librpc/ndr/ndr_basic.c
Compiling librpc/ndr/ndr.c
Compiling librpc/ndr/ndr_misc.c
Compiling librpc/ndr/ndr_sec_helper.c
Compiling librpc/ndr/ndr_string.c
Compiling librpc/ndr/sid.c
Compiling rpc_client/ndr.c
Compiling libads/ldap.c
Compiling libads/ldap_printer.c
Compiling libads/sasl.c
Compiling libads/krb5_setpw.c
Compiling libads/ldap_user.c
Compiling libads/ads_struct.c
Compiling libads/kerberos_keytab.c
Compiling libads/disp_sec.c
Compiling libads/ads_utils.c
Compiling libads/ldap_utils.c
Compiling libads/authdata.c
Compiling libads/cldap.c
Compiling libads/util.c
Compiling libads/kerberos.c
Compiling libads/ads_status.c
Compiling libads/kerberos_verify.c
Compiling libads/ldap_schema.c
Compiling registry/reg_frontend.c
Compiling registry/reg_cachehook.c
Compiling registry/reg_printing.c
Compiling registry/reg_db.c
Compiling registry/reg_eventlog.c
Compiling registry/reg_shares.c
Compiling registry/reg_util.c
Compiling registry/reg_dynamic.c
Compiling registry/reg_perfcount.c
Compiling lib/popt_common.c
Compiling smbd/build_options.c
Compiling lib/smbldap.c
Compiling lib/smbldap_util.c
Compiling smbd/server.c
mkdir bin
Linking bin/smbd
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: warning: libgnutls.so.13, needed by /usr/lib/libcups.so, not found (try using -rpath or -rpath-link)
/usr/lib/libcups.so: undefined reference to `gnutls_record_check_pending@GNUTLS_1_3'
/usr/lib/libcups.so: undefined reference to `gnutls_record_send@GNUTLS_1_3'
/usr/lib/libcups.so: undefined reference to `gnutls_init@GNUTLS_1_3'
/usr/lib/libcups.so: undefined reference to `gnutls_set_default_priority@GNUTLS_1_3'
/usr/lib/libcups.so: undefined reference to `gnutls_transport_set_push_function@GNUTLS_1_3'
/usr/lib/libcups.so: undefined reference to `gnutls_transport_set_pull_function@GNUTLS_1_3'
/usr/lib/libcups.so: undefined reference to `gnutls_certificate_allocate_credentials@GNUTLS_1_3'
/usr/lib/libcups.so: undefined reference to `gnutls_record_recv@GNUTLS_1_3'
/usr/lib/libcups.so: undefined reference to `gnutls_handshake@GNUTLS_1_3'
/usr/lib/libcups.so: undefined reference to `gnutls_deinit@GNUTLS_1_3'
/usr/lib/libcups.so: undefined reference to `gnutls_global_init@GNUTLS_1_3'
/usr/lib/libcups.so: undefined reference to `gnutls_credentials_set@GNUTLS_1_3'
/usr/lib/libcups.so: undefined reference to `gnutls_transport_set_ptr@GNUTLS_1_3'
/usr/lib/libcups.so: undefined reference to `gnutls_bye@GNUTLS_1_3'
/usr/lib/libcups.so: undefined reference to `gnutls_certificate_free_credentials@GNUTLS_1_3'
collect2: ld returned 1 exit status
make: *** [bin/smbd] Error 1
*
* ERROR: net-fs/samba-3.0.36 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 4065: Called die
* The specific snippet of code:
* emake -j1 everything || die "emake everything failed";
* The die message:
* emake everything failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/net-fs/samba-3.0.36/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-fs/samba-3.0.36/temp/environment'.
|
Last edited by _easyrider_ on Fri Oct 02, 2009 11:31 am; edited 1 time in total |
|
Back to top |
|
|
Sadako Advocate
Joined: 05 Aug 2004 Posts: 3792 Location: sleeping in the bathtub
|
Posted: Fri Oct 02, 2009 7:33 am Post subject: |
|
|
Looks like a gnutls upgrade broke cups, I have the stable 2.8.3 version installed which provides libgnutls.so.26, but your cups library expects libgnutls.so.13...
Odds are other things may be broken here, so you could just re-emerge cups however using revdep-rebuild is strongly recommended. _________________ "You have to invite me in" |
|
Back to top |
|
|
_easyrider_ Apprentice
Joined: 02 May 2003 Posts: 238 Location: Denmark
|
Posted: Fri Oct 02, 2009 8:46 am Post subject: |
|
|
I will try to re-emerge cups and get back to you. |
|
Back to top |
|
|
_easyrider_ Apprentice
Joined: 02 May 2003 Posts: 238 Location: Denmark
|
Posted: Fri Oct 02, 2009 11:31 am Post subject: |
|
|
After emerging cups - i could emerge samba without any problems.
Thanks alot |
|
Back to top |
|
|
Sadako Advocate
Joined: 05 Aug 2004 Posts: 3792 Location: sleeping in the bathtub
|
Posted: Fri Oct 02, 2009 6:41 pm Post subject: |
|
|
_easyrider_ wrote: | After emerging cups - i could emerge samba without any problems.
Thanks alot | That's great, but I'd still recommend running revdep-rebuild... _________________ "You have to invite me in" |
|
Back to top |
|
|
_easyrider_ Apprentice
Joined: 02 May 2003 Posts: 238 Location: Denmark
|
Posted: Fri Oct 02, 2009 8:38 pm Post subject: |
|
|
One problem there, because i can't run the revdep command. It says it can't find the program.
Should i install/emerge something before i can run the tool?? |
|
Back to top |
|
|
Sadako Advocate
Joined: 05 Aug 2004 Posts: 3792 Location: sleeping in the bathtub
|
Posted: Fri Oct 02, 2009 8:53 pm Post subject: |
|
|
_easyrider_ wrote: | One problem there, because i can't run the revdep command. It says it can't find the program.
Should i install/emerge something before i can run the tool?? | Oh yeah, sorry, I just assumed you had it, keep forgetting it's not actually a base package.
You'll need to emerge app-portage/gentoolkit, sorry about that. _________________ "You have to invite me in" |
|
Back to top |
|
|
_easyrider_ Apprentice
Joined: 02 May 2003 Posts: 238 Location: Denmark
|
Posted: Fri Oct 02, 2009 8:58 pm Post subject: |
|
|
Heh it's okay.
That's why i love gentoo and this forum. Allway somebody that can help |
|
Back to top |
|
|
|