[Samba] recycle.so compiling problem

Ben Griffith bgriffit at email.unc.edu
Fri Mar 14 19:21:51 GMT 2003


Comments below.

-----[ Marco (starless at supereva.it) wrote on 3/14/2003 7:09 PM +0100 ]-----

> Hi,
> as I saw someone today pointing to a solution for protected directories
> in the recycle dir (thanks Ben!), I wanted to compile the modified
> recycle.c.
> I'm using Mandrake 9.0, I have kernel-source, kernel-header and all
> basic development tools installed, including the libtool package; I
> downloaded the Samba 2.2.7a sources, applied the patch, but I cannot
> compile the library.
> Following the instructions, I go to the parent dir and issue ./configure
> and then make, but I get lots of errors and warnings and no output file.
>
> Any clue? Thanks a lot.
>
> The error lines are too many to quote them all here, so here is an
> excerpt from both the beginning and the end of the output:
>
> recycle/recycle.c:23:20: config.h: No such file or directory
> In file included from recycle/recycle.c:37:
> ../../source/include/includes.h:25:20: config.h: No such file or
> directory

You have to run ./configure in the main samba-2.2.7a/source directory in order to generate 
samba-2.2.7a/source/includes/config.h (and other supporting config information).

Then cd ../examples/VFS and ./configure

Then make should generate all of the VFS example modules.

Good luck.

     --Ben--

----------------------------
Ben Griffith
bgriffit at email.unc.edu
----------------------------


More information about the samba mailing list