Re: [Samba] Upgrading Samba: minimum requirements for Samba wrt Solaris and gcc
an on Solaris 8, the 'configure' step completes successfully, but 'make' seems to hang early: ... creating /home/troy/src/samba/samba-3.0.1/source/include/proto.h [it hangs here for hours if I let it] Hey, I recognize this one! This problem occurs if /usr/ucb is in your path ahead of /usr/bin or /bin. I tracked this behavior into mkproto.sh: the problem is with the tr program in /usr/ucb. mkproto.sh uses tr in a pipeline like this: ... | tr ' ' '\n' | ... /usr/ucb/tr substitutes spaces with n characters, where /usr/bin/tr substitutes newlines. It makes a HUGE difference to what mkproto.sh is trying to do. Frankly, I recommend removing /usr/ucb from your path entirely. I have had trouble compiling Samba version 3.0.1 with gcc version 2.8.1 on Solaris 2.5.1: $ ./configure checking for gcc... gcc checking for C compiler default output... cat: cannot open conftest.c configure: error: C compiler cannot create executables Something fundamental is broken. Look in config.log - the messages there may help you figure out what's going wrong. My first guess would be that something is wrong with gcc: perhaps gcc really CAN'T create executables on this system: try doing a simple compile of a hello world C program. It's weird that configure can't report on the contents of conftest.c, though. It's almost like something else is wrong with the standard shell scripting tools on this system. I'd try removing any strange directories from your PATH, and try again. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Re: Character set conversion problems with 3.0
... Samba 3.0.0 on a Solaris 8 ... Conversion from UTF8 to CP850 not supported ... Install libiconv first (either from source or from a package as delivered by sunfreeware.com), then configure --with-libiconv. I would have done that, but Solaris 8 already HAS something called iconv. There is an iconv.h, and libc has functions iconv, iconv_open, iconv_close, and there's a support directory /usr/lib/iconv. Are you saying that I need to get a libiconv that is something different than this? Besides, I don't CARE about character set conversions. If configure didn't think I had proper iconv support, why doesn't Samba just silently skip doing character conversions? Can I run configure with --without-libiconv to get Samba to be quiet? -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Character set conversion problems with 3.0
I've just compiled Samba 3.0.0 on a Solaris 8 system (gcc, if it matters), and whenever I run anything from the samba suite, I get a series of error message about character set conversions: Conversion from UCS-2LE to CP850 not supported Conversion from UTF8 to CP850 not supported ... and about 10 more, all involving CP850 (the standard DOS codepage, presumably). Now, obviously I've misconfigured something (iconv?), either at compile time or at run time. Do I need to recompile to fix this, or is it something I need to do in the smb.conf or other control file? I don't really care about character conversions - I'm happy to let Samba do whatever the default thing is, if I could just get it to shut up. Any ideas? -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba