Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
11-30-2009, 03:23 PM
|
#1
|
LQ Newbie
Registered: Sep 2009
Posts: 2
Rep:
|
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!
|
|
|
11-30-2009, 04:51 PM
|
#2
|
LQ Addict
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,173
Rep:
|
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
|
|
|
12-01-2009, 06:55 AM
|
#3
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
*
# zypper in apache2
.. provides version 2.2.10 .
|
|
|
12-01-2009, 07:52 AM
|
#4
|
Member
Registered: Nov 2009
Location: Alabama
Distribution: Arch x86_64
Posts: 650
Rep:
|
Quote:
Originally Posted by Didier Spaier
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
|
I have to agree. compiling yourself is more headache than it's worth when you have YAST. Run that, and do a search for apache. I think it shows up as apache 2 pre-fork or something like that
|
|
|
12-01-2009, 09:16 AM
|
#5
|
LQ Newbie
Registered: Sep 2009
Posts: 2
Original Poster
Rep:
|
Thank you!
|
|
|
All times are GMT -5. The time now is 04:33 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|