Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vecs
FIJI Public
Commits
59d0d843
Commit
59d0d843
authored
Feb 17, 2015
by
Stefan Tauner
Browse files
Add Doxygen::Filter::Perl to prerequisites scripts
parent
64b033ea
Changes
2
Hide whitespace changes
Inline
Side-by-side
install_prerequisites.cmd
View file @
59d0d843
@echo
off
:: The first iteration of this script used local::lib to compile and
:: install all packages into the local subdirectory defined in variable
:: 'libdir'. This has not worked out and therefore it is not used
:: anymore and everything related is documented but commented out below.
:: This is the ugliest code I was ever forced to create, sorry.
:: It first evaluates the output of perl -Mlocal::lib=--deactivate-all
:: to reset related environment variables.
:: Then it tries to install the perl packages listed in the variable
:: 'string' below via CPAN.
::
:: For XS packages (using C modules underneath) also a Visual Studio
:: SDK needs to be installed *and set up for command line usage*. The
:: latter requires setting up various environment variables (PATH, LIB,
:: INCLUDE) correctly to make the the build environment accessible.
:: For XS packages (using C modules underneath) a Visual Studio SDK
:: needs to be installed *and set up for command line usage*. The latter
:: requires setting up various environment variables (PATH, LIB, INCLUDE)
:: correctly to make the the build environment accessible.
:: There is in theory a batch file that does that temporarily but its
:: path is not constant between VS versions...
...
...
@@ -31,18 +36,15 @@ Scalar::Util ^
Config
::Simple
^
Time
::HiRes
^
Digest
::CRC
^
Doxygen
::Filter::Perl
^
Win32
::SerialPort
:: Unix version of the latter: Device::SerialPort
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: No need to look further... and I pity you if you do. ::
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: The first iteration of this script used local::lib to compile and
:: install all packages into the local subdirectory defined in variable
:: 'libdir'. This has not worked out and therefore it is not used
:: anymore and everything related is commented out below.
:: set libdir=extlib
:: set f=oreaiptresao.bat
...
...
install_prerequisites.sh
View file @
59d0d843
#!/bin/
ba
sh -e
#!/bin/sh -e
# Install all required packages from CPAN (root rights via sudo required).
#
...
...
@@ -20,6 +20,7 @@ Config::Simple
Time::HiRes
Digest::CRC
Device::SerialPort
Doxygen::Filter::Perl
END
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment