


Notes by WalterSullivan 9 comments
INCLUDEPATH += src/qca/QtCrypto \
src/exceptions \
src/models
First there're no src/exceptions and src/models paths in your sources.
Second unconditional usage of your own copy of QCA headers creates conflicts with a system QCA library on non-Windows systems. Use your own copy of the headers only on Windows. On most Linux systems this path should be /usr/include/QtCrypto and thus using #include <QtCrypto/QtCrypto> in your source code you would completely eliminate the need to provide this path on 'unix' systems. - Feb 09 2014

Notes by WalterSullivan 9 comments
First in contains a whitespace between -L and a path.
Second the path /usr/lib is a system path, it is used automatically and can vary on different systems and architectures (/usr/lib, /usr/lib32, /usr/lib64). Do not add it in LIBS. - Feb 09 2014

Notes by WalterSullivan 9 comments
WARNING: /home/olelukoie/rpmbuild/BUILD/qNotesManager-0.9.4/qNotesManager.pro:8: Unescaped backslashes are deprecated.
This line #8 in the pro file states:
$(QTDIR)\include
It contains Windows-style path delimiter that won't work on non-windows systems and thus has to be changes. - Feb 09 2014

Notes by WalterSullivan 9 comments

Various KDE 1.-4. Improvements by kde-mvg 7 comments
1. Mandriva uses /usr/share/templates directory for such templates. Also this templates could be placed in user's templates directory defined by XDG_TEMPLATES_DIR variable in ~/.config/user-dirs.dirs file. In the last case you don't need root privileges to install templates :) .
2. I have installed LibreOffice 3.4 that I've downloaded from Document Foundation site and it uses different icons filenames. To fix this you should use MIME names of this icons:
* application-vnd.oasis.opendocument.text for text document (odt)
* application-vnd.oasis.opendocument.graphics for graphics document (odg)
* application-vnd.oasis.opendocument.presentation for presentation (odp)
* application-vnd.oasis.opendocument.spreadsheet for spreadsheet (ods)
See an example in this topic: http://forum.kde.org/viewtopic.php?f=17&t=36907
Then your templates would not depend on the precise file names of icons and even applications used to edit this files. - Aug 20 2011

Utilities by giorgiotani 182 comments

Utilities by giorgiotani 182 comments
{$ifndef BIT16}
{$define BIT32}
{$endif}
This is completely wrong for 64-bit system.
After I have removed these tree lines I have managed to go a bit farther and now I get the following build error:
Compiling md4.pas
md4.pas(354,7) Fatal: Syntax error, ";" expected but "(" found
I don't know how to fix this. It seems like the library you're using for crc/hashes processing is not 64-bit compatible at all and it worth to try to find something else. - Oct 11 2009

Plasma 4 Extensions by giucam 175 comments

Plasma 4 Extensions by giucam 175 comments

Utilities by giorgiotani 182 comments

Utilities by giorgiotani 182 comments
http://sourceforge.net/projects/lazarus/files/
and got the same error in crc16.pas (fpc 2.2.2, lazarus 0.9.26.2). After updating fpc to 2.2.4 from here:
http://sourceforge.net/projects/freepascal/files/
I got the following error:
Quote:
Target OS: Linux for x86-64
Compiling project_pea.lpr
PPU Loading /usr/lib64/lazarus/lcl/units/x86_64-linux/gtk/interfaces.ppu
PPU Invalid Version 80
Fatal: Can't find unit Interfaces used by project_pea
ERROR: failed compiling of project /home/olelukoie/rpmbuild/BUILD/peazip-2.6.3.src/project_pea.lpi
- Jul 15 2009

Utilities by giorgiotani 182 comments
Linux olelukoie-linux 2.6.30.1-desktop-1mnb #1 SMP Sat Jul 4 20:19:18 EDT 2009 x86_64 Intel(R) Core(TM)2 Duo CPU E6750 @ 2.66GHz GNU/Linux
It's Mandriva Cooker
fpc version is 2.2.4 taken from repos.
lazarus-0.9.26 built by myself (there is no lazarus in mandriva repos)
The assembler code that fires this error uses references like [ebx] and it seems to be incorrect for x86_64 (I think they should be in form of [rbx]). I see it checks BIT32 variable and it seems that this variable is somehow set on 64-bit system.
Searching in FPC sources I've found that unzip module defines this variable if FPC variable defined. Can it be the cause of the trouble?
BTW I've found this page: http://delphi.wikia.com/wiki/FreePascal_detection_and_versioning
and it doesn't mention about BIT32 var.
Manual building gives me this output:
Quote:
$ lazbuild --cpu=x86_64 -B project_pea.lpr
TCompiler.Compile WorkingDir="/home/olelukoie/rpmbuild/BUILD/peazip-2.6.3.src/" CompilerFilename="/usr/bin/ppcx64" CompilerParams=" -MObjFPC -Scgi -O1 -Px86_64 -gl -WG -vewnhi -l -Fu../../../../../usr/lib64/lazarus/lcl/units/x86_64-linux/ -Fu../../../../../usr/lib64/lazarus/lcl/units/x86_64-linux/gtk/ -Fu../../../../../usr/lib64/lazarus/packager/units/x86_64-linux/ -Fu. -opea -dLCL -dLCLgtk project_pea.lpr"
[TCompiler.Compile] CmdLine="/usr/bin/ppcx64 -B -MObjFPC -Scgi -O1 -Px86_64 -gl -WG -vewnhi -l -Fu../../../../../usr/lib64/lazarus/lcl/units/x86_64-linux/ -Fu../../../../../usr/lib64/lazarus/lcl/units/x86_64-linux/gtk/ -Fu../../../../../usr/lib64/lazarus/packager/units/x86_64-linux/ -Fu. -opea -dLCL -dLCLgtk project_pea.lpr"
Hint: Start of reading config file /etc/fpc.cfg
Hint: End of reading config file /etc/fpc.cfg
Free Pascal Compiler version 2.2.4 [2009/07/15] for x86_64
Copyright (c) 1993-2008 by Florian Klaempfl
Target OS: Linux for x86-64
Compiling project_pea.lpr
Compiling unit_pea.pas
Compiling hash.pas
Compiling btypes.pas
hash.pas(286,20) Hint: Local variable "Context" does not seem to be initialized
hash.pas(357,18) Hint: Local variable "Context" does not seem to be initialized
Compiling adler32.pas
adler32.pas(75,28) Hint: Parameter "adler" not used
adler32.pas(225,17) Hint: Local variable "AF" does not seem to be initialized
adler32.pas(226,17) Hint: Local variable "A1" does not seem to be initialized
Compiling crc16.pas
crc16.pas(80,26) Hint: Parameter "CRC" not used
crc16.pas(314,17) Hint: Local variable "CRCF" does not seem to be initialized
crc16.pas(315,16) Hint: Local variable "CRC" does not seem to be initialized
crc16.pas(168,24) Error: Asm: 16 or 32 Bit references not supported
crc16.pas(170,23) Error: Asm: 16 or 32 Bit references not supported
crc16.pas(174,38) Error: Asm: 16 or 32 Bit references not supported
crc16.pas(178,22) Error: Asm: 16 or 32 Bit references not supported
crc16.pas(375,1) Fatal: There were 4 errors compiling module, stopping
- Jul 15 2009

Utilities by giorgiotani 182 comments
crc16.pas(80,26) Hint: Parameter "CRC" not used
crc16.pas(314,17) Hint: Local variable "CRCF" does not seem to be initialized
crc16.pas(315,16) Hint: Local variable "CRC" does not seem to be initialized
crc16.pas(168,24) Error: Asm: 16 or 32 Bit references not supported
crc16.pas(170,23) Error: Asm: 16 or 32 Bit references not supported
crc16.pas(174,38) Error: Asm: 16 or 32 Bit references not supported
crc16.pas(178,22) Error: Asm: 16 or 32 Bit references not supported
crc16.pas(375,1) Fatal: There were 4 errors compiling module, stopping
ERROR: failed compiling of project /home/olelukoie/rpmbuild/BUILD/peazip-2.6.3.src/project_pea.lpi
- Jul 15 2009