* [gentoo-ppc-dev] Samba 3.0.0-r1 build problem and fix on PPC
@ 2003-10-06 23:11 Erik R. Jensen
2003-10-07 1:33 ` Luca Barbato
0 siblings, 1 reply; 2+ messages in thread
From: Erik R. Jensen @ 2003-10-06 23:11 UTC (permalink / raw
To: gentoo-ppc-dev
I just joined this list and I am not sure the proper channels to relay
information of this type, so I figured this list seemed the most likely.
When compiling samba 3.0.0-r1 on PPC, the following compilation error occurs:
/usr/include/asm-ppc/statfs.h:15: redefinition of `struct statfs'
make: *** [smbd/files.o] Error 1
In order to successfully compile, a patch needs to be applied to keep
statfs.h from being redefined. This patch is currently only applied when
the architecture is sparc, but it also needs to be applied for ppc. The
following change at line 56 in the the smaba-3.0.0-r1.ebuild file will fix
the build for ppc.
Change this:
if [ "${ARCH}" = "sparc" ]
then
cd ${S}/source/include
epatch ${FILESDIR}/samba-2.2.8-statfs.patch
fi
To this:
if [ "${ARCH}" = "sparc" ]
then
cd ${S}/source/include
epatch ${FILESDIR}/samba-2.2.8-statfs.patch
fi
if [ "${ARCH}" = "ppc" ]
then
cd ${S}/source/include
epatch ${FILESDIR}/samba-2.2.8-statfs.patch
fi
I also think this problem exists for the 2.2.8 ebuilds as well.
Erik R. Jensen
--
gentoo-ppc-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [gentoo-ppc-dev] Samba 3.0.0-r1 build problem and fix on PPC
2003-10-06 23:11 [gentoo-ppc-dev] Samba 3.0.0-r1 build problem and fix on PPC Erik R. Jensen
@ 2003-10-07 1:33 ` Luca Barbato
0 siblings, 0 replies; 2+ messages in thread
From: Luca Barbato @ 2003-10-07 1:33 UTC (permalink / raw
To: erikrj; +Cc: gentoo-ppc-dev
thank you, next time you should use bugs.gentoo.org to fill bug reports.
Thanks
lu
Erik R. Jensen wrote:
> I just joined this list and I am not sure the proper channels to relay
> information of this type, so I figured this list seemed the most likely.
>
> When compiling samba 3.0.0-r1 on PPC, the following compilation error occurs:
>
> /usr/include/asm-ppc/statfs.h:15: redefinition of `struct statfs'
> make: *** [smbd/files.o] Error 1
>
> In order to successfully compile, a patch needs to be applied to keep
> statfs.h from being redefined. This patch is currently only applied when
> the architecture is sparc, but it also needs to be applied for ppc. The
> following change at line 56 in the the smaba-3.0.0-r1.ebuild file will fix
> the build for ppc.
>
> Change this:
>
> if [ "${ARCH}" = "sparc" ]
> then
> cd ${S}/source/include
> epatch ${FILESDIR}/samba-2.2.8-statfs.patch
> fi
>
> To this:
>
> if [ "${ARCH}" = "sparc" ]
> then
> cd ${S}/source/include
> epatch ${FILESDIR}/samba-2.2.8-statfs.patch
> fi
>
> if [ "${ARCH}" = "ppc" ]
> then
> cd ${S}/source/include
> epatch ${FILESDIR}/samba-2.2.8-statfs.patch
> fi
>
> I also think this problem exists for the 2.2.8 ebuilds as well.
>
> Erik R. Jensen
>
> --
> gentoo-ppc-dev@gentoo.org mailing list
>
>
--
Luca Barbato
Developer
Gentoo Linux http://www.gentoo.org/~lu_zero
--
gentoo-ppc-dev@gentoo.org mailing list
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-10-07 1:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-06 23:11 [gentoo-ppc-dev] Samba 3.0.0-r1 build problem and fix on PPC Erik R. Jensen
2003-10-07 1:33 ` Luca Barbato
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox