|
From: Ajay K. <Aja...@sa...> - 2004-11-23 07:25:10
|
Hi,
Following are the steps to create an executable wrapper file for solaris
intel (x/86) platform.
Steps:
1. Download wrapper source code. i.e. /wrapper_3.1.1_src
2. Download ant tool ver 1.6. i.e. apache-ant-1.6alpha build
3. Copy ant.jar, optional.jar from apache-ant-1.6alpha folder and
paste/overwrite them into wrapper_3.1.1_src/tools/lib folder.
4. Change directory to /wrapper_3.1.1_src and run command sh build.sh from
terminal window.
5. If you get FileNotFoundException for 'make' then add entry for 'make'
command into enviornment variable
OR
Edit Build.xml file and change line number 72:
<property name="make.name" value="make"/>
To
<property name="make.name" value="/usr/ccs/bin/make"/>
Where '/usr/ccs/bin/make' is absolute path for make command.
6. Again run command sh build.sh.
7. If you get error for 'gcc' It means you don't have C compiler installed
on your machine.
so download and install gcc-2.95.2-sol8-intel-local package.
Add entry for 'gcc' command into enviornment variable
OR
Edit wrapper_3.1.1_src/src/c/MakeFile.solaris file and change first
line:
'COMPILE = gcc -O3 -Wall --pedantic -DSOLARIS'
To
'COMPILE = /usr/local/bin/gcc -O3 -Wall --pedantic -DSOLARIS'
Where '/usr/local/bin/gcc' is absolute path for gcc command
6. Again run command sh build.sh.
7. On successful compilation of build you will get executable wrapper file
into /wrapper_3.1.1_src/bin folder. also you will get libwrapper.so,
wrapper.jar into /wrapper_3.1.1_src/lib folder.
Thanks.
Regards,
Ajay
----- Original Message -----
From: "Leif Mortenson" <le...@ta...>
To: <wra...@li...>
Sent: Friday, November 19, 2004 7:18 PM
Subject: Re: [Wrapper-user] Solaris Intel (X/86)
> Ajay,
> Great, glad you got it working. Did it require any changes? If
> so, please post what you did.
> I would like to make it work out of the box for people if possible.
>
> Cheers,
> Leif
>
> Ajay Khairnar wrote:
>
> >Hi Leif,
> > Thanks for such a helpful information. Today we have generated a
> >executable wrapper for solaris intel (x/86) by using build.sh. Now our
> >program is running fine with wrapper. if any user wants wrapper for
solaris
> >intel (x/86) then please contact me on aja...@sa...
> >email-id.
> >
> >Thanks again.
> >
> >Regards,
> >Ajay
|