Closed GoogleCodeExporter closed 9 years ago
Please add more information.
- What version of lazarus and fpc?
- What did you do to compile? I don't assume you tell lazarus IDE to compile as
that is probably not allowed for the distribution
- Complete output before during and after the error.
I would say, you need to fix the dependencies you are using to compile winff.
If you want to get an idea, have a look at Debian, where I maintain winff.
Original comment by poipodec...@hotmail.com
on 21 Oct 2011 at 6:12
lazarus-0.9.30.1.32070-1-mdv2012.0.x86_64
fpc-2.4.4-3-mdv2012.0.x86_64
Build section in rpm macros
%build
lazbuild --widgetset=gtk2 -B winff.lpr
build log
+ umask 022
+ cd /home/al/winff/BUILD
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/al/winff/BUILD
+ rm -rf winff
+ /bin/gzip -dc /home/al/winff/SOURCES/winff-1.3.2-source.tar.gz
+ /bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd winff
++ /bin/id -u
+ '[' 500 = 0 ']'
++ /bin/id -u
+ '[' 500 = 0 ']'
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ dos2unix -U License.txt README-Presets.txt README.txt changelog.txt
+ exit 0
�����������(%build): /bin/sh -e /home/al/winff/BUILDROOT/rpm-tmp.52329
+ umask 022
+ cd /home/al/winff/BUILD
+ cd winff
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ lazbuild --widgetset=gtk2 -B winff.lpr
NOTE: miscellaneous options file not found - using defaults
TBaseCompilerOptions.MakeOptionsString UnitOutputDirectory=""
CurOutputDir=""
TCompiler.Compile WorkingDir="/home/al/winff/BUILD/winff/"
CompilerFilename="/usr/bin/fpc" CompilerParams=" -MObjFPC -Sgi -O1 -g -gl
-WG -vewnhi -l -Fu/usr/lib/lazarus/components/codetools/units/x86_64-linux
-Fu/usr/lib/lazarus/lcl/units/x86_64-linux
-Fu/usr/lib/lazarus/lcl/units/x86_64-linux/gtk2
-Fu/usr/lib/lazarus/packager/units/x86_64-linux -Fu. -owinff -dLCL -dLCLgtk2
winff.lpr"
[TCompiler.Compile] CmdLine="/usr/bin/fpc -B -MObjFPC -Sgi -O1 -g -gl -WG
-vewnhi -l -Fu/usr/lib/lazarus/components/codetools/units/x86_64-linux
-Fu/usr/lib/lazarus/lcl/units/x86_64-linux
-Fu/usr/lib/lazarus/lcl/units/x86_64-linux/gtk2
-Fu/usr/lib/lazarus/packager/units/x86_64-linux -Fu. -owinff -dLCL -dLCLgtk2
winff.lpr"
Hint: Start of reading config file /etc/fpc.cfg
Hint: End of reading config file /etc/fpc.cfg
Free Pascal Compiler version 2.4.4 [2011/09/23] for x86_64
Copyright (c) 1993-2010 by Florian Klaempfl
Target OS: Linux for x86-64
Compiling winff.lpr
Fatal: Can't find unit Interfaces used by winff
ERROR: failed compiling of project /home/al/winff/BUILD/winff/winff.lpi
Original comment by nobodyd...@gmail.com
on 21 Oct 2011 at 9:55
I don't know anything of Mandriva, but are you sure you have all the necessary
lazarus packages installed? This error really seems to complain about the
incompleteness of something that lazarus could provide, i.e. on my system:
/usr/lib/lazarus/0.9.30/lcl/interfaces/gtk2/interfaces.pas
or (I am not sure which)
/usr/lib/lazarus/0.9.30/lcl/units/i386-linux/gtk2/interfaces.ppu
.
Please find out if you have similar files on your system or if they are
provided by any of the lazarus packages that you don't have installed.
Original comment by poipodec...@hotmail.com
on 28 Oct 2011 at 12:45
I am invalidating this bug as I don't believe this has anything to do with
winff itself.
As a reference, please also have a look at:
http://wiki.lazarus.freepascal.org/Lazarus_Faq#When_I_try_to_compile_a_project.2
C_I_get_an_error_message_.22Cannot_find_Unit_interfaces.22.
Original comment by poipodec...@hotmail.com
on 10 Dec 2011 at 1:38
already fixed.
Original comment by nobodyd...@gmail.com
on 10 Dec 2011 at 5:21
Original issue reported on code.google.com by
nobodyd...@gmail.com
on 21 Oct 2011 at 2:59