Operating System - HP-UX
1753977 Members
7625 Online
108811 Solutions
New Discussion

How to compile Samba on HP-UX (IA64)

 
O_T
Occasional Advisor

How to compile Samba on HP-UX (IA64)

Hi there.

I'm trying to run Samba on HP-UX (IA64), but I can't compile Samba source.

I have this following packages:

Samba 3.0.11
libiconv 1.9.1
HP-UX 11.23 (IA64)

"configure" process is ok.
At "make" process, I encounters the parsing error.

Do you have information how to compile Samba on HP-UX (IA64)?

--
Osamu Takeuc
9 REPLIES 9
G. Vrijhoeven
Honored Contributor

Re: How to compile Samba on HP-UX (IA64)

Hi Osamu,

This is not an answer to your question, but it might help you if you are not depending on the new features of 3.0.11.

Here you can get a preconigured SAMBA ( CIFS) version. I am afraid it is based on 3.0.7.
http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B8725AA

The next link is the sources and the depot ( compiled) for version 3.0.10 ...
http://hpux.connect.org.uk/hppd/hpux/Networking/Misc/samba-3.0.10/


HTH,

Gideon

O_T
Occasional Advisor

Re: How to compile Samba on HP-UX (IA64)

Hi Gideon.
Thank you for the answer.

To tell the truth, I want to use Samba recyce-bin function.

In HP CIFS Serverï¼ "vfs objects = recycle" or "vfs object = /xxx/xxx/recycle.so" parameter cannot be used on smb.conf.

Therefore, I requested the means: How to compile Samba original source, to take out the recycle.so object.

However, The compiled depot (version 3.0.10/3.0.8) didn't contain the recycle.so object.

Is there no means to use the recycle-bin functi
Stephen Keane
Honored Contributor

Re: How to compile Samba on HP-UX (IA64)

Can you post the errors?
O_T
Occasional Advisor

Re: How to compile Samba on HP-UX (IA64)

OK.
I attached the log file: Samba 3.0.11 on HP-UX (IA64) compile error.
Biswajit Tripathy
Honored Contributor

Re: How to compile Samba on HP-UX (IA64)

Are you including the header sys/types.h ?

- Biswajit
:-)
O_T
Occasional Advisor

Re: How to compile Samba on HP-UX (IA64)

Sorry.
I don't know, what I should do: How to include the header sys/types.h.
Please teach me.
Biswajit Tripathy
Honored Contributor

Re: How to compile Samba on HP-UX (IA64)

See if file dynconfig.c has the following line:

#include

If not, add this line to the file. Make sure that you
add this before the following line:

#include

Note that '#' should be the first char of the line (no
blank spaces before it).

- Biswajit
:-)
RezVik
Occasional Visitor

Re: How to compile Samba on HP-UX (IA64)

I have problem in HP-UX v11.31 IA64

 

 

./configure --prefix=/usr/local/samba    tail of file:

 

checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether byte ordering is bigendian... yes
checking for inline... __inline
checking for C99 designated initializers... no
checking for C99 designated initializers with -AC99... no
checking for C99 designated initializers with -qlanglvl=extc99... no
checking for C99 designated initializers with -qlanglvl=stdc99... no
checking for C99 designated initializers with -c99... no
checking for a BSD-compatible install... ./install-sh -c
checking for library containing strerror... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking standards.h usability... no
checking standards.h presence... no
checking for standards.h... no
checking for long long... yes
checking size of int... 0
checking size of char... 0
checking size of short... 0
checking size of long... 0
checking size of long long... configure: error: in `/install/samba-3.3.4/source':
configure: error: cannot compute sizeof (long long)
See `config.log' for more details.

 

I tryied versions of samba 3.3.4 , 3.4.3, 3.6.4.

Please help me to resolve this problem.

RBR
Dennis Handly
Acclaimed Contributor

Re: How to compile Samba on HP-UX (IA64)

>I have problem in HP-UX 11.31 IA64

>checking for long long... yes

>checking size of int... 0

 

What compiler version are you using?

It seems strange that it has long long but doesn't know the size.