Compiling Error in Samba 3.4.1 on Solaris 10

Hi all,

I am getting the following error While installing Samba 3.4.1 on Solaris 10.

#./autogen.sh
./autogen.sh : autoheader : not found
./autogen.sh : test : argument expected

Please help me as I am in a critical state of the project.

Warm regards,
Sathya

It seems you hit Bug 5061831 (/usr/bin/which always returns 0).

The suggested workaround in the bug database is to replace all calls to which in der Script with the kornshell's whence command:

...
for i in $TESTAUTOHEADER; do
        if ksh whence $i > /dev/null 2>&1; then
                if test ...
...

Hi hergp,

Thanks for replying.
But I am new to Unix.
Can u explain in detail what to do next to get it installed...

Warm Regards,
Sathya

sathya47, you have to edit autogen.sh and replace every occurrence of "which" with "ksh whence". Then try again to run autogen.sh

1 Like

Thanks hergp.
Edited the autogen.sh.That error was rectified.
Now getting another error,

./autogen.sh need autoconf 2.53 or later to build Samba from GIT.

Well, the message says it all - you need to install autoconf to proceed.

But why don't you install pre-built packages from Sunfreeware? They have samba 3.4.2 ready to install. Go to Sunfreeware - Free and Open Source Software (FOSS) for Sun Microsystem's Solaris , pick Solaris SPARC or x86 and download samba and the other packages samba depends on. It's much easier if you are not so experienced and do not need a specially customized configuration.

1 Like

Hergp,

The machine is in isolated network.So,I am unable to download the file from there :frowning:

I do have the file autoconf-2.60.m4 in samba-3.4.1/lib/replace.

How to install this?

Plz....help me

I'm pretty sure the default Solaris 10 install includes a version of Samba, probably under /usr/sfw somewhere.

I assume your server is at least connected to a local network... Unless you are sitting right in front of the machine with the network cables unplugged.

You can download the packages from a different computer (like your PC for example) and copy them through ftp/scp/etc.

Hi,

The default version(3.0.2) which comes with Solaris 10 doesn't supports Windows 2008 R2-Unix integration.
We dont have download rights in our network.
So,I got the download for samba 3.4.1 from our computer division team.
I have to proceed only with that download.
So plz help in installing samba 3.4.1

Hi,

Soory i don't see you last post. forget my post :open_mouth: