problem during configure of apache

unix

    Next

  • 1. Possible to get CPU time used for a process that has not exited?
    Possible to get CPU time used for a process that has not exited? Looking for general answer, but also specifically for Linux and/or Solaris answer. As far as I can tell, the Solaris /proc interface only gives you access to CPU time of processes that have exited.
  • 2. JAVA PATH ON SOLARIS 9
    Hi, I lost the java path on my solaris sparc 9. It's only working for root. I am not able to set it up. This is what I try: When I call java I get this error message: bash-2.05$ java Error: could not find libjava.so Error: could not find Java 2 Runtime Environment. bash-2.05$ I try to set the java class path doing this: bash-2.05$ export PATH=/usr/j2se:$PATH bash-2.05$ java Error: could not find libjava.so Error: could not find Java 2 Runtime Environment. bash-2.05$ The same error message appears. Any idea? Thanks for your help
  • 3. How to monitor disk space usage and performance
    I'm overseeing a project where we will eventually replace two A1000 arrays with a new 3510. This will not happen for approx 3 weeks. During that time, I would like to log disk space usage and performance on the A1000s over the next couple weeks so I can then do the same thing with the 3510. Hopefully I will be able to show an improved performance with the 3510. Are there any free utilities or anything built into Solaris that I can use to accomplish this? I will need to log it somehow so I could put it into a spreadsheet to show to upper management and the client. Thanks, Tim
  • 4. invalid-prom contents
    Hello, I powered on my ultra 60 the other day after quite a while and it came up with invalid prom contents and keeps resetting the nvram to default values. I ordered 2 idprom chips, one new and one refurbished, I have tried both but it still comes up with the same error. Could this be something else ? i.e. motherboard fault? Thanks.

problem during configure of apache

Postby JonasD » Tue, 25 Apr 2006 17:49:57 GMT

Hi,

I try to compile apache 2 for Sparc Sun Solaris 9.

./configure tells
.....
APR Version: 0.9.7
checking for chosen layout... apr
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C
compiler cannot create executables
See `config.log' for more details.
configure failed for srclib/apr

In config.log I don't see an error message (only the exit code -1).

I installed gcc before starting with apache. Do I need something else ?


Re: problem during configure of apache

Postby Ian Collins » Tue, 25 Apr 2006 17:52:37 GMT


Try one of:

Get Apache 2 from blastwave.org, or Make sure gcc is in your path.

-- 
Ian Collins.

Re: problem during configure of apache

Postby JonasD » Tue, 25 Apr 2006 18:14:52 GMT

Ian Collins schrieb:




gcc is the $path and I downloaded apache from apache.org.


Re: problem during configure of apache

Postby JonasD » Tue, 25 Apr 2006 18:15:00 GMT

Ian Collins schrieb:




gcc is the $path and I downloaded apache from apache.org.


Re: problem during configure of apache

Postby Ian Collins » Tue, 25 Apr 2006 18:23:42 GMT



Have you tried the Blastwave package?

-- 
Ian Collins.

Re: problem during configure of apache

Postby PM » Tue, 25 Apr 2006 18:32:03 GMT



Exit code from what? Post a little more from config.log.

Either badly installed compiler (what shows `gcc -v`?)
or environment ($CFLAGS, $CPPFLAGS, $LDFLAGS, ...)

PM

Re: problem during configure of apache

Postby JonasD » Tue, 25 Apr 2006 18:33:27 GMT

blastwave has a lot of packages but at the end it refers to apache.org.


I don't know exactly what's the right packages for my Sparc Solaris 9 ?
 I'm new on this site and for download I see only a link to the
apache.org website.


Re: problem during configure of apache

Postby JonasD » Tue, 25 Apr 2006 18:40:48 GMT

Last  part of configure.log:

configure: exit 1
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/modules'
localstatedir='${prefix}'
logfiledir='${localstatedir}/logs'
logresolve_LTFLAGS=''
mandir='${prefix}/man'
manualdir='${datadir}/manual'
nonssl_listen_stmt_1=''
nonssl_listen_stmt_2=''
oldincludedir='/usr/include'
other_targets=''
perlbin=''
prefix='/usr/local/apache2'
progname=''
program_transform_name='s,x,x,'
proxycachedir='${localstatedir}/proxy'
rel_bindir='bin'
rel_cgidir='cgi-bin'
rel_datadir=''
rel_errordir='error'
rel_exec_prefix=''
rel_htdocsdir='htdocs'
rel_iconsdir='icons'
rel_includedir='include'
rel_installbuilddir='build'
rel_libdir='lib'
rel_libexecdir='modules'
rel_localstatedir=''
rel_logfiledir='logs'
rel_mandir='man'
rel_manualdir='manual'
rel_proxycachedir='proxy'
rel_runtimedir='logs'
rel_sbindir='bin'
rel_sysconfdir='conf'
rotatelogs_LTFLAGS=''
runtimedir='${localstatedir}/logs'
sbindir='${exec_prefix}/bin'
shared_build=''
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/conf'
target='sparc-sun-solaris2.9'
target_alias=''
target_cpu='sparc'
target_os='solaris2.9'
target_vendor='sun'

configure: exit 1
----------------------------
gcc -v
Reading specs from
/opt/sfw/lib/gcc-lib/sparc-sun-solaris2.9/2.95.3/specs
gcc version 2.95.3 20010315 (release)
----------------------------------------
$CFLAGC, $CPPFLAG, $LDFLAGS are empty.


Re: problem during configure of apache

Postby PM » Tue, 25 Apr 2006 18:53:37 GMT



What about config.log?



Any reason not using gcc3 for this?

PM

Re: problem during configure of apache

Postby JonasD » Tue, 25 Apr 2006 19:15:10 GMT

There is no special reason .. but I was not able to find a newer
version (binary) for Sparc Solaris 9.


Re: problem during configure of apache

Postby PM » Tue, 25 Apr 2006 19:28:25 GMT



... for what?
Some context is always useful.



Once more again:

 http://www.**--****.com/ 

PM

Re: problem during configure of apache

Postby Ian Collins » Tue, 25 Apr 2006 19:44:37 GMT


Download and install pkg_get from blastwave.org, then run

pkg_get -i apache2

-- 
Ian Collins.

Re: problem during configure of apache

Postby JonasD » Tue, 25 Apr 2006 20:24:39 GMT

Ian Collins schrieb:




It doesn't work for me because my box is not connected to the internet.
Seems I need the CD / DVD.


Re: problem during configure of apache

Postby Thommy M. » Tue, 25 Apr 2006 22:48:27 GMT

> It doesn't work for me because my box is not connected to the internet.

I've been there too. In this case sunfreeware.com is your friend...

ftp://ftp.sunfreeware.com/pub/freeware/sparc/9/apache-2.2.0-sol9-sparc-local.gz


Re: problem during configure of apache

Postby Henry Townsend » Tue, 25 Apr 2006 23:15:52 GMT





My sparc solaris 9 machine has a perfectly good gcc 3.4.3 in /usr/sfw/bin.

Similar Threads:

1.3.9, 4.0 install problem and solution: wd0 not configured error during newfs but fdisk, disklabel works

I boot from floppy and install progresses well until newfs tries to
format the partition/slice I created using fdisk and disklabel. Both
fdisk and disklabel seem to write to the drive, but newfs cannot -
error message is device not configured. The exact same thing seems to
happen on 3.9. Any ideas?

This is on a Dell Precision 350 desktop. The drive is a SATA drive
connected using a Promise PDC20375 card. I have tried using a different
port on the card: same problem.

I am glad I tried a few things before posting this. Solution follows.
So this post morphs into the solution as well.

This was a fresh drive and I used fdisk to clean the partition table
and create a new openBSD A6 partition and wrote this to disk. This went
well. Then disklabel automagically came up and saw this and
autoconfigured 'a' to be the same size as the one fdisk created. When I
say save and go, the error occurs: Cant mount, not configured.

Fix: In disklabel, delete 'a', then add 'a' . This time, questions are
asked about the filesystem and mount point. After writing this
disklabel, newfs and mount work and the install continues.

Hope this helps, .... someone . : )

2.Compile/Configure Apache 1.3.31 problem without error message

Hello out there!


I am trying to compile the recent Apache HTTPD 1.3.31 on my small home
server (Athlon 750 MHz, 512 MB RAM, 8 GB HDD).
My problem is: Every simple ./configure (with none, more or less
parameters) is broken down at the sanity check without any visible
error message as you can see at most compile problems.
I tried it with SuSE 9.1 and with Fedora Core 2, always the same
result.
Googling about it for 2 days, but I found nothing. Everyone with
compile problems seems to have more or less a kind of error message
here (like make not found, gcc error message). When I enter - just for
fun - the compile command for dummy.c on my own, GCC works and ends,
without any message.


I hope somebody can help me because I think this problem cannot be too
hard as the compiled Apache and other things at work on other machines
so often.


Here you see what I got on my last try (Fedora Core 2):



root@zoolserver apache_1.3.31]# ./configure
--prefix=/server/apache/1.3-branch
Configuring for Apache, Version 1.3.31
 + using installation path layout: Apache (config.layout)
Creating Makefile
Creating Configuration.apaci in src
Creating Makefile in src
 + configured for Linux platform
 + setting C compiler to gcc
 + setting C pre-processor to gcc -E
 + using "tr [a-z] [A-Z]" to uppercase
 + checking for system header files
 + adding selected modules
 + using builtin Expat
 + checking sizeof various data types
 + doing sanity check on compiler and options
** A test compilation with your Makefile configuration
** failed.  The below error output from the compilation
** test will give you an idea what is failing. Note that
** Apache requires an ANSI C Compiler, such as gcc.


======== Error Output for sanity check ========
cd ..; gcc  -DLINUX=22 -DUSE_HSREGEX -DUSE_EXPAT -I./lib/expat-lite
-DNO_DL_NEEDED `./apaci`     -o helpers/dummy helpers/dummy.c   -lm
============= End of Error Report =============


 Aborting!



As already told, the result with other parameters or on SuSE 9.1 is
the same.


Thanks in advance and best regards,
- Marc Speauw

3.Problem configuring Apache 2.0 on Mandrake 10.1 (fresh rpm install)

4.Problem with Configuring ssl on Apache 2.0.50

System Config
MandrakeLinux 9.0
Apache/2.0.50 (Unix) mod_ssl/2.0.50
OpenSSL/0.9.6i
PHP/4.3.6 Server
when hit with a browser get
  the CA is expired 1/7/2004 (Verisign)

The intermediate.crt shows valid until 2011

If I load the intermediate.crt on the windows machine.
it then works OK.

I shouldn't have to do this for every browser that hits my server.

What is configured wrong.


my server is tims.telehouse.com
I tried to start with directive
SSLCertificateChainFile /www/ssl/intermediate.crt


My .conf file follows
------------ ssl.conf ------------------
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin

<IfDefine SSL>
Listen 443
AddType application/x-x509-ca-cert .crt
AddType application/x-pkcs7-crl    .crl
SSLPassPhraseDialog  builtin
SSLSessionCache         dbm:logs/ssl_scache
SSLSessionCacheTimeout  300
SSLMutex  file:logs/ssl_mutex

<VirtualHost _default_:443>
DocumentRoot "/www/htdocs"
ServerName tims.telehouse.com:443
ServerAdmin  XXXX@XXXXX.COM 
ErrorLog logs/error_log
TransferLog logs/access_log

SSLEngine on
SSLProtocol -all +SSLv2
SSLCipherSuite SSLv2:+HIGH:+MEDIUM:+LOW:+EXP

## SSLCertificateChainFile /www/ssl/intermediate.crt
SSLCACertificateFile /www/ssl/intermediate.crt
SSLCertificateFile /www/ssl/server.crt
SSLCertificateKeyFile /www/ssl/server.key


HostnameLookups On






<Files ~ "\.(cgi|shtml|phtml|php3?)$">
     SSLOptions +StdEnvVars
</Files>
<Directory "/www/cgi-bin">
     SSLOptions +StdEnvVars
</Directory>
SetEnvIf User-Agent ".*MSIE.*" \
          nokeepalive ssl-unclean-shutdown \
          downgrade-1.0 force-response-1.0
CustomLog logs/ssl_request_log \
           "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"

</VirtualHost>

</IfDefine>

5.compile and exucute during autotool configure script

Hi NG,

I am trying to write a library, which can be configured in different 
ways using the autoconf configure script. Based on this configuration I 
want to make a table with some precomputed values. These values will 
always be the same for a specific configuration, so I want to make the 
table static const. But to do this I need to have it in a .c or .h file 
and compile it with the rest of the code.
I want to do this by compiling a program and execute it during the 
configure run, and use it's output as an include file for another piece 
of my code. I think something like this should be possible, but I just 
can't figure out how and where to start.

Can anyone please help me or point me in the right direction?

Thanks,
   Mark

-- 
<<Remove the del for email>>

6. Apache 1.3.27 upgrade to 1.3.33 need SSL configured

7. Apache and configuring cgi_bin for each user

8. Configuring Apache (RewriteRule and ScriptAliasMatch)



Return to unix

 

Who is online

Users browsing this forum: No registered users and 24 guest