Re: [syslog-ng] syslog_ng 3.3.4 make error on HPUX HPPA 11.11
Hello Pal, I do not have all of the patches you listed out , installed on my mahcine. I still, tried to compile it with the other suggestion you had put forward but. still was stuck with the same error. I am trying these patches installed and will give it a try thereafer. Will keep you posted. Thanks, Rakesh. On Fri, Jun 1, 2012 at 3:06 AM, Pal Tamas <folti@balabit.hu> wrote:
On Thu, May 31, 2012 at 02:13:28PM +0530, Rakesh Rajasekharan wrote:
Hello Pal,
I was able to get the PHCO_33282 patch and applied it on my 11.11 machine. PHCO_37940 is fo rthe 11.23 HPUX versions hence can't install that.
# swlist -a patch_state *,c=patch |grep PHCO_33282 # PHCO_33282 PHCO_33282.C-MIN-32ALIB applied PHCO_33282.C-MIN-64ALIB applied PHCO_33282.CORE-64SLIB applied PHCO_33282.CORE-SHLIBS applied PHCO_33282.PAUX-ENG-A-MAN applied # But, even after applying this, I still get the same errors regarding pthread.
I am curious to know if I should actually be compiling on this 11.11 machine at the first place. I mean, is the syslog-ng 3.3.4 compatible with the 11.11 version. The previous version that I was using on this machine is 3.0.7. Is there a place I can check the compatible OS's . Hi,
dug into the problem a bit more, syslog-ng OSE 3.3 (probably 3.4 too) needs some porting work before it can be compiled under HP-UX. The underlying problem is that syslog-ng has been re-written to be multi-threaded, modular application in 3.2, from it's original single threaded monolithic architecure. The rewrite added new dependencies (ivykis) and other required features from the compilers (Thread-local storage support), which made porting to older systems a challenge, although the work has been already done, but not every piece has been added to syslog-ng OSE from the PE branch and not publicly documented.
What I managed to solve for now: - need the following patches: PHCO_24402 1.0 libc cumulative header file patch PHCO_38279 1.0 libc cumulative patch PHKL_31918 1.0 fsadm;ACL;locking order;8K mount;readdir PHSS_30049 1.0 ld(1) and linker tools cumulative patch
- download and install GCC for HPUX[1] and make sure it's location (/opt/hp-gcc/bin) is in PATH, prepeding every other gcc location you have.
- edit configure.in and remove all occurences of -Wl,-whole-archive and -Wl,-no-whole-archive and regenerate configure with autoconf 2.68. If you don't have autoconf 2.68, edit directly configure and remove the strings.
- add the following to lib/compat.h: #ifndef CLOCK_MONOTONIC #define CLOCK_MONOTONIC CLOCK_REALTIME #endif
- cd lib/ivykis and compile, build and install the bundled ivykis by hand.
- re-run your configure command with the following options added: --with-ivykis=system --disable-mongodb
Hopefully it compiles properly, but I too tired to check it now. Good luck,
[1]: http://h21007.www2.hp.com/portal/site/dspp/menuitem.863c3e4cbcdc3f3515b49c10... -- Pal Tamas/Folti folti@balabit.hu
Hello Pal, I got stuck with some other tasks and could not look into this. I did no tfind much success even after applying the patches mentioned. So, may be need to wait til it gets fixed.. Gergely, can you please help to get this addressed in the 3.3.6. Currently, the compialtion of syslog-ng 3.3.4 fais on an Hpux -11.11 ,machine complaing about some prhtread related errors. Best Regards, Rakesh. On Sat, Jun 2, 2012 at 4:32 PM, Rakesh Rajasekharan < rakesh.rajasekharan@gmail.com> wrote:
Hello Pal,
I do not have all of the patches you listed out , installed on my mahcine. I still, tried to compile it with the other suggestion you had put forward but. still was stuck with the same error. I am trying these patches installed and will give it a try thereafer. Will keep you posted.
Thanks, Rakesh.
On Fri, Jun 1, 2012 at 3:06 AM, Pal Tamas <folti@balabit.hu> wrote:
On Thu, May 31, 2012 at 02:13:28PM +0530, Rakesh Rajasekharan wrote:
Hello Pal,
I was able to get the PHCO_33282 patch and applied it on my 11.11 machine. PHCO_37940 is fo rthe 11.23 HPUX versions hence can't install that.
# swlist -a patch_state *,c=patch |grep PHCO_33282 # PHCO_33282 PHCO_33282.C-MIN-32ALIB applied PHCO_33282.C-MIN-64ALIB applied PHCO_33282.CORE-64SLIB applied PHCO_33282.CORE-SHLIBS applied PHCO_33282.PAUX-ENG-A-MAN applied # But, even after applying this, I still get the same errors regarding pthread.
I am curious to know if I should actually be compiling on this 11.11 machine at the first place. I mean, is the syslog-ng 3.3.4 compatible with the 11.11 version. The previous version that I was using on this machine is 3.0.7. Is there a place I can check the compatible OS's . Hi,
dug into the problem a bit more, syslog-ng OSE 3.3 (probably 3.4 too) needs some porting work before it can be compiled under HP-UX. The underlying problem is that syslog-ng has been re-written to be multi-threaded, modular application in 3.2, from it's original single threaded monolithic architecure. The rewrite added new dependencies (ivykis) and other required features from the compilers (Thread-local storage support), which made porting to older systems a challenge, although the work has been already done, but not every piece has been added to syslog-ng OSE from the PE branch and not publicly documented.
What I managed to solve for now: - need the following patches: PHCO_24402 1.0 libc cumulative header file patch PHCO_38279 1.0 libc cumulative patch PHKL_31918 1.0 fsadm;ACL;locking order;8K mount;readdir PHSS_30049 1.0 ld(1) and linker tools cumulative patch
- download and install GCC for HPUX[1] and make sure it's location (/opt/hp-gcc/bin) is in PATH, prepeding every other gcc location you have.
- edit configure.in and remove all occurences of -Wl,-whole-archive and -Wl,-no-whole-archive and regenerate configure with autoconf 2.68. If you don't have autoconf 2.68, edit directly configure and remove the strings.
- add the following to lib/compat.h: #ifndef CLOCK_MONOTONIC #define CLOCK_MONOTONIC CLOCK_REALTIME #endif
- cd lib/ivykis and compile, build and install the bundled ivykis by hand.
- re-run your configure command with the following options added: --with-ivykis=system --disable-mongodb
Hopefully it compiles properly, but I too tired to check it now. Good luck,
[1]: http://h21007.www2.hp.com/portal/site/dspp/menuitem.863c3e4cbcdc3f3515b49c10... -- Pal Tamas/Folti folti@balabit.hu
Rakesh Rajasekharan <rakesh.rajasekharan@gmail.com> writes:
Gergely,
can you please help to get this addressed in the 3.3.6. Currently, the compialtion of syslog-ng 3.3.4 fais on an Hpux -11.11 ,machine complaing about some prhtread related errors.
I'll see what I can do, but I don't have a reasonable way to test on HPUX, and my 'offline' knowledge of ancient UNIX has long faded away. At this time, I'd say this problem is unlikely to be fixed in 3.3.6 (if it can be fixed on the syslog-ng side at all), but I'll keep it on my radar, and hopefully fix it sometime afterwards. -- |8]
participants (2)
-
Gergely Nagy
-
Rakesh Rajasekharan