Sponsored Content
Operating Systems AIX Error when compile httpd 2.2.8 on AIX 5.2 Post 302162239 by aldowsary on Monday 28th of January 2008 11:24:16 AM
Old 01-28-2008
Question Error when compile httpd 2.2.8 on AIX 5.2

Hi everybody,

I tried to compile httpd-2.8.8 on AIX 5.2. After downloading the Source file I run the configure as following:
>> CC=gcc ./configure --prefix=/usr/local/apache
After that i run the command make, but it failed. Below are last several lines of stdout of the make command:
lo threadproc/unix/procsup.lo threadproc/unix/signals.lo threadproc/unix/thread.lo threadproc/unix/threadpriv.lo time/unix/time.lo time/unix/timestr.lo user/unix/groupinfo.lo user/unix/userinfo.lo -lpthread
collect2: library libgcc_s_pthread not found
make[3]: *** [libapr-1.la] Error 1
make[3]: Leaving directory `/Apache/httpd-2.2.8/srclib/apr'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/Apache/httpd-2.2.8/srclib/apr'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/Apache/httpd-2.2.8/srclib'
make: *** [all-recursive] Error 1

Any idea?

Thanks in advance

Last edited by aldowsary; 01-29-2008 at 09:21 AM.. Reason: Follow Up
 

10 More Discussions You Might Find Interesting

1. Programming

compile problem on aix

When compiling (a simple test program): #include <stdio.h> #include <sys/context.h> int main() { printf("Hello\n"); return 0; } on AIX 5.2 with gcc 3.2.2 from the IBM site I get the following error: /usr/include/sys/context.h:169: parse error before "sigset64_t"... (4 Replies)
Discussion started by: rein
4 Replies

2. AIX

Compile gcc on AIX 5.2

I'm trying to compile gcc 3.4.6 on AIX 5.2 but I get this error: bison -t --name-prefix=java_ -o java/parse.c java/parse.y M4sugar requires GNU M4. Install it before installing M4sugar or set the M4 environment variable to its path name.make: *** Broken pipe gcc -c -g -O2 -DIN_GCC -W... (7 Replies)
Discussion started by: untamed
7 Replies

3. AIX

Compile PHP in AIX: Loading issues

Finally I was able to compile PHP on AIX. When I try to load from Apache, I get the below error. /install/usr/local/apache2/bin:>apachectl -f /install/usr/local/apache2/conf/httpd.conf -k stop httpd: Syntax error on line 53 of /install/usr/local/apache2/conf/httpd.conf: Cannot load... (0 Replies)
Discussion started by: KarthikKannan
0 Replies

4. Programming

Can someone compile and run a program on AIX 6.1 please?

Hi, I have a program which collects performance data from AIX. It works fine on older releases (< 5.3) but I fail to get data from /proc. I would really appreciate it if someone could compile (using ANSI compat C compiler), run the program (for 30-40 minutes) on AIX 6.1 and send me the... (2 Replies)
Discussion started by: StuBob
2 Replies

5. AIX

Compile PHP on AIX 5.2 Error

Hello, I am trying to compile PHP 5.3.5 on AIX 5.2 with Apache 2.2.17 and Mysql 3.23.58 Apache und Mysql are working fine but if i try to compile PHP i get this error: with make: sapi/apache2handler/php_functions.lo main/internal_functions.lo -lmysqlclient -lfreetype -lX11 -lXpm -lpng -lz... (2 Replies)
Discussion started by: dtiger
2 Replies

6. Red Hat

How to compile httpd using gcc in RHEL?

Hi All, I am trying to compile httpd2.2.19 in RHEL5.5 using gcc version 4.1.2. This is first time I am trying to compile httpd in RHEL. I ran configure with below option ./configure --prefix=/usr/local/apache --enable-rewrite --enable-ssl=shared... (0 Replies)
Discussion started by: kalpeer
0 Replies

7. AIX

MySQL 5.5.28 compile on AIX 7.1

Hi, I have an AIX 7.1 lpar with cmake, gmp, libmpc, mpfr on it and a gcc 4.6.2 compiler that was made with the no-dependency flag. I am trying to complile MySql5.5.28 from Oracle. Cmake runs fine. Then when I run make, I get the following: <nyissz> Scanning dependencies of target strings ... (12 Replies)
Discussion started by: Ismeret Tenger
12 Replies

8. AIX

Cannot compile/install gnu program on AIX

Hello, I'm trying to install ansifilter which is a program that translates ansi text to HTML. The idea is to install it on AIX 7.1 but is failing. All de appropriate gcc libraries and requirements for this software were installed successfully, but when I do the gmake I get the following... (0 Replies)
Discussion started by: bazajav
0 Replies

9. Proxy Server

Building up apache httpd on AIX - acquiring RPMs etc.

pardon the ed URL refs but I'm not allowed to post URLs yet. and the misspelling in the original thread title, which I can't edit even in 'advanced' greetings all, posting this here rather than in Web Development since I suspect this is rather AIX-specific and will need some arcane knowledge,... (2 Replies)
Discussion started by: maraixadm
2 Replies

10. Proxy Server

Httpd proxy on AIX: failed to connect SSL

Hi, I am trying to migrate a quite old proxy server with Apache httpd, running on AIX The scenario is that my server accepts connections on http and proxies them to an SSL backend. This is done in a ProxyPass statement, as follows: ProxyPass /myservice/my-ws... (1 Reply)
Discussion started by: trifo75
1 Replies
Apache::TestRun(3)					User Contributed Perl Documentation					Apache::TestRun(3)

NAME
Apache::TestRun - Run the test suite SYNOPSIS
DESCRIPTION
The "Apache::TestRun" package controls the configuration and running of the test suite. METHODS
Several methods are sub-classable, if the default behavior should be changed. "bug_report" The "bug_report()" method is executed when "t/TEST" was executed with the "-bugreport" option, and "make test" (or "t/TEST") fail. Normally this is callback which you can use to tell the user how to deal with the problem, e.g. suggesting to read some document or email some details to someone who can take care of it. By default nothing is executed. The "-bugreport" option is needed so this feature won't become annoying to developers themselves. It's automatically added to the "run_tests" target in Makefile. So if you repeateadly have to test your code, just don't use "make test" but run "t/TEST" directly. Here is an example of a custom "t/TEST" My::TestRun->new->run(@ARGV); package My::TestRun; use base 'Apache::TestRun'; sub bug_report { my $self = shift; print <<EOI; +--------------------------------------------------------+ | Please file a bug report: http://perl.apache.org/bugs/ | +--------------------------------------------------------+ EOI } "pre_configure" The "pre_configure()" method is executed before the configuration for "Apache::Test" is generated. So if you need to adjust the setup before httpd.conf and other files are autogenerated, this is the right place to do so. For example if you don't want to inherit a LoadModule directive for mod_apreq.so but to make sure that the local version is used, you can sub-class "Apache::TestRun" and override this method in t/TEST.PL: package My::TestRun; use base 'Apache::TestRun'; use Apache::TestConfig; __PACKAGE__->new->run(@ARGV); sub pre_configure { my $self = shift; # Don't load an installed mod_apreq Apache::TestConfig::autoconfig_skip_module_add('mod_apreq.c'); $self->SUPER::pre_configure(); } Notice that the extension is .c, and not .so. Don't forget to run the super class' c<pre_configure()> method. "new_test_config" META: to be completed Persistent Custom Configuration When "Apache::Test" is first installed or used, it will save the values of "httpd", "apxs", "port", "user", and "group", if set, to a configuration file "Apache::TestConfigData". This information will then be used in setting these options for subsequent uses of "Apache-Test" unless temprorarily overridden, either by setting the appropriate environment variable ("APACHE_TEST_HTTPD", "APACHE_TEST_APXS", "APACHE_TEST_PORT", "APACHE_TEST_USER", and "APACHE_TEST_GROUP") or by giving the relevant option ("-httpd", "-apxs", "-port", "-user", and "-group") when the "TEST" script is run. To avoid either using previous persistent configurations or saving current configurations, set the "APACHE_TEST_NO_STICKY_PREFERENCES" environment variable to a true value. Finally it's possible to permanently override the previously saved options by passing "-save". Here is the algorithm of how and when options are saved for the first time and when they are used. We will use a few variables to simplify the pseudo-code/pseudo-chart flow: $config_exists - custom configuration has already been saved, to get this setting run "custom_config_exists()", which tests whether either "apxs" or "httpd" values are set. It doesn't check for other values, since all we need is "apxs" or "httpd" to get the test suite running. custom_config_exists() checks in the following order lib/Apache/TestConfigData.pm (if during Apache-Test build) , ~/.apache-test/Apache/TestConfigData.pm and Apache/TestConfigData.pm in the perl's libraries. $config_overriden - that means that we have either "apxs" or "httpd" values provided by user, via env vars or command line options. 1 Building Apache-Test or modperl-2.0 (or any other project that bundles Apache-Test). 1) perl Apache-Test/Makefile.PL (for bundles top-level Makefile.PL will run this as well) if $config_exists do nothing else create lib/Apache/TestConfigData.pm w/ empty config: {} 2) make 3) make test if $config_exists if $config_overriden override saved options (for those that were overriden) else use saved options else if $config_overriden save them in lib/Apache/TestConfigData.pm (which will be installed on 'make install') else - run interactive prompt for C<httpd> and optionally for C<apxs> - save the custom config in lib/Apache/TestConfigData.pm - restart the currently run program modperl-2.0 is a special case in (3). it always overrides 'httpd' and 'apxs' settings. Other settings like 'port', can be used from the saved config. 4) make install if $config_exists only in lib/Apache/TestConfigData.pm it will be installed system-wide else nothing changes (since lib/Apache/TestConfigData.pm won't exist) 2 Testing 3rd party modules (after Apache-Test was installed) Notice that the following situation is quite possible: cd Apache-Test perl Makefile.PL && make install so that Apache-Test was installed but no custom configuration saved (since its "make test" wasn't run). In which case the interactive configuration should kick in (unless config options were passed) and in any case saved once configured. $custom_config_path - perl's Apache/TestConfigData.pm (at the same location as Apache/TestConfig.pm) if that area is writable by that user (e.g. perl's lib is not owned by 'root'). If not, in ~/.apache-test/Apache/TestConfigData.pm. 1) perl Apache-Test/Makefile.PL 2) make 3) make test if $config_exists if $config_overriden override saved options (for those that were overriden) else use saved options else if $config_overriden save them in $custom_config_path else - run interactive prompt for C<httpd> and optionally for C<apxs> - save the custom config in $custom_config_path - restart the currently run program 4) make install Saving Custom Configuration Options If you want to override the existing custom configurations options to "Apache::TestConfigData", use the "-save" flag when running "TEST". If you are running "Apache::Test" as a user who does not have permission to alter the system "Apache::TestConfigData", you can place your own private configuration file TestConfigData.pm under "$ENV{HOME}/.apache-test/Apache/", which "Apache::Test" will use, if present. An example of such a configuration file is # file $ENV{HOME}/.apache-test/Apache/TestConfigData.pm package Apache::TestConfigData; use strict; use warnings; use vars qw($vars); $vars = { 'group' => 'me', 'user' => 'myself', 'port' => '8529', 'httpd' => '/usr/local/apache/bin/httpd', }; 1; perl v5.12.1 2008-02-25 Apache::TestRun(3)
All times are GMT -4. The time now is 04:38 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy