Compiling Error in Samba 3.4.1 on Solaris 10


 
Thread Tools Search this Thread
Operating Systems Solaris Compiling Error in Samba 3.4.1 on Solaris 10
# 1  
Old 09-24-2010
Data 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.

Code:
#./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

Last edited by Scott; 09-24-2010 at 01:26 PM.. Reason: Please use code tags
# 2  
Old 09-24-2010
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:

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

# 3  
Old 09-24-2010
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
# 4  
Old 09-24-2010
sathya47, you have to edit autogen.sh and replace every occurrence of "which" with "ksh whence". Then try again to run autogen.sh
This User Gave Thanks to hergp For This Post:
# 5  
Old 09-24-2010
Thanks hergp.
Edited the autogen.sh.That error was rectified.
Now getting another error,

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


Last edited by Scott; 09-24-2010 at 01:27 PM.. Reason: Code tags
# 6  
Old 09-24-2010
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.
This User Gave Thanks to hergp For This Post:
# 7  
Old 09-24-2010
Hergp,

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

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

How to install this?

Plz....help me
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Compiling Samba 4.4.5

I am running Fedora V21 and had their default Samba installed. But I wanted to put up a PDC with ADS, so I uninstalled samba and down loaded the Samba 4.4.5 source along with the Kerberos devel kit etc. I then configured and compiled etc and it indicated it was successful. But I can't load the... (0 Replies)
Discussion started by: griffinmt
0 Replies

2. UNIX Benchmarks

error compiling bm software under Solaris 10

anyone tried it , under Solaris 10 using make (part of SUNWsprot) and gcc 4.6 compiler.. got an error complaining about the Makefile script syntax... I don't think that's compatible at all... (2 Replies)
Discussion started by: ppchu99
2 Replies

3. UNIX for Dummies Questions & Answers

Compiling samba problem

People i download the lastest version of samba i`am tryng to compile it in a solaris 9 i'm reading the how to of samba, i am in the first step making the autogen.sh but show me this when i do ./autogen.sh ./autogen.sh: running script/mkversion.sh ./script/mkversion.sh: 'include/version.h'... (0 Replies)
Discussion started by: enkei17
0 Replies

4. Programming

Sun Solaris C++ Compiling Error

Hello. I'm using SunStudio 12 Update 1. When compiling for x86, everything works fine. When compiling for SPARC, I get the following errors. I linked libCstd.so.1 explicitly, but I get the same errors. Would anyone be kind enough to step me through resolving this? Thank you very much. **... (2 Replies)
Discussion started by: acheong87
2 Replies

5. Solaris

Problem compiling Samba 3.5.1 on Solaris 10 with gcc (3.4.6)

I'm getting this error when 'Linking shared library bin/libtalloc.so.2'... anyone know what's up here? Using CFLAGS = -O -I. -I/source/samba-3.5.1/source3 -I/source/samba-3.5.1/source3/../lib/popt -I/source/samba-3.5.1/source3/iniparser/src -Iinclude -I./include -I. -I. -I./../lib/replace... (6 Replies)
Discussion started by: son_t
6 Replies

6. AIX

Compiling samba from source in AIX 5.3

Hello all. I have never had any issues like this when compiling applications from source. When I try to compile samba-3.5.0pre2, configure runs with no issues, but when the time comes to make, this happens: make: make 1254-025 There must be an existing description file or specify a target. ... (4 Replies)
Discussion started by: raidzero
4 Replies

7. Solaris

Samba Compiling questions

OS: Solaris 10 I downloaded a binary from samba.org (3.0.24) I extracted the file and ran the following command: # ./configure --prefix=/usr/sfw --with-configdir=/etc/sfw --with-winbind Now I am trying to understand the compile process but I can't find many answers online ... (10 Replies)
Discussion started by: Keepcase
10 Replies

8. AIX

Compiling samba 3.0.27a under AIX

Compiling samba 3.0.27a under AIX I try to compile Samba 3.0.27a under AIX with LDAP and KErberos. The configure work fine: CFLAGS: -I/opt/pware/include -I/opt/pware/lib/ -I/opt/pware/open_ldap_exec/lib/ -I/software/samba/oldap/usr/lib -I/software/samba/oldap/usr/include ./configure... (2 Replies)
Discussion started by: BenediktS
2 Replies

9. UNIX and Linux Applications

Compiling samba 3.0.27a under AIX

I try to compile Samba 3.0.27a under AIX with LDAP and KErberos. The configure work fine: CFLAGS: -I/opt/pware/include -I/opt/pware/lib/ -I/opt/pware/open_ldap_exec/lib/ -I/software/samba/oldap/usr/lib -I/software/samba/oldap/usr/include ./configure --prefix=/opt/pware/samba/3.0.27a... (1 Reply)
Discussion started by: BenediktS
1 Replies

10. Solaris

Error on compiling php for GD on SOLARIS 10

Hi everyone, I have SUn E250 server running solaris 10. I have installed apache 2 + MySQL + PHP-5.1.4 following the guidelines on this website http://meljr.com/~meljr/AMPSolaris10.html Excellent document for first time installation. Now, because I wanted to use Coppermine Photo Gallery, I... (9 Replies)
Discussion started by: callingrohit
9 Replies
Login or Register to Ask a Question