OESF Portables Forum

Everything Else => Zaurus - Everything Development => Distros, Development, and Model Specific Forums => Archived Forums => Linux Applications => Topic started by: bluedevils on January 08, 2005, 06:45:07 pm

Title: Setpgrp Error On Apache Configure
Post by: bluedevils on January 08, 2005, 06:45:07 pm
Hi all,

I've setup a redhat9 cross compiling env as described in the how-to on ZUG.  I compiled the example no problems.  I am trying to cross compile apache.

apache 2 gives me an error of:
checking whether setpgrp takes no argument... configure: error: cannot check setpgrp when cross compiling
configure failed for srclib/apr

I use:
./configure --prefix=/home/zaurus/arm-apache/ --enable-module=so --host=arm-linux --build=i686-linux

I also try apache 1.3.33 with:
./configure --prefix=/home/zaurus/arm-apache/ --enable-module=so
and arm-linux-gcc defined as CC:
Configuring for Apache, Version 1.3.33
 + using installation path layout: Apache (config.layout)
Creating Makefile
Creating Configuration.apaci in src
Creating Makefile in src
 + configured for Linux platform
 + setting C pre-processor to arm-linux-gcc -E
 + using "tr [a-z] [A-Z]" to uppercase
 + checking for system header files
 + adding selected modules
 + using builtin Expat
 + using -ldl for vendor DSO support
 + checking sizeof various data types
./helpers/TestCompile: line 293: /home/zaurus/apache_1.3.33/src/helpers/testfunc: cannot execute binary file
./helpers/TestCompile: line 293: /home/zaurus/apache_1.3.33/src/helpers/testfunc: cannot execute binary file
./helpers/TestCompile: line 293: /home/zaurus/apache_1.3.33/src/helpers/testfunc: cannot execute binary file
./helpers/TestCompile: line 293: /home/zaurus/apache_1.3.33/src/helpers/testfunc: cannot execute binary file
./helpers/TestCompile: line 293: /home/zaurus/apache_1.3.33/src/helpers/testfunc: cannot execute binary file
 + doing sanity check on compiler and options
Creating Makefile in src/support
Creating Makefile in src/regex
Creating Makefile in src/os/unix
Creating Makefile in src/ap
Creating Makefile in src/main
Creating Makefile in src/lib/expat-lite
Creating Makefile in src/modules/standard

I have no idea how to troubleshoot the 1.3.33  The setpgrp error for apache2 comes later in the compile process and from my research, a more common issue.  Can someone help?  Even guesses as how to troubleshoot would help.