acdsn:acdsn-a
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| acdsn:acdsn-a [2013/05/17 14:13] – [ACDSN-AC] sbolay | acdsn:acdsn-a [2013/08/19 08:43] (current) – [Source compilation] sbolay | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| users and rights on NiX1 through the ACDSN daemon. | users and rights on NiX1 through the ACDSN daemon. | ||
| - | ===== Source ===== | + | ===== Source |
| - | ==== Mac ==== | + | * [[acdsn:acdsn-a:MAC]] |
| - | Update to a threaded perlbrew version | + | * [[acdsn:acdsn-a:Linux]] |
| - | * http:// | + | |
| - | ==== 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 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! | + | |
| - | </ | + | |
| - | + | ||
| - | Check that the Environment variable is empty | + | |
| - | * MyComputer-> | + | |
| - | + | ||
| - | Download and install MinGW (With MSYS Basic System) | + | |
| - | * [[http:// | + | |
| - | Download and install Strawberry perl | + | |
| - | * [[http:// | + | |
| - | + | ||
| - | === MinGW === | + | |
| - | Compile and install [[http:// | + | |
| - | <code bash> | + | |
| - | Administrator@prive / | + | |
| - | $ ./configure --prefix=C:/ | + | |
| - | + | ||
| - | Administrator@prive / | + | |
| - | $ make | + | |
| - | + | ||
| - | Administrator@prive / | + | |
| - | $ make install | + | |
| - | </ | + | |
| - | + | ||
| - | Compile and install [[http:// | + | |
| - | <code bash> | + | |
| - | Administrator@prive / | + | |
| - | $ ./ | + | |
| - | + | ||
| - | Administrator@prive / | + | |
| - | $ make | + | |
| - | + | ||
| - | Administrator@prive / | + | |
| - | $ make install | + | |
| - | </ | + | |
| - | + | ||
| - | <code bash> | + | |
| - | checking for pkg-config... no | + | |
| - | ./ | + | |
| - | configure: error: pkg-config and " | + | |
| - | FLAGS and GLIB_LIBS to the correct values or pass --with-internal-glib to config | + | |
| - | ure | + | |
| - | + | ||
| - | </ | + | |
| - | + | ||
| - | Download pkg-config from http:// | + | |
| - | Download pkg-config, gettext and glib2 from the GTK project. Unzip the files and install them under / | + | |
| - | + | ||
| - | THIS WORKS: | + | |
| - | | + | |
| - | + | ||
| - | === Strawberry Perl === | + | |
| - | + | ||
| - | Define | + | |
| - | < | + | |
| - | Do you wish to install future modules in a local area? [y/N] y | + | |
| - | Where do you want to install modules? [C: | + | |
| - | </ | + | |
| - | + | ||
| - | Check path | + | |
| - | <code dos> | + | |
| - | C: | + | |
| - | </ | + | |
| - | + | ||
| - | Update CPAN modules((http:// | + | |
| - | <code dos> | + | |
| - | C:\>cpan App:: | + | |
| - | C: | + | |
| - | C: | + | |
| - | </ | + | |
| - | + | ||
| - | Install Wx | + | |
| - | <code dos> | + | |
| - | C:\>cpan Wx | + | |
| - | </ | + | |
| - | + | ||
| - | Install ExtUtils:: | + | |
| - | <code dos> | + | |
| - | C: | + | |
| - | </ | + | |
| - | + | ||
| - | C: | + | |
| - | config/ | + | |
| - | 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 ' | + | |
| - | + | ||
| - | + | ||
| - | C: | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | Install Conf:: | + | |
| - | <code dos> | + | |
| - | C: | + | |
| - | C: | + | |
| - | </ | + | |
| - | + | ||
| - | If your get such lines: | + | |
| - | <code dos> | + | |
| - | Libconfig.o: | + | |
| - | </ | + | |
| - | + | ||
| - | Add to Makefile sections EXTRALIBS and LDLOADLIBS the line " | + | |
| - | <code dos> | + | |
| - | EXTRALIBS = C:\libconfig\lib\libconfig.dll.a C: | + | |
| - | + | ||
| - | LDLOADLIBS = C: | + | |
| - | </ | + | |
| - | + | ||
| - | Then go for compilation and installation | + | |
| - | <code dos> | + | |
| - | C: | + | |
| - | C: | + | |
| - | </ | + | |
| - | + | ||
| - | If your get such lines: | + | |
| - | <code dos> | + | |
| - | Can't load ' | + | |
| - | </ | + | |
| - | Add the missing dll | + | |
| - | * copy libconfig-9.dll and libconfig++-9.dll from C: | + | |
| - | + | ||
| - | Install Win32:: | + | |
| - | + | ||
| - | 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: | + | |
| - | </ | + | |
| - | or if you do not have a serial port, | + | |
| - | <code dos> | + | |
| - | cpan> notest install Win32:: | + | |
| - | </ | + | |
| - | + | ||
| - | C: | + | |
| - | + | ||
| - | Needed for Par Packer | + | |
| - | <code dos> | + | |
| - | C: | + | |
| - | C: | + | |
| - | </ | + | |
| - | + | ||
| - | FIXME | + | |
| - | http:// | + | |
| - | SET PATH=%MYPERL_EXTRA_PATH%; | + | |
| - | + | ||
| - | Install Par Packager | + | |
| - | <code dos> | + | |
| - | C: | + | |
| - | C: | + | |
| - | </ | + | |
| - | + | ||
| - | OK, There is a bug((https:// | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | Mingw | + | |
| - | sbolay@WIN7-64 / | + | |
| - | $ patch -p0 < PAR-Packer-1.013_V2.diff | + | |
| - | patching file ' | + | |
| - | patching file ' | + | |
| - | 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:// | + | |
| - | http:// | + | |
| - | + | ||
| - | Some packages can be downloaded from [[http:// | + | |
acdsn/acdsn-a.1368800013.txt.gz · Last modified: 2013/05/17 14:13 by sbolay