pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkgsrc cross compiling



Hi folks,

On Sat, Feb 25, 2012 at 11:22:41AM +0300, Aleksey Cheusov wrote:
> > After implementing his steps I get:
> 
> > ERROR: This package has set PKG_FAIL_REASON:
> > ERROR: The cross-compiling root*/opt/WebOS_arm* is incomplete
> > *** Error code 1
> 
> > What am I missing?  What do I need to do to the destination directory
> > to make it pleasing to pkgsrc?
> 
> This error message comes from mk/bsd.prefs.mk
> 
>     484 .  if !exists(${CROSS_DESTDIR}/usr/include/stddef.h)
>     485 PKG_FAIL_REASON+= "The cross-compiling root ${CROSS_DESTDIR:Q} is 
> incomplete"
>     486 .  else
> 
> So, you have bad ${CROSS_DESTDIR}.

I've added a pkgsrc cross compiling howto in the pkgsrc/doc dir that i used
for i386->sparc and amd64->arm.

With regards,
Reinoud


Home | Main Index | Thread Index | Old Index