Error in installation of mit-scheme-9.2 - mit-scheme

I am trying to install mit-scheme-9.2 in linux.
I have successfully downloaded mit-scheme-9.2-x86-64.tar.gz from
http://ftp.gnu.org/gnu/mit-scheme/stable.pkg/9.2/mit-scheme-9.2-x86-64.tar.gz
I follow installation instruction properly but i got error in configuration file.I am attaching error.txt file that contain a complete configuration process of my system.
Please check error at bottom of file.
error.txt
Lenovo-G580:~/mit-scheme-9.2/src$ ./configure
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for native-code support... yes, for x86-64
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
etc/create-makefiles.sh mit-scheme-x86-64 x86-64
Makefiles already created.
rm -f machine && ln -s machines/x86-64 machine
rm -f compiler.cbf && ln -s machine/compiler.cbf compiler.cbf
rm -f compiler.pkg && ln -s machine/compiler.pkg compiler.pkg
rm -f compiler.sf && ln -s machine/compiler.sf compiler.sf
rm -f make.com && ln -s machine/make.com make.com
rm -f make.bin && ln -s machine/make.bin make.bin
configure: creating ./config.status
config.status: creating Makefile
config.status: creating Makefile.tools
config.status: creating 6001/Makefile
config.status: creating compiler/Makefile
config.status: creating cref/Makefile
config.status: creating edwin/Makefile
config.status: creating ffi/Makefile
config.status: creating imail/Makefile
config.status: creating runtime/Makefile
config.status: creating sf/Makefile
config.status: creating sos/Makefile
config.status: creating ssp/Makefile
config.status: creating star-parser/Makefile
config.status: creating win32/Makefile
config.status: creating xdoc/Makefile
config.status: creating xml/Makefile
=== configuring in microcode (/home/rishi/mit-scheme-9.2/src/microcode)
configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=/dev/null --srcdir=.
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for gcc option to accept ISO C99... -std=gnu99
checking for gcc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99
checking whether backslash-a works in strings... yes
checking how to run the C preprocessor... gcc -std=gnu99 -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... no
checking for an ANSI C-conforming const... yes
checking for C/C++ restrict keyword... __restrict
checking for working volatile... yes
checking for inline... inline
checking for preprocessor stringizing operator... yes
checking for function prototypes... yes
checking for egrep... (cached) /bin/grep -E
checking for fgrep... /bin/grep -F
checking for grep that handles long lines and -e... (cached) /bin/grep
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for GCC>=4... yes
checking for native-code support... yes, for x86-64
checking for ELF binaries... yes
checking for exp in -lm... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for ANSI C header files... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether time.h and sys/time.h may both be included... yes
checking bsdtty.h usability... no
checking bsdtty.h presence... no
checking for bsdtty.h... no
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking fenv.h usability... yes
checking fenv.h presence... yes
checking for fenv.h... yes
checking ieeefp.h usability... no
checking ieeefp.h presence... no
checking for ieeefp.h... no
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking sgtty.h usability... yes
checking sgtty.h presence... yes
checking for sgtty.h... yes
checking stropts.h usability... yes
checking stropts.h presence... yes
checking for stropts.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/mount.h usability... yes
checking sys/mount.h presence... yes
checking for sys/mount.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/ptyio.h usability... no
checking sys/ptyio.h presence... no
checking for sys/ptyio.h... no
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/timex.h usability... yes
checking sys/timex.h presence... yes
checking for sys/timex.h... yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking sys/vfs.h usability... yes
checking sys/vfs.h presence... yes
checking for sys/vfs.h... yes
checking termio.h usability... yes
checking termio.h presence... yes
checking for termio.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking util.h usability... no
checking util.h presence... no
checking for util.h... no
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking for stdint.h... (cached) yes
checking for mode_t... yes
checking for off_t... yes
checking for pid_t... yes
checking return type of signal handlers... void
checking for size_t... yes
checking for uid_t in sys/types.h... yes
checking for int8_t... yes
checking for int16_t... yes
checking for int32_t... yes
checking for int64_t... yes
checking for intptr_t... yes
checking for unsigned long long int... yes
checking for long long int... yes
checking for intmax_t... yes
checking for uint8_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for uintptr_t... yes
checking for uintmax_t... yes
checking size of char... 1
checking size of short... 2
checking size of int... 4
checking size of long... 8
checking size of unsigned char... 1
checking size of unsigned short... 2
checking size of unsigned int... 4
checking size of unsigned long... 8
checking size of void *... 8
checking size of intptr_t... 8
checking size of uintptr_t... 8
checking size of intmax_t... 8
checking size of uintmax_t... 8
checking for nlink_t... yes
checking for clock_t... yes
checking for time_t... yes
checking for socklen_t... yes
checking for cc_t... yes
checking for speed_t... yes
checking for fenv_t... yes
checking for fexcept_t... yes
checking size of time_t... 8
checking size of off_t... 8
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for struct tm.tm_gmtoff... yes
checking for struct ltchars... no
checking for struct hostent.h_addr_list... yes
checking for struct sigcontext... yes
checking for struct ntptimeval... yes
checking for struct ntptimeval.tai... yes
checking for struct ntptimeval.time.tv_nsec... no
checking for struct timex... yes
checking for struct timex.tai... yes
checking for struct timex.time.tv_usec... yes
checking whether byte ordering is bigendian... (cached) no
checking whether char is unsigned... no
checking for an ANSI C-conforming const... (cached) yes
checking whether getpgrp requires zero arguments... yes
checking for working memcmp... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for utime.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking whether setpgrp takes no argument... yes
checking whether utime accepts a null argument... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for vprintf... yes
checking for _doprnt... no
checking for wait3 that fills in rusage... yes
checking for clock_gettime... yes
checking for closefrom... no
checking for ctermid... yes
checking for dup2... yes
checking for expm1... yes
checking for fcntl... yes
checking for fdatasync... yes
checking for feclearexcept... yes
checking for fedisableexcept... yes
checking for feenableexcept... yes
checking for fegetenv... yes
checking for fegetexcept... yes
checking for fegetexceptflag... yes
checking for fegetround... yes
checking for feholdexcept... yes
checking for feraiseexcept... yes
checking for fesetenv... yes
checking for fesetexceptflag... yes
checking for fesetround... yes
checking for fetestexcept... yes
checking for feupdateenv... yes
checking for floor... yes
checking for fmod... yes
checking for fpathconf... yes
checking for fpgetround... no
checking for fpsetround... no
checking for frexp... yes
checking for fsync... yes
checking for fsync_range... no
checking for ftruncate... yes
checking for getcwd... yes
checking for gethostbyname... yes
checking for gethostname... yes
checking for getlogin... yes
checking for getpagesize... (cached) yes
checking for getpgrp... yes
checking for getpt... yes
checking for gettimeofday... yes
checking for getwd... yes
checking for grantpt... yes
checking for kill... yes
checking for lockf... yes
checking for log1p... yes
checking for madvise... yes
checking for memcpy... yes
checking for mkdir... yes
checking for mktime... yes
checking for modf... yes
checking for nice... yes
checking for ntp_adjtime... yes
checking for ntp_gettime... yes
checking for openpty... no
checking for poll... yes
checking for pollts... no
checking for ppoll... yes
checking for posix_madvise... yes
checking for posix_openpt... yes
checking for prealloc... no
checking for rename... yes
checking for rmdir... yes
checking for pselect... yes
checking for select... yes
checking for setitimer... yes
checking for setpgrp... yes
checking for setpgrp2... no
checking for shmat... yes
checking for sigaction... yes
checking for sighold... yes
checking for sigsuspend... yes
checking for socket... yes
checking for statfs... yes
checking for strchr... yes
checking for strerror... yes
checking for strstr... yes
checking for strtol... yes
checking for strtoul... yes
checking for symlink... yes
checking for sync_file_range... yes
checking for sysconf... yes
checking for times... yes
checking for truncate... yes
checking for uname... yes
checking for utime... yes
checking for waitpid... yes
checking for X... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for long file names... yes
checking ncurses.h usability... no
checking ncurses.h presence... no
checking for ncurses.h... no
checking curses.h usability... no
checking curses.h presence... no
checking for curses.h... no
checking term.h usability... no
checking term.h presence... no
checking for term.h... no
checking termcap.h usability... no
checking termcap.h presence... no
checking for termcap.h... no
checking for tgetent in -lncurses... no
checking for tparm in -lncurses... no
checking for tparam in -lncurses... no
checking for tgetent in -lcurses... no
checking for tparm in -lcurses... no
checking for tparam in -lcurses... no
checking for tgetent in -ltermcap... no
checking for tparm in -ltermcap... no
checking for tparam in -ltermcap... no
configure: WARNING: No termcap library found; will emulate it
checking openssl/blowfish.h usability... yes
checking openssl/blowfish.h presence... yes
checking for openssl/blowfish.h... yes
checking for BF_set_key in -lcrypto... yes
checking openssl/md5.h usability... yes
checking openssl/md5.h presence... yes
checking for openssl/md5.h... yes
checking for BF_set_key in -lcrypto... (cached) yes
checking mhash.h usability... no
checking mhash.h presence... no
checking for mhash.h... no
checking mcrypt.h usability... no
checking mcrypt.h presence... no
checking for mcrypt.h... no
checking gdbm.h usability... no
checking gdbm.h presence... no
checking for gdbm.h... no
checking db.h usability... no
checking db.h presence... no
checking for db.h... no
checking for pg_config... /usr/bin/pg_config
checking libpq-fe.h usability... no
checking libpq-fe.h presence... no
checking for libpq-fe.h... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking for m4... no
configure: error: m4 not found
configure: error: ./configure failed for microcode
Did you notice it?
configure: error: m4 not found
configure: error: ./configure failed for microcode
can someone fix this error? Any help would be appreciated. Thanks.

To build MIT Scheme on a Debian based system, you first need to install the build dependencies using:
sudo apt-get install m4 autotools-dev libssl-dev libncurses5-dev libx11-dev libxt-dev libltdl-dev
Reference:
Here's the list of package dependencies that must be installed when building:
m4, autotools-dev, libssl-dev, libncurses5-dev, libx11-dev,
libxt-dev, libltdl-dev
And here are some optional packages that are needed for specific
purposes like crypto and databases:
libmhash-dev, libmcrypt-dev, libgdbm-dev, libpq-dev, libdb-dev
Source: Chris Hanson on the mit-scheme-devel mailing list.

Related

Configuring postgresql fails with no 64-bit integer type

On mac. Downloaded $ curl -O http://ftp.postgresql.org/pub/source/v9.6.9/postgresql-9.6.9.tar.bz2 and extracted it.
Running $ ./configure --prefix='/Users/me/.pyembedpg/9.6.9'
fails with
...
checking for getopt_long... yes
checking whether sys_siglist is declared... yes
checking for syslog... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for opterr... yes
checking for optreset... yes
checking for strtoll... yes
checking for strtoull... yes
checking for rl_completion_append_character... yes
checking for rl_completion_matches... yes
checking for rl_filename_completion_function... yes
checking for rl_reset_screen_size... no
checking for append_history... no
checking for history_truncate_file... yes
checking test program... ok
checking whether long int is 64 bits... no
checking whether long long int is 64 bits... no
configure: error: Cannot find a working 64-bit integer type.
Adding log as requested:
configure:13563: checking whether long int is 64 bits
configure:13621: gcc -o conftest -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -O2 -I/usr/local/opt/openssl#1.1/include -L/usr/local/opt/openssl#1.1/lib conftest.c -lz -lreadline -lm >&5
conftest.c:165:5: warning: no previous prototype for function 'does_int64_work' [-Wmissing-prototypes]
int does_int64_work()
^
conftest.c:165:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int does_int64_work()
^
static
conftest.c:179:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main() {
^
conftest.c:180:3: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
exit(! does_int64_work());
^
conftest.c:180:3: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit'
2 warnings and 1 error generated.
configure:13621: $? = 1
configure: program exited with status 1
Using zsh.
$ gcc -v
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/c++/4.2.1
Apple clang version 12.0.0 (clang-1200.0.26.2)
Target: x86_64-apple-darwin19.6.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

Can't Install Net::Amazon::S3

I'm having troubles installing the Net::Amazon::S3 package for perl on my Win 10 machine running 32 bit Strawberry Perl.
I try to install the package with cpanm:
λ cpanm Net::Amazon::S3
--> Working on Net::Amazon::S3
Fetching http://www.cpan.org/authors/id/L/LL/LLAP/Net-Amazon-S3-0.89.tar.gz ... OK
Configuring Net-Amazon-S3-0.89 ... OK
Building and testing Net-Amazon-S3-0.89 ... FAIL
! Installing Net::Amazon::S3 failed. See C:\Users\MyUsername\.cpanm\work\1595972364.5912\build.log for details. Retry with --force to force install it.
the contents of build.log:
cpanm (App::cpanminus) 1.7044 on perl 5.030002 built for MSWin32-x86-multi-thread-64int
Work directory is C:\Users\MyUsername/.cpanm/work/1595972364.5912
You have make C:\Strawberry\c\bin\gmake.exe
You have LWP 6.43
You have G:\laragon\bin\git\usr\bin\tar.exe, G:\laragon\bin\git\usr\bin\gzip.exe and G:\laragon\bin\git\usr\bin\bzip2.exe
You have G:\laragon\bin\git\usr\bin\unzip.exe
Searching Net::Amazon::S3 () on cpanmetadb ...
--> Working on Net::Amazon::S3
Fetching http://www.cpan.org/authors/id/L/LL/LLAP/Net-Amazon-S3-0.89.tar.gz
-> OK
Unpacking Net-Amazon-S3-0.89.tar.gz
Entering Net-Amazon-S3-0.89
Checking configure dependencies from META.json
Checking if you have ExtUtils::MakeMaker 6.58 ... Yes (7.44)
Configuring Net-Amazon-S3-0.89
Running Makefile.PL
Checking if your kit is complete...
Looks good
Generating a gmake-style Makefile
Writing Makefile for Net::Amazon::S3
Writing MYMETA.yml and MYMETA.json
-> OK
Checking dependencies from MYMETA.json ...
Checking if you have Moose::Meta::Class 0 ... Yes (2.2012)
Checking if you have Digest::MD5 0 ... Yes (2.55)
Checking if you have strict 0 ... Yes (1.11)
Checking if you have Sub::Override 0 ... Yes (0.09)
Checking if you have HTTP::Date 0 ... Yes (6.05)
Checking if you have Test::More 0 ... Yes (1.302172)
Checking if you have Test::MockTime 0 ... Yes (0.17)
Checking if you have Moose::Object 0 ... Yes (2.2012)
Checking if you have Term::Encoding 0 ... Yes (0.03)
Checking if you have DateTime::Format::HTTP 0 ... Yes (0.42)
Checking if you have Exporter::Tiny 0 ... Yes (1.002001)
Checking if you have Carp 0 ... Yes (1.50)
Checking if you have Moose::Util 0 ... Yes (2.2012)
Checking if you have File::Temp 0 ... Yes (0.2309)
Checking if you have MIME::Types 0 ... Yes (2.17)
Checking if you have Path::Class 0 ... Yes (0.37)
Checking if you have Term::ProgressBar::Simple 0 ... Yes (0.03)
Checking if you have Moose 0.85 ... Yes (2.2012)
Checking if you have MooseX::Role::Parameterized 0 ... Yes (1.11)
Checking if you have MooseX::Types::DateTime::MoreCoercions 0.07 ... Yes (0.15)
Checking if you have URI::Escape 0 ... Yes (3.31)
Checking if you have MIME::Base64 0 ... Yes (3.15)
Checking if you have MooseX::StrictConstructor 0.16 ... Yes (0.21)
Checking if you have Digest::MD5::File 0 ... Yes (0.08)
Checking if you have sort 0 ... Yes (2.04)
Checking if you have Test::Deep 0 ... Yes (1.130)
Checking if you have FindBin 0 ... Yes (1.51)
Checking if you have parent 0 ... Yes (0.238)
Checking if you have Scalar::Util 0 ... Yes (1.54)
Checking if you have Hash::Util 0 ... Yes (0.22)
Checking if you have Moose::Util::TypeConstraints 0 ... Yes (2.2012)
Checking if you have namespace::clean 0 ... Yes (0.27)
Checking if you have XML::LibXML::XPathContext 0 ... Yes (2.0203)
Checking if you have Digest::HMAC_SHA1 0 ... Yes (1.03)
Checking if you have File::stat 0 ... Yes (1.08)
Checking if you have vars 0 ... Yes (1.05)
Checking if you have Time::Piece 0 ... Yes (1.34)
Checking if you have Test::LoadAllModules 0 ... Yes (0.022)
Checking if you have IO::File 1.14 ... Yes (1.41)
Checking if you have Test::Warnings 0 ... Yes (0.029)
Checking if you have HTTP::Status 0 ... Yes (6.22)
Checking if you have warnings 0 ... Yes (1.44)
Checking if you have URI::QueryParam 0 ... Yes (1.76)
Checking if you have LWP 6.03 ... Yes (6.43)
Checking if you have Getopt::Long 0 ... Yes (2.51)
Checking if you have Regexp::Common 0 ... Yes (2017060201)
Checking if you have LWP::Simple 0 ... Yes (6.43)
Checking if you have File::Find::Rule 0 ... Yes (0.34)
Checking if you have Test::Exception 0 ... Yes (0.43)
Checking if you have URI 0 ... Yes (1.76)
Checking if you have Moose::Role 0 ... Yes (2.2012)
Checking if you have Ref::Util 0 ... Yes (0.204)
Checking if you have ExtUtils::MakeMaker 0 ... Yes (7.44)
Checking if you have Data::Stream::Bulk::Callback 0 ... Yes (0.11)
Checking if you have XML::LibXML 0 ... Yes (2.0203)
Checking if you have HTTP::Response 0 ... Yes (6.22)
Checking if you have lib 0 ... Yes (0.65)
Checking if you have Pod::Usage 0 ... Yes (1.70)
Checking if you have Digest::SHA 0 ... Yes (6.02)
Checking if you have LWP::UserAgent::Determined 0 ... Yes (1.07)
Building and testing Net-Amazon-S3-0.89
cp lib/Net/Amazon/S3/Client/Object.pm blib\lib\Net\Amazon\S3\Client\Object.pm
cp lib/Net/Amazon/S3/Request/CompleteMultipartUpload.pm blib\lib\Net\Amazon\S3\Request\CompleteMultipartUpload.pm
cp lib/Net/Amazon/S3/Bucket.pm blib\lib\Net\Amazon\S3\Bucket.pm
cp lib/Net/Amazon/S3/Request/Bucket.pm blib\lib\Net\Amazon\S3\Request\Bucket.pm
cp lib/Net/Amazon/S3/Features.pod blib\lib\Net\Amazon\S3\Features.pod
cp lib/Net/Amazon/S3.pm blib\lib\Net\Amazon\S3.pm
cp lib/Net/Amazon/S3/Request.pm blib\lib\Net\Amazon\S3\Request.pm
cp lib/Net/Amazon/S3/Client.pm blib\lib\Net\Amazon\S3\Client.pm
cp lib/Net/Amazon/S3/HTTPRequest.pm blib\lib\Net\Amazon\S3\HTTPRequest.pm
cp lib/Net/Amazon/S3/Request/DeleteObject.pm blib\lib\Net\Amazon\S3\Request\DeleteObject.pm
cp lib/Net/Amazon/S3/Request/AbortMultipartUpload.pm blib\lib\Net\Amazon\S3\Request\AbortMultipartUpload.pm
cp lib/Net/Amazon/S3/Request/DeleteBucket.pm blib\lib\Net\Amazon\S3\Request\DeleteBucket.pm
cp lib/Net/Amazon/S3/Client/Bucket.pm blib\lib\Net\Amazon\S3\Client\Bucket.pm
cp lib/Net/Amazon/S3/Request/CreateBucket.pm blib\lib\Net\Amazon\S3\Request\CreateBucket.pm
cp lib/Net/Amazon/S3/Request/DeleteMultiObject.pm blib\lib\Net\Amazon\S3\Request\DeleteMultiObject.pm
cp lib/Net/Amazon/S3/Request/ListAllMyBuckets.pm blib\lib\Net\Amazon\S3\Request\ListAllMyBuckets.pm
cp lib/Net/Amazon/S3/Request/ListBucket.pm blib\lib\Net\Amazon\S3\Request\ListBucket.pm
cp lib/Net/Amazon/S3/Request/Role/HTTP/Header/Acl_short.pm blib\lib\Net\Amazon\S3\Request\Role\HTTP\Header\Acl_short.pm
cp lib/Net/Amazon/S3/Request/GetBucketLocationConstraint.pm blib\lib\Net\Amazon\S3\Request\GetBucketLocationConstraint.pm
cp lib/Net/Amazon/S3/Request/GetBucketAccessControl.pm blib\lib\Net\Amazon\S3\Request\GetBucketAccessControl.pm
cp lib/Net/Amazon/S3/Request/Role/HTTP/Header.pm blib\lib\Net\Amazon\S3\Request\Role\HTTP\Header.pm
cp lib/Net/Amazon/S3/Request/Object.pm blib\lib\Net\Amazon\S3\Request\Object.pm
cp lib/Net/Amazon/S3/Request/GetObject.pm blib\lib\Net\Amazon\S3\Request\GetObject.pm
cp lib/Net/Amazon/S3/Request/GetObjectAccessControl.pm blib\lib\Net\Amazon\S3\Request\GetObjectAccessControl.pm
cp lib/Net/Amazon/S3/Request/PutPart.pm blib\lib\Net\Amazon\S3\Request\PutPart.pm
cp lib/Net/Amazon/S3/Request/ListParts.pm blib\lib\Net\Amazon\S3\Request\ListParts.pm
cp lib/Net/Amazon/S3/Request/PutObject.pm blib\lib\Net\Amazon\S3\Request\PutObject.pm
cp lib/Net/Amazon/S3/Request/InitiateMultipartUpload.pm blib\lib\Net\Amazon\S3\Request\InitiateMultipartUpload.pm
cp lib/Net/Amazon/S3/Request/Role/HTTP/Header/Content_length.pm blib\lib\Net\Amazon\S3\Request\Role\HTTP\Header\Content_length.pm
cp lib/Net/Amazon/S3/Request/Role/HTTP/Method.pm blib\lib\Net\Amazon\S3\Request\Role\HTTP\Method.pm
cp lib/Net/Amazon/S3/Request/Role/HTTP/Method/GET.pm blib\lib\Net\Amazon\S3\Request\Role\HTTP\Method\GET.pm
cp lib/Net/Amazon/S3/Request/Role/HTTP/Header/Encryption.pm blib\lib\Net\Amazon\S3\Request\Role\HTTP\Header\Encryption.pm
cp lib/Net/Amazon/S3/Request/Role/HTTP/Header/Copy_source.pm blib\lib\Net\Amazon\S3\Request\Role\HTTP\Header\Copy_source.pm
cp lib/Net/Amazon/S3/Request/Role/HTTP/Method/PUT.pm blib\lib\Net\Amazon\S3\Request\Role\HTTP\Method\PUT.pm
cp lib/Net/Amazon/S3/Request/Role/Query/Action.pm blib\lib\Net\Amazon\S3\Request\Role\Query\Action.pm
cp lib/Net/Amazon/S3/Request/Role/HTTP/Header/Content_md5.pm blib\lib\Net\Amazon\S3\Request\Role\HTTP\Header\Content_md5.pm
cp lib/Net/Amazon/S3/Request/Role/HTTP/Method/POST.pm blib\lib\Net\Amazon\S3\Request\Role\HTTP\Method\POST.pm
cp lib/Net/Amazon/S3/Request/Role/HTTP/Header/Content_type.pm blib\lib\Net\Amazon\S3\Request\Role\HTTP\Header\Content_type.pm
cp lib/Net/Amazon/S3/Request/Role/HTTP/Method/DELETE.pm blib\lib\Net\Amazon\S3\Request\Role\HTTP\Method\DELETE.pm
cp lib/Net/Amazon/S3/Request/Role/Query/Param/Delimiter.pm blib\lib\Net\Amazon\S3\Request\Role\Query\Param\Delimiter.pm
cp lib/Net/Amazon/S3/Request/Role/Query/Action/Location.pm blib\lib\Net\Amazon\S3\Request\Role\Query\Action\Location.pm
cp lib/Net/Amazon/S3/Request/Role/Query/Action/Acl.pm blib\lib\Net\Amazon\S3\Request\Role\Query\Action\Acl.pm
cp lib/Net/Amazon/S3/Request/Role/Query/Action/Uploads.pm blib\lib\Net\Amazon\S3\Request\Role\Query\Action\Uploads.pm
cp lib/Net/Amazon/S3/Request/Role/Query/Param/Marker.pm blib\lib\Net\Amazon\S3\Request\Role\Query\Param\Marker.pm
cp lib/Net/Amazon/S3/Request/Role/Query/Action/Delete.pm blib\lib\Net\Amazon\S3\Request\Role\Query\Action\Delete.pm
cp lib/Net/Amazon/S3/Request/Role/Query/Param/Upload_id.pm blib\lib\Net\Amazon\S3\Request\Role\Query\Param\Upload_id.pm
cp lib/Net/Amazon/S3/Request/Role/Query/Param/Part_number.pm blib\lib\Net\Amazon\S3\Request\Role\Query\Param\Part_number.pm
cp lib/Net/Amazon/S3/Request/Role/Query/Param/Max_keys.pm blib\lib\Net\Amazon\S3\Request\Role\Query\Param\Max_keys.pm
cp lib/Net/Amazon/S3/Request/Role/Query/Param/Prefix.pm blib\lib\Net\Amazon\S3\Request\Role\Query\Param\Prefix.pm
cp lib/Net/Amazon/S3/Request/Role/Query/Param.pm blib\lib\Net\Amazon\S3\Request\Role\Query\Param.pm
cp lib/Net/Amazon/S3/Signature/V4.pm blib\lib\Net\Amazon\S3\Signature\V4.pm
cp lib/Net/Amazon/S3/Request/SetObjectAccessControl.pm blib\lib\Net\Amazon\S3\Request\SetObjectAccessControl.pm
cp lib/Net/Amazon/S3/Request/Service.pm blib\lib\Net\Amazon\S3\Request\Service.pm
cp lib/Net/Amazon/S3/Signature.pm blib\lib\Net\Amazon\S3\Signature.pm
cp lib/Net/Amazon/S3/Role/Bucket.pm blib\lib\Net\Amazon\S3\Role\Bucket.pm
cp lib/Shared/Examples/Net/Amazon/S3/API.pm blib\lib\Shared\Examples\Net\Amazon\S3\API.pm
cp lib/Shared/Examples/Net/Amazon/S3/Operation/Bucket/Create.pm blib\lib\Shared\Examples\Net\Amazon\S3\Operation\Bucket\Create.pm
cp lib/Shared/Examples/Net/Amazon/S3/Client.pm blib\lib\Shared\Examples\Net\Amazon\S3\Client.pm
cp lib/Shared/Examples/Net/Amazon/S3/Error.pm blib\lib\Shared\Examples\Net\Amazon\S3\Error.pm
cp lib/Net/Amazon/S3/Signature/V2.pm blib\lib\Net\Amazon\S3\Signature\V2.pm
cp lib/Shared/Examples/Net/Amazon/S3/ACL.pm blib\lib\Shared\Examples\Net\Amazon\S3\ACL.pm
cp lib/Shared/Examples/Net/Amazon/S3.pm blib\lib\Shared\Examples\Net\Amazon\S3.pm
cp lib/Net/Amazon/S3/Request/SetBucketAccessControl.pm blib\lib\Net\Amazon\S3\Request\SetBucketAccessControl.pm
cp lib/Net/Amazon/S3/Signature/V4Implementation.pm blib\lib\Net\Amazon\S3\Signature\V4Implementation.pm
cp lib/Shared/Examples/Net/Amazon/S3/Operation/Bucket/Objects/List.pm blib\lib\Shared\Examples\Net\Amazon\S3\Operation\Bucket\Objects\List.pm
cp lib/Shared/Examples/Net/Amazon/S3/Request.pm blib\lib\Shared\Examples\Net\Amazon\S3\Request.pm
cp lib/Shared/Examples/Net/Amazon/S3/Operation/Bucket/Objects/Delete.pm blib\lib\Shared\Examples\Net\Amazon\S3\Operation\Bucket\Objects\Delete.pm
cp lib/Shared/Examples/Net/Amazon/S3/Operation/Service/Buckets/List.pm blib\lib\Shared\Examples\Net\Amazon\S3\Operation\Service\Buckets\List.pm
"C:\Strawberry\perl\bin\perl.exe" -MExtUtils::Command -e cp -- bin/s3cl blib\script\s3cl
pl2bat.bat blib\script\s3cl
"C:\Strawberry\perl\bin\perl.exe" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib\lib', 'blib\arch')" t/*.t
# No tests run!
# Failed test 'No tests run for subtest "use_ok"'
# at t/00use.t line 16.
Can't locate Win32.pm in #INC (you may need to install the Win32 module) (#INC contains: lib) at C:/Strawberry/perl/lib/Cwd.pm line 605.
BEGIN failed--compilation aborted.
# Looks like your test exited with 255 just after 2.
t/00use.t ...................................
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 1/2 subtests
t/01api.t ................................... skipped: Testing this module for real costs money. Enable it by setting true value to env variable AMAZON_S3_EXPENSIVE_TESTS
t/02client.t ................................ skipped: Testing this module for real costs money.
t/03token.t ................................. skipped: Need these vars in ENV: AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY_SECRET, AWS_ACCESS_TOKEN
t/api-bucket-acl-get.t ...................... ok
t/api-bucket-acl-set.t ...................... ok
t/api-bucket-create.t ....................... ok
t/api-bucket-delete.t ....................... ok
t/api-bucket-objects-delete.t ............... ok
t/api-bucket-objects-list.t ................. ok
t/api-object-acl-get.t ...................... ok
t/api-object-acl-set.t ...................... ok
t/api-object-create.t ....................... ok
t/api-object-delete.t ....................... ok
t/api-object-fetch.t ........................ ok
t/api-object-head.t ......................... ok
t/api-service-buckets-list.t ................ ok
t/client-bucket-acl-get.t ................... ok
t/client-bucket-create.t .................... ok
t/client-bucket-delete.t .................... ok
t/client-bucket-objects-delete.t ............ ok
t/client-bucket-objects-list.t .............. ok
t/client-object-create.t .................... ok
t/client-object-delete.t .................... ok
t/client-object-fetch.t ..................... ok
t/client-service-buckets-list.t ............. ok
t/query-string-authentication-uri.t ......... ok
t/request-abort-multipart-upload.t .......... ok
t/request-complete-multipart-upload.t ....... ok
t/request-create-bucket.t ................... ok
t/request-delete-bucket.t ................... ok
t/request-delete-multi-object.t ............. ok
t/request-delete-object.t ................... ok
t/request-get-bucket-access-control.t ....... ok
t/request-get-bucket-location-constraint.t .. ok
t/request-get-object-access-control.t ....... ok
t/request-get-object.t ...................... ok
t/request-initiate-multipart-upload.t ....... ok
t/request-list-all-buckets.t ................ ok
t/request-list-bucket.t ..................... ok
t/request-list-parts.t ...................... ok
t/request-put-object.t ...................... ok
t/request-put-part.t ........................ ok
t/request-set-bucket-access-control.t ....... ok
t/request-set-object-access-control.t ....... ok
t/request.t ................................. ok
t/signature-v4-with-security-token.t ........ ok
Test Summary Report
-------------------
t/00use.t (Wstat: 65280 Tests: 2 Failed: 1)
Failed test: 1
Non-zero exit status: 255
Files=47, Tests=199, 60 wallclock secs ( 0.16 usr + 0.23 sys = 0.39 CPU)
Result: FAIL
Failed 1/47 test programs. 1/199 subtests failed.
gmake: *** [Makefile:1052: test_dynamic] Error 255
-> FAIL Installing Net::Amazon::S3 failed. See C:\Users\MyUsername\.cpanm\work\1595972364.5912\build.log for details. Retry with --force to force install it.
The log says "Can't locate Win32.pm in #INC (you may need to install the Win32 module)" so I installed it with CPAN
λ cpanm Win32
Win32 is up to date. (0.54)
but I am still unable to successfully install Net::Amazon::S3
This a bug in a module used to perform the test. The bug results in the test failing on Windows, but isn't indicative of a problem with any of the modules being installed. It's a problem with the test, not the modules being tested.
Adding the following to t\00use.t will allow the test to run:
use Win32;
But that's not really necessary. If this is the only failing test, it should be safe to ignore this test failure and force the installation of the module (by passing -f to cpan/cpanm).
Net-Amazon-S3 has been notified of the issue and how to work around it.

Configure psqlodbc-10.03.0 on AIX 7.1

during configuring psqlodbc-10.03.0 on AIX 7.1 using the follwing command:
./configure --with-libpq=/app/postgresql10ff/lib/ --with-unixodbc=/usr/local/bin/odbc_config
i receive the below error:
checking for a BSD-compatible install... config/install-sh -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... config/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking -Wall is a valid compile option... yes
configure: using /usr/local/include /usr/local/lib
checking last argument to SQLColAttribute is SQLLEN *... yes
checking for pg_config... /app/postgresql10ff/bin/pg_config
checking for prove... prove
checking build system type... powerpc-ibm-aix7.1.4.0
checking host system type... powerpc-ibm-aix7.1.4.0
checking how to print strings... print -r
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 786432
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... no
checking how to convert powerpc-ibm-aix7.1.4.0 file names to powerpc-ibm-aix7.1.4.0 format... func_convert_file_noop
checking how to convert powerpc-ibm-aix7.1.4.0 file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... dlltool
checking how to associate runtime and link libraries... print -r --
checking for ar... ar
checking for archiver #FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -DPIC
checking if gcc PIC flag -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... aix7.1.4.0 ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... yes
checking whether stripping libraries is possible... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for library containing SQLGetPrivateProfileString... -lodbcinst
checking for pthread_create in -lpthreads... yes
checking for PQsetSingleRowMode in -lpq... no
configure: error: libpq library version >= 9.2 is required
although i have postgres VERSION = PostgreSQL 10.1 and the output of pg_config:
BINDIR = /app/postgresql10ff/bin
DOCDIR = /app/postgresql10ff/share/doc
HTMLDIR = /app/postgresql10ff/share/doc
INCLUDEDIR = /app/postgresql10ff/include
PKGINCLUDEDIR = /app/postgresql10ff/include
INCLUDEDIR-SERVER = /app/postgresql10ff/include/server
LIBDIR = /app/postgresql10ff/lib
PKGLIBDIR = /app/postgresql10ff/lib
LOCALEDIR = /app/postgresql10ff/share/locale
MANDIR = /app/postgresql10ff/share/man
SHAREDIR = /app/postgresql10ff/share
SYSCONFDIR = /app/postgresql10ff/etc
PGXS = /app/postgresql10ff/lib/pgxs/src/makefiles/pgxs.mk
CONFIGURE = '--with-includes=/opt/freeware/include:/usr/include' '--with-libraries=/opt/freeware/lib64:/usr/lib64' '--prefix=/app/postgresql10ff' 'CFLAGS=-maix64' 'LDFLAGS=-Wl,-bbigtoc,-lm'
CC = gcc
CPPFLAGS = -DFRONTEND -I/opt/freeware/include -I/usr/include
CFLAGS = -Wall -Wmissing-prototypes -Wpointer-arith -maix64
CFLAGS_SL =
LDFLAGS = -L../../src/common -Wl,-bbigtoc,-lm -L/opt/freeware/lib64 -L/usr/lib64 -Wl,-blibpath:'/app/postgresql10ff/lib:/opt/freeware/lib64:/usr/lib64:/usr/lib:/lib'
LDFLAGS_EX =
LDFLAGS_SL = -Wl,-bnoentry -Wl,-H512 -Wl,-bM:SRE
LIBS = -lpgcommon -lpgport -lz -lreadline -lld -lm -lpthreads
VERSION = PostgreSQL 10.1
and output of the following command ls -l /app/postgresql10ff/lib/libpq*
-rw-r--r-- 1 postgres dba 619751 Apr 11 18:51 /app/postgresql10ff/lib/libpq.a
-rwxr-xr-x 1 postgres dba 104167 Apr 11 18:51 /app/postgresql10ff/lib/libpqwalreceiver.so
appreciate your support to fix this error.

Perl. Install PAR::Packer under Windows (w/ Strawberry Perl)

I am trying to install PAR::Packer on a Windows system. I tried "cpanm -n PAR::Packer --force" but got the following dump. I don't even understand what it is trying to do in my GnuPgp directory, but apparently there is a problem with blank spaces in its path?
Thanks!
Configuring PAR-Packer-1.019
Running Makefile.PL
Checking if your kit is complete...
Looks good
Prototype mismatch: sub main::prompt: none vs ($;$) at C:/Dwimperl/perl/lib/ExtUtils/MakeMaker.pm line 219
Writing Makefile for par.exe
Writing MYMETA.yml and MYMETA.json
Writing Makefile for PAR::Packer
Writing MYMETA.yml and MYMETA.json
-> OK
Checking dependencies from MYMETA.json ...
Checking if you have Compress::Zlib 1.16 ... Yes (2.042)
Checking if you have Archive::Zip 1 ... Yes (1.30)
Checking if you have ExtUtils::MakeMaker 6.59 ... Yes (6.62)
Checking if you have Getopt::ArgvFile 1.07 ... Yes (1.11)
Checking if you have IO::Compress::Gzip 0 ... Yes (2.042)
Checking if you have PAR 1.005 ... Yes (1.007)
Checking if you have PAR::Dist 0.22 ... Yes (0.48)
Checking if you have ExtUtils::Embed 0 ... Yes (1.30)
Checking if you have File::Temp 0.05 ... Yes (0.22)
Checking if you have Win32::Process 0 ... Yes (0.14)
Checking if you have Parse::Binary 0.04 ... Yes (0.11)
Checking if you have Module::ScanDeps 1.09 ... Yes (1.13)
Checking if you have Win32::Exe 0.17 ... Yes (0.17)
Building PAR-Packer-1.019
cp lib/App/Packer/PAR.pm blib\lib\App\Packer\PAR.pm
cp lib/PAR/Packer.pm blib\lib\PAR\Packer.pm
cp lib/PAR/Filter/Obfuscate.pm blib\lib\PAR\Filter\Obfuscate.pm
cp lib/PAR/Filter/PodStrip.pm blib\lib\PAR\Filter\PodStrip.pm
cp lib/PAR/StrippedPARL/Base.pm blib\lib\PAR\StrippedPARL\Base.pm
cp lib/PAR/Filter.pm blib\lib\PAR\Filter.pm
cp lib/PAR/Filter/PatchContent.pm blib\lib\PAR\Filter\PatchContent.pm
cp lib/PAR/Filter/Bytecode.pm blib\lib\PAR\Filter\Bytecode.pm
cp lib/pp.pm blib\lib\pp.pm
cp lib/PAR/Filter/Bleach.pm blib\lib\PAR\Filter\Bleach.pm
C:\Dwimperl\perl\bin\perl.exe par_pl2c.pl my_par_pl < ..\script\par.pl > my_par_pl.c
C:\Dwimperl\perl\bin\perl.exe sha1.c.PL
gcc -c -s -O2 -DWIN32 -DPERL_TEXTMODE_SCRIPTS -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -mms-bitfields -I"C:\Dwimperl\perl\lib\CORE" -DPARL_EXE=\"parl.exe\" -s -O2 main.c
main.c: In function 'main':
main.c:121: warning: assignment discards qualifiers from pointer target type
windres -i winres/pp.rc -o ppresource.coff --input-format=rc --output-format=coff --target=pe-i386
g++ main.o ppresource.coff -s -s -L"C:\Dwimperl\perl\lib\CORE" -L"C:\Dwimperl\c\lib" C:\Dwimperl\perl\lib\CORE\libperl514.a C:\Dwimperl\c\i686-w64-mingw32\lib\libmoldname.a C:\Dwimperl\c\i686-w64-mingw32\lib\libkernel32.a C:\Dwimperl\c\i686-w64-mingw32\lib\libuser32.a C:\Dwimperl\c\i686-w64-mingw32\lib\libgdi32.a C:\Dwimperl\c\i686-w64-mingw32\lib\libwinspool.a C:\Dwimperl\c\i686-w64-mingw32\lib\libcomdlg32.a C:\Dwimperl\c\i686-w64-mingw32\lib\libadvapi32.a C:\Dwimperl\c\i686-w64-mingw32\lib\libshell32.a C:\Dwimperl\c\i686-w64-mingw32\lib\libole32.a C:\Dwimperl\c\i686-w64-mingw32\lib\liboleaut32.a C:\Dwimperl\c\i686-w64-mingw32\lib\libnetapi32.a C:\Dwimperl\c\i686-w64-mingw32\lib\libuuid.a C:\Dwimperl\c\i686-w64-mingw32\lib\libws2_32.a C:\Dwimperl\c\i686-w64-mingw32\lib\libmpr.a C:\Dwimperl\c\i686-w64-mingw32\lib\libwinmm.a C:\Dwimperl\c\i686-w64-mingw32\lib\libversion.a C:\Dwimperl\c\i686-w64-mingw32\lib\libodbc32.a C:\Dwimperl\c\i686-w64-mingw32\lib\libodbccp32.a C:\Dwimperl\c\i686-w64-mingw32\lib\libcomctl32.a -o par.exe
rem
C:\Dwimperl\perl\bin\perl.exe encode_append.pl Dynamic.in par.exe Dynamic.pm
C:\Dwimperl\perl\bin\perl.exe file2c.pl -c 30000 par.exe C:\Dwimperl\perl\bin\perl514.dll C:\Dwimperl\perl\bin\libgcc_s_sjlj-1.dll C:\Program Files (x86)\GNU\GnuPG\pub\libstdc++-6.dll > boot_embedded_files.c
open input file 'C:\Program': No such file or directory at file2c.pl line 43.
dmake: Error code 130, while making 'boot_embedded_files.c'
dmake: 'boot_embedded_files.c' removed.
dmake.exe: Error code 255, while making 'subdirs'
-> FAIL Installing PAR::Packer failed. See C:\Users\user\.cpanm\work\1406015074.8672\build.log for details. Retry with --force to force install it.
From your output, you can see the commands which the Makefile is executing. This one:
C:\Dwimperl\perl\bin\perl.exe file2c.pl -c 30000 par.exe C:\Dwimperl\perl\bin\perl514.dll C:\Dwimperl\perl\bin\libgcc_s_sjlj-1.dll C:\Program Files (x86)\GNU\GnuPG\pub\libstdc++-6.dll > boot_embedded_files.c
appears to attempt to pass this filename:
C:\Program Files (x86)\GNU\GnuPG\pub\libstdc++-6.dll
as a command-line argument, but does not quote it. The called program therefore attempts to open file C:\Program and fails. The fault probably lies somewhere within the build process, where a value should have been quoted, but wasn't. You might be able to work round it by executing the command correctly quoted:
C:\Dwimperl\perl\bin\perl.exe file2c.pl -c 30000 par.exe C:\Dwimperl\perl\bin\perl514.dll C:\Dwimperl\perl\bin\libgcc_s_sjlj-1.dll "C:\Program Files (x86)\GNU\GnuPG\pub\libstdc++-6.dll" > boot_embedded_files.c
and then rerunning make to allow it to build the rest. But this approach is not guaranteed to work.
However, the package seems to be being maintained, with the changelog for the most recent version here:
http://cpansearch.perl.org/src/RSCHUPP/PAR-Packer-1.020/ChangeLog
and evidence from the bug tracker that some issues are being resolved:
https://rt.cpan.org/Public/Dist/Display.html?Status=Resolved;Name=PAR-Packer
I suggest you report this bug there, and see whether the maintainers are able to provide a fix.

perl cpanminus error installing GD::Image cc1: error: unrecognized command line option "-fstack-protector"

I'm using cpanm to install GD::Image. This is on a Linux system with no root privileges, so I thought this would be the easiest way.
Apparently GD compilation fails:
cpanm (App::cpanminus) 1.4007 on perl 5.008008 built for x86_64-linux-thread-multi
Work directory is /homes/avilella/.cpanm/work/1310719630.11564
You have make /usr/bin/make
You have /usr/bin/wget
You have /bin/tar: tar (GNU tar) 1.15.1
You have /usr/bin/unzip
Searching GD::Image on cpanmetadb ...
-> FAIL Finding GD::Image on cpanmetadb failed.
Searching GD::Image on search.cpan.org ...
Checking if you have ExtUtils::MakeMaker 6.31 ... Yes (6.58)
Checking if you have ExtUtils::Install 1.46 ... Yes (1.54)
Checking if you have Module::Build 0.36 ... No
==> Found dependencies: Module::Build
Searching Module::Build on cpanmetadb ...
--> Working on Module::Build
Fetching http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/Module-Build-0.3800.tar.gz
-> OK
Unpacking Module-Build-0.3800.tar.gz
Entering Module-Build-0.3800
Checking configure dependencies from META.yml
Configuring Module-Build-0.3800
Running Build.PL
Checking prerequisites...
requires:
! ExtUtils::CBuilder is not installed
Checking optional features...
dist_authoring..........disabled
requires:
! Archive::Tar is not installed
recommends:
* Pod::Readme is not installed
ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the versions
of the modules indicated above before proceeding with this installation
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'Module-Build' version '0.3800'
-> OK
Checking dependencies from MYMETA.yml ...
Checking if you have Module::Metadata 1.000002 ... Yes (1.000004)
Checking if you have File::Spec 0.82 ... Yes (3.12)
Checking if you have ExtUtils::Install 0 ... Yes (1.54)
Checking if you have File::Compare 0 ... Yes (1.1003)
Checking if you have File::Find 0 ... Yes (1.10)
Checking if you have File::Path 0 ... Yes (1.08)
Checking if you have CPAN::Meta 2.110420 ... Yes (2.110930001)
Checking if you have Perl::OSType 1 ... Yes (1.002)
Checking if you have ExtUtils::CBuilder 0.27 ... No
Checking if you have ExtUtils::Manifest 0 ... Yes (1.58)
Checking if you have Text::Abbrev 0 ... Yes (1.01)
Checking if you have Test::Harness 0 ... Yes (3.23)
Checking if you have File::Copy 0 ... Yes (2.09)
Checking if you have Getopt::Long 0 ... Yes (2.35)
Checking if you have IO::File 0 ... Yes (1.13)
Checking if you have version 0.87 ... Yes (0.88)
Checking if you have Data::Dumper 0 ... Yes (2.121_08)
Checking if you have ExtUtils::ParseXS 2.21 ... Yes (2.2206)
Checking if you have Text::ParseWords 0 ... Yes (3.24)
Checking if you have File::Basename 0 ... Yes (2.74)
Checking if you have ExtUtils::Mkbootstrap 0 ... Yes (6.58)
Checking if you have Cwd 0 ... Yes (3.12)
Checking if you have Test::More 0.49 ... Yes (0.98)
Checking if you have Test::Harness 3.16 ... Yes (3.23)
Checking if you have Parse::CPAN::Meta 1.4401 ... Yes (1.4401)
Checking if you have File::Temp 0.15 ... Yes (0.22)
==> Found dependencies: ExtUtils::CBuilder
Searching ExtUtils::CBuilder on cpanmetadb ...
--> Working on ExtUtils::CBuilder
Fetching http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/ExtUtils-CBuilder-0.280202.tar.gz
-> OK
Unpacking ExtUtils-CBuilder-0.280202.tar.gz
Entering ExtUtils-CBuilder-0.280202
Checking configure dependencies from META.yml
Checking if you have ExtUtils::MakeMaker 6.31 ... Yes (6.58)
Configuring ExtUtils-CBuilder-0.280202
Running Makefile.PL
Warning: prerequisite File::Spec 3.13 not found. We have 3.12.
Checking if your kit is complete...
Looks good
Writing Makefile for ExtUtils::CBuilder
Writing MYMETA.yml and MYMETA.json
-> OK
Checking dependencies from MYMETA.yml ...
Finding PREREQ from Makefile ...
Checking if you have Text::ParseWords 0 ... Yes (3.24)
Checking if you have IO::File 0 ... Yes (1.13)
Checking if you have File::Temp 0 ... Yes (0.22)
Checking if you have File::Spec 3.13 ... No (3.12 < 3.13)
Checking if you have IPC::Cmd 0 ... Yes (0.72)
Checking if you have File::Basename 0 ... Yes (2.74)
Checking if you have Cwd 0 ... Yes (3.12)
Checking if you have Test::More 0.47 ... Yes (0.98)
Checking if you have Test::More 0.47 ... Yes (0.98)
Checking if you have Text::ParseWords 0 ... Yes (3.24)
Checking if you have IO::File 0 ... Yes (1.13)
Checking if you have File::Temp 0 ... Yes (0.22)
Checking if you have IPC::Cmd 0 ... Yes (0.72)
Checking if you have File::Basename 0 ... Yes (2.74)
Checking if you have Cwd 0 ... Yes (3.12)
==> Found dependencies: File::Spec
Searching File::Spec on cpanmetadb ...
--> Working on File::Spec
Fetching http://search.cpan.org/CPAN/authors/id/S/SM/SMUELLER/PathTools-3.33.tar.gz
-> OK
Unpacking PathTools-3.33.tar.gz
Entering PathTools-3.33
Checking configure dependencies from META.yml
Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.58)
Configuring PathTools-3.33
Running Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for Cwd
Writing MYMETA.yml and MYMETA.json
-> OK
Checking dependencies from MYMETA.yml ...
Finding PREREQ from Makefile ...
Checking if you have Scalar::Util 0 ... Yes (1.21)
Checking if you have Test 0 ... Yes (1.25)
Checking if you have File::Path 0 ... Yes (1.08)
Checking if you have File::Basename 0 ... Yes (2.74)
Checking if you have Carp 0 ... Yes (1.04)
Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.58)
Checking if you have Scalar::Util 0 ... Yes (1.21)
Checking if you have Test 0 ... Yes (1.25)
Checking if you have File::Path 0 ... Yes (1.08)
Checking if you have File::Basename 0 ... Yes (2.74)
Checking if you have Carp 0 ... Yes (1.04)
Building PathTools-3.33
cp lib/File/Spec/OS2.pm blib/lib/File/Spec/OS2.pm
cp lib/File/Spec/Mac.pm blib/lib/File/Spec/Mac.pm
cp lib/File/Spec/VMS.pm blib/lib/File/Spec/VMS.pm
cp lib/File/Spec/Cygwin.pm blib/lib/File/Spec/Cygwin.pm
cp lib/File/Spec/Functions.pm blib/lib/File/Spec/Functions.pm
cp lib/File/Spec/Epoc.pm blib/lib/File/Spec/Epoc.pm
cp lib/File/Spec.pm blib/lib/File/Spec.pm
cp Cwd.pm blib/lib/Cwd.pm
cp lib/File/Spec/Unix.pm blib/lib/File/Spec/Unix.pm
cp lib/File/Spec/Win32.pm blib/lib/File/Spec/Win32.pm
/usr/bin/perl /homes/avilella/src/lookseq/lookseq/deps/lib/perl5/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap Cwd.xs > Cwd.xsc && mv Cwd.xsc Cwd.c
gcc -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DVERSION=\"3.33\" -DXS_VERSION=\"3.33\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE" Cwd.c
cc1: error: unrecognized command line option "-fstack-protector"
cc1: error: invalid parameter `ssp-buffer-size'
Cwd.c:1: error: bad value (generic) for -mtune= switch
make: *** [Cwd.o] Error 1
-> FAIL Installing File::Spec failed. See /homes/avilella/.cpanm/build.log for details.
-> FAIL Bailing out the installation for ExtUtils-CBuilder-0.280202. Retry with --prompt or --force.
-> FAIL Bailing out the installation for Module-Build-0.3800. Retry with --prompt or --force.
--> Working on GD::Image
Fetching http://search.cpan.org/CPAN/authors/id/L/LD/LDS/GD-2.46.tar.gz
-> OK
Unpacking GD-2.46.tar.gz
Entering GD-2.46
Checking configure dependencies from META.yml
Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.58)
Configuring GD-2.46
Running Makefile.PL
Notice: Type perl Makefile.PL -h for command-line option summary.
Configuring for libgd version 2.0.33.
Checking for stray libgd header files...
** WARNING: found gd.h header file in /usr/includegd.h, but it is expected at /ebi/research/software/Linux_x86_64/opt/stow/gd-2.0.33/include/gd.h. This may cause compile errors! **
** WARNING: found gd.h header file in /usr/includegd.h, but it is expected at /ebi/research/software/Linux_x86_64/opt/stow/gd-2.0.33/include/gd.h. This may cause compile errors! **
** Possible problems found **
Included Features: GD_XPM GD_JPEG GD_FONTCONFIG GD_FREETYPE GD_PNG GD_GIF GD_UNCLOSEDPOLY GD_ANIMGIF GD_FTCIRCLE VERSION_33
GD library used from: /ebi/research/software/Linux_x86_64/opt/stow/gd-2.0.33
Checking if your kit is complete...
Looks good
Writing Makefile for GD
Writing MYMETA.yml and MYMETA.json
-> OK
Checking dependencies from MYMETA.yml ...
Finding PREREQ from Makefile ...
Checking if you have Math::Trig 0 ... Yes (1.03)
Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.58)
Checking if you have Math::Trig 0 ... Yes (1.03)
Building and testing GD-2.46
/usr/bin/perl GD/Image.pm.PLS GD/Image.pm
Extracting Image.pm (with variable substitutions)
cp GD/Polyline.pm blib/lib/GD/Polyline.pm
cp qd.pl blib/lib/qd.pl
cp GD/Image.pm blib/lib/GD/Image.pm
cp GD.pm blib/lib/GD.pm
AutoSplitting blib/lib/GD.pm (blib/lib/auto/GD)
cp GD/Simple.pm blib/lib/GD/Simple.pm
cp GD/Polygon.pm blib/lib/GD/Polygon.pm
cp GD/Group.pm blib/lib/GD/Group.pm
/usr/bin/perl /homes/avilella/src/lookseq/lookseq/deps/lib/perl5/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap GD.xs > GD.xsc && mv GD.xsc GD.c
gcc -c -I/ebi/research/software/Linux_x86_64/opt/stow/gd-2.0.33/include -Wformat=0 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DVERSION=\"2.46\" -DXS_VERSION=\"2.46\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE" -DHAVE_JPEG -DHAVE_FT -DHAVE_XPM -DHAVE_GIF -DHAVE_PNG -DHAVE_ANIMGIF -DVERSION_33 -DHAVE_UNCLOSEDPOLY -DHAVE_FONTCONFIG -DHAVE_FTCIRCLE GD.c
cc1: error: unrecognized command line option "-fstack-protector"
cc1: error: invalid parameter `ssp-buffer-size'
GD.c:1: error: bad value (generic) for -mtune= switch
make: *** [GD.o] Error 1
-> FAIL Installing GD::Image failed. See /homes/avilella/.cpanm/build.log for details.
Any ideas?
cpanm doesn't have special support for installation without root rights if you use the system perl.
1) You can use perlbrew and compile your own perl into your home. After that you can just use cpanm in your "home perl".
2) You can use local::lib it sets up an environment that uses the system perl, but you install the modules to your home directory. After you did the setup described in local::lib it can work with cpanm.
If it still fails to install. Please provide the full log. cpanm says at the end that detailed information are in "/homes/avilella/.cpanm/build.log". If you install XS Modules sometimes you need to install some header files or other stuff. From the error messages from the build log you often can see why it fails. But you need to provide the file.