PerlFFI / FFI-Util

Some useful pointer utilities when writing FFI modules (Deprecated)
1 stars 1 forks source link

Solaris 64 #8

Open plicease opened 9 years ago

plicease commented 9 years ago

no work:

sun% dzil test
[DZ] building distribution under .build/SyL_5nS6eq for installation
[DZ] beginning to build FFI-Util
[=inc::Doco] fetching POD from ffi/types.c
[=inc::Doco] fetching POD from ffi/dereference.c
[=inc::Doco] putting POD into lib/FFI/Util.pm
[DZ] guessing dist's main_module is lib/FFI/Util.pm
[Author::Plicease::InstallerPerlVersion] perl version required = 5.008001
[DZ] writing FFI-Util in .build/SyL_5nS6eq
[@Author::Plicease/ReadMePodInRoot] overriding README.md in root
cc -I/home/ollisg/dev/FFI-Util/.build/SyL_5nS6eq/inc/My/../../ffi -I/home/ollisg/opt/perl/5.20.1/lib/5.20.1/i86pc-solaris-64/CORE -KPIC -c -m64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -O -o test-5103-0.o test-5103-0.c
cc -m64 -L/opt/solarisstudio12.3/prod/lib/amd64 -L/lib/64 -L/usr/gnu/lib -o test-5103-0 test-5103-0.o
cc -I/home/ollisg/dev/FFI-Util/.build/SyL_5nS6eq/inc/My/../../ffi -I/home/ollisg/opt/perl/5.20.1/lib/5.20.1/i86pc-solaris-64/CORE -KPIC -DHAS_STDINT_H -c -m64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -O -o test-5103-1.o test-5103-1.c
cc -m64 -L/opt/solarisstudio12.3/prod/lib/amd64 -L/lib/64 -L/usr/gnu/lib -o test-5103-1 test-5103-1.o
cc -I/home/ollisg/dev/FFI-Util/.build/SyL_5nS6eq/inc/My/../../ffi -I/home/ollisg/opt/perl/5.20.1/lib/5.20.1/i86pc-solaris-64/CORE -KPIC -DHAS_STDINT_H -DHAS_STDLIB_H -c -m64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -O -o test-5103-2.o test-5103-2.c
cc -m64 -L/opt/solarisstudio12.3/prod/lib/amd64 -L/lib/64 -L/usr/gnu/lib -o test-5103-2 test-5103-2.o
cc -I/home/ollisg/dev/FFI-Util/.build/SyL_5nS6eq/inc/My/../../ffi -I/home/ollisg/opt/perl/5.20.1/lib/5.20.1/i86pc-solaris-64/CORE -KPIC -DHAS_STDINT_H -DHAS_STDLIB_H -DHAS_STDDEF_H -c -m64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -O -o test-5103-3.o test-5103-3.c
cc -m64 -L/opt/solarisstudio12.3/prod/lib/amd64 -L/lib/64 -L/usr/gnu/lib -o test-5103-3 test-5103-3.o
cc -I/home/ollisg/dev/FFI-Util/.build/SyL_5nS6eq/inc/My/../../ffi -I/home/ollisg/opt/perl/5.20.1/lib/5.20.1/i86pc-solaris-64/CORE -KPIC -DHAS_STDINT_H -DHAS_STDLIB_H -DHAS_STDDEF_H -DHAS_STRING_H -c -m64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -O -o test-5103-4.o test-5103-4.c
cc -m64 -L/opt/solarisstudio12.3/prod/lib/amd64 -L/lib/64 -L/usr/gnu/lib -o test-5103-4 test-5103-4.o
cc -I/home/ollisg/dev/FFI-Util/.build/SyL_5nS6eq/inc/My/../../ffi -I/home/ollisg/opt/perl/5.20.1/lib/5.20.1/i86pc-solaris-64/CORE -KPIC -DHAS_STDINT_H -DHAS_STDLIB_H -DHAS_STDDEF_H -DHAS_STRING_H -DHAS_TIME_H -c -m64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -O -o test-5103-5.o test-5103-5.c
cc -m64 -L/opt/solarisstudio12.3/prod/lib/amd64 -L/lib/64 -L/usr/gnu/lib -o test-5103-5 test-5103-5.o
cc -I/home/ollisg/dev/FFI-Util/.build/SyL_5nS6eq/inc/My/../../ffi -I/home/ollisg/opt/perl/5.20.1/lib/5.20.1/i86pc-solaris-64/CORE -KPIC -DHAS_STDINT_H -DHAS_STDLIB_H -DHAS_STDDEF_H -DHAS_STRING_H -DHAS_TIME_H -DHAS_SYS_STAT_H -c -m64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -O -o test-5103-6.o test-5103-6.c
cc -m64 -L/opt/solarisstudio12.3/prod/lib/amd64 -L/lib/64 -L/usr/gnu/lib -o test-5103-6 test-5103-6.o
cc -I/home/ollisg/dev/FFI-Util/.build/SyL_5nS6eq/inc/My/../../ffi -I/home/ollisg/opt/perl/5.20.1/lib/5.20.1/i86pc-solaris-64/CORE -KPIC -DHAS_STDINT_H -DHAS_STDLIB_H -DHAS_STDDEF_H -DHAS_STRING_H -DHAS_TIME_H -DHAS_SYS_STAT_H -DHAS_SIZE_T -c -m64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -O -o test-5103-7.o test-5103-7.c
cc -m64 -L/opt/solarisstudio12.3/prod/lib/amd64 -L/lib/64 -L/usr/gnu/lib -o test-5103-7 test-5103-7.o
cc -I/home/ollisg/dev/FFI-Util/.build/SyL_5nS6eq/inc/My/../../ffi -I/home/ollisg/opt/perl/5.20.1/lib/5.20.1/i86pc-solaris-64/CORE -KPIC -DHAS_STDINT_H -DHAS_STDLIB_H -DHAS_STDDEF_H -DHAS_STRING_H -DHAS_TIME_H -DHAS_SYS_STAT_H -DHAS_SIZE_T -DHAS_TIME_T -c -m64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -O -o test-5103-8.o test-5103-8.c
cc -m64 -L/opt/solarisstudio12.3/prod/lib/amd64 -L/lib/64 -L/usr/gnu/lib -o test-5103-8 test-5103-8.o
cc -I/home/ollisg/dev/FFI-Util/.build/SyL_5nS6eq/inc/My/../../ffi -I/home/ollisg/opt/perl/5.20.1/lib/5.20.1/i86pc-solaris-64/CORE -KPIC -DHAS_STDINT_H -DHAS_STDLIB_H -DHAS_STDDEF_H -DHAS_STRING_H -DHAS_TIME_H -DHAS_SYS_STAT_H -DHAS_SIZE_T -DHAS_TIME_T -DHAS_DEV_T -c -m64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -O -o test-5103-9.o test-5103-9.c
cc -m64 -L/opt/solarisstudio12.3/prod/lib/amd64 -L/lib/64 -L/usr/gnu/lib -o test-5103-9 test-5103-9.o
cc -I/home/ollisg/dev/FFI-Util/.build/SyL_5nS6eq/inc/My/../../ffi -I/home/ollisg/opt/perl/5.20.1/lib/5.20.1/i86pc-solaris-64/CORE -KPIC -DHAS_STDINT_H -DHAS_STDLIB_H -DHAS_STDDEF_H -DHAS_STRING_H -DHAS_TIME_H -DHAS_SYS_STAT_H -DHAS_SIZE_T -DHAS_TIME_T -DHAS_DEV_T -DHAS_GID_T -c -m64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DPERL_USE_SAFE_PUTENV -O -o test-5103-10.o test-5103-10.c
cc -m64 -L/opt/solarisstudio12.3/prod/lib/amd64 -L/lib/64 -L/usr/gnu/lib -o test-5103-10 test-5103-10.o
cc: Warning: Option -x passed to ld, if ld is invoked, ignored otherwise
cc: No valid input files specified, no output generated
This distribution requires a compiler
Can't open perl script "Build": No such file or directory
error running /home/ollisg/opt/perl/5.20.1/bin/perl Build
plicease commented 9 years ago

perhaps use Config::AutoConf instead of ExtUtils::CChecker.

plicease commented 9 years ago

This is still an issue:

sun% cpanm FFI::Util -v
cpanm (App::cpanminus) 1.7025 on perl 5.020001 built for i86pc-solaris-64
Work directory is /home/ollisg/.cpanm/work/1426709460.9371
You have make /home/ollisg/bin/make
You have LWP 6.10
You have /usr/bin/tar, /usr/bin/gzip and /usr/bin/bzip2
You have /usr/bin/unzip
Checking if you have ExtUtils::MakeMaker 6.58 ... Yes (7.04)
Checking if you have ExtUtils::Install 1.46 ... Yes (1.67)
Searching FFI::Util on mirror http://mirror.sydney.wdlabs.com/cpan ...
Downloading index file http://mirror.sydney.wdlabs.com/cpan/modules/02packages.details.txt.gz ...
--> Working on FFI::Util
Fetching http://mirror.sydney.wdlabs.com/cpan/authors/id/P/PL/PLICEASE/FFI-Util-0.14.tar.gz ... OK
Unpacking FFI-Util-0.14.tar.gz
x FFI-Util-0.14, 0 bytes, 0 tape blocks
x FFI-Util-0.14/README, 7071 bytes, 14 tape blocks
x FFI-Util-0.14/Changes, 1468 bytes, 3 tape blocks
x FFI-Util-0.14/t, 0 bytes, 0 tape blocks
x FFI-Util-0.14/t/use.t, 74 bytes, 1 tape blocks
x FFI-Util-0.14/LICENSE, 18349 bytes, 36 tape blocks
x FFI-Util-0.14/INSTALL, 934 bytes, 2 tape blocks
x FFI-Util-0.14/dist.ini, 1090 bytes, 3 tape blocks
x FFI-Util-0.14/t/type.t, 382 bytes, 1 tape blocks
x FFI-Util-0.14/META.yml, 840 bytes, 2 tape blocks
x FFI-Util-0.14/Build.PL, 1476 bytes, 3 tape blocks
x FFI-Util-0.14/MANIFEST, 673 bytes, 2 tape blocks
x FFI-Util-0.14/cpanfile, 507 bytes, 1 tape blocks
x FFI-Util-0.14/t/deref.t, 604 bytes, 2 tape blocks
x FFI-Util-0.14/META.json, 1540 bytes, 4 tape blocks
x FFI-Util-0.14/t/buffer.t, 747 bytes, 2 tape blocks
x FFI-Util-0.14/t/01_diag.t, 193 bytes, 1 tape blocks
x FFI-Util-0.14/t/00_diag.t, 1543 bytes, 4 tape blocks
x FFI-Util-0.14/inc, 0 bytes, 0 tape blocks
x FFI-Util-0.14/inc/Doco.pm, 679 bytes, 2 tape blocks
x FFI-Util-0.14/ffi, 0 bytes, 0 tape blocks
x FFI-Util-0.14/ffi/types.c, 972 bytes, 2 tape blocks
x FFI-Util-0.14/t/00_diag.txt, 113 bytes, 1 tape blocks
x FFI-Util-0.14/lib/FFI, 0 bytes, 0 tape blocks
x FFI-Util-0.14/lib/FFI/Util.pm, 10667 bytes, 21 tape blocks
x FFI-Util-0.14/xt/release, 0 bytes, 0 tape blocks
x FFI-Util-0.14/xt/release/eol.t, 328 bytes, 1 tape blocks
x FFI-Util-0.14/xt/release/pod.t, 315 bytes, 1 tape blocks
x FFI-Util-0.14/ffi/dereference.c, 7892 bytes, 16 tape blocks
x FFI-Util-0.14/xt/release/fixme.t, 390 bytes, 1 tape blocks
x FFI-Util-0.14/xt/release/strict.t, 339 bytes, 1 tape blocks
x FFI-Util-0.14/xt/release/no_tabs.t, 339 bytes, 1 tape blocks
x FFI-Util-0.14/xt/release/changes.t, 587 bytes, 2 tape blocks
x FFI-Util-0.14/xt/release/version.t, 976 bytes, 2 tape blocks
x FFI-Util-0.14/inc/HeaderVersion.pm, 743 bytes, 2 tape blocks
x FFI-Util-0.14/inc/My, 0 bytes, 0 tape blocks
x FFI-Util-0.14/inc/My/ModuleBuild.pm, 1121 bytes, 3 tape blocks
x FFI-Util-0.14/ffi/ffi_util_config.h, 343 bytes, 1 tape blocks
x FFI-Util-0.14/xt/release/release.yml, 299 bytes, 1 tape blocks
x FFI-Util-0.14/xt/release/unused_vars.t, 1668 bytes, 4 tape blocks
x FFI-Util-0.14/xt/release/pod_coverage.t, 1831 bytes, 4 tape blocks
x FFI-Util-0.14/xt/release/build_environment.t, 264 bytes, 1 tape blocks
x FFI-Util-0.14/xt/release/pod_spelling_system.t, 1246 bytes, 3 tape blocks
x FFI-Util-0.14/xt/release/pod_spelling_common.t, 707 bytes, 2 tape blocks
Entering FFI-Util-0.14
Checking configure dependencies from META.json
Checking if you have ExtUtils::CChecker 0 ... Yes (0.09)
Checking if you have Module::Build 0.28 ... Yes (0.4211)
Checking if you have Module::Build::FFI 0.19 ... Yes (0.32)
Running Build.PL
Configuring FFI-Util-0.14 ... cc: Warning: Option -x passed to ld, if ld is invoked, ignored otherwise
cc: No valid input files specified, no output generated
This distribution requires a compiler
N/A
! Configure failed for FFI-Util-0.14. See /home/ollisg/.cpanm/work/1426709460.9371/build.log for details.