Why won't Apache compile with my system's cc?
Apache Server Frequently Asked QuestionsThis might be either because it's completely unknown or because the specific environment (include files, OS version, et cetera) isn't explicitly handled. If this happens, you may need to port the server to your OS yourself. Some operating systems include a default C compiler that is either not ANSI C-compliant or suffers from other deficiencies. The usual recommendation in cases like this is to acquire, install, and use gcc.
Related QuestionsHow do I compile a servlet? Q: Why won't my servlet compile?
Code Style: Java servlets frequently asked questions (FAQ)All those "cannot find symbol" error messages mean that you do not have the Java servlet JAR file on your compiler's classpath, so it cannot find the servlet class files. The servlet JAR file is normally distributed with your servlet container. For Apache Tomcat it is a file named {CATALINA_HOME}/common/lib/servlet-api.jar. Add this to your compiler classpath as follows.
Related QuestionsWhat should I do to compile ns to reflect my changes if I've modified some .cc or .h files?
The Network Simulator ns-2: Frequently Asked QuestionsTo subscribe or unsubscribe, see http://www.isi.edu/nsnam/ns/ns-lists.html. The list archive is at http://www.isi.edu/nsnam/ns/ns-lists.html.
Related QuestionsWhy won't GIMP compile on 64-bit or IRIX (SGI) machines?
GIMP - DocumentationIf you are using a 64-bit OS, you need to add the -o32' option for the compiler, or use gcc. With the SGI compiler, you may also need to play with optimization. Some modules may have exhibit problems unless compiled with -O1' or even '-O0'. Script-Fu requires the POSIX-compliant regex functions, which SGI only supports with IRIX 6.2 and later versions. The GNU version of regex should work just fine, though, and is available at:
Related QuestionsWhy won't my servlet compile? Q: Can I use a constructor in my servlet?
Code Style: Java servlets frequently asked questions (FAQ)A servlet is a normal Java class, so when there are no custom constructors, there is an implicit default constructor with no arguments. Servlet containers typically use the Class.newInstance() method to load servlets, so you must be careful to add an explicit default constructor if you add non-default constructors.
Related QuestionsHow about "cc"?
FAQ: Frequently Asked Questions about the metric systemThe slang abbreviation "cc" for cubic centimeter is sometimes seen but, like all SI unit abbreviations, it should be avoided in writing.
Related QuestionsWhat is Apache?
Apache Server Frequently Asked Questionsruns on Windows NT/9x, Netware 5.x and above, OS/2, and most versions of Unix, as well as several other operating systems DBM databases for authentication allows you to easily set up password-protected pages with enormous numbers of authorized users, without bogging down the server. Customized responses to errors and problems Allows you to set up files, or even CGI scripts, which are returned by the server in response to errors and problems, e.g.
Related QuestionsThe counter does not compile on UnixWare with cc, why?
Counter FAQNote for UnixWare 2: Before running the configure script, set and export the environment variable CC to the string cc -Xc
Related QuestionsThe counter does not compile on Solaris with cc, why?
Counter FAQIf you are using Sun's cc on Solaris, you may get errors about identifier redeclaration. Remove the line #include <unistd.h> from count.h. Recompile. You will get some errors about undefined variables. Look at /usr/include/unistd.h and add those defines in count.h. recompile. Answer: That means the user running the web server can not write to the datafile.
Related QuestionsAnswer: If you are using Sun's stock cc on Solaris, you may get errors about identifier re-declaration. Try defining -D__STDC__=1 in Makefile, it might work. You should not have any problem if you compile with gcc or ucb cc on Solaris.Related Questions
Why won't my WML pages compile?
Kannel: Open Source WAP and SMS GatewayAnother common failure, for some WML pages, is seen when the wapbox log-file read something like "WML compiler: Parsing failed, no parsed document." Here, the libxml parser failed to understand the WML page, for some reason. Either the page is really malformed, or libxml has a problem. use 'xml-config --version' or 'rpm -q libxml', 'rpm -q libxml2', 'rpm -q libxml-devel' or 'rpm -q libxml2-devel' to find out whether libxml is installed on your system at all, and to see which version it is at.
Related QuestionsWhy won't Kogut compile?
The Kogut FAQMake sure that if you don't already have Kogut installed that you're using the bootstrapped version of Kogut. Also make sure that you have a few basic Unix utilities: a C compiler, make, and a Bourne or Bash-style shell. If you're on Windows or Mac OS X, this probably means downloading Cygwin or Fink to get these tools. If all else fails, post your error to the Kogut mailing list.
Related QuestionsMy code won't compile..why?
Section 4 - Using GCCThe compiler found a symbol that it wasn't expecting.. for example, an extra paren on a complex if check, a semicolon placed after a function body header, a semicolon omitted from the previous line amongst others. The error is not always on the line mentioned by gcc, but may be the previous line. This error arises when you assign a pointer to a non-pointer variable.
Related QuestionsI have deployed an Apache DSO, but Apache won't start the module. What should I do?
Atozed Software - Deployment FAQAdd the following code to the finalization section of the qcontrols.pas unit: {{$$}$ifdef apache} exit; {{$$}$endif}
Related QuestionsWhy won't the GIMP compile on Solaris?
GIMP Developer FAQThere may be a number of reasons. Several peoples' answers are here. The most detailed answers, list first, are the best bets with their noted versions. According to resident Gimp on SOlaris guru Jim Harmon, more recent versions (0.99.25 on) should compile easily, but you may need to make a change in /usr/graphics/gtk-config.in: OLD: --libs) echo -L${exec_prefix}/lib -L/usr/openwin/lib -R/usr/openwin/lib \ -lgtk -lgdk -lglib -lXext -lX11 -lsocket -lnsl -lm ;; NEW: (subs.
Related QuestionsWhy won't my copy of TINA compile?
TINA [faq]Not an easy question to answer remotely. The wiki page in the developer's area includes solutions to some common problems.
Related QuestionsWhy won't GIMP compile on IRIX (SGI)?
GIMP User FAQIf you are using a 64-bit OS, you need to add the '-o32' option for the compiler, or use gcc. With the SGI compiler, you may also need to play with optimization. Some modules may have exhibit problems unless compiled with '-O1' or even '-O0'. Script-Fu requires the POSIX-compliant regex functions, which SGI only supports with IRIX 6.2 and later versions. The GNU version of regex should work just fine, though, and is available at: http://wuarchive.wustl.edu/systems/gnu/regex-0.12.tar.
Related QuestionsCompiling 3.1 - Why won't FlightGear compile?
FlightGear FAQWell, that depends. First make sure you are using the appropriate versions of FlightGear, SimGear, plib, zlib. If any of the packages are out of sync with the others, compilation may fail. The FlightGear Downloads page (http://flightgear.org/Downloads/) should tell you what versions you need if you are trying to compile the latest stable release. If you are using a development snapshot, make sure all three packages are up-to-date.
Related QuestionsHow and why was Apache created?
Apache Server Frequently Asked QuestionsThe About Apache document explains how the Apache project evolved from its beginnings as an outgrowth of the NCSA httpd project to its current status as one of the fastest, most efficient, and most functional web servers in existence.
Related QuestionsWhy won't Apache Labs ask for lab-specific mail lists?
Apache LabsApache Labs expects a lot of labs with a few people per lab and not a lot of need for public coordination between them. Asking for lab-specific mail lists has several disadvantages: it reduces the ability for people to 'watch over the shoulder' of labs activity and become interested serendipitously it forces a low threshold for activity that might trigger the promotion of a lab that has a lot of momentum toward the incubation
Related QuestionsWhy won't Apache Labs ask for committership to be granted?
Apache LabsIn order to simplify day-to-day operations of labs, it has been decided that labs won't grant committership to newcomers. This is because we feel that the potential gain is not enough to compensate the risk for potential abuse.
Related QuestionsWhy won't my RMI implementation compile under JDK1.1?
Java Network Programming FAQUnder JDK1.02, RMI implementations extend java.rmi.server.UnicastRemoteServer. This changed in JDK1.1 - you should now extend java.rmi.server.UnicastRemoteObject.
Related QuestionsWhy won't the linux-wlan drivers compile on my RedHat system?
Linux WLAN project - FAQIf you do, you'll need to get the source pcmcia-cs (if you haven't already). Once you have the source, you need to run the configure script for it. Directions on this are in the root directory of the pcmcia package. It will ask a question from where to get the configuration. It can deduce the settings from the running kernel/pcmcia modules. Once you have run the configure the config.h file that the WLAN drivers are looking for will be there and the compilation should work without errors.
Related QuestionsAllright, I've downloaded games now some won't compile/run , is there something I'm missing?
Linux Gamers' FAQThere are several popular libraries which are often required by most free Linux games, Simple DirectMedia Layer (http://www.libsdl.org/), PLIB (http://plib.sourceforge.net/), ClanLIB (http://www.clanlib.org/), OpenAL (http://opensource.creative.com/), and Allegro (http://alleg.sourceforge.net). You might not have your XFree86 development headers.
Related Questions