|
From: Leif M. <le...@ta...> - 2007-01-31 02:36:14
|
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. > ********************************************************************** > As the message says, the pre-release distribution is not designed to build the java source. Rather it has been specifically designed to ensure that all distributions make use of and deploy with the exact same jar file. I did this to make sure that the jar file is always build using Java 1.3 for compatibility. Building with Java 1.5 will 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. > 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 makes any difference for the generation of the binary. > cpp: "wrapper.c", line 120: error 4036: Can't open include file > 'asm/errno.h'. > That include file in included by wrapper.c and should only be getting included for LINUX builds. Reviewing the Makefile, and source, I do not see why this 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 explain why the HPUX symbol is not being defined. That should be getting set from the Makefile. That symbol is being defined on the first line of the makefile: --- COMPILE = 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, then other problems will occur as well. I will try to find an answer as well... Cheers, Leif > Leif Mortenson wrote: > >> Krishna, >> >> >>> I tried building wrapper on my HP UX system (uname -a --> HP-UX dasher >>> 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 >>> see if he can install that for me. >>> >>> >>> >> 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. >> >> >>> when i ran ./build64.sh, it is failing with >>> The "bits" system property does not match that of the JVM. >>> >>> >>> >> This is correct. You have a 32-bit JVM installed. The build64.sh >> script is only >> to be used to build the 64-bit versions of the wrapper. >> >> Cheers, >> Leif >> >> >> >>> Leif Mortenson wrote: >>> >>> >>> >>>> Krishna, >>>> For starters, download the latest "prerelease" distribution in tar.gz >>>> format. Expand that >>>> into a directory on your HP-UX system. If everything is set up >>>> 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: >>>> >>>> >>>> >>>> >>>>> Hi, >>>>> i have hp ux system at my work. may be i can help you guys. but i am >>>>> not that great unix user. can u please point me to instructions on how >>>>> to build on hp >>>>> thanks, >>>>> krishna >>>>> Leif Mortenson wrote: >>>>> >>>>> >>>>> >>>>> >>>>>> Santo, >>>>>> The delta pack is a distribution which contains all of the binaries for >>>>>> the platforms >>>>>> that I have access to. Unfortunately this is not going to help you >>>>>> 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 >>>>>> hardware. >>>>>> Maybe another HP-UX user will be able to help out. >>>>>> >>>>>> Cheers, >>>>>> Leif >>>>>> >>>>>> First Last wrote: >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>>> 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 >>>>>>> are for v3.2.0 >>>>>>> Because I experienced some issues with that build, I definitely want >>>>>>> to use v3.2.1 or higher as it seems that those issues were solved in >>>>>>> v3.2.1 >>>>>>> >>>>>>> As we don't have an HP-UX system ourselves, we are not able to compile >>>>>>> the wrapper from source. >>>>>>> >>>>>>> I don't know what the delta packages are for (text was cut off in the >>>>>>> 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 >>>>>>> of v3.2.1 or higher for HP-UX ? >>>>>>> Unfortunately our customer doesn't allow us to compile anything on >>>>>>> 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 >>>>>>> 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 >>>>>>> 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 >>>>>>> <http://us.rd.yahoo.com/evt=49980/*http://tv.yahoo.com/collections/265> >>>>>>> (and love to hate): Yahoo! TV's Guilty Pleasures list. >>>>>>> <http://us.rd.yahoo.com/evt=49980/*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=join.php&p=sourceforge&CID=DEVDEV >>>>>>> ------------------------------------------------------------------------ >>>>>>> >>>>>>> _______________________________________________ >>>>>>> Wrapper-user mailing list >>>>>>> Wra...@li... >>>>>>> https://lists.sourceforge.net/lists/listinfo/wrapper-user >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> ------------------------------------------------------------------------- >>>>>> 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=join.php&p=sourceforge&CID=DEVDEV >>>>>> _______________________________________________ >>>>>> Wrapper-user mailing list >>>>>> Wra...@li... >>>>>> https://lists.sourceforge.net/lists/listinfo/wrapper-user >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>> ------------------------------------------------------------------------ >>>>> >>>>> ------------------------------------------------------------------------- >>>>> 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=join.php&p=sourceforge&CID=DEVDEV >>>>> ------------------------------------------------------------------------ >>>>> >>>>> _______________________________________________ >>>>> Wrapper-user mailing list >>>>> Wra...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/wrapper-user >>>>> >>>>> >>>>> >>>>> >>>>> >>>> ------------------------------------------------------------------------- >>>> 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=join.php&p=sourceforge&CID=DEVDEV >>>> _______________________________________________ >>>> Wrapper-user mailing list >>>> Wra...@li... >>>> https://lists.sourceforge.net/lists/listinfo/wrapper-user >>>> >>>> >>>> >>>> >>>> >>> ------------------------------------------------------------------------- >>> 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=join.php&p=sourceforge&CID=DEVDEV >>> _______________________________________________ >>> Wrapper-user mailing list >>> Wra...@li... >>> https://lists.sourceforge.net/lists/listinfo/wrapper-user >>> >>> >>> >>> >> ------------------------------------------------------------------------- >> 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=join.php&p=sourceforge&CID=DEVDEV >> _______________________________________________ >> Wrapper-user mailing list >> Wra...@li... >> https://lists.sourceforge.net/lists/listinfo/wrapper-user >> >> >> > > > ------------------------------------------------------------------------- > 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=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > > |