Visit Our UNIX and Linux User Community


Installing Apache and a C Compiler on Solaris 8


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Installing Apache and a C Compiler on Solaris 8
# 1  
Old 10-01-2001
Question Installing Apache and a C Compiler on Solaris 8

Hi!

I just got Ultra 5 computer an installed Solaris 8 on it. I'm trying to install Apache but I'm having some problems...

I tried to download a precompiled version of apache, but it seems as if I need a c compiler anyway.

When I try to run the configure command I get the following result:

# ./configure
Configuring for Apache, Version 1.3.20
+ Warning: Configuring Apache with default settings.
+ This is probably not what you really want.
+ Please read the README.configure and INSTALL files
+ first or at least run './configure --help' for
+ a compact summary of available options.
+ using installation path layout: Apache (config.layout)
Creating Makefile
Creating Configuration.apaci in src
Creating Makefile in src
+ configured for Solaris 280 platform
Error: could not find any of these C compilers
anywhere in your PATH: gcc cc acc c89
Configure terminated

So... I need a c compiler...

I downloaded gcc and tried to install it and got the following error message

# ./configure
Configuring for a sparc-sun-solaris2.8 host.
*** This configuration is not supported in the following subdirectories:
target-libffi target-boehm-gc target-zlib target-libjava
(Any other directories should still work fine.)
Created "Makefile" in /usr/anwi/dl/gcc-3.0 using "mh-frag"
./configure: cc: not found
*** The command 'cc -o conftest -g conftest.c' failed.
*** You must set the environment variable CC to a working compiler.

So... I need a compiler to install my compiler... How do I solve this?

Best regards,
Anders
# 2  
Old 10-01-2001
download the precompiled version of gcc and install it w/ pkgadd. this will make the sym link for you and you will then have a working compiler for apache.

www.sunfreeware.com
# 3  
Old 10-02-2001
Bug

Thank you!

Its working great now!
 

Previous Thread | Next Thread
Test Your Knowledge in Computers #768
Difficulty: Medium
Smart cache, developed by AMD, is a level 2 or level 3 caching method for multiple execution cores
True or False?

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Installing Apache with Shellscript

Hi, I want shell script for installing apache. Please give explain to script. I am learning shell script now only. (0 Replies)
Discussion started by: raj1983
0 Replies

2. Red Hat

Installing the C compiler

Hello Unixians, I downloaded an ISO image of RHEL 6 from the web using a torrent and am trying to install it in my windows pc (dual boot). I was able to complete the installation. I now want to connect my USB hard drive. As you all know, its NTFS formatted and I had to install an NTFS package. I... (1 Reply)
Discussion started by: Aj_rev
1 Replies

3. AIX

Problem Installing Apache from rpm

I am attempting to install an rpm of Apache from perzl.org on an AIX 6100-07-03-1207 server and it is failing. I think I have all of the dependencies installed. Can anyone help? Any help would be appreciated. It fails with the following error: # rpm -Uvh httpd-2.4.2-2.aix5.1.ppc.rpm ... (3 Replies)
Discussion started by: lbholde
3 Replies

4. Red Hat

installing the gcc cross compiler

While i try to install the gcc cross compiler using following commands in fedora 6 commands cd /etc/yum.repos.d/ # wget http://fedora-arm.wantstofly.org/cross/cross.repo # yum install armv5tel-redhat-linux-gnueabi-gcc i got an error # cd yum.repos.d # wget... (3 Replies)
Discussion started by: sujith4u87
3 Replies

5. UNIX for Dummies Questions & Answers

Installing Apache with make options

I am installing apache on freebsd and the screen comes up with make options. Here I would like to deselect DAV and DAV_FS. How can this be done on the command line in order to achieve a silent install? This is what I have currently, but the installation script still enters the menu with the make... (2 Replies)
Discussion started by: figaro
2 Replies

6. Linux

Installing Php for apache

Hi i am using Fedora 8 and it comes with precompiled rpm distribution of php. I want to configure my Apache web server for php . Did i need to recompile php.... or it can be configured accordingly for apache... Thanks for any sort of help (1 Reply)
Discussion started by: joshighanshyam
1 Replies

7. UNIX for Dummies Questions & Answers

Error installing apache

I've installed apache server following all the instructions witch accuracy, but i can't start the server. I extraxt the files Configure to /usr/local/apache make make install But when I want to /usr/local/apache/bin/apachectl start I can't There are a lot of files in the bin folder... (3 Replies)
Discussion started by: ncatdesigner
3 Replies

8. UNIX for Dummies Questions & Answers

installing apache (nightmare for me)

Please help... i'm new to this job and new to unix as well..... i'm trying to install apache 2.2.6 it's installed on one server... i need to install it on another server... my clue was to maybe use the fetch command... please help.....for example..... apache is on 69.50.132.14.... and it needs to... (1 Reply)
Discussion started by: marinob007
1 Replies

9. SCO

HELP SCO 5.07 and Installing Apache Tomcat 4.01

I need to install Apache TOmcat 4.01 on SCO Openserver 5.07 rather than using the default 4.1.29 version which comes with the original release of 5.07 anyone got any ideas hw to go about this, really struggling having downloaded the source and binariys and getting nowhere fast (0 Replies)
Discussion started by: ccarcher
0 Replies

Featured Tech Videos