|
From: Ben J. <bj...@tr...> - 2007-01-31 18:23:44
|
I don't want to step on anyone's toes, but I just built an HP-UX binary = from the vanilla wrapper 3.2.3 source release. I didn't do an actual = "release" since the JDK installed is v1.4.1. I created a tgz of = wrapper.sl and wrapper.jar and attached it to this message. Built on: bash-2.05$ uname -mrsv HP-UX B.11.00 U 9000/785 Hope this helps! - Ben -----Original Message----- From: wra...@li... on behalf of Leif = Mortenson Sent: Tue 1/30/2007 6:36 PM To: wra...@li... Subject: Re: [Wrapper-user] updated HP-UX binaries =20 Krishna, > I tried this and it failed with the following error.. > /dasher 35: ./build32.sh > > init:java-missing: > ********************************************************************** > The src/java directory could not be found. Most likely this is a > pre-release distribution. Please run "build32 release" to build > the full release. > ********************************************************************** > =20 As the message says, the pre-release distribution is not designed to=20 build the java source. Rather it has been specifically designed to ensure that all=20 distributions make use of and deploy with the exact same jar file. I did this to make sure that the=20 jar file is always build using Java 1.3 for compatibility. Building with Java 1.5 will=20 make the Jar unusable on Java 1.2 even if the target version is set to 1.2. (A javac bug) > And then i tried *./build32.sh release* it failed with the following = error.. > > /dasher 37: ./build32.sh release > > Wrapper Build System > -------------------- > Buildfile: build.xml > > init:msg: > ********************************************************************** > About to build a 32-bit version of the Java Service Wrapper 3.2.4-b. > The OS Name is "hpux", resolved from "HP-UX". > The Architecture is "parisc", resolved from "PA_RISC2.0". > The distribution name will be: wrapper-hpux-parisc-32-3.2.4-b > ********************************************************************** > > pre-release:restore-jdocs: > Deleting directory = /home/informix/dpserver/wrapper_prerelease_3.2.4-b/jdoc > Expanding: /home/informix/dpserver/wrapper_prerelease_3.2.4-b/jdoc.tar = > into /hom > e/informix/dpserver/wrapper_prerelease_3.2.4-b > > update-info-c: > Copying 1 file to = /home/informix/dpserver/wrapper_prerelease_3.2.4-b/src/c > > compile-c-unix: > if test ! -d .deps; then mkdir .deps; fi > cc -O -c wrapper.c > cc: 487: warning : Possibly incorrect message catalog. > =20 This appears to be a HP-UX issue: http://docs.hp.com/en/5187-0750/ch04s02.html There is a workaround at the top of the page. I'm not sure if actually=20 makes any difference for the generation of the binary. > cpp: "wrapper.c", line 120: error 4036: Can't open include file=20 > 'asm/errno.h'. > =20 That include file in included by wrapper.c and should only be getting=20 included for LINUX builds. Reviewing the Makefile, and source, I do not see why this=20 would be happening for you. If you look in the wrapper.c file, at line #119, you will see the = following: --- #else /* LINUX */ #include <asm/errno.h> #endif /* FREEBSD */ --- If you comment that include out, it should build. But that does not=20 explain why the HPUX symbol is not being defined. That should be getting set from the=20 Makefile. That symbol is being defined on the first line of the makefile: --- COMPILE =3D cc -DHPUX -D_XOPEN_SOURCE_EXTENDED -Ae +Z --- At the beginning of the code, try adding this --- #ifdef HPUX bar #else foo #endif --- You should get a compiler error stating that "bar" is undefined if HPUX is correctly defined, or that "foo" is undefined if HPUX is indeed not = being declared correctly. Anyone have any ideas? If the symbol is not being defined correctly,=20 then other problems will occur as well. I will try to find an answer as well... Cheers, Leif > Leif Mortenson wrote: > =20 >> Krishna, >> =20 >> =20 >>> I tried building wrapper on my HP UX system (uname -a --> HP-UX = dasher=20 >>> B.11.11 U 9000/800 1731243071) by downloading = wrapper_3.2.3_src.tar.gz file. >>> >>> when i ran ./build32.sh, it is failing with >>> Execute failed: java.io.IOException: gmake: not found >>> i think it needs gmake tool to be installed. I will talk to my admin = and=20 >>> see if he can install that for me. >>> =20 >>> =20 >>> =20 >> Can you give this a try? >> = http://wrapper.tanukisoftware.org/tmp/3.2.4-b/wrapper_prerelease_3.2.4-b.= tar.gz >> >> This version now uses "make" >> >> Run "./build32.sh release" to do the build. >> =20 >> =20 >>> when i ran ./build64.sh, it is failing with >>> The "bits" system property does not match that of the JVM. >>> =20 >>> =20 >>> =20 >> This is correct. You have a 32-bit JVM installed. The build64.sh=20 >> script is only >> to be used to build the 64-bit versions of the wrapper. >> >> Cheers, >> Leif >> >> =20 >> =20 >>> Leif Mortenson wrote: >>> =20 >>> =20 >>> =20 >>>> Krishna, >>>> For starters, download the latest "prerelease" distribution in = tar.gz=20 >>>> format. Expand that >>>> into a directory on your HP-UX system. If everything is set up=20 >>>> correctly and we are >>>> lucky then all you should have to do is run: >>>> ./build32.sh >>>> or >>>> ./build64.sh >>>> A release distribution will be output to the dist directory. >>>> >>>> If you get any errors, please post back with the results. >>>> >>>> Thanks if advance for your help. >>>> Cheers, >>>> Leif >>>> >>>> krishna wrote: >>>> =20 >>>> =20 >>>> =20 >>>> =20 >>>>> Hi, >>>>> i have hp ux system at my work. may be i can help you guys. but i = am=20 >>>>> not that great unix user. can u please point me to instructions on = how=20 >>>>> to build on hp >>>>> thanks, >>>>> krishna >>>>> Leif Mortenson wrote: >>>>> =20 >>>>> =20 >>>>> =20 >>>>> =20 >>>>>> Santo, >>>>>> The delta pack is a distribution which contains all of the = binaries for=20 >>>>>> the platforms >>>>>> that I have access to. Unfortunately this is not going to help = you=20 >>>>>> with HP-UX. >>>>>> I used to have a user who helped me out with releases, but he has = >>>>>> unfortunately >>>>>> not been able to continue volunteering his time since the 3.2.0 = release. >>>>>> >>>>>> I wish I could be of more help here, but I don't have access to = any=20 >>>>>> hardware. >>>>>> Maybe another HP-UX user will be able to help out. >>>>>> >>>>>> Cheers, >>>>>> Leif >>>>>> >>>>>> First Last wrote: >>>>>> =20 >>>>>> =20 >>>>>> =20 >>>>>> =20 >>>>>> =20 >>>>>>> Hi, >>>>>>> >>>>>>> Next week I need to set up an application using the java service = >>>>>>> wrapper on a HP-UX system, but the latest binaries available for = HP-UX=20 >>>>>>> are for v3.2.0 >>>>>>> Because I experienced some issues with that build, I definitely = want=20 >>>>>>> to use v3.2.1 or higher as it seems that those issues were = solved in=20 >>>>>>> v3.2.1 >>>>>>> >>>>>>> As we don't have an HP-UX system ourselves, we are not able to = compile=20 >>>>>>> the wrapper from source. >>>>>>> >>>>>>> I don't know what the delta packages are for (text was cut off = in the=20 >>>>>>> release notes on the website), but maybe I can use them >>>>>>> to just install the 3.2.0 package and upgrade to 3.2.1 or higher = >>>>>>> through the delta packages ? >>>>>>> >>>>>>> If that won't work, can some please provide me with a binary = version=20 >>>>>>> of v3.2.1 or higher for HP-UX ? >>>>>>> Unfortunately our customer doesn't allow us to compile anything = on=20 >>>>>>> their machines either :-( >>>>>>> >>>>>>> The details of the HP-UX system are as follows: >>>>>>> HP-UX v11.11(i.e. 11i v1) RISC 64 bit hardware >>>>>>> But the machine is apparently running in (32,64t) mode. >>>>>>> Therefore I would prefer to just go for 32-bit especially = because=20 >>>>>>> another app already running on it is also in 32-bit mode >>>>>>> >>>>>>> >>>>>>> I'll try to provide an updated package for AIX in return ;-) >>>>>>> Related to this, I'd like to compile v3.2.3 for AIX 5.3 64-bit, = but=20 >>>>>>> apparently no make file is available for 64-bit aix in v3.2.3 = sources :-( >>>>>>> >>>>>>> Thanks in advance, >>>>>>> >>>>>>> Santo >>>>>>> >>>>>>> >>>>>>> = ------------------------------------------------------------------------ >>>>>>> We won't tell. Get more on shows you hate to love=20 >>>>>>> = <http://us.rd.yahoo.com/evt=3D49980/*http://tv.yahoo.com/collections/265>= >>>>>>> (and love to hate): Yahoo! TV's Guilty Pleasures list.=20 >>>>>>> = <http://us.rd.yahoo.com/evt=3D49980/*http://tv.yahoo.com/collections/265>= >>>>>>> = ------------------------------------------------------------------------ >>>>>>> >>>>>>> = -------------------------------------------------------------------------= >>>>>>> Take Surveys. Earn Cash. Influence the Future of IT >>>>>>> Join SourceForge.net's Techsay panel and you'll get the chance = to share your >>>>>>> opinions on IT & business topics through brief surveys - and = earn cash >>>>>>> = http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV >>>>>>> = ------------------------------------------------------------------------ >>>>>>> >>>>>>> _______________________________________________ >>>>>>> Wrapper-user mailing list >>>>>>> Wra...@li... >>>>>>> https://lists.sourceforge.net/lists/listinfo/wrapper-user >>>>>>> =20 >>>>>>> =20 >>>>>>> =20 >>>>>>> =20 >>>>>>> =20 >>>>>>> =20 >>>>>> = -------------------------------------------------------------------------= >>>>>> Take Surveys. Earn Cash. Influence the Future of IT >>>>>> Join SourceForge.net's Techsay panel and you'll get the chance to = share your >>>>>> opinions on IT & business topics through brief surveys - and earn = cash >>>>>> = http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV >>>>>> _______________________________________________ >>>>>> Wrapper-user mailing list >>>>>> Wra...@li... >>>>>> https://lists.sourceforge.net/lists/listinfo/wrapper-user >>>>>> >>>>>> =20 >>>>>> =20 >>>>>> =20 >>>>>> =20 >>>>>> =20 >>>>> = ------------------------------------------------------------------------ >>>>> >>>>> = -------------------------------------------------------------------------= >>>>> Take Surveys. Earn Cash. Influence the Future of IT >>>>> Join SourceForge.net's Techsay panel and you'll get the chance to = share your >>>>> opinions on IT & business topics through brief surveys - and earn = cash >>>>> = http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV >>>>> = ------------------------------------------------------------------------ >>>>> >>>>> _______________________________________________ >>>>> Wrapper-user mailing list >>>>> Wra...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/wrapper-user >>>>> =20 >>>>> =20 >>>>> =20 >>>>> =20 >>>>> =20 >>>> = -------------------------------------------------------------------------= >>>> Take Surveys. Earn Cash. Influence the Future of IT >>>> Join SourceForge.net's Techsay panel and you'll get the chance to = share your >>>> opinions on IT & business topics through brief surveys - and earn = cash >>>> = http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV >>>> _______________________________________________ >>>> Wrapper-user mailing list >>>> Wra...@li... >>>> https://lists.sourceforge.net/lists/listinfo/wrapper-user >>>> >>>> =20 >>>> =20 >>>> =20 >>>> =20 >>> = -------------------------------------------------------------------------= >>> Take Surveys. Earn Cash. Influence the Future of IT >>> Join SourceForge.net's Techsay panel and you'll get the chance to = share your >>> opinions on IT & business topics through brief surveys - and earn = cash >>> = http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV >>> _______________________________________________ >>> Wrapper-user mailing list >>> Wra...@li... >>> https://lists.sourceforge.net/lists/listinfo/wrapper-user >>> >>> =20 >>> =20 >>> =20 >> = -------------------------------------------------------------------------= >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to = share your >> opinions on IT & business topics through brief surveys - and earn = cash >> = http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV >> _______________________________________________ >> Wrapper-user mailing list >> Wra...@li... >> https://lists.sourceforge.net/lists/listinfo/wrapper-user >> >> =20 >> =20 > > > = -------------------------------------------------------------------------= > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to = share your > opinions on IT & business topics through brief surveys - and earn cash > = http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > > =20 -------------------------------------------------------------------------= Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share = your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV _______________________________________________ Wrapper-user mailing list Wra...@li... https://lists.sourceforge.net/lists/listinfo/wrapper-user |