Author Topic: Setpgrp Error On Apache Configure  (Read 4574 times)

bluedevils

  • Hero Member
  • *****
  • Posts: 1284
    • View Profile
    • http://
Setpgrp Error On Apache Configure
« 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.
I'm now an iphone user and use my zaurii as serial terminals, perl and shell scripting and when I need 640x480 screens

sl-c3100/pda cacko 1.23 | sl-6000l/needs battery | sl-c760/server pdaxrom rc12 | Former sl-5500/tkcrom owner (sister's birthday gift)