Error on Apache Configure

started at 03 Oct 2006 by Ryan
  • Ryan
    03 Oct 2006
    I'm getting this when I run the apache configure for PPC.

    ./configure: line 1: ?: command not found
    ./configure: line 2: ?: command not found
    ./configure: line 3: ?: command not found
    ./configure: line 4: ?: command not found
    ./configure: line 5: ?: command not found
    ./configure: line 6: ?: command not found
    ./configure: line 7: ?: command not found
    ./configure: line 8: ?: command not found
    ./configure: line 9: ?: command not found
    ./configure: line 10: ?: command not found
    ./configure: line 11: ?: command not found
    ./configure: line 12: ?: command not found
    ./configure: line 13: ?: command not found
    ./configure: line 14: ?: command not found
    ./configure: line 15: ?: command not found
    ./configure: line 16: ?: command not found
    ./configure: line 17: ?: command not found
    ./configure: line 18: ?: command not found
    ./configure: line 19: ?: command not found
    ./configure: line 20: ?: command not found
    checking for chosen layout... Richard5
    checking for working mkdir -p... yes
    checking build system type... powerpc-apple-darwin8.7.0
    checking host system type... powerpc-apple-darwin8.7.0
    checking target system type... powerpc-apple-darwin8.7.0

    Configuring Apache Portable Runtime library ...

    checking for APR... reconfig
    configuring package in srclib/apr now
    configure: error: expected an absolute directory name for --bindir: NONE/bin
    configure failed for srclib/apr

  • Richard
    03 Oct 2006
    Maybe a stupid remark but did you copy and past the command-line correctly ? Did you cd into the source directory ?

    If MySQL wasn't a problem this one shouldn't be any harder...
  • Ryan
    03 Oct 2006
    Yeah I've double checked that I copied the entire command, I've tried it a couple times. I have cd to "httpd-2.2.3", the folder after I unpacked the archive.
  • Richard
    03 Oct 2006
    Can you email me the config.log file ? That might explain which commands are failing...
  • shaosean
    18 Feb 2007

    I made sure I copied and posted correctly, as well as switching into the correct folder and am getting the same error as Ryan when doing the configure (the big CFLAGS line). When the older instructions used the "Richard5" layout I had no errors and managed to get the server installed and running. (Yes the MySQL installation was easy-breezy)

    Just an update - When I changed the layout "prefix" to read "/Library/Apache2" all the folders and files were created, but when the "prefix" reads "/usr/local/apache2" nothing is created (am running as root).

    Mac OS X 10.4.8 PPC, Apache 2.2.4

  • Richard
    18 Feb 2007

    I'm unable to find why or how I solved Ryan issue, sorry. But are you running configure and make as root ! You should not do that, only do the make install as root or use sudo. It will otherwise get you into problems !

    Can you post the errors you get from the ./configure command ?

  • shaosean
    18 Feb 2007

    Well I tried it as a regular user and as root, both with the same results - when using the instructions on your site (thank you for all your hard work :-) I get the exact error as Ryan posted above (hence the reason I never posted it). If I run the ./configure command by itself (no flags) it runs without any errors, but none of the files or folders are created.

  • Richard
    18 Feb 2007

    Could you mail me the config.log ?

  • dbankes
    30 Dec 2007

    I had very much the same problem as the first comment (with appropriate system modifications). For some reason, when configuring, it doesn't seem to recognize the layout settings and asks for the directory layout information in the configure command. (For example, as in the first comment, the terminal prints configure: error: expected an absolute directory name for --bindir: NONE/bin.) When I put a --bindir=/usr/bin with the configure command, then it gives a different error, asking for another directory location that is specified in the layout, but not with the configure command, and so on. Should I go ahead and specify the whole layout in the configure command, or will that have negative repercussions?

  • Richard
    30 Dec 2007

    Please make sure that there are no typos or copy paster errors or strange symbols added to the config.layout file. Sometimes copying from a webpage also includes unwanted HTML into your textfile.

    If this isn't the case please let me know and we'll search further.

  • dbankes
    30 Dec 2007

    Yeah, there was an invisible character. I'd checked that so many times, but you said to check it again, so I checked it one more time. This time I found it. Sorry and thanks!

Reply

You must log in to post.