citrus perl with xubuntu 10.10 and xfce GUI

22 views
Skip to first unread message

Bonnie Dalzell

unread,
Jan 3, 2012, 3:26:35 PM1/3/12
to Citrus Perl
I am interested in being able to distribute my perl application to
friends who may not know how to add modules from CPAN so I am trying
to get Citrus Perl to work on my system so that the Cava Package
manager will work.

I was not able to get the linux citrusperl-linux-x86-5-14-r12 to
successfully install. It gave me an error at the end of the
installation when I tried to run the relocator:

Insecure dependency in rename while running setgid at <Citrus
Relocator> line
348.

So I deleted it from the dev folder and tried installing

citrusperl-linux-x86-5-12-r12

the first time it complained that it could not find OpenGL. I used the
synaptic package installed to install libopengl-perl (0.62_dfsg-1).
And tried the relocation again. That did not work so I CirtusPerl5-12
and reinstalled 5-12-r12 and redid the relocation command and this
time I was able to bring up the WXWidgets demo.

So then I tried to run Cava on a perl program I have written. It
appeared to successfully make the binary. However when I moved the
binary to someplace else and tried to run it I got the following
error:

./SibsOffspring3: error while loading shared libraries: libperl.so:
cannot open shared object file: No such file or directory.

There are instances of libperl.so on my system in these places:

/home/bdz/.applications/CavaPackager/dll/libperl.so
/home/bdz/WebPed2012Packaged/cava20-temp/testbuild/MyApp/dll/
libperl.so
/home/bdz/WebPed2012Packaged/cava20-temp/testbuild/MyApp/dll/
libperl.so.5.10.1
/home/bdz/WebPed2012Packaged/release/MyApp/dll/libperl.so
/home/bdz/WebPed2012Packaged/release/MyApp/dll/libperl.so.5.10.1
/home/bdz/dev/CitrusPerl/x86/5-12/lib/CORE/libperl.so
/usr/lib/libperl.so.5.10
/usr/lib/libperl.so.5.10.1
/usr/lib/debug/usr/lib/libperl.so.5.10.1

Any suggestions?

Does libperl.so have to be present on any linux machine that my
enxapsulated program is going to run on?

Another question is this. I still have my original installation of
perl on my system. How do I run Citrus perl rather than my default
perl? Default perl comes up when I type perl at a command line.

Cava Support

unread,
Apr 20, 2012, 1:24:36 AM4/20/12
to citru...@googlegroups.com, Bonnie Dalzell
Bonnie,

Many apologies for the delay in replying.

There was a problem with the compilation of the Citrus Perl relocator
which made Perl think it was running setgid and therefore fail
unexpectedly with taint problems.

These issues are fixed in the latest release which now comes as a simple
tarball.

After installing Citrus, for example to /home/yourname/CitrusPerl, then
to use it in a terminal do

. /home/yourname/CitrusPerl/bin/citrusvars.sh

After that, if you do

perl -V

you should see that Citrus is the Perl that runs.

Cava Packager does not produce single binaries. It produces a
relocatable tree.

In your case, /home/bdz/WebPed2012Packaged/release/MyApp is the folder
that can be relocated elsewhere.

So you could drag 'MyApp' to /home/bdz/MyApp.

To distribute the app to other users you can simply distribute the
single tar.gz or zip files or self extracting files that Cava allows you
to create. Or you can choose the option in Cava to create an installer
that will also create menu entries for you.

Hope it helps.

Regards

Mark

--
User Support
Cava Development Tools
Package and Distribute Perl Applications
http://www.cavapackager.com/

Reply all
Reply to author
Forward
0 new messages