Leser: 15
1
2
3
4
/usr/home/rolf/usr/local/lib]$ ll
total 1378
-rwxr-xr-x 1 rolf rolf 684813 Dec 25 14:23 libswe.so
-rwxr-xr-x 1 rolf rolf 684813 Dec 25 16:13 libswe.so.1.76.00
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Changes
Makefile.PL
Makefile
MANIFEST
ppport.h
sweodef.h
swephexp.h
README
SwissEph.xs
t/SwissEph.t
/usr/home/rolf/usr/local/lib/SwissEph.pm
blib/arch/auto/SwissEph/SwissEph.so
/usr/home/rolf/usr/local/lib/libswe.so.1.76.00
META.yml Module meta-data (added by MakeMaker)
export LD_LIBRARY_PATH=:/usr/home/rolf/usr/local/lib
1
2
3
4
5
6
7
LD_LIBRARY_PATH=/usr/home/rolf/usr/local/lib; perl Makefile.PL \
PREFIX=/usr/home/rolf/usr/local \
INSTALLPRIVLIB=/usr/home/rolf/usr/local/lib/perl5 \
INSTALLSCRIPT=/usr/home/rolf/usr/local/bin \
INSTALLSITELIB=/usr/home/rolf/usr/local/lib/perl5/site_perl \
INSTALLBIN=/usr/home/rolf/usr/local/bin \
INSTALLMAN1DIR=/usr/home/rolf/usr/local/lib/perl5/man
1
2
Note (probably harmless): No library found for -l/usr/home/rolf/usr/local/lib/libswe
Writing Makefile for SwissEph
1
2
3
4
5
6
7
[rolf@host /usr/home/rolf/local]$ ls *
include:
swedate.h swehouse.h swenut2000a.h swepcalc.h swephexp.h
swedll.h swejpl.h sweodef.h sweph.h swephlib.h
lib:
libswe.so
1
2
3
4
5
6
7
8
9
perl Makefile.PL LIB=-L/usr/home/rolf/local/lib INC=-I/usr/home/rolf/local/include INSTALL_BASE=/usr/home/rolf/local
Checking if your kit is complete...
Warning: the following files are missing in your kit:
/usr/lib/libswe.so.1.76.00
blib/arch/auto/SwissEph/SwissEph.so
Makefile
Please inform the author.
Note (probably harmless): No library found for -lswe
Writing Makefile for SwissEph
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
cp lib/SwissEph.pm blib/lib/SwissEph.pm
/usr/bin/perl /usr/local/lib/perl5/5.8.9/ExtUtils/xsubpp -typemap /usr/local/lib/perl5/5.8.9/ExtUtils/typemap SwissEph.xs > SwissEph.xsc && mv SwissEph.xsc SwissEph.c
Please specify prototyping behavior for SwissEph.xs (see perlxs manual)
cc -c -I/usr/home/rolf/local/include -DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.9/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -I/usr/local/include -O2 -pipe -fno-strict-aliasing -DVERSION=\"1.76.00\" -DXS_VERSION=\"1.76.00\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.8.9/mach/CORE" SwissEph.c
In file included from SwissEph.xs:5:
ppport.h:3042:1: warning: "PERL_UNUSED_DECL" redefined
In file included from SwissEph.xs:2:
/usr/local/lib/perl5/5.8.9/mach/CORE/perl.h:204:1: warning: this is the location of the previous definition
Running Mkbootstrap for SwissEph ()
chmod 644 SwissEph.bs
rm -f blib/arch/auto/SwissEph/SwissEph.so
cc -shared -L/usr/local/lib SwissEph.o -o blib/arch/auto/SwissEph/SwissEph.so
chmod 755 blib/arch/auto/SwissEph/SwissEph.so
cp SwissEph.bs blib/arch/auto/SwissEph/SwissEph.bs
chmod 644 blib/arch/auto/SwissEph/SwissEph.bs
Manifying blib/man3/SwissEph.3
Writing Makefile for SwissEph
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
cp lib/SwissEph.pm blib/lib/SwissEph.pm
/usr/bin/perl /usr/local/lib/perl5/5.8.9/ExtUtils/xsubpp -typemap /usr/local/lib/perl5/5.8.9/ExtUtils/typemap SwissEph.xs > SwissEph.xsc && mv SwissEph.xsc SwissEph.c
Please specify prototyping behavior for SwissEph.xs (see perlxs manual)
cc -c -I/usr/home/rolf/local/include -DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.9/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -I/usr/local/include -O2 -pipe -fno-strict-aliasing -DVERSION=\"1.76.00\" -DXS_VERSION=\"1.76.00\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.8.9/mach/CORE" SwissEph.c
In file included from SwissEph.xs:5:
ppport.h:3042:1: warning: "PERL_UNUSED_DECL" redefined
In file included from SwissEph.xs:2:
/usr/local/lib/perl5/5.8.9/mach/CORE/perl.h:204:1: warning: this is the location of the previous definition
Running Mkbootstrap for SwissEph ()
chmod 644 SwissEph.bs
rm -f blib/arch/auto/SwissEph/SwissEph.so
cc -shared -L/usr/local/lib SwissEph.o -o blib/arch/auto/SwissEph/SwissEph.so
chmod 755 blib/arch/auto/SwissEph/SwissEph.so
cp SwissEph.bs blib/arch/auto/SwissEph/SwissEph.bs
chmod 644 blib/arch/auto/SwissEph/SwissEph.bs
Manifying blib/man3/SwissEph.3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/SwissEph....NOK 1/233
# Failed test 'use SwissEph;'
# at t/SwissEph.t line 7.
# Tried to use 'SwissEph'.
# Error: Can't load '/usr/home/rolf/ccs/swe/SwissEph-1.76.00/blib/arch/auto/SwissEph/SwissEph.so' for module SwissEph: /usr/home/rolf/ccs/swe/SwissEph-1.76.00/blib/arch/auto/SwissEph/SwissEph.so: Undefined symbol "swe_pheno" at /usr/local/lib/perl5/5.8.9/mach/DynaLoader.pm line 226.
# at (eval 4) line 2
# Compilation failed in require at (eval 4) line 2.
# BEGIN failed--compilation aborted at (eval 4) line 2.
Undefined subroutine &SwissEph::swe_cotrans called at t/SwissEph.t line 21.
# Looks like you planned 233 tests but only ran 1.
# Looks like you failed 1 test of 1 run.
# Looks like your test died just after 1.
t/SwissEph....dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-233
Failed 233/233 tests, 0.00% okay
Failed Test Stat Wstat Total Fail List of Failed
-------------------------------------------------------------------------------
t/SwissEph.t 255 65280 233 465 1-233
Failed 1/1 test scripts. 233/233 subtests failed.
Files=1, Tests=233, 0 wallclock secs ( 0.05 cusr + 0.00 csys = 0.05 CPU)
Failed 1/1 test programs. 233/233 subtests failed.
*** Error code 255
Stop in /usr/home/rolf/ccs/swe/SwissEph-1.76.00.