in reply to Re^2: Cannot find SDL library with PPM
in thread Cannot find SDL library with PPM

sure, here it is:

Summary of my perl5 (revision 5 version 24 subversion 1) configuration +: Platform: osname=MSWin32, osvers=6.1, archname=MSWin32-x86-multi-thread-64in +t uname='' config_args='undef' hint=recommended, useposix=true, d_sigaction=undef useithreads=define, usemultiplicity=define use64bitint=define, use64bitall=undef, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='C:\Perl\site\bin\gcc.exe', ccflags =' -s -O2 -DWIN32 -DPERL_TE +XTMODE_SCRIPTS -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMP +LICIT_SYS -fwrapv -fno-strict-aliasing -mms-bitfields', optimize='-s -O2', cppflags='-DWIN32' ccversion='', gccversion='4.6.3', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678 +, doublekind=3 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=1 +2, longdblkind=3 ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='lo +ng long', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='C:\Perl\site\bin\g++.exe', ldflags ='-s -static-libgcc -static +-libstdc++ -L"C:\Perl\lib\CORE" -L"C:\MinGW\i686-w64-mingw32\lib"' libpth=C:\MinGW\i686-w64-mingw32\lib libs=-lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 +-ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -l +mpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32 perllibs=-lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdl +g32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_3 +2 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32 libc=, so=dll, useshrplib=true, libperl=libperl524.a gnulibc_version='' Dynamic Linking: dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags='-mdll -s -static-libgcc -static-libstdc +++ -L"C:\Perl\lib\CORE" -L"C:\MinGW\i686-w64-mingw32\lib"' Characteristics of this binary (from libperl): Compile-time options: HAS_TIMES HAVE_INTERP_INTERN MULTIPLICITY PERLIO_LAYERS PERL_COPY_ON_WRITE PERL_DONT_CREATE_GVSV PERL_HASH_FUNC_ONE_AT_A_TIME_HARD PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS PERL_MALLOC_WRAP PERL_PRESERVE_IVUV USE_64_BIT +_INT USE_ITHREADS USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_LOCALE_TIME USE_PERLIO USE_PERL_ATOF USE_SITECUSTOMIZE Locally applied patches: ActivePerl Build 2402 [401627] Built under MSWin32 Compiled at Jan 5 2017 01:57:19 @INC: C:/Perl/site/lib C:/Perl/lib . C:\Strawberry\codes>perl -V Summary of my perl5 (revision 5 version 24 subversion 1) configuration +: Platform: osname=MSWin32, osvers=6.1, archname=MSWin32-x86-multi-thread-64in +t uname='' config_args='undef' hint=recommended, useposix=true, d_sigaction=undef useithreads=define, usemultiplicity=define use64bitint=define, use64bitall=undef, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='C:\Perl\site\bin\gcc.exe', ccflags =' -s -O2 -DWIN32 -DPERL_TE +XTMODE_SCRIPTS -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMP +LICIT_SYS -fwrapv -fno-strict-aliasing -mms-bitfields', optimize='-s -O2', cppflags='-DWIN32' ccversion='', gccversion='4.6.3', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678 +, doublekind=3 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=1 +2, longdblkind=3 ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='lo +ng long', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='C:\Perl\site\bin\g++.exe', ldflags ='-s -static-libgcc -static +-libstdc++ -L"C:\Perl\lib\CORE" -L"C:\MinGW\i686-w64-mingw32\lib"' libpth=C:\MinGW\i686-w64-mingw32\lib libs=-lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 +-ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -l +mpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32 perllibs=-lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdl +g32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_3 +2 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32 libc=, so=dll, useshrplib=true, libperl=libperl524.a gnulibc_version='' Dynamic Linking: dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags='-mdll -s -static-libgcc -static-libstdc +++ -L"C:\Perl\lib\CORE" -L"C:\MinGW\i686-w64-mingw32\lib"' Characteristics of this binary (from libperl): Compile-time options: HAS_TIMES HAVE_INTERP_INTERN MULTIPLICITY PERLIO_LAYERS PERL_COPY_ON_WRITE PERL_DONT_CREATE_GVSV PERL_HASH_FUNC_ONE_AT_A_TIME_HARD PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS PERL_MALLOC_WRAP PERL_PRESERVE_IVUV USE_64_BIT +_INT USE_ITHREADS USE_LARGE_FILES USE_LOCALE USE_LOCALE_COLLATE USE_LOCALE_CTYPE USE_LOCALE_NUMERIC USE_LOCALE_TIME USE_PERLIO USE_PERL_ATOF USE_SITECUSTOMIZE Locally applied patches: ActivePerl Build 2402 [401627] Built under MSWin32 Compiled at Jan 5 2017 01:57:19 @INC: C:/Perl/site/lib C:/Perl/lib .

Replies are listed 'Best First'.
Re^4: Cannot find SDL library with PPM
by syphilis (Archbishop) on Feb 02, 2020 at 22:58 UTC
    Ok - thanks for the perl -V output.
    You have ActivePerl 5.24.1, for which a ppm package exists at the sisyphusion repo.

    Try these commands:
    ppm install http://www.sisyphusion.tk/ppm/PPM-Sisyphusion.ppd ppm install http://www.sisyphusion.tk/ppm/Class-Inspector.ppd ppm install http://www.sisyphusion.tk/ppm/Capture-Tiny.ppd ppm install http://www.sisyphusion.tk/ppm/File-ShareDir.ppd ppm install http://www.sisyphusion.tk/ppm/Alien-SDL.ppd ppm install http://www.sisyphusion.tk/ppm/SDL.ppd
    Those commands should all be successful. (Let me know if that's not the case.)

    Then run perl -MSDL -le "print $SDL::VERSION;"
    If I haven't missed a dependency, that should output "2.546", and you should be set to go.

    If you can find out how to add http://www.sisyphusion.tk/ppm/ to your ppm's repo list, you could just do:
    ppm install SDL
    which will install the dependencies as well. (If it fails to pick up the PPM-Sisyphusion dependency, then you'll also have to run ppm install PPM-Sisyphusion

    Cheers,
    Rob

      the following command failed: ppm install http://www.sisyphusion.tk/ppm/Class-Inspector.ppd, it reads:

      C:\Strawberry\codes>ppm install http://www.sisyphusion.tk/ppm/Class-In +spector.ppd Downloading Class-Inspector-1.28...done Unpacking Class-Inspector-1.28...done Generating HTML for Class-Inspector-1.28...done Updating files in site area...failed ppm install failed: File conflict for 'C:/Perl/site/bin/lib530pthread- +1.dll'. The package PPM-Sisyphusion has already installed a file that pack +age Class-Inspector wants to install. Uninstall PPM-Sisyphusion, or use --force to all +ow files to be overwritten.

      The rest of the commands i haven't used yet.

        Uninstall PPM-Sisyphusion, or use --force to allow files to be overwritten

        Either way should work.
        PPM won't overwrite a file of the same name - even if it's identical (as will always be the case with my ppm installations).
        It looks like Class-Inspector is going to install its own files plus the ones that PPM-Sisyphusion did, so I'd probably run:
        ppm uninstall http://www.sisyphusion.tk/ppm/PPM-Sisyphusion.ppd and then the other commands: ppm install http://www.sisyphusion.tk/ppm/Class-Inspector.ppd ppm install http://www.sisyphusion.tk/ppm/Capture-Tiny.ppd ppm install http://www.sisyphusion.tk/ppm/File-ShareDir.ppd ppm install http://www.sisyphusion.tk/ppm/Alien-SDL.ppd ppm install http://www.sisyphusion.tk/ppm/SDL.ppd
        I'll be off-line now for a few hours - but I'll pick up again in the morning when I wake up.
        Hopefully it'll be plain sailing from here, anyway.

        Cheers,
        Rob