1823289 Members
3049 Online
109650 Solutions
New Discussion юеВ

Re: Samba and C compiler

 
uadm26
Super Advisor

Samba and C compiler

Hi,

To install Samba 3.0.10 I need to install the Ansi-C compiler too?

Thanks.
12 REPLIES 12
Oguz Kutlu  Asik
Honored Contributor

Re: Samba and C compiler

Yes. Gcc or HP ANSI compiler is needed. free compiler with your HP-UX is not ANSI compliant.
What's right is right, whether or not God exists
Stephen Keane
Honored Contributor

Re: Samba and C compiler

Nguyen Anh Tien
Honored Contributor

Re: Samba and C compiler

Depot do not require Ansi-C
get latest samba version at
http://gatekeep.cs.utah.edu/hppd/hpux/Networking/Misc/samba-3.0.11/
HTH
tienna
HP is simple
uadm26
Super Advisor

Re: Samba and C compiler

Sorry Nguyen Anh Tien,

This Depot need an Ansi-C compiler, I've trie to install the gcc-3.4.3 and that software release of gcc requires an ANSI C compiler too.
I just need a Ansi-C complier to install the samba on Hp-ux 11.11? Where can i download it?
Thanks.
uadm26
Super Advisor

Re: Samba and C compiler

Hi,

output from samba installation:

dtwmctst:/usr/local/samba/source#./configure
configure: loading cache config.cache
SAMBA VERSION: 3.0.11
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler
cannot create executables
See `config.log' for more details.
Dave Hutton
Honored Contributor

Re: Samba and C compiler

Are you asking about the HP ansi C compiler?
HP C/ANSI C Developer's Bundle for HP-UX 11.i (S800)

That one you have to buy. Usually with the depots they are precompiled so you shouldn't really need a compiler.

You may need other depots if the software has dependancies.

uadm26
Super Advisor

Re: Samba and C compiler

This is the README off samba-3.0.10-11.00.depot.gz
Stephen Keane
Honored Contributor

Re: Samba and C compiler

Try

http://hpux.connect.org.uk/hppd/hpux/Gnu/gcc-3.4.3/

Download the depot, not the source, you shouldn't need a compiler to install a compiler!!

uadm26
Super Advisor

Re: Samba and C compiler

But look at this:

dtwmctst:/tmp/samba/gcc-3.4.3# more HPUX.Install

IMPORTANT NOTE !
----------------


This release of gcc requires an ANSI C compiler to build and hence
we have only tested this release with HP's optional ANSI C compilers on
PA-RISC and Itanium platforms. Note, however, that the Itanium "bundled" C
compiler is actually ANSI C-compliant and can be used to build gcc. The same
is *not* true of the PA-RISC "bundled" C compiler ("cc_bundled") - if you
only have that compiler, you will have to install the PA-RISC binary depot
of gcc instead of building the package yourself.
Nguyen Anh Tien
Honored Contributor

Re: Samba and C compiler

uadm26
Super Advisor

Re: Samba and C compiler

Hi,

Ok, now have install the samba-3.0.11-sd-11.11.depot and all run-time dependencies, and when I try to run the smbd, theres no error, but the deamon don't start, and theres no smb.conf. I've copy a smb.conf and still not working. Something is wrong...
harry d brown jr
Honored Contributor

Re: Samba and C compiler


How are you starting smbd?

Have you checked the logs? if you won't know where they are (usually /var/adm/syslog) then try this >>> find / -type f -name "sambalog*" -exec ls -l {} \; <<<

live free or die
harry d brown jr
Live Free or Die