User Tools

Site Tools


operating_systems:linux:debian:acdsn-ac

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
operating_systems:linux:debian:acdsn-ac [2012/09/10 06:51] sbolayoperating_systems:linux:debian:acdsn-ac [2012/11/03 21:08] – [Windows] sbolay
Line 4: Line 4:
  
 ===== Source ===== ===== Source =====
 +==== Mac ====
 +Update to a threaded perlbrew version
 +  * http://www.perlmonks.org/?node_id=953822
 ==== Windows ==== ==== Windows ====
 <note important> <note important>
-This described the compilation done on a Mac OSX 10.6.8, 2GHz Intel Core Duo,\\+This describe the compilation done on a Mac OSX 10.6.8, 2GHz Intel Core Duo,\\
 with windows XP (EN) Pro SP2 running on Parallels Desktop (Build 6.0.12106).\\ with windows XP (EN) Pro SP2 running on Parallels Desktop (Build 6.0.12106).\\
 So, This is a 32 bit version! So, This is a 32 bit version!
 +</note>
 +<note important>
 +We also tested the compilation on a Mac OSX 10.8, 2.7GHz Intel Core i5,\\
 +with windows 7 (EN) Ultimate running on Parallels Desktop (Build 7.0.15107).\\
 +So, This is a 64 bit version!
 </note> </note>
  
Line 31: Line 39:
 $ make install $ make install
 </code> </code>
 +
 +Compile and install [[http://pkgconfig.freedesktop.org/releases/pkg-config-0.27.tar.gz|pkg-config]] in the C:/tmp/pkg-config-0.27 directory FIXME
 +<code bash>
 +Administrator@prive /c/tmp/pkg-config-0.27
 +$ ./configure
 +
 +Administrator@prive /c/tmp/pkg-config-0.27
 +$ make
 +
 +Administrator@prive /c/tmp/pkg-config-0.27 
 +$ make install
 +</code>
 +
 +<code bash>
 +checking for pkg-config... no
 +./configure: line 13506: --exists: command not found
 +configure: error: pkg-config and "glib-2.0 >= 2.16" not found, please set GLIB_C
 +FLAGS and GLIB_LIBS to the correct values or pass --with-internal-glib to config
 +ure
 +
 +</code>
 +
 +Download pkg-config from http://www.gtk.org/download/win64.php
 +Download pkg-config, gettext and glib2 from the GTK project. Unzip the files and install them under /MinGW/bin
 +
 +THIS WORKS: 
 + all-in-one bundles of the GTK+ stack including 3rd-party dependencies, both of GTK+ 2.16 
  
 === Strawberry Perl === === Strawberry Perl ===
 +
 +Define a local library area `Start > Strawberry Perl > Tools > Create local library areas`:
 +<code>
 +Do you wish to install future modules in a local area? [y/N] y
 +Where do you want to install modules? [C:\DOCUME~1\ADMINI~1\perl5] C:\perl5
 +</code>
  
 Check path Check path
 <code dos> <code dos>
-C:\WINDOWS>set path=%path%;C:\perl5\bin+C:\WINDOWS>set path=%path%;C:\perl5\bin;C:\MinGW\bin
 </code> </code>
  
Line 50: Line 91:
 C:\>cpan Wx C:\>cpan Wx
 </code> </code>
 +
 +Install ExtUtils::PkgConfig
 +<code dos>
 +C:\>cpanm ExtUtils::PkgConfig
 +</code>
 +
 +C:\tmp\Conf-Libconfig-0.06>perl Makefile.PL LIBS=-LC:/libconfig/lib INC=-IC:/lib
 +config/include
 +Package libconfig was not found in the pkg-config search path.
 +Perhaps you should add the directory containing `libconfig.pc'
 +to the PKG_CONFIG_PATH environment variable
 +No package 'libconfig' found
 +
 +
 +C:\tmp\Conf-Libconfig-0.06>set PKG_CONFIG_PATH=C:\libconfig\lib\pkgconfig
 +
 +
  
 Install Conf::Libconfig (from [[http://search.cpan.org/CPAN/authors/id/C/CN/CNANGEL/Conf-Libconfig-0.06.tar.gz|source]]) Install Conf::Libconfig (from [[http://search.cpan.org/CPAN/authors/id/C/CN/CNANGEL/Conf-Libconfig-0.06.tar.gz|source]])
Line 75: Line 133:
 </code> </code>
  
 +If your get such lines:
 +<code dos>
 +Can't load 'C:/strawberry/perl/site/lib/auto/Conf/Libconfig/Libconfig.dll'
 +</code>
 Add the missing dll Add the missing dll
-  * copy libconfig-9.dll and libconfig++-9.dll from C:\libconfig\bin into C:\perl5\lib\perl5\MSWin32-x86-multi-thread\auto\Conf\Libconfig+  * copy libconfig-9.dll and libconfig++-9.dll from C:\libconfig\bin into C:/strawberry/perl/site/lib/auto/Conf/Libconfig/
  
 Install Win32::SerialPort Install Win32::SerialPort
 +
 +If in a virtual machine, be sure that you have a COM port available. Otherwise the package will fail during testing procedure.
 <code dos> <code dos>
 C:\WINDOWS>cpan Win32::SerialPort C:\WINDOWS>cpan Win32::SerialPort
 </code> </code>
 +or if you do not have a serial port,
 +<code dos>
 +cpan> notest install Win32::SerialPort
 +</code>
 +
 +C:\tmp\Conf-Libconfig-0.06>cpan Smart::Comments
  
 Needed for Par Packer Needed for Par Packer
Line 100: Line 170:
  
 OK, There is a bug((https://rt.cpan.org/Public/Bug/Display.html?id=75636)) OK, There is a bug((https://rt.cpan.org/Public/Bug/Display.html?id=75636))
 +
 +
 +
 +Mingw
 +sbolay@WIN7-64 /c/strawberry/cpan/build
 +$ patch -p0 < PAR-Packer-1.013_V2.diff
 +patching file 'PAR-Packer-1.013\myldr\Makefile.PL'
 +patching file 'PAR-Packer-1.013\myldr\winres\pp.rc'
 +patch unexpectedly ends in middle of line
 +
 +Strawberry
 +perl Makefile.PL
 +dmake test
 +dmake install
 +
 +Strawberry Perl 5.16.1.1-32bit README
 +=====================================
 +
 +and now 
 +Strawberry Perl (64-bit) 5.16.1.1-64bit README
 +=====================================
 +
 +http://www.dependencywalker.com
 +http://asciiville.com/musings/par-packer-for-strawberry-perl-516
 +
 +Some packages can be downloaded from [[http://www.gtk.org/download/index.php|gtk.org]]