search for: perl5lib

Displaying 20 results from an estimated 52 matches for "perl5lib".

2011 Nov 23
1
[PATCH] run script: Don't overwrite LD_LIBRARY_PATH and PERL5LIB
...t a/run.in b/run.in index 9388398..7cef715 100755 --- a/run.in +++ b/run.in @@ -37,9 +37,19 @@ b=@abs_builddir@ export TMPDIR="$b" # Set local environment relative to this script. -export LD_LIBRARY_PATH="$b/src/.libs" -export LIBGUESTFS_PATH="$b/appliance" -export PERL5LIB="$b/perl/blib/lib:$b/perl/blib/arch" +if [ -z "$LD_LIBRARY_PATH" ]; then + LD_LIBRARY_PATH="$b/src/.libs" +else + LD_LIBRARY_PATH="$b/src/.libs:$LD_LIBRARY_PATH" +fi +if [ -z "$PERL5LIB" ]; then + PERL5LIB="$b/perl/blib/lib:$b/perl/blib/arch...
2017 Jan 02
2
cron job failures with a perl script containing Astro::Time
Everyone, I am building a gateway server with a new : CentOS Linux release 7.3.1611 (Core)??with 3.10.0-514.2.2.el7.x86_64 kernel. Everything was going find, but I was not able to get a particular cronjob to function properly that contained a perl script with Astro::Time as an include file. Astro::Time was installed with the use of the cpan module downloaded from the Centos repositories. The
2010 Jun 09
2
Question on trying to build R 2.11.1 on Tru64(aka OSF1)
...# ${R_HOME}/bin/Rcmd ## Shell script wrapper for all R CMD commands. ## For internal use only. R_CMD="${R_HOME}/bin/Rcmd" export R_CMD R_VERSION=2.11.1 export R_VERSION R_OSTYPE="unix" export R_OSTYPE ## Add 'share/perl' to the perl library path. if test -n "${PERL5LIB}"; then PERL5LIB="${R_SHARE_DIR}/perl:${PERL5LIB}" export PERL5LIB else PERLLIB="${R_SHARE_DIR}/perl:${PERLLIB}" export PERLLIB fi ## Append 'share/texmf' to TeX's input search path. if test -z "$TEXINPUTS}"; then TEXINPUTS=".:${R_SHARE...
2009 Aug 03
1
Perl Module Question
To safely make Perl modules from CPAN in Solaris, I used this procedure: mkdir /opt/cpan chmod 777 /opt/cpan chown joe:101 /opt/cpan PERL5LIB=$PERL5LIB:/opt/cpan export PERL5LIB /usr/perl5/bin/perlgcc -MCPAN -e shell Also, ~/.cpan/CPAN/MyConfig.pm specifically had 'makepl_arg' => q[LIB=/opt/cpan PREFIX=/opt/cpan INSTALLMAN3DIR=/opt/cpan/man/man3], Does this make sense in CentOS as well when the modules just aren't availa...
2013 May 28
3
[PATCH 1/2] Revert "perl: Fix build and test to work with separated builds."
...c., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - -set -e - -make -C $srcdir -f @abs_builddir@/Makefile-pl test "$@" diff --git a/run.in b/run.in index ebdec65..ebd1225 100755 --- a/run.in +++ b/run.in @@ -90,9 +90,9 @@ export LD_LIBRARY_PATH # For Perl. if [ -z "$PERL5LIB" ]; then - PERL5LIB="$s/perl/lib:$b/perl/blib/lib:$b/perl/blib/arch" + PERL5LIB="$b/perl/blib/lib:$b/perl/blib/arch" else - PERL5LIB="$s/perl/lib:$b/perl/blib/lib:$b/perl/blib/arch:$PERL5LIB" + PERL5LIB="$b/perl/blib/lib:$b/perl/blib/arch:$PERL5L...
2017 Jan 02
0
cron job failures with a perl script containing Astro::Time
...will not work at all > in a cron job. This almost always points to something in the environment. Where did Astro::Time actually get installed? Check the above paths to see if it is actually there, or whether cpan put it somewhere else. If it put Astro::Time elsewhere, you will need to add a PERL5LIB export to your crontab file (or better, make a bash wrapper, point cron to that, and put the PERL5LIB variable there). If you put it in crontab, you should get the current value from your shell, and put that into crontab (verify it looks reasonable first). echo $PERL5LIB # or env |grep PERL5LIB...
2007 Aug 30
3
R and Web Applications
...Installing to library '/Library/Frameworks/R.framework/Resources/library' * Installing *source* package 'RSPerl' ... checking for perl... /usr/bin/perl No support for any of the Perl modules from calling Perl from R. ***************************************************** Set PERL5LIB to /Library/Frameworks/R.framework/Versions/2.5/Resources/library/RSPerl/perl ***************************************************** Testing: -F/Library/Frameworks/R.framework/.. -framework R Using '/usr/bin/perl' as the perl executable Perl modules (no): Adding R package to list of Perl mo...
2015 Feb 13
2
[PATCH] ./run: Use 'prepend' function to build paths.
...uilder/test-website" export XDG_CONFIG_DIRS fi # virt-p2v-make-* data directory. if [ -z "$VIRT_P2V_DATA_DIR" ]; then - VIRT_P2V_DATA_DIR="$b/p2v" + prepend VIRT_P2V_DATA_DIR "$b/p2v" export VIRT_P2V_DATA_DIR fi # For Perl. -if [ -z "$PERL5LIB" ]; then - PERL5LIB="$b/perl/blib/lib:$b/perl/blib/arch" -else - PERL5LIB="$b/perl/blib/lib:$b/perl/blib/arch:$PERL5LIB" -fi +prepend PERL5LIB "$b/perl/blib/arch" +prepend PERL5LIB "$b/perl/blib/lib" export PERL5LIB # Enable Perl valgrinding. @...
2008 Apr 07
1
R_SHARE_DIR not defined for use in tests/Makefile running under Windows
...R_SHARE_DIR should be defined... (and I assume it would propagate to to be available in a Makefile.) int rcmdfn (int cmdarg, int argc, char **argv) { /* tasks: find R_HOME, set as env variable set R_SHARE_DIR as env variable set PATH to include R_HOME\bin set PERL5LIB to %R_SHARE_DIR%/perl;%Perl5LIB% set TEXINPUTS to %R_SHARE_DIR%/texmf;%TEXINPUTS% set HOME if unset launch %R_HOME%\bin\$* */ -- Tony Plate
2001 Apr 27
1
INSTALL Problems
...ensor.dll d:/bin/cran/rw1022/library/tensor/libs/tensor.dll make[1]: Leaving directory `/d/bin/cran/tucker/tensor' make -C ./help RHOME=d:/bin/cran/rw1022 PKGDIR=D:/bin/cran/tucker RLIB=d:/bin/cran/rw1022/library help-tensor make[1]: Entering directory `/d/bin/cran/rw1022/src/gnuwin32/help' PERL5LIB=d:/bin/cran/rw1022/share/perl perl build.help -txt -html -example -latex D:/bin/cran/tucker/tensor d:/bin/cran/rw1022/library >>> Building/Updating help pages for package `tensor' Formats: text html latex example tensor text html latex exampl...
2017 Aug 08
12
[Bug 102106] New: xorg crashes when running gscan2pdf (libgtk2-perl) test case
...situation? Download and extract the source: wget http://http.debian.net/debian/pool/main/g/gscan2pdf/gscan2pdf_1.6.0.orig.tar.xz tar xvfJ gscan2pdf_1.6.0.orig.tar.xz cd gscan2pdf-1.6.0 * What exactly did you do (or not do) that was effective (or ineffective)? Run one of the test cases: PERL5LIB="blib:lib:$PERL5LIB" perl t/114_cancel_save_pdf.t * What was the outcome of this action? xorg crashed, and I was returned to the login screen * What outcome did you expect instead? The test should have run through as normal I tried to debug the problem by installing xserver-xor...
2012 Jan 17
3
GObject bindings
This is the first iteration of the GObject bindings. I have 'kicked the tyres' on these, meaning I have ensured that a bunch of basic manual tests work as expected. I'm in the process of adding more comprehensive tests. Here's an example simple javascript program which uses these bindings: === const Guestfs = imports.gi.Guestfs; print('Starting'); var g = new
2009 Nov 20
2
CentOS-DS Configuration/Setup Issue
All, I'm running CentOS 5.4 and I've installed the CentOS Directory Server by running yum -y install centos-ds* without any errors. But as soon as I attempt to run the setup I get the following: [root at jpdsys3 ~]# /usr/sbin/setup-ds-admin.pl Can't locate Setup.pm in @INC (@INC contains: /usr/lib64/dirsrv/perl /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi
2008 Jan 14
1
Install RSPerl in Leopard
...stalling to library '/Library/Frameworks/R.framework/Resources/ library' * Installing *source* package 'RSPerl' ... checking for perl... /usr/bin/perl No support for any of the Perl modules from calling Perl from R. ***************************************************** Set PERL5LIB to /Library/Frameworks/R.framework/Resources/ library/RSPerl/perl ***************************************************** Testing: -F/Library/Frameworks/R.framework/.. -framework R Using '/usr/bin/perl' as the perl executable Perl modules (no): Adding R package to list of Perl modules to en...
2002 Jan 17
2
Problem building packages from source (WIN32)
...installing data files installing man source files make[1]: Leaving directory `/cygdrive/c/R/rw1040/src/gnuwin32/vegan' make -C ./help RHOME=C:/R/rw1040 PKGDIR=C:/R/rw1040/src/gnuwin32 RLIB=C:/R/rw104 0/library help-vegan make[1]: Entering directory `/cygdrive/c/R/rw1040/src/gnuwin32/help' PERL5LIB=C:/R/rw1040/share/perl perl ../../../share/perl/build-help-windows.pl -txt -html -example -latex C:/R/rw1040/src/gnuwin32/vegan C:/R/rw1040/library >>> Building/Updating help pages for package `vegan' Formats: text html latex example decorana text h...
2012 Jan 10
1
[PATCH] Prepend local library path to LD_LIBRARY_PATH for tests, instead of replacing it
...and())}' < /dev/null) TESTS_ENVIRONMENT = \ MALLOC_PERTURB_=$(random_val) \ - LD_LIBRARY_PATH=$(top_builddir)/src/.libs \ + LD_LIBRARY_PATH=$(top_builddir)/src/.libs${if ${LD_LIBRARY_PATH},:${LD_LIBRARY_PATH},} \ LIBGUESTFS_PATH=$(top_builddir)/appliance \ TMPDIR=$(top_builddir) \ PERL5LIB=$(top_builddir)/perl/blib/lib:$(top_builddir)/perl/blib/arch diff --git a/tests/md/Makefile.am b/tests/md/Makefile.am index c778956..dc6b5ef 100644 --- a/tests/md/Makefile.am +++ b/tests/md/Makefile.am @@ -28,7 +28,7 @@ random_val := $(shell awk 'BEGIN{srand(); print 1+int(255*rand())}' &lt...
2006 Mar 03
1
Problem with oracle&httpd...
...i, I have CentOS 4.2 installed on my PC and I've successfully installed Oracle 10g along with apache web server(httpd) and perl-DBD-Oracle. The problem is trying to connect to oracle to oracle from a CGI script. I defined all of the environment variables(ORACLE_HOME, LD_LIBRARY_PATH, PERL5LIB) in httpd.conf as well as apachectl scripts but I am getting the following error in the logs: ========================================= [Fri Mar 03 00:31:25 2006] [error] [client 192.168.251.6] Can't load '/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/auto/DBD/Oracle/Oracle.so'...
2004 Jul 14
1
RCMD fails in Windows XP
I have setup R 1.9.1 on my Dell laptop running windows XP. I have installed it to C:\R\rw1091. Rgui runs fine, but Rcmd fails if run with parameters (i.e. install). The windows dialog box cheerfully says "R for Windows front-end has encountered a problem and needs to close. We are sorry for the inconvenience." Running the visual C++ debugger informs me that there is an unhandled
2002 May 02
3
Building own packages on Windows 2000!
...stalled R using the setup.exe 2. I updated the R intatllation with one of the zip files. (rw1041sp.zip) now i had the rcmd.exe in the bin. 3. I do not found any hint in the docu that perl is needed. 4. I even do not found any hint that there are shared modules and that i can be necessary to add an PERL5LIB path to the enviroment variables to use them and i still do not know if it is necessary. Anyway, after few ours and some print statements i figured out that system("tar chXf $exclude $filepath $pkgname"); in the build file called with rcmd build causes: C:\prog\R\rw1041\myfiles\test&...
2005 Oct 18
1
Perl modules not working properly when installed via yum?
...I know nothing of perl, I'll go ahead and ask the stupid questions here. Is @INC defined anywhere in the system, where I can add paths to it, to include additional modules? Is inclusion of modules via @INC recursive, or does each path need to be defined seperately? I've tried to define $PERL5LIB, as I was told that this would be prepended to @INC, but this does not seem to be the case. Anyone want to lend a hand with this? I would greatly appreciate it. Thanks for the time -dant