Hi,
I read that someone has Apache installed on the iPhone. I am dying to do this. It will be so cool to have a web server in my pocket.
I have a iPhone 3G. It's jailbroken and have Cydia installed. I downloaded Apache, sshed into the iPhone trying to install it, then I ran into this problem, here is what I got in the terminal:
llocalhost:/ root# cd /Applications/httpd-2.2.9
localhost:/Applications/httpd-2.2.9 root# ./configure
checking for chosen layout... Apache
checking for working mkdir -p... yes
checking build system type... arm-apple-darwin9.3.1
checking host system type... arm-apple-darwin9.3.1
checking target system type... arm-apple-darwin9.3.1
Configuring Apache Portable Runtime library ...
checking for APR... yes
setting CC to "arm-apple-darwin9-gcc"
setting CPP to "arm-apple-darwin9-gcc -E"
setting CFLAGS to " -O2"
setting CPPFLAGS to " -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp"
setting LDFLAGS to " "
Configuring Apache Portable Runtime Utility library...
checking for APR-util... yes
adding "-L/apl/sys/ad9/lib" to LDFLAGS
checking for gcc... arm-apple-darwin9-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
localhost:/Applications/httpd-2.2.9 root#
It seems that the libc is missing or something. Can anyone tell me what is wrong? Perhaps this is not even the right way to install Apache on iPhone, is there a better way?
Any helps and suggestions would be greatly appreciated.
I read that someone has Apache installed on the iPhone. I am dying to do this. It will be so cool to have a web server in my pocket.
I have a iPhone 3G. It's jailbroken and have Cydia installed. I downloaded Apache, sshed into the iPhone trying to install it, then I ran into this problem, here is what I got in the terminal:
llocalhost:/ root# cd /Applications/httpd-2.2.9
localhost:/Applications/httpd-2.2.9 root# ./configure
checking for chosen layout... Apache
checking for working mkdir -p... yes
checking build system type... arm-apple-darwin9.3.1
checking host system type... arm-apple-darwin9.3.1
checking target system type... arm-apple-darwin9.3.1
Configuring Apache Portable Runtime library ...
checking for APR... yes
setting CC to "arm-apple-darwin9-gcc"
setting CPP to "arm-apple-darwin9-gcc -E"
setting CFLAGS to " -O2"
setting CPPFLAGS to " -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp"
setting LDFLAGS to " "
Configuring Apache Portable Runtime Utility library...
checking for APR-util... yes
adding "-L/apl/sys/ad9/lib" to LDFLAGS
checking for gcc... arm-apple-darwin9-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
localhost:/Applications/httpd-2.2.9 root#
It seems that the libc is missing or something. Can anyone tell me what is wrong? Perhaps this is not even the right way to install Apache on iPhone, is there a better way?
Any helps and suggestions would be greatly appreciated.