Bug 50141 - cross compiling apr fails miserably at configure time
Summary: cross compiling apr fails miserably at configure time
Status: NEW
Alias: None
Product: APR
Classification: Unclassified
Component: APR (show other bugs)
Version: HEAD
Hardware: PC Linux
: P2 major (vote)
Target Milestone: ---
Assignee: Apache Portable Runtime bugs mailinglist
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-22 06:44 UTC by Matteo 'Peach' Pescarin
Modified: 2012-06-16 18:11 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matteo 'Peach' Pescarin 2010-10-22 06:44:53 UTC
I'm cross compiling for a powerpc architecture (603e) with a gentoo system.
The configure script fails at this point:

checking whether setpgrp takes no argument... configure: error: cannot check setpgrp when cross compiling

configure has been called with:
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=powerpc-unknown-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-layout=gentoo --enable-nonportable-atomics --enable-threads --with-devrandom=/dev/urandom

I don't know how to circumvent this problem, it would be helpful if a temporary fix can be suggested (as enabling certain flags on configure or such)

if you need more information please let me know