User Tools

Site Tools


acdsn:acdsn-a

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
acdsn:acdsn-a [2012/12/26 19:56] sbolayacdsn:acdsn-a [2013/08/19 08:43] (current) – [Source compilation] sbolay
Line 1: Line 1:
-====== ACDSN-AC ====== +====== ACDSN-====== 
-This is the [[ACDSN]] Access Client (ACDSN-AC) interface used to manage units,+This is the [[ACDSN]] Access Client (ACDSN-A) interface used to manage units,
 users and rights on NiX1 through the ACDSN daemon. users and rights on NiX1 through the ACDSN daemon.
  
-===== Source ===== +===== Source compilation ===== 
-==== Mac ==== +  * [[acdsn:acdsn-a:MAC]] 
-Update to a threaded perlbrew version +  * [[acdsn:acdsn-a:Linux]] 
-  * http://www.perlmonks.org/?node_id=953822 +  [[acdsn:acdsn-a:Windows]]
-==== Windows ==== +
-<note important> +
-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).\\ +
-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> +
- +
-Check that the Environment variable is empty +
-  * MyComputer->Properties->Advanced->Environment Variables->PATH="" +
- +
-Download and install MinGW +
-  * [[http://www.mingw.org/|MinGW]] +
-Download and install Strawberry perl +
-  * [[http://strawberry-perl.googlecode.com/files/strawberry-perl-5.16.1.1-32bit.msi|strawberry-perl-5.16.1.1-32bit.msi]] +
- +
-=== MinGW === +
-Compile and install [[http://www.hyperrealm.com/libconfig/libconfig-1.4.8.tar.gz|libconfig]] in the C:/libconfig directory +
-<code bash> +
-Administrator@prive /c/tmp/libconfig-1.4.8/libconfig-1.4.8 +
-$ ./configure --prefix=C:/libconfig +
- +
-Administrator@prive /c/tmp/libconfig-1.4.8/libconfig-1.4.8 +
-$ make +
- +
-Administrator@prive /c/tmp/libconfig-1.4.8/libconfig-1.4.8 +
-$ make install +
-</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 === +
- +
-Define 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+
-Where do you want to install modules? [C:\DOCUME~1\ADMINI~1\perl5C:\perl5 +
-</code> +
- +
-Check path +
-<code dos> +
-C:\WINDOWS>set path=%path%;C:\perl5\bin;C:\MinGW\bin +
-</code> +
- +
-Update CPAN modules((http://stackoverflow.com/questions/3727795/how-do-i-update-all-my-cpan-module-to-their-latest-versions)) +
-<code dos> +
-C:\>cpan App::cpanminus +
-C:\>cpanm App::cpanoutdated +
-C:\>cpan-outdated -p | cpanm +
-</code> +
- +
-Install Wx +
-<code dos> +
-C:\>cpan Wx +
-</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]]) +
-<code dos> +
-C:\tmp\Conf-Libconfig-0.06>perl Makefile.PL LIBS=-LC:/libconfig/lib INC=-IC:/libconfig/include +
-C:\tmp\Conf-Libconfig-0.06>dmake +
-</code> +
- +
-If your get such lines: +
-<code dos> +
-Libconfig.o:Libconfig.c:(.text+0xe6): undefined reference to `_imp__config_setting_get_int_elem' +
-</code> +
- +
-Add to Makefile sections EXTRALIBS and LDLOADLIBS the line "C:\libconfig\lib\libconfig.dll.+
-<code dos> +
-EXTRALIBS = C:\libconfig\lib\libconfig.dll.a C:\strawberry\c\i686-w64-mingw32\lib\libmoldname.a C:\strawberry\c\i686-w64-mingw32\lib\libkernel32.a C:\strawberry\c\i686-w64-mingw32\lib\libuser32.a C:\strawberry\c\i686-w64-mingw32\lib\libgdi32.a C:\strawberry\c\i686-w64-mingw32\lib\libwinspool.a C:\strawberry\c\i686-w64-mingw32\lib\libcomdlg32.a C:\strawberry\c\i686-w64-mingw32\lib\libadvapi32.a C:\strawberry\c\i686-w64-mingw32\lib\libshell32.a C:\strawberry\c\i686-w64-mingw32\lib\libole32.a C:\strawberry\c\i686-w64-mingw32\lib\liboleaut32.a C:\strawberry\c\i686-w64-mingw32\lib\libnetapi32.a C:\strawberry\c\i686-w64-mingw32\lib\libuuid.a C:\strawberry\c\i686-w64-mingw32\lib\libws2_32.a C:\strawberry\c\i686-w64-mingw32\lib\libmpr.a C:\strawberry\c\i686-w64-mingw32\lib\libwinmm.a C:\strawberry\c\i686-w64-mingw32\lib\libversion.a C:\strawberry\c\i686-w64-mingw32\lib\libodbc32.a C:\strawberry\c\i686-w64-mingw32\lib\libodbccp32.a C:\strawberry\c\i686-w64-mingw32\lib\libcomctl32.a +
- +
-LDLOADLIBS = C:\libconfig\lib\libconfig.dll.a C:\strawberry\c\i686-w64-mingw32\lib\libmoldname.a C:\strawberry\c\i686-w64-mingw32\lib\libkernel32.a C:\strawberry\c\i686-w64-mingw32\lib\libuser32.a C:\strawberry\c\i686-w64-mingw32\lib\libgdi32.a C:\strawberry\c\i686-w64-mingw32\lib\libwinspool.a C:\strawberry\c\i686-w64-mingw32\lib\libcomdlg32.a C:\strawberry\c\i686-w64-mingw32\lib\libadvapi32.a C:\strawberry\c\i686-w64-mingw32\lib\libshell32.a C:\strawberry\c\i686-w64-mingw32\lib\libole32.a C:\strawberry\c\i686-w64-mingw32\lib\liboleaut32.a C:\strawberry\c\i686-w64-mingw32\lib\libnetapi32.a C:\strawberry\c\i686-w64-mingw32\lib\libuuid.a C:\strawberry\c\i686-w64-mingw32\lib\libws2_32.a C:\strawberry\c\i686-w64-mingw32\lib\libmpr.a C:\strawberry\c\i686-w64-mingw32\lib\libwinmm.a C:\strawberry\c\i686-w64-mingw32\lib\libversion.a C:\strawberry\c\i686-w64-mingw32\lib\libodbc32.a C:\strawberry\c\i686-w64-mingw32\lib\libodbccp32.a C:\strawberry\c\i686-w64-mingw32\lib\libcomctl32.a +
-</code> +
- +
-Then go for compilation and installation +
-<code dos> +
-C:\tmp\Conf-Libconfig-0.06>dmake +
-C:\tmp\Conf-Libconfig-0.06>dmake install +
-</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 +
-  * copy libconfig-9.dll and libconfig++-9.dll from C:\libconfig\bin into C:/strawberry/perl/site/lib/auto/Conf/Libconfig/ +
- +
-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> +
-C:\WINDOWS>cpan Win32::SerialPort +
-</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 +
-<code dos> +
-C:\WINDOWS>cpan Module::ScanDeps --> Failed +
-C:\WINDOWS>cpanm Module::ScanDeps --> Successful +
-</code> +
- +
-FIXME +
-http://www.nntp.perl.org/group/perl.par/2012/03/msg5308.html +
-SET PATH=%MYPERL_EXTRA_PATH%;%PATH% +
- +
-Install Par Packager +
-<code dos> +
-C:\tmp\iButtonLock\iButtonLock>cpan pp --> Failed +
-C:\tmp\iButtonLock\iButtonLock>cpanm pp --> Failed +
-</code> +
- +
-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]]+
acdsn/acdsn-a.1356551817.txt.gz · Last modified: 2012/12/26 19:56 by sbolay