samba4 won't compile on FreeBSD 8.2/amd64

Matthieu Patou mat at samba.org
Wed May 18 04:54:39 MDT 2011


Hi,

I've got a couple of remarks if you want some support

1) Please avoid to send me email directly unless there is something very 
sensitive
2) Use a mailer that is able to quote correctly emails, and if possible 
that don't break the thread list, it seems that SurgeWeb - Ajax Webmail 
Client is not able to do this or is not configured for it. Try to get 
one that can (ie. gmail, or roundcube Ajax Webmail).
3) Please try to analyze the error message on your own

For this particular point, I guess you would have found answer to your 
problem in the log:

WAF_MAKE=1 ./buildtools/bin/waf build
Waf: Entering directory `/usr/ports/distfiles/samba4/samba-master/bin'
[  89/3391] Generating VERSION
[2429/3391] Compiling source3/lib/util_cmdline.c
In file included from ../source3/lib/util_cmdline.c:25:
../source3/include/popt_common.h:23:18: error: popt.h: No such file or 
directory
                                                                              ^^^^^^^^^^^^^^^^^^^^
In file included from ../source3/lib/util_cmdline.c:25:


Have you the popt header installed ? have you tried to use the internal 
lib ?
You didn't even spend 2 minutes to rerun with V=1 so that we can have 
more information.
Obviously we have some lacks in freebsd but you'll not gonna get a lot 
of support if you don't show that you are also trying to solve your 
problems.

If you want to avoid most of them stay to Linux, or Windows, this is a 
mailing list not a support email.

Regards.

Matthieu.





On 18/05/2011 02:52, tms3 at tms3.com wrote:
> On 18/05/2011 00:40, Hugo Silva wrote:
>>
>> Original message appears to have been blocked due to size limits.
>>
>> You can download the requested files from
>> http://www.debuginc.com/troubleshooting_samba4.tar.gz
>>
> Ok from what I see you are using the system LDB, given the fact that 
> we are moving the ldb libraries quite often it's better to use the one 
> bundled with the samba source code or to use a _very_ (< 2 weeks or so 
> ) port.
>
> It's the following lines in your config.log:
> #define USING_SYSTEM_POPT 1
> #define HAVE_LDB 1
> #define USING_SYSTEM_LDB 1
>
> You can try to use --bundled-libraries=ldb on the ./configure command 
> line
>
> Let us know if it works !
>
> Does not work. config.log attached.
>
> prism# gmake
> WAF_MAKE=1 ./buildtools/bin/waf build
> Waf: Entering directory `/usr/ports/distfiles/samba4/samba-master/bin'
> [  89/3391] Generating VERSION
> [2429/3391] Compiling source3/lib/util_cmdline.c
> In file included from ../source3/lib/util_cmdline.c:25:
> ../source3/include/popt_common.h:23:18: error: popt.h: No such file or 
> directory
> In file included from ../source3/lib/util_cmdline.c:25:
> ../source3/include/popt_common.h:26: error: array type has incomplete 
> element type
> ../source3/include/popt_common.h:27: error: array type has incomplete 
> element type
> ../source3/include/popt_common.h:28: error: array type has incomplete 
> element type
> ../source3/include/popt_common.h:29: error: array type has incomplete 
> element type
> ../source3/include/popt_common.h:30: error: array type has incomplete 
> element type
> ../source3/include/popt_common.h:31: error: array type has incomplete 
> element type
> ../source3/include/popt_common.h:32: error: array type has incomplete 
> element type
> ../source3/include/popt_common.h:33: error: array type has incomplete 
> element type
> Waf: Leaving directory `/usr/ports/distfiles/samba4/samba-master/bin'
> Build failed:  -> task failed (err #1):
>        {task: cc util_cmdline.c -> util_cmdline_40.o}
> gmake: *** [all] Error 1
>
> Matthieu.
>
> -- 
> Matthieu Patou
> Samba Team http://samba.org
> Private repo http://git.samba.org/?p=mat/samba.git;a=summary
>
>
>


-- 
Matthieu Patou
Samba Team        http://samba.org
Private repo      http://git.samba.org/?p=mat/samba.git;a=summary




More information about the samba-technical mailing list