You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Hu, Leigi (CDC/CCHIS/NCPHI) (CTR)" <dx...@CDC.GOV> on 2007/11/08 15:24:40 UTC

[users@httpd] errors with installing Apache HTTP 2.0.61

Hi there,

 

I try to install Apache HTTP 2.0.61 server on a Solaris 10 UNIX machine.
I can't check the signature of the downloaded Apache HTTP 2.0.61 as my
UNIX machine doesn't recognize the 'gpg' command. When I was trying to
configure Apache HTTP 2.0.61, I received the following WARNING message:

configure: WARNING: netinet/sctp.h: present but cannot be compiled

configure: WARNING: netinet/sctp.h:     check for missing prerequisite
headers?

configure: WARNING: netinet/sctp.h: see the Autoconf documentation

configure: WARNING: netinet/sctp.h:     section "Present But Cannot Be
Compiled"

configure: WARNING: netinet/sctp.h: proceeding with the preprocessor's
result

configure: WARNING: netinet/sctp.h: in the future, the compiler will
take precedence

config.status: WARNING:  apr-config.in seems to ignore the --datarootdir
setting

config.status: WARNING:  Makefile.in seems to ignore the --datarootdir
setting

config.status: WARNING:  lib/Makefile.in seems to ignore the
--datarootdir setting

 

When I ignored the warnings above and continued to build the Apache
package by running 'make' command, I got the following errors:

make: Fatal error: Command failed for target `libexpat.la'

Current working directory
/export/home/dxq6/apache/httpd-2.0.61/srclib/apr-util/xml/expat/lib

make: Fatal error: Command failed for target `build-subdirs'

Current working directory
/export/home/dxq6/apache/httpd-2.0.61/srclib/apr-util/xml/expat

make: Fatal error: Command failed for target `all-recursive'

Current working directory
/export/home/dxq6/apache/httpd-2.0.61/srclib/apr-util/xml

make: Fatal error: Command failed for target `all-recursive'

Current working directory
/export/home/dxq6/apache/httpd-2.0.61/srclib/apr-util

make: Fatal error: Command failed for target `all-recursive'

Current working directory /export/home/dxq6/apache/httpd-2.0.61/srclib

make: Fatal error: Command failed for target `all-recursive'

 

I am not a system admin. I ran the 'configure' and 'make' commands by
means of 'sudo'. Does someone know why this happened and how to fix the
problem? 

 

Thanks for your help in advance.

 

Rick

 


RE: [users@httpd] errors with installing Apache HTTP 2.0.61

Posted by "Hu, Leigi (CDC/CCHIS/NCPHI) (CTR)" <dx...@CDC.GOV>.
Krist,

Thanks for your quick answer. I re-unpacked the Apache HTTP 2.0.61
software in my account without using 'sudo'. Then I tried 'configure'
and 'make' commands without using sudo. This time it seemed that I
successfully passed these two stages as I only found a (minor) warning
during 'make' stage as listed below:
Libtool: link: warning: 'version-info' is ignored for programs

Now should I use or not use sudo to install Apache?

Thanks,

Rick



-----Original Message-----
From: Krist van Besien [mailto:krist.vanbesien@gmail.com] 
Sent: Thursday, November 08, 2007 10:33 AM
To: users@httpd.apache.org
Subject: Re: [users@httpd] errors with installing Apache HTTP 2.0.61

On Nov 8, 2007 4:13 PM, Hu, Leigi (CDC/CCHIS/NCPHI) (CTR) <dx...@cdc.gov>
wrote:
> Krist,
>
> (1) I use gcc compiler on the UNIX box.
> (2) I tried 'configure' without 'sudo' privileges and got 'Permission
> denied' error:
> ./configure: line 1571: config.log: Permission denied
> ./configure: line 1581: config.log: Permission denied
>
> These lines from file 'configure' are listed below for your
information:
> 1571: cat >config.log <<_ACEOF
>
> 1580: _ACEOF
> 1581: exec 5>>config.log
> 1582: {
>
> Thanks,

You don't have write rights in the apache source dir. Which is odd if
you downloaded and unpacked it yourself. Unless you used sudo for that
too...
Also, are you using the gcc that came with solaris (in /usr/sfw) or
one that was installed somewhere else?

I've compiled apache on solaris 10 quite a few times, using the gcc
that was installed in /usr/sfw

First I needed to fix some headers (this needs to be done as root)

    cd /usr/sfw/libexec/gcc/sparc-sun-solaris2.10/3.3.2/install-tools
    ./mkheaders

I only needed to do that once, after that I just downloaded the most
recent source and unpacked it.
(for this you don't need to be root)

unset LD_LIBRARY_PATH
unset OPENWIN_HOME   #just to make sure
export CC=/usr/sfw/bin/gcc
./configure  (add any options you want)

/usr/sfw/bin/gmake -j

and finally, as root:
/usr/sfw/bin/gmake install

Krist

 --
krist.vanbesien@gmail.com
krist@vanbesien.org
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server
Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] errors with installing Apache HTTP 2.0.61

Posted by Krist van Besien <kr...@gmail.com>.
On Nov 8, 2007 4:13 PM, Hu, Leigi (CDC/CCHIS/NCPHI) (CTR) <dx...@cdc.gov> wrote:
> Krist,
>
> (1) I use gcc compiler on the UNIX box.
> (2) I tried 'configure' without 'sudo' privileges and got 'Permission
> denied' error:
> ./configure: line 1571: config.log: Permission denied
> ./configure: line 1581: config.log: Permission denied
>
> These lines from file 'configure' are listed below for your information:
> 1571: cat >config.log <<_ACEOF
>
> 1580: _ACEOF
> 1581: exec 5>>config.log
> 1582: {
>
> Thanks,

You don't have write rights in the apache source dir. Which is odd if
you downloaded and unpacked it yourself. Unless you used sudo for that
too...
Also, are you using the gcc that came with solaris (in /usr/sfw) or
one that was installed somewhere else?

I've compiled apache on solaris 10 quite a few times, using the gcc
that was installed in /usr/sfw

First I needed to fix some headers (this needs to be done as root)

    cd /usr/sfw/libexec/gcc/sparc-sun-solaris2.10/3.3.2/install-tools
    ./mkheaders

I only needed to do that once, after that I just downloaded the most
recent source and unpacked it.
(for this you don't need to be root)

unset LD_LIBRARY_PATH
unset OPENWIN_HOME   #just to make sure
export CC=/usr/sfw/bin/gcc
./configure  (add any options you want)

/usr/sfw/bin/gmake -j

and finally, as root:
/usr/sfw/bin/gmake install

Krist

 --
krist.vanbesien@gmail.com
krist@vanbesien.org
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: [users@httpd] errors with installing Apache HTTP 2.0.61

Posted by "Hu, Leigi (CDC/CCHIS/NCPHI) (CTR)" <dx...@CDC.GOV>.
Krist,

(1) I use gcc compiler on the UNIX box.
(2) I tried 'configure' without 'sudo' privileges and got 'Permission
denied' error:
./configure: line 1571: config.log: Permission denied
./configure: line 1581: config.log: Permission denied

These lines from file 'configure' are listed below for your information:
1571: cat >config.log <<_ACEOF

1580: _ACEOF
1581: exec 5>>config.log
1582: {

Thanks,

Rick


-----Original Message-----
From: Krist van Besien [mailto:krist.vanbesien@gmail.com] 
Sent: Thursday, November 08, 2007 9:31 AM
To: users@httpd.apache.org
Subject: Re: [users@httpd] errors with installing Apache HTTP 2.0.61

On Nov 8, 2007 3:24 PM, Hu, Leigi (CDC/CCHIS/NCPHI) (CTR) <dx...@cdc.gov>
wrote:
> Thanks for your help in advance.

Firstly, What compiler are you using?
Secondly, you don't need root privileges for the configure and make
commands. What happens when you run them as a normal user?

Krist

-- 
krist.vanbesien@gmail.com
krist@vanbesien.org
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server
Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] errors with installing Apache HTTP 2.0.61

Posted by Krist van Besien <kr...@gmail.com>.
On Nov 8, 2007 3:24 PM, Hu, Leigi (CDC/CCHIS/NCPHI) (CTR) <dx...@cdc.gov> wrote:
> Thanks for your help in advance.

Firstly, What compiler are you using?
Secondly, you don't need root privileges for the configure and make
commands. What happens when you run them as a normal user?

Krist

-- 
krist.vanbesien@gmail.com
krist@vanbesien.org
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org