Re: [users@httpd] Error :usr/include/unistd.h:1058: error: expected ')' before '[' token

2013-11-15 Thread Baskaran.V
Dear Paul,

Thank you for your reply.

Now I am trying to install (httpd 2.2.25) version  and we get the below error. 
Kindly help us to resolve the problem.

make
Making all in srclib
Making all in apr
        /bin/sh 
/GPFS/install/SAP/apache/httpd-2.2.25/srclib/apr/libtool --silent 
--mode=compile 
gcc -g -O2   -DHAVE_CONFIG_H -U__STR__ -D_THREAD_SAFE   -I./include 
-I/GPFS/install/SAP/apache/httpd-2.2.25/srclib/apr/include/arch/unix 
-I./include/arch/unix 
-I/GPFS/install/SAP/apache/httpd-2.2.25/srclib/apr/include/arch/unix 
-I/GPFS/install/SAP/apache/httpd-2.2.25/srclib/apr/include  -o 
file_io/unix/filedup.lo -c file_io/unix/filedup.c  touch 
file_io/unix/filedup.lo
file_io/unix/filedup.c: In 
function 'file_dup':
file_io/unix/filedup.c:49: error: 
'F_GETFD' undeclared (first use in this function)
file_io/unix/filedup.c:49: error: (Each undeclared identifier is reported 
only once
file_io/unix/filedup.c:49: error: for each 
function it appears in.)
file_io/unix/filedup.c:52: 
error: 'FD_CLOEXEC' undeclared (first use in this function)
file_io/unix/filedup.c:53: error: 'F_SETFD' undeclared (first use in this 
function)
make: 1254-004 The error code from the last 
command is 1.

Stop.
make: 
1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last 
command is 1.


 
Thanks  Regards,
Baskaran.V
 
 
 



On Friday, 15 November 2013 1:16 AM, Stormy storm...@stormy.ca wrote:
 
At 06:49 AM 11/15/2013 +0800, you wrote:
Dear All,

I did not find the solution in google and archiving mail list .
Hence I am posting my issue here.
I am trying to install Apache (httpd-2.0.64)
                                 ^
http://www.apache.org/dist/httpd/Announcement2.0.html The Apache 
Software Foundation and the Apache HTTP Server Project are pleased to 
announce the final 2.0 release version 2.0.65 of the Apache HTTP Server 
(Apache). This version of Apache will be the last 2.0 bug and security 
fix release, covering many but not all issues addressed in the stable 2.4 
and legacy 2.2 released versions.

Personally, I don't always chase the absolute latest version, but 2.2.x 
(which I use on hundreds of servers) should be the legacy version of 
choice (2.4 might allow you more forward flexibility.)

Why 2.0?

Best - Paul





-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Re: [users@httpd] Error :usr/include/unistd.h:1058: error: expected ')' before '[' token

2013-11-15 Thread Stormy

At 07:36 PM 11/15/2013 +0800, you wrote:

Dear Paul,
Thank you for your reply.
Now I am trying to install (httpd 2.2.25) version  and we get the below 
error. Kindly help us to resolve the problem.


Sorry - I have little (very old) or no experience on AIX; anyone else?

Paul



make
Making all in srclib
Making all in apr
/bin/sh /GPFS/install/SAP/apache/httpd-2.2.25/srclib/apr/libtool 
--silent --mode=compile gcc -g -O2   -DHAVE_CONFIG_H -U__STR__ 
-D_THREAD_SAFE   -I./include 
-I/GPFS/install/SAP/apache/httpd-2.2.25/srclib/apr/include/arch/unix 
-I./include/arch/unix 
-I/GPFS/install/SAP/apache/httpd-2.2.25/srclib/apr/include/arch/unix 
-I/GPFS/install/SAP/apache/httpd-2.2.25/srclib/apr/include  -o 
file_io/unix/filedup.lo -c file_io/unix/filedup.c  touch 
file_io/unix/filedup.lo

file_io/unix/filedup.c: In function 'file_dup':
file_io/unix/filedup.c:49: error: 'F_GETFD' undeclared (first use in this 
function)
file_io/unix/filedup.c:49: error: (Each undeclared identifier is reported 
only once

file_io/unix/filedup.c:49: error: for each function it appears in.)
file_io/unix/filedup.c:52: error: 'FD_CLOEXEC' undeclared (first use in 
this function)
file_io/unix/filedup.c:53: error: 'F_SETFD' undeclared (first use in this 
function)

make: 1254-004 The error code from the last command is 1.

Stop.
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 1.


Thanks  Regards,
Baskaran.V





On Friday, 15 November 2013 1:16 AM, Stormy storm...@stormy.ca wrote:
At 06:49 AM 11/15/2013 +0800, you wrote:
Dear All,

I did not find the solution in google and archiving mail list .
Hence I am posting my issue here.
I am trying to install Apache (httpd-2.0.64)
^
http://www.apache.org/dist/httpd/Announcement2.0.html The Apache
Software Foundation and the Apache HTTP Server Project are pleased to
announce the final 2.0 release version 2.0.65 of the Apache HTTP Server
(Apache). This version of Apache will be the last 2.0 bug and security
fix release, covering many but not all issues addressed in the stable 2.4
and legacy 2.2 released versions.

Personally, I don't always chase the absolute latest version, but 2.2.x
(which I use on hundreds of servers) should be the legacy version of
choice (2.4 might allow you more forward flexibility.)

Why 2.0?

Best - Paul





-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org





-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [users@httpd] Error :usr/include/unistd.h:1058: error: expected ')' before '[' token

2013-11-15 Thread Jens-U. Mozdzen

Hi Baskaran, Paul,

Zitat von Stormy storm...@stormy.ca:

At 07:36 PM 11/15/2013 +0800, you wrote:

Dear Paul,
Thank you for your reply.
Now I am trying to install (httpd 2.2.25) version  and we get the  
below error. Kindly help us to resolve the problem.


Sorry - I have little (very old) or no experience on AIX; anyone else?

Paul



make
Making all in srclib
Making all in apr
   /bin/sh  
/GPFS/install/SAP/apache/httpd-2.2.25/srclib/apr/libtool --silent  
--mode=compile gcc -g -O2   -DHAVE_CONFIG_H -U__STR__  
-D_THREAD_SAFE   -I./include  
-I/GPFS/install/SAP/apache/httpd-2.2.25/srclib/apr/include/arch/unix  
-I./include/arch/unix  
-I/GPFS/install/SAP/apache/httpd-2.2.25/srclib/apr/include/arch/unix  
-I/GPFS/install/SAP/apache/httpd-2.2.25/srclib/apr/include  -o  
file_io/unix/filedup.lo -c file_io/unix/filedup.c  touch  
file_io/unix/filedup.lo

file_io/unix/filedup.c: In function 'file_dup':
file_io/unix/filedup.c:49: error: 'F_GETFD' undeclared (first use  
in this function)
file_io/unix/filedup.c:49: error: (Each undeclared identifier is  
reported only once

file_io/unix/filedup.c:49: error: for each function it appears in.)
file_io/unix/filedup.c:52: error: 'FD_CLOEXEC' undeclared (first  
use in this function)
file_io/unix/filedup.c:53: error: 'F_SETFD' undeclared (first use  
in this function)

make: 1254-004 The error code from the last command is 1.

Stop.
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 1.


Thanks  Regards,
Baskaran.V


please try this with a copy of XL C for AIX - iirc gcc assumes these  
macros to be available from glibc, but on AIX (without glibc) these  
are in libc instead. xlc ought to compile/link Apache's httpd properly.


Regards,
Jens

PS: The IBM XL C 60-day trial download is at  
http://www.ibm.com/developerworks/downloads/r/xlcplusaix/index.html -  
you may need to have to register, though.



-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [users@httpd] Error :usr/include/unistd.h:1058: error: expected ')' before '[' token

2013-11-15 Thread Eric Covener
The wiki has AIX info for xlc and maybe even gcc -- but as a later
poster said, xlc is the path of least resistance.

On Fri, Nov 15, 2013 at 10:37 AM, Stormy storm...@stormy.ca wrote:
 At 07:36 PM 11/15/2013 +0800, you wrote:

 Dear Paul,
 Thank you for your reply.
 Now I am trying to install (httpd 2.2.25) version  and we get the below
 error. Kindly help us to resolve the problem.


 Sorry - I have little (very old) or no experience on AIX; anyone else?

 Paul


 make
 Making all in srclib
 Making all in apr
 /bin/sh /GPFS/install/SAP/apache/httpd-2.2.25/srclib/apr/libtool
 --silent --mode=compile gcc -g -O2   -DHAVE_CONFIG_H -U__STR__
 -D_THREAD_SAFE   -I./include
 -I/GPFS/install/SAP/apache/httpd-2.2.25/srclib/apr/include/arch/unix
 -I./include/arch/unix
 -I/GPFS/install/SAP/apache/httpd-2.2.25/srclib/apr/include/arch/unix
 -I/GPFS/install/SAP/apache/httpd-2.2.25/srclib/apr/include  -o
 file_io/unix/filedup.lo -c file_io/unix/filedup.c  touch
 file_io/unix/filedup.lo
 file_io/unix/filedup.c: In function 'file_dup':
 file_io/unix/filedup.c:49: error: 'F_GETFD' undeclared (first use in this
 function)
 file_io/unix/filedup.c:49: error: (Each undeclared identifier is reported
 only once
 file_io/unix/filedup.c:49: error: for each function it appears in.)
 file_io/unix/filedup.c:52: error: 'FD_CLOEXEC' undeclared (first use in
 this function)
 file_io/unix/filedup.c:53: error: 'F_SETFD' undeclared (first use in this
 function)
 make: 1254-004 The error code from the last command is 1.

 Stop.
 make: 1254-004 The error code from the last command is 1.
 Stop.
 make: 1254-004 The error code from the last command is 1.


 Thanks  Regards,
 Baskaran.V





 On Friday, 15 November 2013 1:16 AM, Stormy storm...@stormy.ca wrote:
 At 06:49 AM 11/15/2013 +0800, you wrote:
 Dear All,
 
 I did not find the solution in google and archiving mail list .
 Hence I am posting my issue here.
 I am trying to install Apache (httpd-2.0.64)
 ^
 http://www.apache.org/dist/httpd/Announcement2.0.html The Apache
 Software Foundation and the Apache HTTP Server Project are pleased to
 announce the final 2.0 release version 2.0.65 of the Apache HTTP Server
 (Apache). This version of Apache will be the last 2.0 bug and security
 fix release, covering many but not all issues addressed in the stable 2.4
 and legacy 2.2 released versions.

 Personally, I don't always chase the absolute latest version, but 2.2.x
 (which I use on hundreds of servers) should be the legacy version of
 choice (2.4 might allow you more forward flexibility.)

 Why 2.0?

 Best - Paul





 -
 To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
 For additional commands, e-mail: users-h...@httpd.apache.org




 -
 To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
 For additional commands, e-mail: users-h...@httpd.apache.org




-- 
Eric Covener
cove...@gmail.com

-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



[users@httpd] Error :usr/include/unistd.h:1058: error: expected ')' before '[' token

2013-11-14 Thread Baskaran.V
Dear All,

I did not find the solution in google and archiving mail list .Hence I am 
posting my issue here.
I am trying to install Apache (httpd-2.0.64) on AIX 7.1 with the following RPM 
packages.

AIX-rpm-7.1.2.15-1
libgcc-4.2.0-3
zlib-1.2.8-1
libstdc++-4.2.0-3
gcc-4.2.0-3
libstdc++-devel-4.2.0-3
gcc-c++-4.2.0-3
gettext-0.17-1
libgcc-4.8.2-1
libffi-3.0.13-1
libiconv-1.14-2
glib2-2.36.3-1
expat-2.1.0-1
libsigsegv-2.10-1
bash_64-4.2-12
apr-1.4.8-1
apr-util-1.5.2-1
info-5.1-1
m4-1.4.17-1
autoconf-2.69-1
automake-1.14-1
bzip2-1.0.6-1
readline-6.2-4
pcre-8.33-1
grep-2.14-1
gzip-1.5-1
sed-4.2.2-1
libtool-1.5.26-2
pkg-config-0.28-1
sqlite-3.7.17-1
unixODBC-2.3.1-1
zlib-devel-1.2.8-1

When I execute make command and am getting the following error. Kindly help me 
to fix the issue.


Making all in srclib
Making all in apr
Making all in strings
        /bin/sh /usr/sap/apache/httpd-2.0.64/srclib/apr/libtool --silent 
--mode=compile gcc   -maix64 -DHAVE_CONFIG_H -U__STR__ -D_THREAD_SAFE   
-I../include -I../include/arch/unix  -c apr_snprintf.c  touch apr_snprintf.lo
In file included from /usr/include/fcntl.h:219,
                 from ../include/apr_portable.h:44,
                 from apr_snprintf.c:23:
/usr/include/unistd.h:1058: error: expected ')' before '[' token
/usr/include/unistd.h:1059: error: expected declaration specifiers or '...' 
before 'rid_t'
In file included from /usr/include/sys/cred.h:52,
                 from /usr/include/sys/thread.h:42,
                 from /usr/include/sys/ptrace.h:28,
                 from /usr/include/sys/proc.h:42,
                 from /usr/include/sys/pri.h:43,
                 from /usr/include/sys/sched.h:38,
                 from /usr/include/sched.h:51,
                 from /usr/include/pthread.h:67,
                 from ../include/apr_portable.h:47,
                 from apr_snprintf.c:23:
/usr/include/sys/secattr.h:50: error: expected specifier-qualifier-list before 
'rid_t'
/usr/include/sys/secattr.h:70: error: expected specifier-qualifier-list before 
'authnum_t'
In file included from /usr/include/sys/thread.h:42,
                 from /usr/include/sys/ptrace.h:28,
                 from /usr/include/sys/proc.h:42,
                 from /usr/include/sys/pri.h:43,
                 from /usr/include/sys/sched.h:38,
                 from /usr/include/sched.h:51,
                 from /usr/include/pthread.h:67,
                 from ../include/apr_portable.h:47,
                 from apr_snprintf.c:23:
/usr/include/sys/cred.h:338: error: expected specifier-qualifier-list before 
'rid_t'


 

Thanks  Regards,
Baskaran.V

Re: [users@httpd] Error :usr/include/unistd.h:1058: error: expected ')' before '[' token

2013-11-14 Thread Stormy

At 06:49 AM 11/15/2013 +0800, you wrote:

Dear All,

I did not find the solution in google and archiving mail list .
Hence I am posting my issue here.
I am trying to install Apache (httpd-2.0.64)

^
http://www.apache.org/dist/httpd/Announcement2.0.html The Apache 
Software Foundation and the Apache HTTP Server Project are pleased to 
announce the final 2.0 release version 2.0.65 of the Apache HTTP Server 
(Apache). This version of Apache will be the last 2.0 bug and security 
fix release, covering many but not all issues addressed in the stable 2.4 
and legacy 2.2 released versions.


Personally, I don't always chase the absolute latest version, but 2.2.x 
(which I use on hundreds of servers) should be the legacy version of 
choice (2.4 might allow you more forward flexibility.)


Why 2.0?

Best - Paul





-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org