Morning list,
While getting a Jenkins continuous integration server going....
On Debian 6 (Squeeze), I installed just enough packages to get a compiler and get a compile job going
fp-compiler 2.6.0-0 Free Pascal - Compiler metapackage fp-compiler-2.6.0 2.6.0-0 Free Pascal - Compiler fp-units-i386 2.6.0-0 Free Pascal - kylix compatibility units metapackage
fp-units-i386-2.6.0 2.6.0-0 Free Pascal - kylix compatibility units fp-units-rtl 2.6.0-0 Free Pascal - Runtime Library metapackage
fp-units-rtl-2.6.0 2.6.0-0 Free Pascal - Runtime Library fp-utils 2.6.0-0 Free Pascal - Utils metapackage fp-utils-2.6.0 2.6.0-0 Free Pascal - Utils
The manual mentions that the FreePascal distribution comes with the windres resource compiler
(http://www.freepascal.org/docs-html/prog/progse59.html).
However, a simple test program containing a {$r resourcet.rc} directive gives:
fpc resourcet.pas
resourcet.pas(9,1) Error: resource compiler "windres" not found, switching to external mode
resourcet.pas(9,1) Fatal: There were 1 errors compiling module, stopping Fatal: Compilation aborted
Error: /usr/bin/ppc386 returned an error exitcode (normal if you did not specify a source file to be compiled?
Trying to fix it:
apt-get install mingw32-binutils
gives
/usr/bin/i586-mingw32msvc-windres
If I then symlink windres:
ln -s /usr/bin/i586-mingw32msvc-windres /usr/bin/windres compilation works.
If it has not already been done so, would it be a good idea for the Debian packager add the relevant package as
required/dependency+incorporate the symlink?
Thanks,
Reinier
