Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Dev

Making a binary distribution of apache 2.2.14 on Aix 6.1

 

 

Apache dev RSS feed   Index | Next | Previous | View Threaded


halawi.ali at gmail

Oct 28, 2009, 3:44 AM

Post #1 of 11 (1472 views)
Permalink
Making a binary distribution of apache 2.2.14 on Aix 6.1

Hi,

I am trying to make a binary distribution of apache 2.2.14 on aix 6.14.
The problem is when i run the binbuild.sh command from httpd-2.2.14/build

i got this error :

*- j'ai installé le rpm 1.9.5 mais le problème persiste:
*/- xml/apr_xml.c:35:19: error: expat.h: A file or directory in the path
name does not exist.
xml/apr_xml.c:66: error: expected specifier-qualifier-list before
'XML_Parser'
xml/apr_xml.c: In function 'cleanup_parser':
xml/apr_xml.c:344: error: 'apr_xml_parser' has no member named 'xp'
xml/apr_xml.c:345: error: 'apr_xml_parser' has no member named 'xp'
xml/apr_xml.c: At top level:
xml/apr_xml.c:364: error: expected ';', ',' or ')' before '*' token
xml/apr_xml.c: In function 'apr_xml_parser_create':
xml/apr_xml.c:381: error: 'apr_xml_parser' has no member named 'xp'
xml/apr_xml.c:382: error: 'apr_xml_parser' has no member named 'xp'
xml/apr_xml.c:390: error: 'apr_xml_parser' has no member named 'xp'
xml/apr_xml.c:391: error: 'apr_xml_parser' has no member named 'xp'
xml/apr_xml.c:392: error: 'apr_xml_parser' has no member named 'xp'
xml/apr_xml.c:404: error: 'apr_xml_parser' has no member named 'xp'
xml/apr_xml.c:404: error: 'default_handler' undeclared (first use in this
function)
xml/apr_xml.c:404: error: (Each undeclared identifier is reported only once
xml/apr_xml.c:404: error: for each function it appears in.)
xml/apr_xml.c: In function 'do_parse':
xml/apr_xml.c:414: error: 'apr_xml_parser' has no member named 'xp'
xml/apr_xml.c:418: error: 'apr_xml_parser' has no member named 'xp'
xml/apr_xml.c:422: error: 'apr_xml_parser' has no member named 'xp_err'
xml/apr_xml.c:422: error: 'apr_xml_parser' has no member named 'xp'
xml/apr_xml.c: In function 'apr_xml_parser_geterror':
xml/apr_xml.c:480: error: 'apr_xml_parser' has no member named 'xp_err'
xml/apr_xml.c:480: error: 'apr_xml_parser' has no member named 'xp_err'
make: 1254-004 The error code from the last command is 1.


the expat library 2.0.1-2 is installed using the rpm -i

i did the following :

# find . -name expat.h
./srclib/apr-util/xml/expat/lib/expat.h

# find . -name apr_xml.c
./srclib/apr-util/xml/apr_xml.c

# find / -fstype jfs2 -name expat.h
/home/XXX/XXX/XXX/httpd-2.2.14/srclib/apr-util/xml/expat/lib/expat.h
/opt/hello/httpd-2.2.14/include/expat.h


Any ideas will be great !!
Thanks in advance,

Ali
--
View this message in context: http://www.nabble.com/Making-a-binary-distribution-of-apache-2.2.14-on-Aix-6.1-tp26092524p26092524.html
Sent from the Apache HTTP Server - Dev mailing list archive at Nabble.com.


fuankg at apache

Oct 28, 2009, 4:30 AM

Post #2 of 11 (1439 views)
Permalink
Re: Making a binary distribution of apache 2.2.14 on Aix 6.1 [In reply to]

Hi,
Ali Halawi schrieb:
> I am trying to make a binary distribution of apache 2.2.14 on aix 6.14.
> The problem is when i run the binbuild.sh command from httpd-2.2.14/build
please search the list posts - same topic (Making a binary distribution
package... for AIX) was just this month discussed, f.e.:
http://mail-archives.apache.org/mod_mbox/httpd-dev/200910.mbox/%3C9ade2d510910120934u6b7fe9abvf432187947a4da7f [at] mail%3E
follow this thread ...

Günter.


halawi.ali at gmail

Oct 28, 2009, 5:00 AM

Post #3 of 11 (1436 views)
Permalink
Re: Making a binary distribution of apache 2.2.14 on Aix 6.1 [In reply to]

Guenter Knauf-2 wrote:
>
> Hi,
> Ali Halawi schrieb:
>> I am trying to make a binary distribution of apache 2.2.14 on aix 6.14.
>> The problem is when i run the binbuild.sh command from httpd-2.2.14/build
> please search the list posts - same topic (Making a binary distribution
> package... for AIX) was just this month discussed, f.e.:
> http://mail-archives.apache.org/mod_mbox/httpd-dev/200910.mbox/%3C9ade2d510910120934u6b7fe9abvf432187947a4da7f [at] mail%3E
> follow this thread ...
>
> Günter.
>
>
>
>


Well actually i read this article but I found that the solution is not so
clear and micheal did not explained well how he managed to solve this error
(bug).

I have to make the point that i installed the expat 2.0.1-2 from an rpm
distribution.(will this be a problem?? :
http://www.perzl.org/aix/index.php?n=Main.Expat)

more details are always welcomed and thanks for the fast reply !!

Ali
France
--
View this message in context: http://www.nabble.com/Making-a-binary-distribution-of-apache-2.2.14-on-Aix-6.1-tp26092524p26093412.html
Sent from the Apache HTTP Server - Dev mailing list archive at Nabble.com.


halawi.ali at gmail

Oct 28, 2009, 5:30 AM

Post #4 of 11 (1438 views)
Permalink
Re: Making a binary distribution of apache 2.2.14 on Aix 6.1 [In reply to]

Well to all people suffering from this error all u need to do is to install
the expat devel from http://www.perzl.org/aix/index.php?n=Main.Expat

and all will be alright... i'll be posting more problems if it occurs.

Regards,

Ali



Ali Halawi wrote:
>
>
>
> Guenter Knauf-2 wrote:
>>
>> Hi,
>> Ali Halawi schrieb:
>>> I am trying to make a binary distribution of apache 2.2.14 on aix 6.14.
>>> The problem is when i run the binbuild.sh command from
>>> httpd-2.2.14/build
>> please search the list posts - same topic (Making a binary distribution
>> package... for AIX) was just this month discussed, f.e.:
>> http://mail-archives.apache.org/mod_mbox/httpd-dev/200910.mbox/%3C9ade2d510910120934u6b7fe9abvf432187947a4da7f [at] mail%3E
>> follow this thread ...
>>
>> Günter.
>>
>>
>>
>>
>
>
> Well actually i read this article but I found that the solution is not so
> clear and micheal did not explained well how he managed to solve this
> error (bug).
>
> I have to make the point that i installed the expat 2.0.1-2 from an rpm
> distribution.(will this be a problem?? :
> http://www.perzl.org/aix/index.php?n=Main.Expat)
>
> more details are always welcomed and thanks for the fast reply !!
>
> Ali
> France
>

--
View this message in context: http://www.nabble.com/Making-a-binary-distribution-of-apache-2.2.14-on-Aix-6.1-tp26092524p26093796.html
Sent from the Apache HTTP Server - Dev mailing list archive at Nabble.com.


minfrin at sharp

Oct 28, 2009, 6:14 AM

Post #5 of 11 (1441 views)
Permalink
Re: Making a binary distribution of apache 2.2.14 on Aix 6.1 [In reply to]

Ali Halawi wrote:

> I am trying to make a binary distribution of apache 2.2.14 on aix 6.14.
> The problem is when i run the binbuild.sh command from httpd-2.2.14/build
>
> i got this error :

Am I right in understand that aix uses RPM?

If so, then in theory all you need to do is "rpmbuild -tb
httpd-2.2.14.tar.gz".

Regards,
Graham
--


halawi.ali at gmail

Oct 28, 2009, 9:44 AM

Post #6 of 11 (1450 views)
Permalink
Re: Making a binary distribution of apache 2.2.14 on Aix 6.1 [In reply to]

Well rpmbuild doesnt exist on my aix..

i am facing now another problem which is :

Creating supplementary files...
exec(): 0509-036 Cannot load program ./bindist/bin/httpd because of the
following errors:
0509-022 Cannot load module /opt/XXX/httpd-2.2.14/lib/libapr-1.so.
0509-150 Dependent module libgcc_s.a(shr.o) could not be loaded.
0509-022 Cannot load module libgcc_s.a(shr.o).
0509-026 System error: A file or directory in the path name does not
exist.
0509-022 Cannot load module httpd.
0509-150 Dependent module /opt/XXX/httpd-2.2.14/lib/libapr-1.so
could not be loaded.
0509-022 Cannot load module .
sed: 0602-419 Cannot find or open file bindist/conf/httpd-std.conf.
Creating distribution archive and readme file...
Ready.
You can find the binary archive
(../httpd-2.2.14-powerpc-ibm-aix6.1.4.0.tar.gz)
and the readme file (httpd-2.2.14-powerpc-ibm-aix6.1.4.0.README) in the
parent directory.


Any IDeaaa? i tried a lot of solution but cant figure it out today !!! any
help would be appreciated!!!

thank you in advance
Ali


Guenter Knauf-2 wrote:
>
> Hi,
> Ali Halawi schrieb:
>> I am trying to make a binary distribution of apache 2.2.14 on aix 6.14.
>> The problem is when i run the binbuild.sh command from httpd-2.2.14/build
> please search the list posts - same topic (Making a binary distribution
> package... for AIX) was just this month discussed, f.e.:
> http://mail-archives.apache.org/mod_mbox/httpd-dev/200910.mbox/%3C9ade2d510910120934u6b7fe9abvf432187947a4da7f [at] mail%3E
> follow this thread ...
>
> Günter.
>
>
>
>

--
View this message in context: http://www.nabble.com/Making-a-binary-distribution-of-apache-2.2.14-on-Aix-6.1-tp26092524p26098035.html
Sent from the Apache HTTP Server - Dev mailing list archive at Nabble.com.


minfrin at sharp

Oct 28, 2009, 10:04 AM

Post #7 of 11 (1445 views)
Permalink
Re: Making a binary distribution of apache 2.2.14 on Aix 6.1 [In reply to]

Ali Halawi wrote:

> Well rpmbuild doesnt exist on my aix..

What packaging system does aix use? RPM? Or something else?

> i am facing now another problem which is :
>
> Creating supplementary files...
> exec(): 0509-036 Cannot load program ./bindist/bin/httpd because of the
> following errors:
> 0509-022 Cannot load module /opt/XXX/httpd-2.2.14/lib/libapr-1.so.
> 0509-150 Dependent module libgcc_s.a(shr.o) could not be loaded.
> 0509-022 Cannot load module libgcc_s.a(shr.o).
> 0509-026 System error: A file or directory in the path name does not
> exist.
> 0509-022 Cannot load module httpd.
> 0509-150 Dependent module /opt/XXX/httpd-2.2.14/lib/libapr-1.so
> could not be loaded.
> 0509-022 Cannot load module .
> sed: 0602-419 Cannot find or open file bindist/conf/httpd-std.conf.
> Creating distribution archive and readme file...
> Ready.
> You can find the binary archive
> (../httpd-2.2.14-powerpc-ibm-aix6.1.4.0.tar.gz)
> and the readme file (httpd-2.2.14-powerpc-ibm-aix6.1.4.0.README) in the
> parent directory.
>
>
> Any IDeaaa? i tried a lot of solution but cant figure it out today !!! any
> help would be appreciated!!!

APR and APR-util are distributed separately, you would probably need to
deploy packages of APR and APR-util before you can expect httpd to build.

(For legacy reasons, the apr and apr-util trees are still included in
the tarballs, but the packaging scripts ignore them).

Regards,
Graham
--


trawick at gmail

Oct 28, 2009, 10:18 AM

Post #8 of 11 (1440 views)
Permalink
Re: Making a binary distribution of apache 2.2.14 on Aix 6.1 [In reply to]

On Wed, Oct 28, 2009 at 1:04 PM, Graham Leggett <minfrin [at] sharp> wrote:
> Ali Halawi wrote:
>
>> Well rpmbuild doesnt exist on my aix..
>
> What packaging system does aix use? RPM? Or something else?

primarily "something else"; I think it is referred to as LPP format

IBM has provided RPMs of open source software for AIX for a long time.
Presumably the RPM tools are available somewhere, though perhaps not
in a normal install.


halawi.ali at gmail

Oct 28, 2009, 10:58 AM

Post #9 of 11 (1440 views)
Permalink
Re: Making a binary distribution of apache 2.2.14 on Aix 6.1 [In reply to]

Jeff Trawick wrote:
>
> On Wed, Oct 28, 2009 at 1:04 PM, Graham Leggett <minfrin [at] sharp> wrote:
>> Ali Halawi wrote:
>>
>>> Well rpmbuild doesnt exist on my aix..
>>
>> What packaging system does aix use? RPM? Or something else?
>
> primarily "something else"; I think it is referred to as LPP format
>
> IBM has provided RPMs of open source software for AIX for a long time.
> Presumably the RPM tools are available somewhere, though perhaps not
> in a normal install.
>
>

yes just google it and it is called AIX TOOLBOX.

the problem above that i was using a blibpath option with the binbuild.sh
command. just removed it and all went Ok.

but the problem now is with this :
exec(): 0509-036 Cannot load program ./bindist/bin/httpd because of the
following errors:
rtld: 0712-001 Symbol XML_StopParser was referenced
from module /opt/XXX/httpd-2.2.14/lib/libaprutil-1.so(), but a runtime
definition
of the symbol was not found.
sed: 0602-419 Cannot find or open file bindist/conf/httpd-std.conf.
Creating distribution archive and readme file...


i have to go to eat ... i've been for 11 hours now... thanks in advance !!
--
View this message in context: http://www.nabble.com/Making-a-binary-distribution-of-apache-2.2.14-on-Aix-6.1-tp26092524p26099220.html
Sent from the Apache HTTP Server - Dev mailing list archive at Nabble.com.


mamfelt at gmail

Nov 9, 2009, 8:45 AM

Post #10 of 11 (1244 views)
Permalink
Re: Making a binary distribution of apache 2.2.14 on Aix 6.1 [In reply to]

Actually, the reason I started this thread is because I wanted to start
making builds that used IBM's installp format for distribution rather than
RPM - which is the format chosen for most of the AIX toolbox. Imho much of
the difficulity the libtool devs have with the AIX platform (as generally
the solution is playing with libtool, or loading a newer version) is this
mixed install environment.

I have been trying to develop and package without using any of the AIX
toolbox as I do not want any dependencies on it. Instead, I shall, as
suggested towards the beginning of this thread, make my own packages to
fulfill dependancies and/or specify IBM installp packages (i.e. libraries
installed into /usr/lib and maybe /opt/lib).

There are a couple of other respositories out there - my site - when I
finally get it assembled - will be yet another, but with forums behind it so
that people can share experiences.

Michael

On Wed, Oct 28, 2009 at 6:04 PM, Graham Leggett <minfrin [at] sharp> wrote:

> Ali Halawi wrote:
>
> > Well rpmbuild doesnt exist on my aix..
>
> What packaging system does aix use? RPM? Or something else?
>
>
> > Any IDeaaa? i tried a lot of solution but cant figure it out today !!!
> any
> > help would be appreciated!!!
>
> APR and APR-util are distributed separately, you would probably need to
> deploy packages of APR and APR-util before you can expect httpd to build.
>
> (For legacy reasons, the apr and apr-util trees are still included in
> the tarballs, but the packaging scripts ignore them).
>
> Regards,
> Graham
> --
>


minfrin at sharp

Nov 9, 2009, 10:02 AM

Post #11 of 11 (1234 views)
Permalink
Re: Making a binary distribution of apache 2.2.14 on Aix 6.1 [In reply to]

Michael Felt wrote:

> Actually, the reason I started this thread is because I wanted to start
> making builds that used IBM's installp format for distribution rather
> than RPM - which is the format chosen for most of the AIX toolbox. Imho
> much of the difficulity the libtool devs have with the AIX platform (as
> generally the solution is playing with libtool, or loading a newer
> version) is this mixed install environment.
>
> I have been trying to develop and package without using any of the AIX
> toolbox as I do not want any dependencies on it. Instead, I shall, as
> suggested towards the beginning of this thread, make my own packages to
> fulfill dependancies and/or specify IBM installp packages (i.e.
> libraries installed into /usr/lib and maybe /opt/lib).
>
> There are a couple of other respositories out there - my site - when I
> finally get it assembled - will be yet another, but with forums behind
> it so that people can share experiences.

One of the things that may be tripping you up is apr - for legacy
reasons, apr is shipped included with httpd v2.2.x. However, for a long
time now, binary distributions have been packaging apr and apr-util as
completely separate packages, and httpd has been typically configured
during these binary builds to use these external apr and apr-util packages.

The apr and apr-util trees in httpd are therefore ignored.

What I suggest you do is to try get AIX packaging to work on apr and
apr-util first, and when that works, attempt to get httpd to work,
depending on apr and apr-util as just-another-external-package.
Completely ignore anything in the srclib directory, and assume those are
system provided.

You'll see similar scripts for producing rpms and solaris pkg files in
the apr and apr-util trees.

Regards,
Graham
--

Apache dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.