Re: [Lazarus] clean installation
unsuscribe On Thu, Mar 10, 2016 at 7:14 PM, Mattias Gaertner wrote: > On Thu, 10 Mar 2016 18:59:59 -0500 > Richard Medina wrote: > > > Hello, > > I followed all your steps but when I call > > > > rmedinac@rmedinac-desktop ~/dev/lazarus/1.6 $ make bigide > > > > make -C packager/registration > > make[1]: Entering directory > > `/home/rmedinac/dev/lazarus/1.6/packager/registration' > > /bin/rm -f ../units/x86_64-linux/fcllaz.ppu > > /usr/bin/ppcx64 -MObjFPC -Scghi -O1 -g -gl -l -vewnhibq -Fu. > > -Fu/usr/lib/fpc/3.0.0/units/x86_64-linux/rtl -FE. > -FU../units/x86_64-linux > > -Cg -dx86_64 fcllaz.pas > > Hint: (11030) Start of reading config file /home/rmedinac/.fpc.cfg > > Hint: (11031) End of reading config file /home/rmedinac/.fpc.cfg > > Maybe your .fpc.cfg has wrong -Fu paths? > > > > Fatal: (10022) Can't find unit process used by RegisterFCL > >[...] > > Mattias > > -- > ___ > Lazarus mailing list > Lazarus@lists.lazarus.freepascal.org > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus > -- Richard.MC -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] clean installation
On Thu, 10 Mar 2016 18:59:59 -0500 Richard Medina wrote: > Hello, > I followed all your steps but when I call > > rmedinac@rmedinac-desktop ~/dev/lazarus/1.6 $ make bigide > > make -C packager/registration > make[1]: Entering directory > `/home/rmedinac/dev/lazarus/1.6/packager/registration' > /bin/rm -f ../units/x86_64-linux/fcllaz.ppu > /usr/bin/ppcx64 -MObjFPC -Scghi -O1 -g -gl -l -vewnhibq -Fu. > -Fu/usr/lib/fpc/3.0.0/units/x86_64-linux/rtl -FE. -FU../units/x86_64-linux > -Cg -dx86_64 fcllaz.pas > Hint: (11030) Start of reading config file /home/rmedinac/.fpc.cfg > Hint: (11031) End of reading config file /home/rmedinac/.fpc.cfg Maybe your .fpc.cfg has wrong -Fu paths? > Fatal: (10022) Can't find unit process used by RegisterFCL >[...] Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] clean installation
Hello, I followed all your steps but when I call rmedinac@rmedinac-desktop ~/dev/lazarus/1.6 $ make bigide make -C packager/registration make[1]: Entering directory `/home/rmedinac/dev/lazarus/1.6/packager/registration' /bin/rm -f ../units/x86_64-linux/fcllaz.ppu /usr/bin/ppcx64 -MObjFPC -Scghi -O1 -g -gl -l -vewnhibq -Fu. -Fu/usr/lib/fpc/3.0.0/units/x86_64-linux/rtl -FE. -FU../units/x86_64-linux -Cg -dx86_64 fcllaz.pas Hint: (11030) Start of reading config file /home/rmedinac/.fpc.cfg Hint: (11031) End of reading config file /home/rmedinac/.fpc.cfg Free Pascal Compiler version 3.0.0 [2015/11/20] for x86_64 Copyright (c) 1993-2015 by Florian Klaempfl and others (1002) Target OS: Linux for x86-64 (3104) Compiling fcllaz.pas (3104) Compiling registerfcl.pas /home/rmedinac/dev/lazarus/1.6/packager/registration/registerfcl.pas(45,22) Fatal: (10022) Can't find unit process used by RegisterFCL Fatal: (1018) Compilation aborted make[1]: *** [fcllaz.ppu] Error 1 make[1]: Leaving directory `/home/rmedinac/dev/lazarus/1.6/packager/registration' make: *** [registration] Error 2 It does not install. I installed all the libraries as well. On Thu, Mar 10, 2016 at 6:56 AM, Bo Berglund wrote: > On Wed, 9 Mar 2016 16:21:06 -0500, Richard Medina > wrote: > > >I am having problems to install the last version of Lazarus. > >Please anyone can help me? > >I am using linux mint (ubuntu). > >I already donwloaded the last version Lazarus 1.6 with fpc3.0.0. and fpc > >source 3.0.0. > > I have created a Linux Mint 17.3 (Mate) virtual machine to be used > with Lazarus. I had no problems installing it from sources. > Here is from what I did: > > 1) Create the directories for files > > mkdir ~/dev > mkdir ~/dev/fpc > mkdir ~/dev/lazarus > > 2) Download files > -- > FTP release 3.0.0 binary for Intel X64: > > ftp://freepascal.stack.nl/pub/fpc/dist/3.0.0/x86_64-linux/fpc-3.0.0.x86_64-linux.tar > > FTP 3.0.0 sources via svn: > cd ~/dev/fpc > svn co http://svn.freepascal.org/svn/fpc/tags/release_3_0_0 3.0.0 > > Lazarus release 1.6 via svn: > cd ~/dev/lazarus > svn co http://svn.freepascal.org/svn/lazarus/tags/lazarus_1_6 1.6 > > 3) Install FPC > -- > Unpack the FPC tar file into a temp location, then inside that dir > execute: > sudo ./install.sh > > 4) Install Lazarus > -- > Note that this step may take quite some time... > cd ~/dev/lazarus/1.6 > make bigide > > 5) Start Lazarus IDE > - > ~/dev/lazarus/1.6/startlazarus > > Now when the start dialog shows up it will probably ask for the FPC > sources. > Just navigate to ~/dev/fpc/3.0.0 and hit Ok > > DONE! > > If you want a start icon on the desktop you can add it easily by: > nano ~/Desktop/lazarus_1.6.desktop > > Then enter the following into the file: > > [Desktop Entry] > Encoding=UTF-8 > Exec=~/dev/lazarus/1.6/startlazarus > Icon=~/dev/lazarus/1.6/images/ide_icon48x48.png > Type=Application > Terminal=false > Comment=Lazarus IDE > Name=Lazarus IDE 1.6 > GenericName=lazarus 1.6 > StartupNotify=false > Categories=Development;IDE;Pascal; > > Save this (Ctl-X and yes...) > > Finally: > chmod +x ~/Desktop/lazarus_1.6.desktop > Now the start icon will appear on the desktop. > > > -- > Bo Berglund > Developer in Sweden > > > -- > ___ > Lazarus mailing list > Lazarus@lists.lazarus.freepascal.org > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus > -- Richard.MC -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Windows API calls and german Umlauts
Am 09.03.2016 um 14:16 schrieb Mattias Gaertner: On Wed, 9 Mar 2016 13:04:50 +0100 "John Landmesser" wrote: Hi, if i call a windows API function for special folder, like: uses ... shlobj; var AppDataPath: Array[0..MaxPathLen] of Char; begin SHGetSpecialFolderPath(0,AppDataPath,CSIDL_STARTUP,false); end; I get on a german localized Windows XP a path containing "\Startmenü\", but the "ü" is "?" in the resulting string. Howto convert the chars in AppDataPath to get the "Umlauts" correct? According to msdn SHGetSpecialFolderPath is not supported by Microsoft. Instead, use ShGetFolderPath. Unit LazFileUtils has already a more sophisticated implementation for UTF8. I added function SHGetFolderPathUTF8(ID : Integer) : String; Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus that's why opensource is unbeatable: asked a question at 14:00 h, got a new function in Lazarus at 14:15 h Thanks Mattias and all people involved! -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] clean installation
On Thu, 10 Mar 2016 12:56:36 +0100, Bo Berglund wrote: >4) Install Lazarus >-- Forgot to mention that you need to update your system and get these libraries: sudo apt-get update sudo apt-get install -y libx11-dev libgdk-pixbuf2.0-dev libcairo2-dev gir1.2-coglpango-1.0 libpangox-1.0-dev xorg-dev libgtk2.0-dev libpango1.0-dev >Note that this step may take quite some time... >cd ~/dev/lazarus/1.6 >make bigide -- Bo Berglund Developer in Sweden -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] clean installation
On Wed, 9 Mar 2016 16:21:06 -0500, Richard Medina wrote: >I am having problems to install the last version of Lazarus. >Please anyone can help me? >I am using linux mint (ubuntu). >I already donwloaded the last version Lazarus 1.6 with fpc3.0.0. and fpc >source 3.0.0. I have created a Linux Mint 17.3 (Mate) virtual machine to be used with Lazarus. I had no problems installing it from sources. Here is from what I did: 1) Create the directories for files mkdir ~/dev mkdir ~/dev/fpc mkdir ~/dev/lazarus 2) Download files -- FTP release 3.0.0 binary for Intel X64: ftp://freepascal.stack.nl/pub/fpc/dist/3.0.0/x86_64-linux/fpc-3.0.0.x86_64-linux.tar FTP 3.0.0 sources via svn: cd ~/dev/fpc svn co http://svn.freepascal.org/svn/fpc/tags/release_3_0_0 3.0.0 Lazarus release 1.6 via svn: cd ~/dev/lazarus svn co http://svn.freepascal.org/svn/lazarus/tags/lazarus_1_6 1.6 3) Install FPC -- Unpack the FPC tar file into a temp location, then inside that dir execute: sudo ./install.sh 4) Install Lazarus -- Note that this step may take quite some time... cd ~/dev/lazarus/1.6 make bigide 5) Start Lazarus IDE - ~/dev/lazarus/1.6/startlazarus Now when the start dialog shows up it will probably ask for the FPC sources. Just navigate to ~/dev/fpc/3.0.0 and hit Ok DONE! If you want a start icon on the desktop you can add it easily by: nano ~/Desktop/lazarus_1.6.desktop Then enter the following into the file: [Desktop Entry] Encoding=UTF-8 Exec=~/dev/lazarus/1.6/startlazarus Icon=~/dev/lazarus/1.6/images/ide_icon48x48.png Type=Application Terminal=false Comment=Lazarus IDE Name=Lazarus IDE 1.6 GenericName=lazarus 1.6 StartupNotify=false Categories=Development;IDE;Pascal; Save this (Ctl-X and yes...) Finally: chmod +x ~/Desktop/lazarus_1.6.desktop Now the start icon will appear on the desktop. -- Bo Berglund Developer in Sweden -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Is there aTDBLabel?
On Thu, 10 Mar 2016, LacaK wrote: It works. But still I wonder, is there a another way? I've tried TDBText but that shows th field value, not the DisplayLabel. There is no standard control for it. But it should in fact be easy to add to the LCL. I have used DB-aware version of TLabeledEdit. It is often the case that you use Label + Edit together. May be that having it in LCL will be also useful. The advantage of a separate label is that you can use it for any control: dbcombobox etc. But the TDBLabeledEdit is obviously also useful, both approaches should be used :) Michael. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus