Sponsored Content
Operating Systems AIX The infamous compilation of Apache + Resin on AIX Post 80466 by mvargas2012R on Monday 8th of August 2005 02:39:57 PM
Old 08-08-2005
Question The infamous compilation of Apache + Resin on AIX

Hello All,

I'm trying to compile Apache + Resin on AIX. This seems to be a major issue with the AIX system as I've come across so far. I was able to successfully compile the apache portion with the recommended compiler 3.3.2 after googling a bit. Once agian, I'm stuck with the resin portion. I attempt to perform the following set of instructions:

1) ./configure --with-apache=/user/local/apache
2) make
and here is where it craps out...
(cd src/c/plugin; make)
for dir in common apache ; do (cd $dir; make); done
gcc -c -g -O2 -bexpall stream.c && mv stream.o stream.lo
gcc: `-b' must come at the start of the command line
make: 1254-004 The error code from the last command is 1.

okay, so gcc has more switches then the letters in the alphabet of english and I haven't exactly learned everyone of them. If I place the -b in from of this I get the following error:

gcc -b -c -g -O2 -bexpall stream.c && mv stream.o stream.lo

I get this message:

gcc: couldn't run `-c-gcc-3.3.2': No such file or directory
its obvious that this a syntax error. Would an individual that has more brain capacity that I assist me with some possible guidance? Smilie
Background:

AIX OS: 5.2.0.0
GNU GCC Compiler: GNU gcc 3.3.2
Apache: 1.3.33
Resin: 2.1.14
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

compilation diff between aix & solaris

what is the difference in awk stmt for awk in Aix & SOLARIS files="$@" for filename in $files do awk ' BEGIN { if ( FILENAME ~ ".*bad.trans.dsm" ) code = "bad"; else if ( FILENAME ~ ".*here.*.dsm" ) code = "here"; else ... (2 Replies)
Discussion started by: ls1429
2 Replies

2. AIX

Apache 2.0 For Aix 5.2

Anyone know where to find the binaries for Apache 2.0.x running on AIX 5.2.0.0 ? (2 Replies)
Discussion started by: njp353
2 Replies

3. AIX

apache for AIx

hello can you give me a link to download compiled apache 2.0.45 for Aix ? thank you for your help (5 Replies)
Discussion started by: pascalbout
5 Replies

4. AIX

PHP,Apache on AIX machine

I have done charts in PHP with following environment; 1) PHP 5.2.x 2) Webserver Apache 2.2.4 or higher 3) Perl 5.8.7 4) GD 2.0.1 5) JPgraph 2.1.1 It works fine in Windowx XP, Red hat linux 3.x.Now I need to move this PHP programs to AIX machine which has following environment: PHP 4.0.6... (6 Replies)
Discussion started by: kumarangopi
6 Replies

5. UNIX for Dummies Questions & Answers

File compilation error on AIX

Hi All, I am successfully able to compile the file through gcc. At the time of compilling the file throught xlc, I am facing the following issues: 1) 1540-0836 (S) The #include file <multimap.h> is not found. 2) 1540-0836 (S) The #include file <pair.h> is not found. 3) ld: 0706-012 The... (0 Replies)
Discussion started by: Prajakta
0 Replies

6. AIX

ProC and other C file compilation problem on AIX

I am linking my compiled proC file with other C files and getting following error. ld: 0711-711 ERROR: Input file /opt/orabase/oracle/product/10.2.0/db_1/lib/libirc.a is empty. The file is being ignored. I used following command to compile my proC code. proc iname=dbConnect.pc code=ANSI_C... (0 Replies)
Discussion started by: amit.singhal
0 Replies

7. UNIX and Linux Applications

Apache module compilation error

I'm trying to compile an apache module (a tutorial module, Apache 2 Module Tutorial - GNU Build Tools and the Development Environment) and I get errors like this: apr.h:273: error: expected ´=´, ´,´,´;´,´asm´ or ´__attribute__´ before ´apr_off_t´ those errors occur like 30 times in different... (4 Replies)
Discussion started by: hjalle
4 Replies

8. AIX

Problem:Configuring Apache 2.2.11 in AIX 5.3

Hi All I am new to Apache and AIX and trying to configure Subversion tool in IBM machine with AIX 5.3.Apache is required for client to connect to Subversion Server with http protocol. 1.Installed Apache 2.2.11 and its dependencies via RPM 2.Configured httpd.conf file. 3.Started "httpd"... (1 Reply)
Discussion started by: rajivdp
1 Replies

9. UNIX and Linux Applications

AIDE on AIX. Problem with compilation.

I want install AIDE (AIDE - Advanced Intrusion Detection Environment) on AIX 5.3L # oslevel -qs | head Known Service Packs ------------------- 5300-09-02-0849 5300-09-01-0847 5300-09-00-0000 5300-08-05-0846 5300-08-04-0844 5300-08-03-0831 5300-08-02-0822 5300-08-01-0819 5300-07-07-0846... (1 Reply)
Discussion started by: jess_t03
1 Replies

10. AIX

Gcc compilation problem on AIX 6.1

Hi, I have to compile a program on my server, runs on AIX 6.1. On my test server the compilation is ok (AIX 6.1); but when I try it on production server, I have this gcc prog.c -o prog_out In file included from resmon.c:111: /usr/include/unistd.h:924: error: expected ')' before ' I noticed... (1 Reply)
Discussion started by: tnjulius
1 Replies
Apache::Build(3)					User Contributed Perl Documentation					  Apache::Build(3)

NAME
Apache::Build - Methods for locating and parsing bits of Apache source code SYNOPSIS
use Apache::Build (); my $build = Apache::Build->new; # rebuild mod_perl with build opts from the previous build % cd modperl-2.0 % perl -MApache::Build -e rebuild DESCRIPTION
This module provides methods for locating and parsing bits of Apache source code. Since mod_perl remembers what build options were used to build it, you can use this knowledge to rebuild it using the same options. Simply chdir to the mod_perl source directory and run: % cd modperl-2.0 % perl -MApache::Build -e rebuild If you want to rebuild not yet installed, but already built mod_perl, run from its root directory: % perl -Ilib -MApache::Build -e rebuild METHODS
new Create an object blessed into the Apache::Build class. my $build = Apache::Build->new; dir Top level directory where source files are located. my $dir = $build->dir; -d $dir or die "can't stat $dir $! "; find Searches for apache source directories, return a list of those found. Example: for my $dir ($build->find) { my $yn = prompt "Configure with $dir ?", "y"; ... } inc Print include paths for MakeMaker's INC argument to "WriteMakefile". Example: use ExtUtils::MakeMaker; use Apache::Build (); WriteMakefile( 'NAME' => 'Apache::Module', 'VERSION' => '0.01', 'INC' => Apache::Build->new->inc, ); module_magic_number Return the MODULE_MAGIC_NUMBER defined in the apache source. Example: my $mmn = $build->module_magic_number; httpd_version Return the server version. Example: my $v = $build->httpd_version; otherldflags Return other ld flags for MakeMaker's dynamic_lib argument to "WriteMakefile". This might be needed on systems like AIX that need spe- cial flags to the linker to be able to reference mod_perl or httpd symbols. Example: use ExtUtils::MakeMaker; use Apache::Build (); WriteMakefile( 'NAME' => 'Apache::Module', 'VERSION' => '0.01', 'INC' => Apache::Build->new->inc, 'dynamic_lib' => { 'OTHERLDFLAGS' => Apache::Build->new->otherldflags, }, ); AUTHOR
Doug MacEachern mod_perl-1.99_07 2002-08-28 Apache::Build(3)
All times are GMT -4. The time now is 06:58 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy