Apache install problems on Suse 11.1
I am new to Linux and have been having problems installing Apache. I have been searching the internet and have removed some errors but I still have the following:
configure: error: in `/usr/local/httpd-2.2.14': configure: error: C preprocessor "gcc -E" fails sanity check When I check the config.log I find these errors: gcc version 4.3.2 [gcc-4_3-branch revision 141291] (SUSE Linux) configure:4713: $? = 0 configure:4702: gcc -V >&5 gcc: '-V' option must have argument configure:4713: $? = 1 configure:4702: gcc -qversion >&5 gcc: unrecognized option '-qversion' gcc: no input files and configure:5231: result: gcc -E configure:5251: gcc -E -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE conftest.c In file included from /usr/include/bits/posix1_lim.h:153, from /usr/include/limits.h:145, from /usr/lib64/gcc/x86_64-suse-linux/4.3/include-fixed/limits.h:122, from /usr/lib64/gcc/x86_64-suse-linux/4.3/include-fixed/syslimits.h:7, from /usr/lib64/gcc/x86_64-suse-linux/4.3/include-fixed/limits.h:11, from conftest.c:10: /usr/include/bits/local_lim.h:39:26: error: linux/limits.h: No such file or directory configure:5251: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | /* end confdefs.h. */ | #ifdef __STDC__ | # include <limits.h> | #else | # include <assert.h> | #endif | Syntax error configure:5251: gcc -E -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE conftest.c In file included from /usr/include/bits/posix1_lim.h:153, from /usr/include/limits.h:145, from /usr/lib64/gcc/x86_64-suse-linux/4.3/include-fixed/limits.h:122, from /usr/lib64/gcc/x86_64-suse-linux/4.3/include-fixed/syslimits.h:7, from /usr/lib64/gcc/x86_64-suse-linux/4.3/include-fixed/limits.h:11, from conftest.c:10: /usr/include/bits/local_lim.h:39:26: error: linux/limits.h: No such file or directory configure:5251: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | /* end confdefs.h. */ | #ifdef __STDC__ | # include <limits.h> | #else | # include <assert.h> | #endif | Syntax error configure:5281: error: in `/usr/local/httpd-2.2.14': configure:5284: error: C preprocessor "gcc -E" fails sanity check As I said - this is fewer errors than I started with but would appreciate any help finding a fix for the above. Thanks in advance! |
Welcome to LQ.
You don't need to compile Apache yourself, there are binary packages for it, available for Open Suse 11.1 Why not use it ? Just follow this link |
*
# zypper in apache2 .. provides version 2.2.10 . |
Quote:
|
Thank you!
|
All times are GMT -5. The time now is 11:35 AM. |