Strawberry Perl cannot install Mason templates - windows

Hi cannot install mason templates on Strawberry Perl on windows 10 x64.
I've installed strawberry-perl-5.24.1.1-64bit.msi
CPAN works normally.
Any help would be great.
Guard installation fails:
C:\Strawberry\Echo>cpanm Mason
--> Working on Mason
Fetching http://www.cpan.org/authors/id/J/JS/JSWARTZ/Mason-2.24.tar.gz ... OK
Configuring Mason-2.24 ... OK
==> Found dependencies: Guard
--> Working on Guard
Fetching http://www.cpan.org/authors/id/M/ML/MLEHMANN/Guard-1.023.tar.gz ... OK
Configuring Guard-1.023 ... OK
Building and testing Guard-1.023 ... FAIL
! Installing Guard failed. See C:\Users\DRASKO~1.POP\.cpanm\work\1485557949.7836\build.log for details. Retry with --force to force install it.
! Installing the dependencies failed: Module 'Guard' is not installed
! Bailing out the installation for Mason-2.24.
C:\Strawberry\Echo>cpanm --verbose Guard
cpanm (App::cpanminus) 1.7042 on perl 5.024001 built for MSWin32-x64-multi-thread
Work directory is C:\Users\DRASKO~1.POP/.cpanm/work/1485557107.8988
You have make C:\Strawberry\c\bin\dmake.exe
You have LWP 6.15
Falling back to Archive::Tar 2.24
You have C:\FPC\3.0.0\bin\i386-Win32\unzip.exe
Searching Guard () on cpanmetadb ...
--> Working on Guard
Fetching http://www.cpan.org/authors/id/M/ML/MLEHMANN/Guard-1.023.tar.gz ... OK
Unpacking Guard-1.023.tar.gz
Entering Guard-1.023
Checking configure dependencies from META.json
Checking if you have ExtUtils::MakeMaker 6.58 ... Yes (7.24)
Running Makefile.PL
Configuring Guard-1.023 ... Checking if your kit is complete...
Looks good
Generating a dmake-style Makefile
Writing Makefile for Guard
Writing MYMETA.yml and MYMETA.json
OK
Checking dependencies from MYMETA.json ...
Checking if you have ExtUtils::MakeMaker 0 ... Yes (7.24)
Building and testing Guard-1.023 ... cp Guard.pm blib\lib\Guard.pm
Running Mkbootstrap for Guard ()
"C:\Strawberry\perl\bin\perl.exe" -MExtUtils::Command -e chmod -- 644 "Guard.bs"
"C:\Strawberry\perl\bin\perl.exe" -MExtUtils::Command::MM -e cp_nonempty -- Guard.bs blib\arch\auto\Guard\Guard.bs 644
"C:\Strawberry\perl\bin\perl.exe" "C:\Strawberry\perl\lib\ExtUtils\xsubpp" -typemap C:\STRAWB~1\perl\lib\ExtUtils\typemap Guard.xs > Guard.xsc
"C:\Strawberry\perl\bin\perl.exe" -MExtUtils::Command -e mv -- Guard.xsc Guard.c
gcc -c -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fwrapv -fno-strict-aliasing -mms-bitfields -s -O2 -DVERSION=\"1.023\" -DXS_VERSION=\"1.023\" "-IC:\STRAWB~1\perl\lib\CORE" Guard.c
In file included from Guard.xs:4:
C:\STRAWB~1\perl\lib\CORE\perl.h:689: sys\types.h: No such file or directory
C:\STRAWB~1\perl\lib\CORE\perl.h:707: stdarg.h: No such file or directory
C:\STRAWB~1\perl\lib\CORE\perl.h:718: ctype.h: No such file or directory
C:\STRAWB~1\perl\lib\CORE\perl.h:729: locale.h: No such file or directory
C:\STRAWB~1\perl\lib\CORE\perl.h:764: setjmp.h: No such file or directory
C:\STRAWB~1\perl\lib\CORE\perl.h:785: stdlib.h: No such file or directory
C:\STRAWB~1\perl\lib\CORE\perl.h:923: stddef.h: No such file or directory
C:\STRAWB~1\perl\lib\CORE\perl.h:936: string.h: No such file or directory
In file included from Guard.xs:4:
C:\STRAWB~1\perl\lib\CORE\perl.h:1084: sys\stat.h: No such file or directory
C:\STRAWB~1\perl\lib\CORE\perl.h:1113: time.h: No such file or directory
C:\STRAWB~1\perl\lib\CORE\perl.h:1134: errno.h: No such file or directory
In file included from Guard.xs:4:
C:\STRAWB~1\perl\lib\CORE\perl.h:1789: limits.h: No such file or directory
C:\STRAWB~1\perl\lib\CORE\perl.h:1792: float.h: No such file or directory
C:\STRAWB~1\perl\lib\CORE\perl.h:1811: limits.h: No such file or directory
C:\STRAWB~1\perl\lib\CORE\perl.h:1814: float.h: No such file or directory
C:\STRAWB~1\perl\lib\CORE\perl.h:1843: limits.h: No such file or directory
C:\STRAWB~1\perl\lib\CORE\perl.h:2434: limits.h: No such file or directory
In file included from C:\STRAWB~1\perl\lib\CORE\perl.h:2684,
from Guard.xs:4:
C:\STRAWB~1\perl\lib\CORE\handy.h:77: stdbool.h: No such file or directory
In file included from C:\STRAWB~1\perl\lib\CORE\perl.h:2795,
from Guard.xs:4:
C:\STRAWB~1\perl\lib\CORE\dosish.h:110: signal.h: No such file or directory
In file included from C:\STRAWB~1\perl\lib\CORE\win32thread.h:4,
from C:\STRAWB~1\perl\lib\CORE\perl.h:3159,
from Guard.xs:4:
C:\STRAWB~1\perl\lib\CORE\win32.h:131: windows.h: No such file or directory
C:\STRAWB~1\perl\lib\CORE\win32.h:159: io.h: No such file or directory
C:\STRAWB~1\perl\lib\CORE\win32.h:160: process.h: No such file or directory
C:\STRAWB~1\perl\lib\CORE\win32.h:161: stdio.h: No such file or directory
C:\STRAWB~1\perl\lib\CORE\win32.h:162: direct.h: No such file or directory
C:\STRAWB~1\perl\lib\CORE\win32.h:163: stdlib.h: No such file or directory
C:\STRAWB~1\perl\lib\CORE\win32.h:164: stddef.h: No such file or directory
C:\STRAWB~1\perl\lib\CORE\win32.h:165: fcntl.h: No such file or directory
In file included from C:\STRAWB~1\perl\lib\CORE\win32.h:426,
from C:\STRAWB~1\perl\lib\CORE\win32thread.h:4,
from C:\STRAWB~1\perl\lib\CORE\perl.h:3159,
from Guard.xs:4:
C:\STRAWB~1\perl\lib\CORE\sys\socket.h:13: windows.h: No such file or directory
C:\STRAWB~1\perl\lib\CORE\sys\socket.h:21: winsock2.h: No such file or directory
C:\STRAWB~1\perl\lib\CORE\sys\socket.h:30: ws2tcpip.h: No such file or directory
In file included from C:\STRAWB~1\perl\lib\CORE\sys\socket.h:184,
from C:\STRAWB~1\perl\lib\CORE\win32.h:426,
from C:\STRAWB~1\perl\lib\CORE\win32thread.h:4,
from C:\STRAWB~1\perl\lib\CORE\perl.h:3159,
from Guard.xs:4:
C:\STRAWB~1\perl\lib\CORE\sys\errno2.h:10: winsock2.h: No such file or directory
In file included from Guard.xs:4:
C:\STRAWB~1\perl\lib\CORE\perl.h:3648: assert.h: No such file or directory
In file included from C:\STRAWB~1\perl\lib\CORE\iperlsys.h:51,
from C:\STRAWB~1\perl\lib\CORE\perl.h:3856,
from Guard.xs:4:
C:\STRAWB~1\perl\lib\CORE\perlio.h:41: stdio.h: No such file or directory
In file included from C:\STRAWB~1\perl\lib\CORE\perl.h:3856,
from Guard.xs:4:
C:\STRAWB~1\perl\lib\CORE\iperlsys.h:920: setjmp.h: No such file or directory
In file included from Guard.xs:4:
C:\STRAWB~1\perl\lib\CORE\perl.h:4449: math.h: No such file or directory
In file included from C:\STRAWB~1\perl\lib\CORE\perl.h:5576,
from Guard.xs:4:
C:\STRAWB~1\perl\lib\CORE\win32iop.h:16: sys\utime.h: No such file or directory
In file included from Guard.xs:4:
C:\STRAWB~1\perl\lib\CORE\perl.h:6526: fcntl.h: No such file or directory
dmake.exe: Error code 129, while making 'Guard.o'
FAIL
! Installing Guard failed. See C:\Users\DRASKO~1.POP\.cpanm\work\1
485557107.8988\build.log for details. Retry with --force to force install it.

I've just changed the path order for Strawberry in Edit environment variable. As noted in this thread

Related

Lua 5.1.5's Makefile Produces Errors for Me

If I try to run the Makefile that comes with the source of Lua 5.1.5, I get the following errors:
gcc: error: #: No such file or directory
gcc: error: DLL: No such file or directory
gcc: error: needs: No such file or directory
gcc: error: all: No such file or directory
gcc: error: object: No such file or directory
gcc: error: files: No such file or directory
What do these errors mean? I would try fixing this issue myself before asking this question, but I don't know how to interpret these errors. If more context is needed, here is the full output.
This is a bug recorded here.
Just edit Makefile and remove # DLL needs all object files.

Missing PostgreSQL libraries while compiling inside Cygwin

I'm trying to compile osm2pgsql inside Cygwin on a Windows7 machine.
While running configure script I'm getting following error message:
checking for PostgreSQL libraries... ./configure: line 17889: /cygdrive/c/Program: No such file or directory
./configure: line 17890: /cygdrive/c/Program: No such file or directory
./configure: line 17891: /cygdrive/c/Program: No such file or directory
./configure: line 17894: /cygdrive/c/Program: No such file or directory
./configure: line 17900: /cygdrive/c/Program: No such file or directory
configure: error: postgresql client library not found
Solution should be adding library folder location to PATH system variable, or have copy of libraries in location of PostgreSQL executables.
Location of PostgreSQL executables is
C:\Program Files (x86)\PostgreSQL\9.1\bin
and libraries location is
c:\Program Files (x86)\PostgreSQL\9.1\lib
both of them are included in PATH system variable (Windows7), but libraries are claimed missing anyway.
Copying libraries into ...\bin directory did not help either.
How should I proceed?
Run ./configure --help to see is there is a parameter like --with-<PostgreSQL>=/path/to/PostgreSQL where you can include the files you already have in C:\Program Files (x86)\PostgreSQL\9.1. If so run ./configure --with-<PostgreSQL>=/path/to/PostgreSQL.

Existing libs showed error when trying opencv in JNI on Eclipse

I tried to learn how to use opencv in JNI part of my Android application, when I include the OpenCV.mk from the right directory in my Android.mk , it gave me out some errors:
i686-linux-android-g++: error: contrib: No such file or directory
i686-linux-android-g++: error: legacy: No such file or directory
i686-linux-android-g++: error: ml: No such file or directory
i686-linux-android-g++: error: stitching: No such file or directory
i686-linux-android-g++: error: objdetect: No such file or directory
i686-linux-android-g++: error: ts: No such file or directory
i686-linux-android-g++: error: videostab: No such file or directory
i686-linux-android-g++: error: calib3d: No such file or directory
i686-linux-android-g++: error: photo: No such file or directory
i686-linux-android-g++: error: video: No such file or directory
i686-linux-android-g++: error: features2d: No such file or directory
i686-linux-android-g++: error: highgui: No such file or directory
i686-linux-android-g++: error: androidcamera: No such file or directory
i686-linux-android-g++: error: flann: No such file or directory
i686-linux-android-g++: error: imgproc: No such file or directory
i686-linux-android-g++: error: core: No such file or directory
I've checked the OpenCV.mk and it says in line 10
OPENCV_LIBS_DIR:=$(OPENCV_THIS_DIR)/../libs/$(OPENCV_TARGET_ARCH_ABI)
the directory really exists
why this? My OpenCV4Android version is 2.4.6, NDK r8e, here is my Android.mk and Application.mk OS: windows 7 64 bit
LOCAL_PATH := $(call my-dir)
OPENCV_LIB_TYPE:=STATIC
include $(CLEAR_VARS)
include E:/workspace/Android/OpenCV/OpenCV-2.4.6-android-sdk/sdk/native/jni/OpenCV.mk
include $(OPENCV_MK_PATH)
LOCAL_MODULE := ImgFun
LOCAL_SRC_FILES := ImgFun.cpp
LOCAL_LDLIBS += -llog -ldl
LOCAL_LDLIBS += $(OPENCV_LIBS)
include $(BUILD_SHARED_LIBRARY)
APP_STL:=gnustl_static
APP_CPPFLAGS:=-frtti -fexceptions
APP_ABI:= x86
APP_PLATFORM := android-14
If you have some ideas, please let me know either here or learningpro.dong#gmail.com, thank you in advance

ZMQ Compilation problems for C++ examples

I am trying to compile the ZMQ C++ source code examples provided at zmq.org (i.e. github.com/imatix/zguide.git). My OS is xubuntu and I installed ZMQ prerequisites which are libtool, autoconf, automake and uuid-dev package properly. I installed czmq as well. Compilation and linking of ZMQ itself was fine and libs are located properly under /usr/local/bin. Nevertheless, I am getting below compilation errors. Googling did not help much and I wonder if anyone knows a quick solution to these errors, which originates from the missing header file zmq.hpp. Thanks in advance.
$./build all
hwclient.cpp
hwclient.cpp:6:19: fatal error: zmq.hpp: No such file or directory
compilation terminated.
hwserver.cpp
hwserver.cpp:6:19: fatal error: zmq.hpp: No such file or directory
compilation terminated.
identity.cpp
identity.cpp:7:19: fatal error: zmq.hpp: No such file or directory
compilation terminated.
lbbroker.cpp
In file included from lbbroker.cpp:7:0:
zhelpers.hpp:29:19: fatal error: zmq.hpp: No such file or directory
compilation terminated.
lpclient.cpp
In file included from lpclient.cpp:6:0:
zhelpers.hpp:29:19: fatal error: zmq.hpp: No such file or directory
compilation terminated.
lpserver.cpp
In file included from lpserver.cpp:8:0:
zhelpers.hpp:29:19: fatal error: zmq.hpp: No such file or directory
compilation terminated.
mdbroker.cpp
In file included from zmsg.hpp:35:0,
from mdbroker.cpp:7:
zhelpers.hpp:29:19: fatal error: zmq.hpp: No such file or directory
compilation terminated.
mdclient.cpp
......
It looks zmq.hpp has been moved to another git repository beginning with ZMQ 3.2 which is available at https://github.com/zeromq/cppzmq. I have clonned this to same place where a previously extracted the ZMQ's tar ball. Then I created a symbolic link to zmq.hpp from the examples's C++ directory. Then examples compiled fine.
prem#~/Code/zeromq>ls
cppzmq-master.zip zguide zmqpp-develop zmqpp-develop.zip
prem#~/Code/zeromq>unzip cppzmq-master.zip
Archive: cppzmq-master.zip
235803740753312576495301ebf5b8ed76407173
creating: cppzmq-master/
inflating: cppzmq-master/LICENSE
inflating: cppzmq-master/README
inflating: cppzmq-master/zmq.hpp
prem#~/Code/zeromq>ls
cppzmq-master cppzmq-master.zip zguide zmqpp-develop zmqpp-develop.zip
prem#~/Code/zeromq>cd cppzmq-master/
prem#~/Code/zeromq/cppzmq-master>ls
prem#~/Code/zeromq/cppzmq-master>sudo cp zmq.hpp /usr/include/
prem#~/Code/zeromq/cppzmq-master>cd ~/Code/zeromq/zguide/examples/C++
prem#~/Code/zeromq/zguide/examples/C++>./build all
Building C++ examples...
hwclient.cpp
hwserver.cpp
identity.cpp
interrupt.cpp
...
prem#~/Code/zeromq/zguide/examples/C++>

Error building LAPACK on Redhat 4.1

I am trying to build LAPACK (the full version) with ATLAS on Redhat 4.1. I have been successful in building ATLAS depending upon the tarfile of lapack:
atlas/configure --prefix=HOME/atlas --with-netlib-lapack-tarfile=HOME/lapack-3.4.1.tgz
make build
make check
make install
But I need the whole installation of LAPACK. I found
http://math-atlas.sourceforge.net/atlas_install/atlas_install.html
and
http://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0CGcQFjAA&url=http%3A%2F%2Fciteseerx.ist.psu.edu%2Fviewdoc%2Fdownload%3Fdoi%3D10.1.1.136.5309%26rep%3Drep1%26type%3Dpdf&ei=3C8YUKaqOIqm8AT6kYC4Cg&usg=AFQjCNHKbHg1H0qupmzQbj9tGq3tsmXRDQ&sig2=etIB36nxjasjUg4sEwQ0DQ
which suggest changing a few lines of the default make.inc.example to build the rest of LAPACK. However, I am unsuccessful in getting even the default build of LAPACK to work:
cp make.inc.example make.inc
compute-1-29.local make
( cd INSTALL; make; ./testlsame; ./testslamch; ./testdlamch; \
./testsecond; ./testdsecnd; ./testieee; ./testversion )
make[1]: Entering directory `/home/jmorgens/lap/lapack/INSTALL'
gfortran -O0 -c slamch.f -o slamch.o
/share/apps/gcc-trunk/bin/../libexec/gcc/x86_64-unknown-linux-gnu/4.2.0/f951: error while loading shared libraries: libmpfr.so.1: cannot open shared object file: No such file or directory
make[1]: *** [slamch.o] Error 1
make[1]: Leaving directory `/home/jmorgens/lap/lapack/INSTALL'
ASCII character set
Tests completed
/bin/sh: ./testslamch: No such file or directory
/bin/sh: ./testdlamch: No such file or directory
/bin/sh: ./testsecond: No such file or directory
/bin/sh: ./testdsecnd: No such file or directory
/bin/sh: ./testieee: No such file or directory
/bin/sh: ./testversion: No such file or directory
make: *** [lapack_install] Error 127
Suggestions?

Resources