|
From: First L. <san...@ya...> - 2007-01-31 10:17:33
|
Hi there,=0A=0AThanks to both of you for all the help so far.=0AI would be =
really grateful if you could get this working.=0A=0AAs for the aix package(=
s) I'm trying to build:=0A- I cannot compile it on our aix 5.1 machine as i=
t doesn't have gcc installed and I'm not allowed to install it as it will b=
reak our Webseal build environment :-(=0A- I'm not able to compile it on ou=
r 64-bit aix 5.3 machine, as there is no 64-bit make file for the wrapper.=
=0A- A 32-bit version for aix 5.3 might be possible, but at the moment ther=
e are some missing libraries I need to install:=0A compile-c-unix:=0A =
if test ! -d .deps; then mkdir .deps; fi=0A gcc -DAIX -lpthread=
-lnsl -lm wrapper.c wrapperinfo.c wrappereventloop.c wrapper_unix.c proper=
ty.c logger.c -o ../../bin/wrapper=0A collect2: library libm not found=
=0A make: 1254-004 The error code from the last command is 1.=0A Stop=
.=0A=0A Unfortunately, I'm not at the office this week to insert the req=
uired cd's (and they can not be downloaded from the web),=0A so I'll try=
to do this next week=0A=0ASanto=0A=0A----- Original Message ----=0AFrom: L=
eif Mortenson <le...@ta...>=0ATo: wra...@li...=
e.net=0ASent: Wednesday, January 31, 2007 3:36:05 AM=0ASubject: Re: [Wrappe=
r-user] updated HP-UX binaries=0A=0AKrishna,=0A> I tried this and it failed=
with the following error..=0A> /dasher 35: ./build32.sh=0A>=0A> init:java-=
missing:=0A> **************************************************************=
********=0A> The src/java directory could not be found. Most likely this i=
s a=0A> pre-release distribution. Please run "build32 release" to build=0A=
> the full release.=0A> ***************************************************=
*******************=0A> =0AAs the message says, the pre-release distribut=
ion is not designed to =0Abuild the java source.=0ARather it has been speci=
fically designed to ensure that all =0Adistributions make use of and=0Adepl=
oy with the exact same jar file. I did this to make sure that the =0Ajar =
file is always=0Abuild using Java 1.3 for compatibility. Building with Ja=
va 1.5 will =0Amake the Jar unusable=0Aon Java 1.2 even if the target versi=
on is set to 1.2. (A javac bug)=0A> And then i tried *./build32.sh releas=
e* it failed with the following error..=0A>=0A> /dasher 37: ./build32.sh re=
lease=0A>=0A> Wrapper Build System=0A> --------------------=0A> Buildfile: =
build.xml=0A>=0A> init:msg:=0A> *******************************************=
***************************=0A> About to build a 32-bit version of the Java=
Service Wrapper 3.2.4-b.=0A> The OS Name is "hpux", resolved from "HP-UX".=
=0A> The Architecture is "parisc", resolved from "PA_RISC2.0".=0A> The dist=
ribution name will be: wrapper-hpux-parisc-32-3.2.4-b=0A> *****************=
*****************************************************=0A>=0A> pre-release:r=
estore-jdocs:=0A> Deleting directory /home/informix/dpserver/wrapper_prerel=
ease_3.2.4-b/jdoc=0A> Expanding: /home/informix/dpserver/wrapper_prerelease=
_3.2.4-b/jdoc.tar =0A> into /hom=0A> e/informix/dpserver/wrapper_prerelease=
_3.2.4-b=0A>=0A> update-info-c:=0A> Copying 1 file to /home/informix/dpserv=
er/wrapper_prerelease_3.2.4-b/src/c=0A>=0A> compile-c-unix:=0A> if =
test ! -d .deps; then mkdir .deps; fi=0A> cc -O -c wrapper.c=0A> cc=
: 487: warning : Possibly incorrect message catalog.=0A> =0AThis appears=
to be a HP-UX issue:=0Ahttp://docs.hp.com/en/5187-0750/ch04s02.html=0A=0AT=
here is a workaround at the top of the page. I'm not sure if actually =0Am=
akes any difference=0Afor the generation of the binary.=0A> cpp: "wrapper.c=
", line 120: error 4036: Can't open include file =0A> 'asm/errno.h'.=0A> =
=0AThat include file in included by wrapper.c and should only be getting =
=0Aincluded for LINUX=0Abuilds. Reviewing the Makefile, and source, I do =
not see why this =0Awould be happening=0Afor you.=0A=0AIf you look in the w=
rapper.c file, at line #119, you will see the following:=0A---=0A#else /* L=
INUX */=0A#include <asm/errno.h>=0A#endif /* FREEBSD */=0A---=0AIf you comm=
ent that include out, it should build. But that does not =0Aexplain why th=
e=0AHPUX symbol is not being defined. That should be getting set from the =
=0AMakefile.=0AThat symbol is being defined on the first line of the makefi=
le:=0A---=0ACOMPILE =3D cc -DHPUX -D_XOPEN_SOURCE_EXTENDED -Ae +Z=0A---=0A=
=0AAt the beginning of the code, try adding this=0A---=0A#ifdef HPUX=0Abar=
=0A#else=0Afoo=0A#endif=0A---=0A=0AYou should get a compiler error stating =
that "bar" is undefined if HPUX=0Ais correctly defined, or that "foo" is un=
defined if HPUX is indeed not being=0Adeclared correctly.=0A=0AAnyone have =
any ideas? If the symbol is not being defined correctly, =0Athen other=0Ap=
roblems will occur as well.=0A=0AI will try to find an answer as well...=0A=
=0ACheers,=0ALeif=0A> Leif Mortenson wrote:=0A> =0A>> Krishna,=0A>> =0A=
>> =0A>>> I tried building wrapper on my HP UX system (uname -a --> HP-=
UX dasher =0A>>> B.11.11 U 9000/800 1731243071) by downloading wrapper_3.2.=
3_src.tar.gz file.=0A>>>=0A>>> when i ran ./build32.sh, it is failing with=
=0A>>> Execute failed: java.io.IOException: gmake: not found=0A>>> i think =
it needs gmake tool to be installed. I will talk to my admin and =0A>>> see=
if he can install that for me.=0A>>> =0A>>> =0A>>> =0A>> Can y=
ou give this a try?=0A>> http://wrapper.tanukisoftware.org/tmp/3.2.4-b/wrap=
per_prerelease_3.2.4-b.tar.gz=0A>>=0A>> This version now uses "make"=0A>>=
=0A>> Run "./build32.sh release" to do the build.=0A>> =0A>> =0A>>> w=
hen i ran ./build64.sh, it is failing with=0A>>> The "bits" system property=
does not match that of the JVM.=0A>>> =0A>>> =0A>>> =0A>> This=
is correct. You have a 32-bit JVM installed. The build64.sh =0A>> script=
is only=0A>> to be used to build the 64-bit versions of the wrapper.=0A>>=
=0A>> Cheers,=0A>> Leif=0A>>=0A>> =0A>> =0A>>> Leif Mortenson wrote:=
=0A>>> =0A>>> =0A>>> =0A>>>> Krishna,=0A>>>> For starters, down=
load the latest "prerelease" distribution in tar.gz =0A>>>> format. Expand=
that=0A>>>> into a directory on your HP-UX system. If everything is set u=
p =0A>>>> correctly and we are=0A>>>> lucky then all you should have to do =
is run:=0A>>>> ./build32.sh=0A>>>> or=0A>>>> ./build64.sh=0A>>>> A release =
distribution will be output to the dist directory.=0A>>>>=0A>>>> If you get=
any errors, please post back with the results.=0A>>>>=0A>>>> Thanks if adv=
ance for your help.=0A>>>> Cheers,=0A>>>> Leif=0A>>>>=0A>>>> krishna wrote:=
=0A>>>> =0A>>>> =0A>>>> =0A>>>> =0A>>>>> Hi,=0A>>>>> i =
have hp ux system at my work. may be i can help you guys. but i am =0A>>>>>=
not that great unix user. can u please point me to instructions on how =0A=
>>>>> to build on hp=0A>>>>> thanks,=0A>>>>> krishna=0A>>>>> Leif Mortenson=
wrote:=0A>>>>> =0A>>>>> =0A>>>>> =0A>>>>> =0A>=
>>>>> Santo,=0A>>>>>> The delta pack is a distribution which contains all o=
f the binaries for =0A>>>>>> the platforms=0A>>>>>> that I have access to. =
Unfortunately this is not going to help you =0A>>>>>> with HP-UX.=0A>>>>>=
> I used to have a user who helped me out with releases, but he has =0A>>>>=
>> unfortunately=0A>>>>>> not been able to continue volunteering his time s=
ince the 3.2.0 release.=0A>>>>>>=0A>>>>>> I wish I could be of more help he=
re, but I don't have access to any =0A>>>>>> hardware.=0A>>>>>> Maybe anoth=
er HP-UX user will be able to help out.=0A>>>>>>=0A>>>>>> Cheers,=0A>>>>>> =
Leif=0A>>>>>>=0A>>>>>> First Last wrote:=0A>>>>>> =0A>>>>>> =0A>>>>=
>> =0A>>>>>> =0A>>>>>> =0A>>>>>>> Hi,=0A>>>>>=
>>=0A>>>>>>> Next week I need to set up an application using the java servi=
ce =0A>>>>>>> wrapper on a HP-UX system, but the latest binaries available =
for HP-UX =0A>>>>>>> are for v3.2.0=0A>>>>>>> Because I experienced some is=
sues with that build, I definitely want =0A>>>>>>> to use v3.2.1 or higher =
as it seems that those issues were solved in =0A>>>>>>> v3.2.1=0A>>>>>>>=0A=
>>>>>>> As we don't have an HP-UX system ourselves, we are not able to comp=
ile =0A>>>>>>> the wrapper from source.=0A>>>>>>>=0A>>>>>>> I don't know wh=
at the delta packages are for (text was cut off in the =0A>>>>>>> release n=
otes on the website), but maybe I can use them=0A>>>>>>> to just install th=
e 3.2.0 package and upgrade to 3.2.1 or higher =0A>>>>>>> through the delta=
packages ?=0A>>>>>>>=0A>>>>>>> If that won't work, can some please provide=
me with a binary version =0A>>>>>>> of v3.2.1 or higher for HP-UX ?=0A>>>>=
>>> Unfortunately our customer doesn't allow us to compile anything on =0A>=
>>>>>> their machines either :-(=0A>>>>>>>=0A>>>>>>> The details of the HP-=
UX system are as follows:=0A>>>>>>> HP-UX v11.11(i.e. 11i v1) RISC 64 bit h=
ardware=0A>>>>>>> But the machine is apparently running in (32,64t) mode.=
=0A>>>>>>> Therefore I would prefer to just go for 32-bit especially becaus=
e =0A>>>>>>> another app already running on it is also in 32-bit mode=0A>>>=
>>>>=0A>>>>>>>=0A>>>>>>> I'll try to provide an updated package for AIX in =
return ;-)=0A>>>>>>> Related to this, I'd like to compile v3.2.3 for AIX 5.=
3 64-bit, but =0A>>>>>>> apparently no make file is available for 64-bit ai=
x in v3.2.3 sources :-(=0A>>>>>>>=0A>>>>>>> Thanks in advance,=0A>>>>>>>=0A=
>>>>>>> Santo=0A>>>>>>>=0A>>>>>>>=0A>>>>>>> -------------------------------=
-----------------------------------------=0A>>>>>>> We won't tell. Get more=
on shows you hate to love =0A>>>>>>> <http://us.rd.yahoo.com/evt=3D49980/*=
http://tv.yahoo.com/collections/265>=0A>>>>>>> (and love to hate): Yahoo! T=
V's Guilty Pleasures list. =0A>>>>>>> <http://us.rd.yahoo.com/evt=3D49980/*=
http://tv.yahoo.com/collections/265>=0A>>>>>>> ----------------------------=
--------------------------------------------=0A>>>>>>>=0A>>>>>>> ----------=
---------------------------------------------------------------=0A>>>>>>> T=
ake Surveys. Earn Cash. Influence the Future of IT=0A>>>>>>> Join SourceFor=
ge.net's Techsay panel and you'll get the chance to share your=0A>>>>>>> op=
inions on IT & business topics through brief surveys - and earn cash=0A>>>>=
>>> http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=
=3DDEVDEV=0A>>>>>>> -------------------------------------------------------=
-----------------=0A>>>>>>>=0A>>>>>>> _____________________________________=
__________=0A>>>>>>> Wrapper-user mailing list=0A>>>>>>> Wrapper-user@lists=
.sourceforge.net=0A>>>>>>> https://lists.sourceforge.net/lists/listinfo/wra=
pper-user=0A>>>>>>> =0A>>>>>>> =0A>>>>>>> =0A>>>>>>> =
=0A>>>>>>> =0A>>>>>>> =0A>>>>>> ---------------=
----------------------------------------------------------=0A>>>>>> Take Su=
rveys. Earn Cash. Influence the Future of IT=0A>>>>>> Join SourceForge.net'=
s Techsay panel and you'll get the chance to share your=0A>>>>>> opinions o=
n IT & business topics through brief surveys - and earn cash=0A>>>>>> http:=
//www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3DDEVDEV=
=0A>>>>>> _______________________________________________=0A>>>>>> Wrapper-=
user mailing list=0A>>>>>> Wra...@li...=0A>>>>>> http=
s://lists.sourceforge.net/lists/listinfo/wrapper-user=0A>>>>>>=0A>>>>>> =
=0A>>>>>> =0A>>>>>> =0A>>>>>> =0A>>>>>> =
=0A>>>>> -----------------------------------------------------------------=
-------=0A>>>>>=0A>>>>> ---------------------------------------------------=
----------------------=0A>>>>> Take Surveys. Earn Cash. Influence the Futur=
e of IT=0A>>>>> Join SourceForge.net's Techsay panel and you'll get the cha=
nce to share your=0A>>>>> opinions on IT & business topics through brief su=
rveys - and earn cash=0A>>>>> http://www.techsay.com/default.php?page=3Djoi=
n.php&p=3Dsourceforge&CID=3DDEVDEV=0A>>>>> --------------------------------=
----------------------------------------=0A>>>>>=0A>>>>> __________________=
_____________________________=0A>>>>> Wrapper-user mailing list=0A>>>>> Wra=
ppe...@li...=0A>>>>> https://lists.sourceforge.net/lists=
/listinfo/wrapper-user=0A>>>>> =0A>>>>> =0A>>>>> =0A>>>>> =
=0A>>>>> =0A>>>> ---------------------------------------------=
----------------------------=0A>>>> Take Surveys. Earn Cash. Influence the =
Future of IT=0A>>>> Join SourceForge.net's Techsay panel and you'll get the=
chance to share your=0A>>>> opinions on IT & business topics through brief=
surveys - and earn cash=0A>>>> http://www.techsay.com/default.php?page=3Dj=
oin.php&p=3Dsourceforge&CID=3DDEVDEV=0A>>>> _______________________________=
________________=0A>>>> Wrapper-user mailing list=0A>>>> Wrapper-user@lists=
.sourceforge.net=0A>>>> https://lists.sourceforge.net/lists/listinfo/wrappe=
r-user=0A>>>>=0A>>>> =0A>>>> =0A>>>> =0A>>>> =0A>>> ---=
----------------------------------------------------------------------=0A>>=
> Take Surveys. Earn Cash. Influence the Future of IT=0A>>> Join SourceForg=
e.net's Techsay panel and you'll get the chance to share your=0A>>> opinion=
s on IT & business topics through brief surveys - and earn cash=0A>>> http:=
//www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3DDEVDEV=
=0A>>> _______________________________________________=0A>>> Wrapper-user m=
ailing list=0A>>> Wra...@li...=0A>>> https://lists.so=
urceforge.net/lists/listinfo/wrapper-user=0A>>>=0A>>> =0A>>> =0A>>> =
=0A>> ----------------------------------------------------------------=
---------=0A>> Take Surveys. Earn Cash. Influence the Future of IT=0A>> Joi=
n SourceForge.net's Techsay panel and you'll get the chance to share your=
=0A>> opinions on IT & business topics through brief surveys - and earn cas=
h=0A>> http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&C=
ID=3DDEVDEV=0A>> _______________________________________________=0A>> Wrapp=
er-user mailing list=0A>> Wra...@li...=0A>> https://l=
ists.sourceforge.net/lists/listinfo/wrapper-user=0A>>=0A>> =0A>> =0A>=
=0A>=0A> ------------------------------------------------------------------=
-------=0A> Take Surveys. Earn Cash. Influence the Future of IT=0A> Join So=
urceForge.net's Techsay panel and you'll get the chance to share your=0A> o=
pinions on IT & business topics through brief surveys - and earn cash=0A> h=
ttp://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3DDEV=
DEV=0A> _______________________________________________=0A> Wrapper-user ma=
iling list=0A> Wra...@li...=0A> https://lists.sourcef=
orge.net/lists/listinfo/wrapper-user=0A>=0A> =0A=0A=0A-------------------=
------------------------------------------------------=0ATake Surveys. Earn=
Cash. Influence the Future of IT=0AJoin SourceForge.net's Techsay panel an=
d you'll get the chance to share your=0Aopinions on IT & business topics th=
rough brief surveys - and earn cash=0Ahttp://www.techsay.com/default.php?pa=
ge=3Djoin.php&p=3Dsourceforge&CID=3DDEVDEV=0A______________________________=
_________________=0AWrapper-user mailing lis...@li...=
rge.net=0Ahttps://lists.sourceforge.net/lists/listinfo/wrapper-user=0A=0A=
=0A=0A=0A=0A=0A=0A =0A_____________________________________________________=
_______________________________=0ALooking for earth-friendly autos? =0ABrow=
se Top Cars by "Green Rating" at Yahoo! Autos' Green Center.=0Ahttp://autos=
.yahoo.com/green_center/ |