How to Compile SSL onto Cygwin for windows? - random

Below is what showed when i configured. I included all of the packages in the cygwin installer (it took me forever to tick off all the "skip" boxes)
`$ ./configure
Starting hydra auto configuration ...
Checking for openssl (libssl, libcrypto, ssl.h, sha.h)
found
Checking for idn (libidn.so) ... found
Checking for curses (libcurses.so / term.h) ... found, color output enabled
Checking for pcre (libpcre.so, pcre.h) ... found
Checking for Postgres (libpq.so, libpq-fe.h) ... DISABLED - postgres is buggy in Cygwin at the moment
Checking for SVN (libsvn_client-1 libapr-1.so libaprutil-1.so) ... found
Checking for firebird (libfbclient.so) ... NOT found, module firebird disabled
Checking for MYSQL client (libmysqlclient.so, math.h) ... found
Checking for AFP (libafpclient.so) ... NOT found, module Apple Filing Protocol disabled - Apple sucks anyway
Checking for NCP (libncp.so / nwcalls.h) ... NOT found, module NCP disabled
Checking for SAP/R3 (librfc/saprfc.h) ... NOT found, module sapr3 disabled
Checking for libssh (libssh/libssh.h) ... NOT found, module ssh disabled Get it from http://www.libssh.org
Checking for Oracle (libocci.so libclntsh.so / oci.h and libaio.so) ... NOT found, module Oracle disabled
Checking for GUI req's (pkg-config, gtk+-2.0) ... found
Checking for Android specialities ... rindex() found
... RSA_generate_key() found
Hydra will be installed into .../bin of: /usr/local
(change this by running ./configure --prefix=path)`
When I try to initiate a HTTPS attack, for example https-form-post, I get the following error.
[ERROR] Compiled without SSL support, module not available

Related

Bitbake tries to fetch sources from unavailable URL and they fail

I'm currently trying to set up an environment for Yocto project for my personal study.
I was clueless about where to start Yocto so I bought the book Embedded Linux Projects Using Yocto Project Cookbook but it keeps failing to build the environment.
I've run only simple commands. I ran source oe-init-build-env <dir name> to make a directory and ran bitbake core-image-minimal.
But bitbake command keeps giving me errors like this. This is the log.
WARNING: Host distribution "Ubuntu-18.04" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
Parsing recipes: 100%
|#################################################################################| Time: 00:00:25Parsing of 891 .bb files complete (0 cached, 891 parsed). 1287 targets, 61 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.24.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "Ubuntu-18.04"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "qemuarm"
DISTRO = "poky"
DISTRO_VERSION = "1.7.3"
TUNE_FEATURES = "arm armv5 thumb dsp"
TARGET_FPU = "soft"
meta
meta-yocto
meta-yocto-bsp = "dizzy:58863ad092c9a279e305c841dbb4353de2ecfae8"
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: Failed to fetch URL http://www.zlib.net/zlib-1.2.8.tar.xz, attempting MIRRORS if available
WARNING: Failed to fetch URL http://www.multiprecision.org/mpc/download/mpc-1.0.2.tar.gz, attempting MIRRORS if available
WARNING: Failed to fetch URL ftp://ftp.gmplib.org/pub/gmp-6.0.0/gmp-6.0.0a.tar.bz2, attempting MIRRORS if available
WARNING: Failed to fetch URL http://ymorin.is-a-geek.org/download/kconfig-frontends/kconfig-frontends-3.12.0.0.tar.xz, attempting MIRRORS if available
WARNING: Failed to fetch URL http://download.gna.org/cryptodev-linux/cryptodev-linux-1.6.tar.gz, attempting MIRRORS if available
WARNING: Checksum failure encountered with download of http://www.bzip.org/1.0.6/bzip2-1.0.6.tar.gz - will attempt other sources if available
WARNING: Renaming /opt/yocto/poky/qemuarm/downloads/bzip2-1.0.6.tar.gz to /opt/yocto/poky/qemuarm/downloads/bzip2-1.0.6.tar.gz_bad-checksum_2ae3e6c958d83d2855a37f13fe29fd95
WARNING: Failed to fetch URL http://gnome-build-stage-1.googlecode.com/files/uuid-1.6.2.tar.gz, attempting MIRRORS if available
WARNING: Checksum failure encountered with download of http://rpm5.org/files/popt/popt-1.16.tar.gz - will attempt other sources if available
WARNING: Renaming /opt/yocto/poky/qemuarm/downloads/popt-1.16.tar.gz to /opt/yocto/poky/qemuarm/downloads/popt-1.16.tar.gz_bad-checksum_9e09d0bf772649c5ba385c48ba2d3547
WARNING: Failed to fetch URL http://zlib.net/pigz/pigz-2.3.1.tar.gz, attempting MIRRORS if available
WARNING: Checksum failure encountered with download of http://www.rpm5.org/files/rpm/rpm-5.4/rpm-5.4.14-0.20131024.src.rpm;extract=rpm-5.4.14.tar.gz - will attempt other sources if available
WARNING: Renaming /opt/yocto/poky/qemuarm/downloads/rpm-5.4.14-0.20131024.src.rpm to /opt/yocto/poky/qemuarm/downloads/rpm-5.4.14-0.20131024.src.rpm_bad-checksum_6a8d9bc6a7e0162d7ff72fefc9e841e5
WARNING: Failed to fetch URL http://downloads.sourceforge.net/expat/expat-2.1.0.tar.gz, attempting MIRRORS if available
WARNING: Failed to fetch URL ftp://invisible-island.net/byacc/byacc-20140422.tgz, attempting MIRRORS if available
WARNING: Failed to fetch URL http://pkg-shadow.alioth.debian.org/releases/shadow-4.2.1.tar.xz, attempting MIRRORS if available
I checked the URLs in the log and it turned out they are all 404 pages. And most importantly, it terminates by showing this message.
ERROR: Error executing a python function in /opt/yocto/poky/meta/recipes-devtools/gcc/gcc-source_4.9.bb:
The stack trace of python calls that resulted in this exception/failure was:
File: 'do_preconfigure', lineno: 12, function: <module>
0008: cmd = d.expand("sed -i 's/BUILD_INFO=info/BUILD_INFO=/' /opt/yocto/poky/qemuarm/tmp/work-shared/gcc-4.9.1-r0/gcc-4.9.1/gcc/configure")
0009: subprocess.check_output(cmd, stderr=subprocess.STDOUT, shell=True)
0010:
0011:
*** 0012:do_preconfigure(d)
0013:
File: 'do_preconfigure', lineno: 5, function: do_preconfigure
0001:
0002:def do_preconfigure(d):
0003: import subprocess
0004: cmd = d.expand('PATH=/opt/yocto/poky/scripts:/opt/yocto/poky/qemuarm/tmp/sysroots/x86_64-linux/usr/bin/arm-poky-linux-gnueabi:/opt/yocto/poky/qemuarm/tmp/sysroots/qemuarm/usr/bin/crossscripts:/opt/yocto/poky/qemuarm/tmp/sysroots/x86_64-linux/usr/sbin:/opt/yocto/poky/qemuarm/tmp/sysroots/x86_64-linux/usr/bin:/opt/yocto/poky/qemuarm/tmp/sysroots/x86_64-linux/sbin:/opt/yocto/poky/qemuarm/tmp/sysroots/x86_64-linux/bin:/opt/yocto/poky/scripts:/opt/yocto/poky/bitbake/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/Program Files/WindowsApps/CanonicalGroupLimited.Ubuntu18.04onWindows_1804.2020.824.0_x64__79rhkp1fndgsc:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0/:/mnt/c/WINDOWS/System32/OpenSSH/:/mnt/c/Users/kimth/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/kimth/AppData/Local/Programs/MiKTeX 2.9/miktex/bin/x64/:/mnt/c/Users/kimth/AppData/Roaming/TinyTeX/bin/win32:/snap/bin cd /opt/yocto/poky/qemuarm/tmp/work-shared/gcc-4.9.1-r0/gcc-4.9.1 && gnu-configize')
*** 0005: subprocess.check_output(cmd, stderr=subprocess.STDOUT, shell=True)
0006: # See 0044-gengtypes.patch, we need to regenerate this file
0007: bb.utils.remove(d.expand("/opt/yocto/poky/qemuarm/tmp/work-shared/gcc-4.9.1-r0/gcc-4.9.1/gcc/gengtype-lex.c"))
0008: cmd = d.expand("sed -i 's/BUILD_INFO=info/BUILD_INFO=/' /opt/yocto/poky/qemuarm/tmp/work-shared/gcc-4.9.1-r0/gcc-4.9.1/gcc/configure")
0009: subprocess.check_output(cmd, stderr=subprocess.STDOUT, shell=True)
File: '/usr/lib/python2.7/subprocess.py', lineno: 223, function: check_output
0219: if retcode:
0220: cmd = kwargs.get("args")
0221: if cmd is None:
0222: cmd = popenargs[0]
*** 0223: raise CalledProcessError(retcode, cmd, output=output)
0224: return output
0225:
0226:
0227:def list2cmdline(seq):
Exception: CalledProcessError: Command 'PATH=/opt/yocto/poky/scripts:/opt/yocto/poky/qemuarm/tmp/sysroots/x86_64-linux/usr/bin/arm-poky-linux-gnueabi:/opt/yocto/poky/qemuarm/tmp/sysroots/qemuarm/usr/bin/crossscripts:/opt/yocto/poky/qemuarm/tmp/sysroots/x86_64-linux/usr/sbin:/opt/yocto/poky/qemuarm/tmp/sysroots/x86_64-linux/usr/bin:/opt/yocto/poky/qemuarm/tmp/sysroots/x86_64-linux/sbin:/opt/yocto/poky/qemuarm/tmp/sysroots/x86_64-linux/bin:/opt/yocto/poky/scripts:/opt/yocto/poky/bitbake/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/Program Files/WindowsApps/CanonicalGroupLimited.Ubuntu18.04onWindows_1804.2020.824.0_x64__79rhkp1fndgsc:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0/:/mnt/c/WINDOWS/System32/OpenSSH/:/mnt/c/Users/kimth/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/kimth/AppData/Local/Programs/MiKTeX 2.9/miktex/bin/x64/:/mnt/c/Users/kimth/AppData/Roaming/TinyTeX/bin/win32:/snap/bin cd /opt/yocto/poky/qemuarm
I feel like I need to modify conf files to fetch available URLs but I'm new to Yocto and Bitbake so I'm very lost now. I would appreciate if anyone could tell me where to find solutions. Thank you and stay safe everyone.
You seem to use quite an old yocto version 1.7.3 while there is already 3.3 released. This means also you try to build recipes for some packages that are also old and hence some URLs might be unavailable. Might it be an option for you to use a newer version?
If this is no option for you, one thing to try would be setting MIRROR (see [1]) to a mirror [2] where those packages are still available. But this approach I would not prefer.
[1] https://www.yoctoproject.org/docs/1.7/bitbake-user-manual/bitbake-user-manual.html#var-MIRRORS
[2] could be: http://downloads.yoctoproject.org/mirror/sources/
1.7.3 is a very old release of the project, originally released in 2015 with a last point release in 2016. The fetcher warnings you see aren't the problem, they're warnings but it will fall back to the project mirrors. If it hadn't fallen back correctly, it would have shown errors as well as the warnings. The bigger problem is in fact this:
WARNING: Host distribution "Ubuntu-18.04" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
Since Ubuntu 18.04 is three years newer than the project release you're using, there is no way it would be compatible with that release. You need to use a host OS from the era of the release, so Ubuntu 16.04 may work better. This is because the host OS provides gcc used to build the cross tools and the newer gcc versions don't tend to work with 100% of old code without tweaks.
So in short, use an older distro if you want to try and get that to build.

Buildroot gcc headers don't match linux-headers

I'm using Buildroot 2018.02.7 to build a simple Linux system for i386 PC, as a precursor to doing the same thing for an embedded ARM system. I keep running into problems like this one, in building the util-linux module:
CC lib/libcommon_la-path.lo
lib/pager.c:11:17: fatal error: err.h: No such file or directory
#include <err.h>
^
compilation terminated.
Makefile:8596: recipe for target 'lib/libcommon_la-pager.lo' failed
make[3]: *** [lib/libcommon_la-pager.lo] Error 1
When I look in the linux-headers source tree in .../output/build/linux-headers-4.13.8, the file is found. But Buildroot is pointing to a different set of headers, the one built into its GCC:
devuser#3faf730b4a1b:~/pc/buildroot-2018.02.7/output/build/util-linux-2.31.1$ ../../host/bin/i686-buildroot-linux-uclibc-gcc -print-sysroot
/home/devuser/pc/buildroot-2018.02.7/output/host/i686-buildroot-linux-uclibc/sysroot
devuser#3faf730b4a1b:~/pc/buildroot-2018.02.7/output/build/util-linux-2.31.1$
And the two /usr/include subdirectories are significantly different.
Have I missed a configuration setting somewhere in the defconfig file? This is the defconfig:
BR2_x86_core2=y
BR2_SSP_REGULAR=y
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_13=y
BR2_UCLIBC_CONFIG="board/pc/dsa_pc_i386_uclibc.config"
BR2_TOOLCHAIN_BUILDROOT_USE_SSP=y
BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_TARGET_GENERIC_GETTY_PORT="tty1"
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/pc/post-image.sh support/scripts/genimage.sh"
BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/pc/genimage-bios.cfg"
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.13.8"
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/pc/linux.config"
BR2_LINUX_KERNEL_INSTALL_TARGET=y
BR2_LINUX_KERNEL_EXT_XENOMAI=y
BR2_PACKAGE_BUSYBOX_CONFIG="board/pc/dsa_pc_i386_busybox.config"
BR2_PACKAGE_LINUX_FIRMWARE=y
BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_9170=y
BR2_PACKAGE_LINUX_FIRMWARE_ATHEROS_9271=y
BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_3160=y
BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_3168=y
BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_5000=y
BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_6000G2A=y
BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_6000G2B=y
BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_7260=y
BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_7265D=y
BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_8000C=y
BR2_PACKAGE_LINUX_FIRMWARE_IWLWIFI_8265=y
BR2_PACKAGE_LINUX_FIRMWARE_RALINK_RT73=y
BR2_PACKAGE_LINUX_FIRMWARE_RALINK_RT2XX=y
BR2_PACKAGE_LINUX_FIRMWARE_RTL_81XX=y
BR2_PACKAGE_LINUX_FIRMWARE_RTL_87XX=y
BR2_PACKAGE_LINUX_FIRMWARE_RTL_88XX=y
BR2_PACKAGE_LINUX_FIRMWARE_RTL_8169=y
BR2_PACKAGE_ACPID=y
BR2_PACKAGE_DBUS=y
BR2_PACKAGE_ZLIB=y
BR2_PACKAGE_LIBFFI=y
BR2_PACKAGE_PCRE=y
BR2_PACKAGE_PCRE_UCP=y
BR2_PACKAGE_READLINE=y
BR2_PACKAGE_WPA_SUPPLICANT=y
BR2_PACKAGE_WPA_SUPPLICANT_DBUS_NEW=y
BR2_PACKAGE_KMOD=y
BR2_PACKAGE_UTIL_LINUX=y
BR2_PACKAGE_UTIL_LINUX_LIBMOUNT=y
BR2_TARGET_ROOTFS_EXT2=y
BR2_TARGET_ROOTFS_EXT2_4=y
BR2_TARGET_ROOTFS_EXT2_SIZE="120M"
# BR2_TARGET_ROOTFS_TAR is not set
BR2_PACKAGE_HOST_GENIMAGE=y
Enable UCLIBC_HAS_BSD_ERR in uClibc.
You have a custom uClibc configuration. That falls squarely in the "you know what you are doing" category, since it allows you to remove features that other packages rely on.
In this case, util-linux relies on the non-Posix err.h include. This is only installed if UCLIBC_HAS_BSD_ERR is enabled in the uClibc configuration.
There is a high risk of running into similar issues with a custom uClibc configuration.

Cant successfully install SDL for Perl to make games

I have been teaching myself Perl after being introduced to the language during a programming module during my Bioinformatics Masters studies at the University of Liverpool, UK.
I have decided that for fun in my spare time I would practise my new skills building basic games and so have downloaded the SDL::Manual Writing Games in Perl pdf.
I have followed the instructions for installing SDL:
1.3 Installing SDL Perl
We assume the presence of a recent version of the Perl language (at least Perl 5.10) and supporting packages. We also assume that you can install packages from the CPAN, including SDL Perl itself.
1.3.1 Windows
Alien::SDL will install binaries for 32bit and 64bit so there is no need to compile anything.
I am using a windows machine.
In the command prompt I type "cpan Alien::SDL"
I have also tried :
1.3.4 CPAN install
Before installing SDL Perl, ensure that you have the most recent versions of the modulesnecessary to build SDL:
$ sudo cpan CPAN
$ sudo cpan YAML Module::Build
After these two steps CPAN will be able to install SDL:
$ sudo cpan SDL
When I try to run the first example script:
use strict;
use warnings;
use SDL;
use SDLx::App;
my $app = SDLx::App->new();
sleep( 2 );
I get this error:
Can't locate SDL.pm in #INC (you may need to install the SDL module) (#INC contains: C:/Perl/site/lib C:/Perl/lib .) at test.pl line 5.
BEGIN failed--compilation aborted at test.pl line 5.
I have searched for solutions online but have not found anything that works. I have tried installing strawberry perl and following the steps above with no success.
Thanks in advance for your help.
EDIT in response to comments:
I am running ActiveState Perl downloaded from www.activestate.com/activeperl/downloads
perl 5, version 24, subversion 1 (v5.24.1) built for MSWin32-x86-multi-thread-64int Binary build 2402 [401627]
After determining the location where cpan installed the module SDL by running cpan -D SDL it turned out the module has not yet installed.
Tried again to install the SDL module on Windows runnning "cpan SDL" in the command prompt but recieved this message at the end of the prompt:
Configuring F/FR/FROGGS/SDL-2.546.tar.gz with Build.PL
*************************** !!!WARNING!!! ********************************
This Release breaks back compatibility support with versions 2.4x and below
**************************************************************************
Using 'My::Builder::Windows' class ...
fileparse(): need a valid pathname at C:/Perl/lib/ExtUtils/CBuilder /Base.pm line 48.
Warning: No success on command[C:\Perl\bin\perl.exe Build.PL --installdirs=site]
FROGGS/SDL-2.546.tar.gz
C:\Perl\bin\perl.exe Build.PL --installdirs=site -- NOT OK
Edit No2 in Response to Answer from #Borodin
I used "cpan" to enter the program and get the cpan> prompt. Then tried:
cpan> install SDL
The failed install log is as below:
cpan> install SDL
Reading 'C:\Perl\cpan\Metadata'
Database was generated on Sun, 05 Mar 2017 16:17:03 GMT
Running install for module 'SDL'
Checksum for C:\Perl\cpan\sources\authors\id\F\FR\FROGGS\SDL-2.546.tar.gz ok
Scanning cache C:\Perl/cpan/build for sizes
.......--------------------------------------------------------------------- DONE
DEL(1/45): C:\Perl\cpan\build\Alien-SDL-1.446-Ry63hQ
DEL(2/45): C:\Perl\cpan\build\tmp-8260
DEL(3/45): C:\Perl\cpan\build\File-ShareDir-1.102-ZEDEAk
DEL(4/45): C:\Perl\cpan\build\Alien-SDL-1.446-uYw0HW.yml
DEL(5/45): C:\Perl\cpan\build\Alien-SDL-1.446-uYw0HW
DEL(6/45): C:\Perl\cpan\build\tmp-9900
DEL(7/45): C:\Perl\cpan\build\File-ShareDir-1.102-D3CWex
DEL(8/45): C:\Perl\cpan\build\Alien-SDL-1.446-8w1iMC
DEL(9/45): C:\Perl\cpan\build\File-ShareDir-Install-0.11-eZrfcU
DEL(10/45): C:\Perl\cpan\build\File-ShareDir-Install-0.11-eZrfcU.yml
DEL(11/45): C:\Perl\cpan\build\Class-Inspector-1.31-q85DoY
DEL(12/45): C:\Perl\cpan\build\Class-Inspector-1.31-q85DoY.yml
DEL(13/45): C:\Perl\cpan\build\File-ShareDir-1.102-0NJhW3
DEL(14/45): C:\Perl\cpan\build\File-ShareDir-1.102-0NJhW3.yml
DEL(15/45): C:\Perl\cpan\build\Alien-SDL-1.446-8w1iMC.yml
DEL(16/45): C:\Perl\cpan\build\SDL-2.546-uInIpE
DEL(17/45): C:\Perl\cpan\build\SDL-2.546-uInIpE.yml
DEL(18/45): C:\Perl\cpan\build\Alien-SDL-1.446-mjDNhS
DEL(19/45): C:\Perl\cpan\build\Alien-SDL-1.446-mjDNhS.yml
DEL(20/45): C:\Perl\cpan\build\Alien-SDL-1.446-bMFs_e
DEL(21/45): C:\Perl\cpan\build\Alien-SDL-1.446-bMFs_e.yml
DEL(22/45): C:\Perl\cpan\build\CPAN-2.16-dKjoJS
DEL(23/45): C:\Perl\cpan\build\CPAN-2.16-dKjoJS.yml
DEL(24/45): C:\Perl\cpan\build\SDL-2.546-PQW9_Y
DEL(25/45): C:\Perl\cpan\build\Alien-SDL-1.446-rcxZIw
DEL(26/45): C:\Perl\cpan\build\Alien-SDL-1.446-rcxZIw.yml
DEL(27/45): C:\Perl\cpan\build\SDL-2.546-PQW9_Y.yml
DEL(28/45): C:\Perl\cpan\build\SDL-2.546-1bjrml
DEL(29/45): C:\Perl\cpan\build\Alien-SDL-1.446-RHakeY
DEL(30/45): C:\Perl\cpan\build\Alien-SDL-1.446-RHakeY.yml
DEL(31/45): C:\Perl\cpan\build\SDL-2.546-1bjrml.yml
DEL(32/45): C:\Perl\cpan\build\Alien-SDL-1.446-c8W7Wx
DEL(33/45): C:\Perl\cpan\build\Alien-SDL-1.446-c8W7Wx.yml
DEL(34/45): C:\Perl\cpan\build\SDL-2.546-F3Cec8.yml
DEL(35/45): C:\Perl\cpan\build\SDL-2.546-F3Cec8
DEL(36/45): C:\Perl\cpan\build\tmp-3500
DEL(37/45): C:\Perl\cpan\build\Alien-SDL-1.446-4WCocG
DEL(38/45): C:\Perl\cpan\build\Alien-SDL-1.446-lm9Pyz
DEL(39/45): C:\Perl\cpan\build\Alien-SDL-1.446-lm9Pyz.yml
DEL(40/45): C:\Perl\cpan\build\Test-Deep-1.126-EbwC2Z
DEL(41/45): C:\Perl\cpan\build\Test-Deep-1.126-EbwC2Z.yml
DEL(42/45): C:\Perl\cpan\build\Test-Warn-0.32-NqNVqB
DEL(43/45): C:\Perl\cpan\build\Test-Warn-0.32-NqNVqB.yml
DEL(44/45): C:\Perl\cpan\build\Test-Most-0.35-MKUUN1
DEL(45/45): C:\Perl\cpan\build\Test-Most-0.35-MKUUN1.yml
SDL-2.546
SDL-2.546/INSTALL
SDL-2.546/META.yml
SDL-2.546/TODO
SDL-2.546/OFL.txt
SDL-2.546/typemap
SDL-2.546/META.json
SDL-2.546/CHANGELOG
SDL-2.546/MANIFEST
SDL-2.546/COPYING
SDL-2.546/OFL-FAQ.txt
SDL-2.546/Build.PL
SDL-2.546/lib
SDL-2.546/lib/SDL_perl.pm
SDL-2.546/lib/SDL.pm
SDL-2.546/lib/SDLx
SDL-2.546/lib/SDLx/Music.pm
SDL-2.546/lib/SDLx/Controller.pm
SDL-2.546/lib/SDLx/Validate.pm
SDL-2.546/lib/SDLx/Sprite.pm
SDL-2.546/lib/SDLx/SFont.pm
SDL-2.546/lib/SDLx/Layer.pm
SDL-2.546/lib/SDLx/Text.pm
SDL-2.546/lib/SDLx/Sound.pm
SDL-2.546/lib/SDLx/Surface.pm
SDL-2.546/lib/SDLx/App.pm
SDL-2.546/lib/SDLx/Rect.pm
SDL-2.546/lib/SDLx/TTF.pm
SDL-2.546/lib/SDLx/FPS.pm
SDL-2.546/lib/SDLx/LayerManager.pm
SDL-2.546/lib/SDLx/Sprite
SDL-2.546/lib/SDLx/Sprite/Animated.pm
SDL-2.546/lib/SDLx/Surface
SDL-2.546/lib/SDLx/Surface/TiedMatrixRow.pm
SDL-2.546/lib/SDLx/Surface/TiedMatrix.pm
SDL-2.546/lib/SDLx/Music
SDL-2.546/lib/SDLx/Music/Data.pm
SDL-2.546/lib/SDLx/Music/Default.pm
SDL-2.546/lib/SDLx/Controller
SDL-2.546/lib/SDLx/Controller/State.pm
SDL-2.546/lib/SDLx/Controller/Interface.pm
SDL-2.546/lib/SDLx/Controller/Timer.pm
SDL-2.546/lib/Module
SDL-2.546/lib/Module/Build
SDL-2.546/lib/Module/Build/SDL.pm
SDL-2.546/lib/SDL
SDL-2.546/lib/SDL/Event.pm
SDL-2.546/lib/SDL/Cursor.pm
SDL-2.546/lib/SDL/PixelFormat.pm
SDL-2.546/lib/SDL/Net.pm
SDL-2.546/lib/SDL/AudioCVT.pm
SDL-2.546/lib/SDL/Palette.pm
SDL-2.546/lib/SDL/Audio.pm
SDL-2.546/lib/SDL/Tutorial.pm
SDL-2.546/lib/SDL/Events.pm
SDL-2.546/lib/SDL/VideoInfo.pm
SDL-2.546/lib/SDL/Overlay.pm
SDL-2.546/lib/SDL/CDTrack.pm
SDL-2.546/lib/SDL/RWOps.pm
SDL-2.546/lib/SDL/AudioSpec.pm
SDL-2.546/lib/SDL/GFX.pm
SDL-2.546/lib/SDL/Constants.pm
SDL-2.546/lib/SDL/Time.pm
SDL-2.546/lib/SDL/MultiThread.pm
SDL-2.546/lib/SDL/Mixer.pm
SDL-2.546/lib/SDL/TTFont.pm
SDL-2.546/lib/SDL/SMPEG.pm
SDL-2.546/lib/SDL/Config.pm
SDL-2.546/lib/SDL/Mouse.pm
SDL-2.546/lib/SDL/Joystick.pm
SDL-2.546/lib/SDL/Image.pm
SDL-2.546/lib/SDL/Surface.pm
SDL-2.546/lib/SDL/Pango.pm
SDL-2.546/lib/SDL/Rect.pm
SDL-2.546/lib/SDL/TTF.pm
SDL-2.546/lib/SDL/Video.pm
SDL-2.546/lib/SDL/Color.pm
SDL-2.546/lib/SDL/CD.pm
SDL-2.546/lib/SDL/CDROM.pm
SDL-2.546/lib/SDL/Version.pm
SDL-2.546/lib/SDL/GFX
SDL-2.546/lib/SDL/GFX/Framerate.pm
SDL-2.546/lib/SDL/GFX/ImageFilter.pm
SDL-2.546/lib/SDL/GFX/FPSManager.pm
SDL-2.546/lib/SDL/GFX/BlitFunc.pm
SDL-2.546/lib/SDL/GFX/Rotozoom.pm
SDL-2.546/lib/SDL/GFX/Primitives.pm
SDL-2.546/lib/SDL/SMPEG
SDL-2.546/lib/SDL/SMPEG/Info.pm
SDL-2.546/lib/SDL/TTF
SDL-2.546/lib/SDL/TTF/Font.pm
SDL-2.546/lib/SDL/Pango
SDL-2.546/lib/SDL/Pango/Context.pm
SDL-2.546/lib/SDL/Tutorial
SDL-2.546/lib/SDL/Tutorial/Animation.pm
SDL-2.546/lib/SDL/Tutorial/LunarLander.pm
SDL-2.546/lib/SDL/Mixer
SDL-2.546/lib/SDL/Mixer/Music.pm
SDL-2.546/lib/SDL/Mixer/MixMusic.pm
SDL-2.546/lib/SDL/Mixer/Samples.pm
SDL-2.546/lib/SDL/Mixer/Channels.pm
SDL-2.546/lib/SDL/Mixer/Groups.pm
SDL-2.546/lib/SDL/Mixer/Effects.pm
SDL-2.546/lib/SDL/Mixer/MixChunk.pm
SDL-2.546/lib/SDL/Net
SDL-2.546/lib/SDL/Net/IPaddress.pm
SDL-2.546/lib/SDL/Net/TCP.pm
SDL-2.546/lib/SDL/Net/UDP.pm
SDL-2.546/lib/SDL/Internal
SDL-2.546/lib/SDL/Internal/Loader.pm
SDL-2.546/lib/pods
SDL-2.546/lib/pods/SDL.pod
SDL-2.546/lib/pods/SDLx
SDL-2.546/lib/pods/SDLx/Text.pod
SDL-2.546/lib/pods/SDLx/Surface.pod
SDL-2.546/lib/pods/SDLx/Sound.pod
SDL-2.546/lib/pods/SDLx/SFont.pod
SDL-2.546/lib/pods/SDLx/Rect.pod
SDL-2.546/lib/pods/SDLx/Music.pod
SDL-2.546/lib/pods/SDLx/App.pod
SDL-2.546/lib/pods/SDLx/Sprite.pod
SDL-2.546/lib/pods/SDLx/Controller.pod
SDL-2.546/lib/pods/SDLx/Layer.pod
SDL-2.546/lib/pods/SDLx/LayerManager.pod
SDL-2.546/lib/pods/SDLx/Sprite
SDL-2.546/lib/pods/SDLx/Sprite/Animated.pod
SDL-2.546/lib/pods/SDLx/Controller
SDL-2.546/lib/pods/SDLx/Controller/State.pod
SDL-2.546/lib/pods/SDLx/Controller/Interface.pod
SDL-2.546/lib/pods/SDL
SDL-2.546/lib/pods/SDL/Video.pod
SDL-2.546/lib/pods/SDL/RWOps.pod
SDL-2.546/lib/pods/SDL/Surface.pod
SDL-2.546/lib/pods/SDL/Overlay.pod
SDL-2.546/lib/pods/SDL/Rect.pod
SDL-2.546/lib/pods/SDL/Event.pod
SDL-2.546/lib/pods/SDL/Mixer.pod
SDL-2.546/lib/pods/SDL/Events.pod
SDL-2.546/lib/pods/SDL/CD.pod
SDL-2.546/lib/pods/SDL/Color.pod
SDL-2.546/lib/pods/SDL/AudioSpec.pod
SDL-2.546/lib/pods/SDL/CDROM.pod
SDL-2.546/lib/pods/SDL/Credits.pod
SDL-2.546/lib/pods/SDL/Time.pod
SDL-2.546/lib/pods/SDL/Joystick.pod
SDL-2.546/lib/pods/SDL/Version.pod
SDL-2.546/lib/pods/SDL/CDTrack.pod
SDL-2.546/lib/pods/SDL/Palette.pod
SDL-2.546/lib/pods/SDL/Audio.pod
SDL-2.546/lib/pods/SDL/Pango.pod
SDL-2.546/lib/pods/SDL/Platform.pod
SDL-2.546/lib/pods/SDL/Image.pod
SDL-2.546/lib/pods/SDL/MPEG.pod
SDL-2.546/lib/pods/SDL/Cursor.pod
SDL-2.546/lib/pods/SDL/Mouse.pod
SDL-2.546/lib/pods/SDL/Tutorial.pod
SDL-2.546/lib/pods/SDL/PixelFormat.pod
SDL-2.546/lib/pods/SDL/MultiThread.pod
SDL-2.546/lib/pods/SDL/AudioCVT.pod
SDL-2.546/lib/pods/SDL/Deprecated.pod
SDL-2.546/lib/pods/SDL/Cookbook.pod
SDL-2.546/lib/pods/SDL/TTF.pod
SDL-2.546/lib/pods/SDL/SMPEG.pod
SDL-2.546/lib/pods/SDL/VideoInfo.pod
SDL-2.546/lib/pods/SDL/GFX
SDL-2.546/lib/pods/SDL/GFX/ImageFilter.pod
SDL-2.546/lib/pods/SDL/GFX/BlitFunc.pod
SDL-2.546/lib/pods/SDL/GFX/Rotozoom.pod
SDL-2.546/lib/pods/SDL/GFX/FPSManager.pod
SDL-2.546/lib/pods/SDL/GFX/Primitives.pod
SDL-2.546/lib/pods/SDL/GFX/Framerate.pod
SDL-2.546/lib/pods/SDL/TTF
SDL-2.546/lib/pods/SDL/TTF/Font.pod
SDL-2.546/lib/pods/SDL/Pango
SDL-2.546/lib/pods/SDL/Pango/Context.pod
SDL-2.546/lib/pods/SDL/Tutorial
SDL-2.546/lib/pods/SDL/Tutorial/Animation.pod
SDL-2.546/lib/pods/SDL/Tutorial/LunarLander.pod
SDL-2.546/lib/pods/SDL/Mixer
SDL-2.546/lib/pods/SDL/Mixer/Samples.pod
SDL-2.546/lib/pods/SDL/Mixer/MixMusic.pod
SDL-2.546/lib/pods/SDL/Mixer/Effects.pod
SDL-2.546/lib/pods/SDL/Mixer/Music.pod
SDL-2.546/lib/pods/SDL/Mixer/Groups.pod
SDL-2.546/lib/pods/SDL/Mixer/MixChunk.pod
SDL-2.546/lib/pods/SDL/Mixer/Channels.pod
SDL-2.546/lib/pods/SDL/Cookbook
SDL-2.546/lib/pods/SDL/Cookbook/PDL.pod
SDL-2.546/lib/pods/SDL/Cookbook/OpenGL.pod
SDL-2.546/MacOSX
SDL-2.546/MacOSX/Makefile.test
SDL-2.546/MacOSX/Info.plist
SDL-2.546/MacOSX/main.c
SDL-2.546/MacOSX/SDLPerl.icns
SDL-2.546/share
SDL-2.546/share/GenBasR.ttf
SDL-2.546/scripts
SDL-2.546/scripts/gl_const.pl
SDL-2.546/scripts/auto_constants.pl
SDL-2.546/scripts/const.pl
SDL-2.546/scripts/SDLpp.pl
SDL-2.546/scripts/MultiThreadPOC.pl
SDL-2.546/scripts/sdl_const.pl
SDL-2.546/scripts/sdl_module_maker.pl
SDL-2.546/test
SDL-2.546/test/data
SDL-2.546/test/data/README
SDL-2.546/test/data/chest.png
SDL-2.546/test/data/electrohar.ttf
SDL-2.546/test/data/font.bmp
SDL-2.546/test/data/logo.png
SDL-2.546/test/data/font.png
SDL-2.546/test/data/highlight.png
SDL-2.546/test/data/5x7.fnt
SDL-2.546/test/data/icon.bmp
SDL-2.546/test/data/hero.bmp
SDL-2.546/test/data/LargeFont.bmp
SDL-2.546/test/data/picture.jpg
SDL-2.546/test/data/menu.png
SDL-2.546/test/data/sample.wav
SDL-2.546/test/data/24P_Arial_NeonYellow.png
SDL-2.546/test/data/wood_dark.png
SDL-2.546/test/data/silence.wav
SDL-2.546/test/data/hero.png
SDL-2.546/test/data/24P_Copperplate_Blue.png
SDL-2.546/test/data/pattern_red_white_2x2.bmp
SDL-2.546/test/data/test-mpeg.mpg
SDL-2.546/test/data/picture.tif
SDL-2.546/test/data/wood_light.png
SDL-2.546/test/data/tribe_i.wav
SDL-2.546/test/data/picture.bmp
SDL-2.546/test/data/button_light.png
SDL-2.546/test/data/button_dark.png
SDL-2.546/inc
SDL-2.546/inc/My
SDL-2.546/inc/My/Builder.pm
SDL-2.546/inc/My/Builder
SDL-2.546/inc/My/Builder/Unix.pm
SDL-2.546/inc/My/Builder/Windows.pm
SDL-2.546/inc/My/Builder/Darwin.pm
SDL-2.546/src
SDL-2.546/src/SMPEG.xs
SDL-2.546/src/SDL.xs
SDL-2.546/src/Image.xs
SDL-2.546/src/helper.h
SDL-2.546/src/defines.h
SDL-2.546/src/ppport.h
SDL-2.546/src/GFX
SDL-2.546/src/GFX/README
SDL-2.546/src/GFX/Primitives.xs
SDL-2.546/src/GFX/Framerate.xs
SDL-2.546/src/GFX/BlitFunc.xs
SDL-2.546/src/GFX/GFX.xs
SDL-2.546/src/GFX/Rotozoom.xs
SDL-2.546/src/GFX/FPSManager.xs
SDL-2.546/src/GFX/CHANGELOG
SDL-2.546/src/GFX/ImageFilter.xs
SDL-2.546/src/SMPEG
SDL-2.546/src/SMPEG/Info.xs
SDL-2.546/src/TTF
SDL-2.546/src/TTF/README
SDL-2.546/src/TTF/TTF.xs
SDL-2.546/src/TTF/objects
SDL-2.546/src/TTF/objects/Font.xs
SDL-2.546/src/Pango
SDL-2.546/src/Pango/Pango.xs
SDL-2.546/src/Pango/objects
SDL-2.546/src/Pango/objects/Context.xs
SDL-2.546/src/SDLx
SDL-2.546/src/SDLx/Timer.h
SDL-2.546/src/SDLx/Layer.h
SDL-2.546/src/SDLx/SFont.xs
SDL-2.546/src/SDLx/Validate.h
SDL-2.546/src/SDLx/LayerManager.h
SDL-2.546/src/SDLx/Validate.xs
SDL-2.546/src/SDLx/SFont.h
SDL-2.546/src/SDLx/LayerManager.xs
SDL-2.546/src/SDLx/Layer.xs
SDL-2.546/src/SDLx/Surface.xs
SDL-2.546/src/SDLx/Timer.xs
SDL-2.546/src/SDLx/Controller
SDL-2.546/src/SDLx/Controller/Interface.h
SDL-2.546/src/SDLx/Controller/Interface.xs
SDL-2.546/src/SDLx/Controller/State.xs
SDL-2.546/src/Mixer
SDL-2.546/src/Mixer/README
SDL-2.546/src/Mixer/Music.xs
SDL-2.546/src/Mixer/Groups.xs
SDL-2.546/src/Mixer/Effects.xs
SDL-2.546/src/Mixer/Channels.xs
SDL-2.546/src/Mixer/Samples.xs
SDL-2.546/src/Mixer/Mixer.xs
SDL-2.546/src/Mixer/objects
SDL-2.546/src/Mixer/objects/MixChunk.xs
SDL-2.546/src/Mixer/objects/MixMusic.xs
SDL-2.546/src/support
SDL-2.546/src/support/darwin_support.h
SDL-2.546/src/support/win32.c
SDL-2.546/src/support/darwin_support.m
SDL-2.546/src/Core
SDL-2.546/src/Core/MultiThread.xs
SDL-2.546/src/Core/CDROM.xs
SDL-2.546/src/Core/Video.xs
SDL-2.546/src/Core/Joystick.xs
SDL-2.546/src/Core/Audio.xs
SDL-2.546/src/Core/Mouse.xs
SDL-2.546/src/Core/Time.xs
SDL-2.546/src/Core/Events.xs
SDL-2.546/src/Core/objects
SDL-2.546/src/Core/objects/VideoInfo.xs
SDL-2.546/src/Core/objects/AudioCVT.xs
SDL-2.546/src/Core/objects/CDTrack.xs
SDL-2.546/src/Core/objects/CD.xs
SDL-2.546/src/Core/objects/AudioSpec.xs
SDL-2.546/src/Core/objects/Event.xs
SDL-2.546/src/Core/objects/RWOps.xs
SDL-2.546/src/Core/objects/typemap
SDL-2.546/src/Core/objects/Version.xs
SDL-2.546/src/Core/objects/Overlay.xs
SDL-2.546/src/Core/objects/Color.xs
SDL-2.546/src/Core/objects/Rect.xs
SDL-2.546/src/Core/objects/Palette.xs
SDL-2.546/src/Core/objects/Surface.xs
SDL-2.546/src/Core/objects/keysym.xs
SDL-2.546/src/Core/objects/Cursor.xs
SDL-2.546/src/Core/objects/PixelFormat.xs
SDL-2.546/examples
SDL-2.546/examples/GFX
SDL-2.546/examples/GFX/script_roto.pl
SDL-2.546/examples/cookbook
SDL-2.546/examples/cookbook/pogl_sdl_texture.pl
SDL-2.546/examples/cookbook/1.pl
SDL-2.546/examples/cookbook/openglapp.pl
SDL-2.546/examples/cookbook/pdl.pl
SDL-2.546/examples/SDLx
SDL-2.546/examples/SDLx/SDLx_text_zoom.pl
SDL-2.546/examples/SDLx/SDLx_controller_two_squares.pl
SDL-2.546/examples/SDLx/SDLx_LayerManager_Chess.pl
SDL-2.546/examples/SDLx/SDLx_text.pl
SDL-2.546/examples/SDLx/SDLx_text_wordwrap.pl
SDL-2.546/examples/SDLx/app.pl
SDL-2.546/examples/SDLx/SDLx_C_Interface.pl
SDL-2.546/examples/SDLx/SDLx_sprite.pl
SDL-2.546/examples/SDLx/SDLx_text_styles.pl
SDL-2.546/examples/SDLx/SDLx_Sound.pl
SDL-2.546/examples/SDLx/SDLx_text_shadow.pl
SDL-2.546/examples/SDLx/pong.pl
SDL-2.546/examples/SDLx/music.pl
SDL-2.546/examples/SDLx/SDLx_sprite_animated.pl
SDL-2.546/examples/pixel_operations
SDL-2.546/examples/pixel_operations/starry.pl
SDL-2.546/examples/pixel_operations/tie_matrix.pl
SDL-2.546/examples/pixel_operations/fast_pixel_write.pl
SDL-2.546/examples/pixel_operations/sols
SDL-2.546/examples/pixel_operations/sols/ch02.pl
SDL-2.546/t
SDL-2.546/t/sdlx_sprite.t
SDL-2.546/t/sdlx_app.t
SDL-2.546/t/mixer_mixchunk.t
SDL-2.546/t/gfx_primitives2.t
SDL-2.546/t/core_video.t
SDL-2.546/t/core_cd.t
SDL-2.546/t/core_multi.t
SDL-2.546/t/core_video_convert_surface.t
SDL-2.546/t/sdlx_text.t
SDL-2.546/t/core_rect.t
SDL-2.546/t/image.t
SDL-2.546/t/core_error.t
SDL-2.546/t/pango.t
SDL-2.546/t/core_rwops.t
SDL-2.546/t/gfx_framerate.t
SDL-2.546/t/extendingrect.t
SDL-2.546/t/core_palette.t
SDL-2.546/t/core_audiospec.t
SDL-2.546/t/core_timer.t
SDL-2.546/t/ttf.t
SDL-2.546/t/gfx_imagefilter.t
SDL-2.546/t/00-load.t
SDL-2.546/t/image_xpm_array.t
SDL-2.546/t/core_joystick.t
SDL-2.546/t/sdlx_sprite_animated.t
SDL-2.546/t/sdlx_controller.t
SDL-2.546/t/core_audio.t
SDL-2.546/t/gfx_rotozoom.t
SDL-2.546/t/gfx_fpsmanager.t
SDL-2.546/t/colorpm.t
SDL-2.546/t/mixer_channels.t
SDL-2.546/t/sdlx_sfont.t
SDL-2.546/t/core_surface.t
SDL-2.546/t/sdlx_fps.t
SDL-2.546/t/sdlx_music.t
SDL-2.546/t/mixer_music.t
SDL-2.546/t/sdlx_controller_interface.t
SDL-2.546/t/core_version.t
SDL-2.546/t/mixer.t
SDL-2.546/t/mixer_mixmusic.t
SDL-2.546/t/sdlx_validate.t
SDL-2.546/t/sdlx_layermanager.t
SDL-2.546/t/mixer_effects.t
SDL-2.546/t/mixer_samples.t
SDL-2.546/t/core_overlay.t
SDL-2.546/t/sdlx_surface.t
SDL-2.546/t/core_mouse.t
SDL-2.546/t/ttf_font.t
SDL-2.546/t/gfx_primitives.t
SDL-2.546/t/gfx.t
SDL-2.546/t/sdlx_rect.t
SDL-2.546/t/sdlgamerect.t
SDL-2.546/t/sdlx_sound.t
SDL-2.546/t/core.t
SDL-2.546/t/smpeg.t
SDL-2.546/t/config.t
SDL-2.546/t/core_events.t
SDL-2.546/t/mixer_groups.t
SDL-2.546/t/core_video_gamma.t
SDL-2.546/t/lib
SDL-2.546/t/lib/SDL
SDL-2.546/t/lib/SDL/TestTool.pm
Configuring F/FR/FROGGS/SDL-2.546.tar.gz with Build.PL
*************************** !!!WARNING!!! ********************************
This Release breaks back compatibility support with versions 2.4x and below
**************************************************************************
Using 'My::Builder::Windows' class ...
fileparse(): need a valid pathname at C:/Perl/lib/ExtUtils/CBuilder/Base.pm line 48.
Warning: No success on command[C:\Perl\bin\perl.exe Build.PL --installdirs=site]
FROGGS/SDL-2.546.tar.gz
C:\Perl\bin\perl.exe Build.PL --installdirs=site -- NOT OK
SDL installs just fine for me on ActivePerl
Regarding Alien::SDL, that is the SDL binaries which the main SDL module requires. It also needs a bunch of other stuff, but cpan should install all of that for you
I recommend that you use the cpan to enter the program and get the cpan> prompt. Then try
cpan> install SDL
It should test and install any modules that you need and finally SDL itself
If it fails, then please add the failed install log to your question
Recommend installing in Ubuntu, SDL installs without trouble there. If you don't want to switch, try Ubuntu on a USB stick: https://www.ubuntu.com/download/desktop/create-a-usb-stick-on-windows

SonarQube 5.1 PAM - no jpam in java.library.path

I'm unable to use PAM plugin on SonarQube 5.1 on Debian 8 (64bit).
I did setup according to https://github.com/SonarCommunity/sonar-pam and still getting following error during login:
Java::JavaLang::UnsatisfiedLinkError (no jpam in java.library.path):
java.lang.ClassLoader.loadLibrary(ClassLoader.java:1886)
java.lang.Runtime.loadLibrary0(Runtime.java:849)
java.lang.System.loadLibrary(System.java:1088)
net.sf.jpam.Pam.<clinit>(Pam.java:51)
org.sonar.plugins.pam.PamConfiguration.newInstance(PamConfiguration.java:61)
org.sonar.plugins.pam.PamConfiguration.getPAM(PamConfiguration.java:49)
org.sonar.plugins.pam.PamAuthenticator.authenticate(PamAuthenticator.java:45)
org.sonar.api.security.SecurityRealm$1.doAuthenticate(SecurityRealm.java:60)
Here's setup (sonar is located at /var/lib/sonarqube-5.1):
/var/lib/sonarqube-5.1/lib/JPam-1.1.jar
native libs (64bit and 32bit) have been put to /var/lib/sonarqube-5.1/bin/linux-x86-64/lib/libjpam.so and /var/lib/sonarqube-5.1/bin/linux-x86-32/lib/libjpam.so (just for sure in case sonar was run as 32bit)
All directories leading to native libraries and libraries themselves have +rx access
Any idea what can be causing problem?
I'd print the java.library.path variable. The only thing I can think of is that the jpam lib is in the wrong place or there is an issue with permissions. (Did you check the SonarQube user can actually read that file?)
UPDATE
Check java.library.path in Settings->System Info page
Move jpam lib to one of those paths

net-snmp TUT:Writing a MIB Module doesn't work

I just follow the net-snmp tutorial step by step, I really can't get the right result.
here is the link
HERE
I'm facing the same problem, I even didn't pass the tutorial.
here are my details:
my configure command:
./configure --with-default-snmp-version="3" --with-sys-contact="##no.where" --with-sys-location="Unknown" --with-logfile="/var/log/snmpd.log" --with-persistent-directory="/var/net-snmp" --with-mib-modules="nstAgentModuleObject"
after configuration:
part of the ./configure output
checking for and configuring mib modules to use... nstAgentModuleObject default_modules.
nstAgentModuleObject default_modules snmpv3mibs mibII ucd_snmp notification notification-log-mib target agent_mibs agentx dism
and after all:
---------------------------------------------------------
Net-SNMP configuration summary:
---------------------------------------------------------
SNMP Versions Supported: 1 2c 3
Building for: linux
Net-SNMP Version: 5.7.2.1
Network transport support: Callback Unix Alias TCP UDP IPv4Base SocketBase TCPBase UDPIPv4Base UDPBase
SNMPv3 Security Modules: usm
Agent MIB code: nstAgentModuleObject default_modules => snmpv3mibs mibII ucd_snmp notification notification-log-mib target agent_mibs agentx disman/event disman/schedule utilities host
MYSQL Trap Logging: unavailable
Embedded Perl support: enabled
SNMP Perl modules: building -- embeddable
SNMP Python modules: disabled
Crypto support from: internal
Authentication support: MD5 SHA1
Encryption support: DES AES
Local DNSSEC validation: disabled
I used nm to check whether the function has been compiled into the library.
akamai#JNdev:~/Workspace/net-snmp-5.7.2.1/net-snmp-5.7.2.1/agent/.libs$ nm libnetsnmpmibs.so | grep init_nst
00000000000331c0 T init_nstAgentModuleObject

Resources