Jump to content

samba4


crp

Recommended Posts

Anyone here have it installed? I can not get it to install.

I used the git to dl the project,

./configure --enable-debug --enable-selftest says it did fine.

 

but the make install won't.

[ 230/4139] Compiling source4/heimdal/lib/com_err/lex.c

[ 231/4139] Compiling source4/heimdal/lib/com_err/compile_et.c

[ 232/4139] Linking default/source4/heimdal_build/asn1_compile.inst

[ 233/4139] Linking default/source4/heimdal_build/compile_et.inst

[ 234/4139] Compiling ASN1 source4/heimdal/lib/asn1/kx509.asn1

/bin/sh: /home/bitnami/samba-master/bin/asn1_compile: No such file or directory

Waf: Leaving directory `/home/bitnami/samba-master/bin'

Build failed: -> task failed (err #127):

{task: HEIMDAL_KX509_ASN1_ASN1 kx509.asn1 -> asn1_kx509_asn1.x,kx509_asn1.hx,kx509_asn1-priv.hx}

make: *** [install] Error 1

 

Could not find anything concrete in searching the web on this :(

 

@rh5 samba-master]# ls -l source4/heimdal/lib/asn1/kx509.asn1

-rw-rw-r-- 1 bitnami bitnami 662 Dec 17 14:11 source4/heimdal/lib/asn1/kx509.asn1

 

@rh5 samba-master]# ls -l bin

total 12396

drwxr-xr-x 2 root root 4096 Dec 17 14:58 c4che

-rw-r--r-- 1 root root 12632588 Dec 17 16:33 config.log

drwxrwxr-x 23 bitnami bitnami 4096 Dec 17 14:59 default

drwxrwxr-x 11 bitnami bitnami 4096 Dec 17 14:59 modules

drwxrwxr-x 3 bitnami bitnami 4096 Dec 17 14:59 python

lrwxrwxrwx 1 root root 64 Dec 17 14:59 samba_dnsupdate -> /home/bitnami/samba-master/source4/scripting/bin/samba_dnsupdate

lrwxrwxrwx 1 root root 58 Dec 17 14:59 samba_kcc -> /home/bitnami/samba-master/source4/scripting/bin/samba_kcc

lrwxrwxrwx 1 root root 64 Dec 17 14:59 samba_spnupdate -> /home/bitnami/samba-master/source4/scripting/bin/samba_spnupdate

lrwxrwxrwx 1 root root 59 Dec 17 14:59 samba-tool -> /home/bitnami/samba-master/source4/scripting/bin/samba-tool

lrwxrwxrwx 1 root root 65 Dec 17 14:59 samba_upgradedns -> /home/bitnami/samba-master/source4/scripting/bin/samba_upgradedns

lrwxrwxrwx 1 root root 71 Dec 17 14:59 samba_upgradeprovision -> /home/bitnami/samba-master/source4/scripting/bin/samba_upgradeprovision

drwxrwxr-x 3 bitnami bitnami 4096 Dec 17 16:03 shared

Link to comment
Share on other sites

Guest LilBambi

Please provide the distro, version, whether the distro is current on updates, Desktop environment/GUI.

 

Anything else folks?

 

Looks like Red Hat 5, if so, the stable release is 5.8 or 6.3.

Link to comment
Share on other sites

Please provide the distro, version, whether the distro is current on updates, Desktop environment/GUI.

 

Anything else folks?

 

Looks like Red Hat 5, if so, the stable release is 5.8 or 6.3.

woops :wub: had it the clipboard , forgot to paste. :bangin:

CentOS Linux 5.8 2.6.18-274.17.1.el5.centos.plusxen #1 SMP Wed Jan 11 11:44:32 EST 2012 x86_64 x86_64 x86_64 GNU/Linux

python is

Arch : x86_64

Version : 2.4.3

Release : 46.el5_8.2

 

 

 

and to make things more confusing,

make test got through the whole thing - or did it?

Waf: Leaving directory `/home/bitnami/samba-master/bin'

'build' finished successfully (24m10.995s)

test: running (/usr/bin/perl /home/bitnami/samba-master/selftest/selftest.pl --target=samba --prefix=./st --srcdir=/home/bitnami/samba-master --exclude=/home/bitnami/samba-master/selftest/skip --testlist="/usr/bin/python /home/bitnami/samba-master/selftest/tests.py|" --testlist="/usr/bin/python /home/bitnami/samba-master/source3/selftest/tests.py|" --testlist="/usr/bin/python /home/bitnami/samba-master/source4/selftest/tests.py|" --binary-mapping=nmblookup3:nmblookup,nmblookup4:nmblookup4,smbclient3:smbclient,smbclient4:smbclient4,smbtorture4:smbtorture,ntlm_auth3:ntlm_auth --exclude=/home/bitnami/samba-master/selftest/slow --socket-wrapper && touch ./st/st_done) | /usr/bin/python -u /home/bitnami/samba-master/selftest/filter-subunit --expected-failures=/home/bitnami/samba-master/selftest/knownfail --flapping=/home/bitnami/samba-master/selftest/flapping | tee ./st/subunit | /usr/bin/python -u /home/bitnami/samba-master/selftest/format-subunit --prefix=./st --immediate

Traceback (most recent call last):

File "/home/bitnami/samba-master/selftest/format-subunit", line 15, in ?

import subunithelper

File "/home/bitnami/samba-master/selftest/subunithelper.py", line 22, in ?

import subunit

File "/home/bitnami/samba-master/selftest/../lib/subunit/python/subunit/__init__.py", line 130, in ?

from testtools import content, content_type, ExtendedToOriginalDecorator

File "/home/bitnami/samba-master/selftest/../lib/testtools/testtools/__init__.py", line 37, in ?

from testtools.matchers._impl import (

File "/home/bitnami/samba-master/selftest/../lib/testtools/testtools/matchers/__init__.py", line 55

from ._basic import (

^

SyntaxError: invalid syntax

Traceback (most recent call last):

File "/home/bitnami/samba-master/selftest/filter-subunit", line 29, in ?

import subunithelper

File "/home/bitnami/samba-master/selftest/subunithelper.py", line 22, in ?

import subunit

File "/home/bitnami/samba-master/selftest/../lib/subunit/python/subunit/__init__.py", line 130, in ?

from testtools import content, content_type, ExtendedToOriginalDecorator

File "/home/bitnami/samba-master/selftest/../lib/testtools/testtools/__init__.py", line 37, in ?

from testtools.matchers._impl import (

File "/home/bitnami/samba-master/selftest/../lib/testtools/testtools/matchers/__init__.py", line 55

from ._basic import (

^

SyntaxError: invalid syntax

Exiting early because of SIGPIPE.

ERROR: test failed with exit code 1

make: *** [test] Error 1

Link to comment
Share on other sites

Guest LilBambi

Thanks for posting the specs and that confusing build list! LOL!

 

Hopefully someone can help! I have only needed to compile one thing since I started using linux so I am not that person. ;)

Link to comment
Share on other sites

crp,

 

Are you aware that Samba is in the CentOS repos? Are you compiling from source because you want to? If so, disregard this. However, if you want to get Samba installed the easy way:

yepp, i am aware. unfortunately, CentOS is not :)

yum install samba

Loaded plugins: allowdowngrade, changelog, fastestmirror, kernel-module,

: versionlock

Loading mirror speeds from cached hostfile

* base: mirror.spro.net

* epel: linux.mirrors.es.net

* extras: mirror.stanford.edu

* updates: mirror.web-ster.com

Reading version lock configuration

Setting up Install Process

Package samba-3.0.33-3.39.el5_8.x86_64 already installed and latest version

Nothing to do

Link to comment
Share on other sites

Guest LilBambi

Ah, you want the current stable release of Samba 4.0.0 for new features noted in Release Notes or are you using the latest stable update to 3.5.20 noted here.

 

There is no way to know that from what you have posted so far.

 

However, both Samba 4.0.0 and 3.5.20 are versions that are being updated. The 3.5.20 was updated last this month based on the history page.

 

However, sadly neither of those current versions are available in the repos for CentOS apparently?

Edited by LilBambi
Link to comment
Share on other sites

UPDATE: i did a git pull about 1:45pm Pacific , and it updated 3 files. On a whim, i did make install and got much farther,

Waf: Leaving directory `/home/bitnami/samba-master/bin'

'install' finished successfully (9m23.905s)

 

However, I am going to a yum'ie that was mentioned in of the pages Eric pointed to. If it does an update then I think i'll do the configure&make for samba4 again.

 

okay, so yum install libacl-devel e2fsprogs-devel gnutls-devel readline-devel python-devel gdb pkgconfig gcc

resulted in

Dependencies Resolved

 

================================================================================

Package Arch Version Repository Size

================================================================================

Installing:

e2fsprogs-devel i386 1.39-34.el5_8.1 updates 575 k

gdb x86_64 7.0.1-42.el5.centos.1 updates 2.4 M

gnutls-devel i386 1.4.1-7.el5_8.2 updates 916 k

libacl-devel i386 2.2.39-8.el5 base 81 k

libacl-devel x86_64 2.2.39-8.el5 base 82 k

readline-devel i386 5.1-3.el5 base 146 k

readline-devel x86_64 5.1-3.el5 base 159 k

Installing for dependencies:

libattr-devel x86_64 2.4.32-1.1 base 34 k

libtermcap-devel x86_64 2.0.8-46.1 base 56 k

 

Transaction Summary

================================================================================

Install 9 Package(s)

Upgrade 0 Package(s)

 

My guess is that they are not required but most helpful in getting samba4 to be able to its work to the utmost.

So , i'm letting it rip.

Edited by crp
  • Like 1
Link to comment
Share on other sites

:rant: recall a few weeks ago someone posted a comment to an old link about how linux is not suitable for businesses? well, here is further proof of the concept. All the yums were run, configuration was done and make was done successfully.

Now time to use it:

[root@rh5 tmp]# /usr/local/samba/bin/samba-tool domain provision
ERROR(exceptions.TypeError): uncaught exception - __init__() got an unexpected keyword argument 'epilog'
File "/usr/local/samba/bin/samba-tool", line 45, in ?
retval = cmd._run("samba-tool", subcommand, *args)
File "/usr/local/samba/lib64/python2.4/site-packages/samba/netcmd/__init__.py", line 201, in _run
return self.subcommands[subcommand]._run(
File "/usr/local/samba/lib64/python2.4/site-packages/samba/netcmd/__init__.py", line 201, in _run
return self.subcommands[subcommand]._run(
File "/usr/local/samba/lib64/python2.4/site-packages/samba/netcmd/__init__.py", line 142, in _run
parser, optiongroups = self._create_parser(argv[0])
File "/usr/local/samba/lib64/python2.4/site-packages/samba/netcmd/__init__.py", line 130, in _create_parser
prog=prog,epilog=epilog)

:angry: :angry2:

[root@rh5 tmp]# /usr/local/samba/bin/samba-tool --help
ERROR(exceptions.TypeError): uncaught exception - __init__() got an unexpected keyword argument 'epilog'
 File "/usr/local/samba/bin/samba-tool", line 45, in ?
   retval = cmd._run("samba-tool", subcommand, *args)
 File "/usr/local/samba/lib64/python2.4/site-packages/samba/netcmd/__init__.py", line 215, in _run
   parser, optiongroups = self._create_parser(myname, epilog=epilog)
 File "/usr/local/samba/lib64/python2.4/site-packages/samba/netcmd/__init__.py", line 130, in _create_parser
   prog=prog,epilog=epilog)

Edited by crp
Link to comment
Share on other sites

At this point I think the reason there is no RPM for CentOS is due to the CentOS refusing to put up with garbage.

I just re-ran the make with the debug flag and it is incredible how many warnings and misconfigurations there are. I'm disappointed that the make created an installation with all these problems.

 

This samba4 was supposed to be ready for users to use. It is not.

Link to comment
Share on other sites

No CentOS5.8 is not considered 'dead', it is quite alive in the distro.

CentOS6 came out before it was ready and they did a fair amount of fixing up and inflating the minor version number.

 

I am going to try to install VirtualBox and then the Zentyal which i found linked to from one of Eric's links.

Too bad Xen can't do KVM images. oh well.

Edited by crp
Link to comment
Share on other sites

V.T. Eric Layton

Well, CentOS is not up to date yet either right? Isn't the current version like 6.5 or something?

 

Regardless of that, Samba is NOT in the repos for any version after 5.8.

Link to comment
Share on other sites

VirtualBox is great. Good choice.

Really? I don't think so ....

the VirtualBox installed just fine, but when I tried to run a vm it failed and said to run the setup again.

[root@rh5 bitnami]# /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel modules						 [ OK ]
Recompiling VirtualBox kernel modules					 [FAILED]
(Look at /var/log/vbox-install.log to find out what went wrong)
[root@rh5 bitnami]# cat /var/log/vbox-install.log
Makefile:181: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop.

so while perhaps linux itself is not to blame, the Linux Infrastructure just stinks.

I'm supposed to be a user/admin not a programmer on this.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...