Sponsored Content
Top Forums UNIX for Dummies Questions & Answers How to get a compiler gcc, cc, cl.exe...? (literally 1st time unix user) Post 302430146 by eddlo on Wednesday 16th of June 2010 06:19:03 PM
Old 06-16-2010
not sure what that means (lol sorry) but i know that this 'apacheweb' account that my mentor and i set up is a 'lab' account so if we mess anything up it shouldn't be detrimental.

It's working, THANK YOU for providing that "Developer Tools" command!! ... so simple.

---------- Post updated at 05:19 PM ---------- Previous update was at 05:12 PM ----------

Sorry, another issue came up.
I got past the ./configure and make stages.
I'm on the make install stage now and get this error


Code:
[apacheweb@gisc-vm-s-5 httpd-2.2.15]$ make install
Making install in srclib
make[1]: Entering directory `/home/apacheweb/httpd-2.2.15/srclib'
Making install in apr
make[2]: Entering directory `/home/apacheweb/httpd-2.2.15/srclib/apr'
make[3]: Entering directory `/home/apacheweb/httpd-2.2.15/srclib/apr'
make[3]: Nothing to be done for `local-all'.
make[3]: Leaving directory `/home/apacheweb/httpd-2.2.15/srclib/apr'
/home/apacheweb/httpd-2.2.15/srclib/apr/build/mkdir.sh /usr/local/apache2/lib /usr/local/apache2/bin /usr/local/apache2/build \
                     /usr/local/apache2/lib/pkgconfig /usr/local/apache2/include
mkdir /usr/local/apache2
mkdir: cannot create directory `/usr/local/apache2': Permission denied
mkdir /usr/local/apache2/lib
mkdir: cannot create directory `/usr/local/apache2/lib': No such file or directory
mkdir /usr/local/apache2
mkdir: cannot create directory `/usr/local/apache2': Permission denied
mkdir /usr/local/apache2/bin
mkdir: cannot create directory `/usr/local/apache2/bin': No such file or directory
mkdir /usr/local/apache2
mkdir: cannot create directory `/usr/local/apache2': Permission denied
mkdir /usr/local/apache2/build
mkdir: cannot create directory `/usr/local/apache2/build': No such file or directory
mkdir /usr/local/apache2
mkdir: cannot create directory `/usr/local/apache2': Permission denied
mkdir /usr/local/apache2/lib
mkdir: cannot create directory `/usr/local/apache2/lib': No such file or directory
mkdir /usr/local/apache2/lib/pkgconfig
mkdir: cannot create directory `/usr/local/apache2/lib/pkgconfig': No such file or directory
mkdir /usr/local/apache2
mkdir: cannot create directory `/usr/local/apache2': Permission denied
mkdir /usr/local/apache2/include
mkdir: cannot create directory `/usr/local/apache2/include': No such file or directory
make[2]: *** [install] Error 1
make[2]: Leaving directory `/home/apacheweb/httpd-2.2.15/srclib/apr'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/apacheweb/httpd-2.2.15/srclib'
make: *** [install-recursive] Error 1

In several forums, they say you need a C++ compiler. Is there a root command to get this installed? If not, what is the best way to get this compiler?

Thanks again for your help, I really appreciate it!!

Last edited by Scott; 06-16-2010 at 07:29 PM.. Reason: Code tags, please...
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

cc compiler / gcc

:confused: I have a question concerning gcc. IŽd like to install the gcc on my Mac OS X, but when I try to run the configure command I get the following message: floriant% ./configure ./configure: read-only variable: PWD Configuring for a powerpc-apple-darwin5.4 host. *** This configuration... (2 Replies)
Discussion started by: florian.turck
2 Replies

2. Programming

gcc compiler

i write c++ code it run perfectely with g++ compiler but same code when i compile with GCC compiler it gives linker error , followed these linker error /tmp/ccfZtXOQ.o(.text+0x22): In function `main': conf_system.cpp: undefined reference to `operator new(unsigned int)'... (5 Replies)
Discussion started by: munnu
5 Replies

3. UNIX for Dummies Questions & Answers

xl C/C++ compiler to GCC compiler

Hi, we are converting from IBM-AIX(xl c/c++ compiler) to Linux(GCC complier). As a part of this i need to change the CFLAGS. The xl c/c++ complier CFLAGS is CFLAGS := $(CDEBUG) $(PROJECT_INCLUDE_DIRS) $(COBJECT_MODE) -qcpluscmt -qmakedep -qcheck=all \ -qalign=bit_packed $(LINT_FLAGS)... (0 Replies)
Discussion started by: pbattu1
0 Replies

4. Ubuntu

gcc compiler

where to download gcc compiler for ubuntu? how to install? how to build and run "c programs"? screen shots if possible.....:b::D tutorials too:cool: (5 Replies)
Discussion started by: villanarun
5 Replies

5. Ubuntu

./configure command Error while trying to install GCC compiler on unix machine

Hi, I need to install the GCC compiler on a my Linus machine. First step is to run the ./configure command and here we need to specify ./configure --target="target machine name (CPU type-Manufacturer-OS) or other way would be just give the command ./configure and it guesses the target name... (11 Replies)
Discussion started by: viji19812001
11 Replies

6. Shell Programming and Scripting

gcc compiler

I am using open suse linux. I want to install gcc compiler in my machine. I ahve checked man gcc and man cc. But it's not there. Can someone help me (4 Replies)
Discussion started by: pritish.sas
4 Replies

7. Programming

gcc compiler

Which gcc compiler release had the Arm 9 multicore support?Whether the compiler that used for the single Arm 9 core can be used for its multicore systems ? If gcc not support,please tell me which are the compilers that are available for Arm 9 multicore systems (including commerical).Whether... (0 Replies)
Discussion started by: sujith4u87
0 Replies

8. UNIX for Dummies Questions & Answers

cc compiler and gcc compiler

hi, can we install gcc compiler in unix based OS(sun solar,IBM AIX,HP,etc) and also can we install sun cc compiler in AIX environment and vice versa. and more ..is linux support cc compiler regards Ajay (3 Replies)
Discussion started by: ajaysahoo
3 Replies

9. Programming

A question regarding the gcc compiler ...

It might be a simple one but I have this question bothering me for sometime. When we do a symbol search inside the library directory (i.e. /usr/lib/*) via tools like nm; it takes a while to give us the results. However, its very quick when gcc is invoked to compile a program with the very same... (11 Replies)
Discussion started by: Praveen_218
11 Replies
APACHE2(8)							      apache2								APACHE2(8)

NAME
apache2 - Apache Hypertext Transfer Protocol Server SYNOPSIS
apache2 [ -d serverroot ] [ -f config ] [ -C directive ] [ -c directive ] [ -D parameter ] [ -e level ] [ -E file ] [ -k start|restart|graceful|stop|graceful-stop ] [ -R directory ] [ -h ] [ -l ] [ -L ] [ -S ] [ -t ] [ -v ] [ -V ] [ -X ] [ -M ] SUMMARY
apache2 is the Apache HyperText Transfer Protocol (HTTP) server program. It is designed to be run as a standalone daemon process. When used like this it will create a pool of child processes or threads to handle requests. In general, apache2 should not be invoked directly, but rather should be invoked via /etc/init.d/apache2 or apache2ctl. The default Debian configuration requires environment variables that are defined in /etc/apache2/envvars and are not available if apache2 is started directly. However, apache2ctl can be used to pass arbitrary arguments to apache2. DOCUMENTATION
The full documentation is available in the apache2-doc package or at http://httpd.apache.org/docs/2.2/ . Information about Debian specific changes and configuration can be found in /usr/share/doc/apache2/README.Debian.gz . OPTIONS
-d serverroot Set the initial value for the ServerRoot directive to serverroot. This can be overridden by the ServerRoot directive in the configu- ration file. -f config Uses the directives in the file config on startup. If config does not begin with a /, then it is taken to be a path relative to the ServerRoot. The default is /etc/apache2/apache2.conf. -k start|restart|graceful|stop|graceful-stop Signals apache2 to start, restart, or stop. See Stopping Apache for more information. -C directive Process the configuration directive before reading config files. -c directive Process the configuration directive after reading config files. -D parameter Sets a configuration parameter which can be used with <IfDefine> sections in the configuration files to conditionally skip or process commands at server startup and restart. -e level Sets the LogLevel to level during server startup. This is useful for temporarily increasing the verbosity of the error messages to find problems during startup. -E file Send error messages during server startup to file. -R directory When the server is compiled using the SHARED_CORE rule, this specifies the directory for the shared object files. -h Output a short summary of available command line options. -l Output a list of modules compiled into the server. This will not list dynamically loaded modules included using the LoadModule directive. -L Output a list of directives together with expected arguments and places where the directive is valid. -M Dump a list of loaded Static and Shared Modules. -S Show the settings as parsed from the config file (currently only shows the virtualhost settings). -t Run syntax tests for configuration files only. The program immediately exits after these syntax parsing tests with either a return code of 0 (Syntax OK) or return code not equal to 0 (Syntax Error). If -D DUMP_VHOSTS is also set, details of the virtual host con- figuration will be printed. If -D DUMP_MODULES is set, all loaded modules will be printed. -v Print the version of apache2, and then exit. -V Print the version and build parameters of apache2, and then exit. -X Run apache2 in debug mode. Only one worker will be started and the server will not detach from the console. SEE ALSO
apache2ctl(8), /usr/share/doc/apache2/README.Debian.gz Apache HTTP Server 2008-04-05 APACHE2(8)
All times are GMT -4. The time now is 07:22 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy