httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lee Fellows <lfell...@4lane.com>
Subject Re: apache compilation error "still not working"
Date Fri, 10 May 2002 13:15:28 GMT
Faisal,

  Try compiling a small c or c++ program: i.e.,

    #include <stdio.h>
    #include <stdlib.h>

    void main () {
      printf ("Hello, World!\n");
      exit;
    }

  (Simple minded, I know, but trust me, it works)
  Attempt to compile it with the command 'gcc <your source file>`.
  This should produce a file named a.out which you can then attempt
  to run by ./a.out.  My suspicion is that your build system (gcc, as,
  ld, etc) is broken/missing components.  I say this because I have 
  encountered the same problem on one of my Ultra 10's running 
  solaris 8.  Unfortunately, I have not yet been able to track down
  the source of my problem due to other demands on my time.

  If the test fails, at least you know the problem lies with your
  build environment, not the apache source.

HTH

On Fri, 2002-05-10 at 00:32, faisal gillani wrote:
> Well i did what you told me but still same error ..
> although i must tell you that there are no file in
> /usr/ccs/bin i am using gcc & used a precompiled
> package for it which is in the path
> /usr/local/bin/gcc/ ... this i already have in my path
> but still this error coming up ..
> 
> hope you can help me 
> thanks
> 
> --- Rabea Husseis <husseis_amm@hotmail.com> wrote:
> > Check if /usr/local/bin and /usr/ccs/bin (for make)
> > in ur UNIX PATH
> > #echo $PATH
> > 
> > if not u have to add it:
> > #PATH=$PATH:/usr/local/bin:/usr/ccs/bin
> > #export PATH
> > 
> > >From: faisal gillani <fasi_74@yahoo.com>
> > >Reply-To: users@httpd.apache.org
> > >To: users@httpd.apache.org
> > >Subject: apache compilation error "still not
> > working"
> > >Date: Thu, 9 May 2002 20:54:33 -0700 (PDT)
> > >
> > >Well now i did define the PATH of the gcc file
> > which
> > >was in /usr/local/bin/gcc but still the error here
> > is
> > >what it says
> > >
> > >"loading cache ./config.cache
> > >checking for chosen layout... Apache
> > >checking host system type... i386-pc-solaris2.8
> > >checking target system type... i386-pc-solaris2.8
> > >checking build system type... i386-pc-solaris2.8
> > >
> > >Configuring Apache Portable Runtime library ...
> > >
> > >configuring package in srclib/apr now
> > >loading cache
> > /usr/local/httpd-2.0.35/./config.cache
> > >checking host system type... i386-pc-solaris2.8
> > >checking target system type... i386-pc-solaris2.8
> > >checking build system type... i386-pc-solaris2.8
> > >Configuring APR library
> > >Platform: i386-pc-solaris2.8
> > >checking for gcc... (cached) gcc
> > >checking whether the C compiler (gcc  ) works... no
> > >configure failed for srclib/apr
> > >"
> > >
> > >plz help me out here
> > >thanks
> > >
> > >
> > >
> > >=====
> > >*º¤., ¸¸,.¤º*¨¨¨*¤ Allah-hu-Akber*º¤., ¸¸,.¤º*¨¨*¤
> > >
> > >__________________________________________________
> > >Do You Yahoo!?
> > >Yahoo! Shopping - Mother's Day is May 12th!
> > >http://shopping.yahoo.com
> > >
> >
> >---------------------------------------------------------------------
> > >To unsubscribe, e-mail:
> > users-unsubscribe@httpd.apache.org
> > >For additional commands, e-mail:
> > users-help@httpd.apache.org
> > 
> > 
> >
> _________________________________________________________________
> > Chat with friends online, try MSN Messenger:
> > http://messenger.msn.com
> > 
> > 
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > users-unsubscribe@httpd.apache.org
> > For additional commands, e-mail:
> > users-help@httpd.apache.org
> > 
> 
> 
> =====
> *º¤., ¸¸,.¤º*¨¨¨*¤ Allah-hu-Akber*º¤., ¸¸,.¤º*¨¨*¤
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Shopping - Mother's Day is May 12th!
> http://shopping.yahoo.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message