The infamous compilation of Apache + Resin on AIX


 
Thread Tools Search this Thread
Operating Systems AIX The infamous compilation of Apache + Resin on AIX
# 1  
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
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
Login or Register to Ask a Question