If I knew how to create the ubuntu packages, I would certainly do this. Every time I need to install Lazarus on Windows I envy the ease of installation.
Mailing lists / lazarus / 2013-12
Ubuntu 14.04 LTS - Any plans to include 1.0.x on it?
16 messages · 9 people · –
- AAlexsander Rosa 6
- GGraeme Geldenhuys 2
- PPetr Hlozek 2
- Bbrian 1
- JJuha Manninen 1
- Lleledumbo 1
- +3 more
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
You can get the debs from sourceforge, or simply follow: http://wiki.lazarus.freepascal.org/Lazarus_release_version_for_Ubuntu
It will come up in your package manager, much easier than windows installer :)
Are you sure it works? This wiki never worked for me.
2013/12/23 leledumbo
Show quoted text 19 lines
Just ran the "getlaz" shell, it tried to install an old version: Os NOVOS pacotes a seguir ser?o instalados:
fp-compiler fp-compiler-2.6.0 fpc fpc-2.6.0 fpc-source fpc-source-2.6.0 lazarus lazarus-0.9.30.4
lazarus-ide-0.9.30.4 lazarus-ide-gtk2-0.9.30.4
Anything newer anywhere?
2013/12/23 Alexsander Rosa
Show quoted text 33 lines
Alexsander Rosa wrote 6 lines
I've had some luck using fpcup from https://bitbucket.org/reiniero/fpcup
If I knew how to create the ubuntu packages, I would certainly do this. Every time I need…
Alexsander Rosa wroteEvery time I need to install Lazarus on Windows I envy the ease of installation.
Learn to install from source (repository) - it always works, and on any system.
Regards,
- Graeme -
2013/12/25 Graeme Geldenhuys
Show quoted text 7 lines
My problem is the cross-compiling: we publish 32-bit versions of the software.
On Windows you can easily install the 32-bit version on a 64-bit machine. On Linux the 32-bit .debs can't be installed on a 64-bit machine (binutils). Using the source code I managed to compile and run a 32-bit Lazarus on Linux.
However our software failed to compile: "undefined symbol" errors on linking.
I could not dig on that, it was easier and faster to install a 32-bit Linux VM...
One example (compiling lazarus 1.0.14 on a Linux 64-bit machine with 32-bit FPC 2.6.2):
/bin/rm -f lib/i386-linux/nogui/lazcontrols.ppu
/usr/bin/ppc386 -MObjFPC -Scghi -O1 -g -gl -vewnhi -l -dLCL -dLCLnogui -Fu../../lcl/units/i386-linux/nogui -Fu../../lcl/units/i386-linux -Fu../lazutils/lib/i386-linux -Fu../../packager/units/i386-linux -Fu. -Fu/usr/local/lib/fpc/2.6.2/units/i386-linux/rtl -FE. -FUlib/i386-linux/nogui -di386 lazcontrols.pas
Hint: Start of reading config file /etc/fpc.cfg
Hint: End of reading config file /etc/fpc.cfg
Free Pascal Compiler version 2.6.2 [2013/02/16] for i386 Copyright (c) 1993-2012 by Florian Klaempfl and others Target OS: Linux for i386
Compiling lazcontrols.pas
Compiling treefilteredit.pas
treefilteredit.pas(28,48) Error: Illegal expression treefilteredit.pas(28,48) Error: Error in type definition treefilteredit.pas(28,48) Fatal: Syntax error, ">" expected but "" found Fatal: Compilation aborted
make[2]: ** [lazcontrols.ppu] Erro 1
Alexsander Rosa wrote 8 lines
That seems like a fault in LCL - more specifically a component included with LCL. You should file a bug report for that.
I have no problems cross-compiling my software - though I am not a big fan of cross-compiling. I too prefer to have multiple VM's that target each of the platforms I'm interested in.
In either case, I *never* install using *.deb or *.rpm files. I install FPC from a binary release (console install using the .tar.gz archives), then compile the other tools and frameworks I need from the command line (eg: Lazarus IDE, etc).
Regards,
- Graeme -
On Mon, Dec 23, 2013 at 1:36 PM, Alexsander Rosa I've had some luck using fpcup from…
Michael Van Ham wrote 12 lines
fpcup works just fine for me on Debian v7.0 64-bit. Lazarus announces itself as v1.3 on the splash screen.
Brian.
That seems like a fault in LCL - more specifically a component included with LCL. You…
Show quoted text 13 lines
treefilteredit.pas is part of package LazControls - a base package of the IDE. The IDE compiles on linux 32/64bit ubuntu with corresponding fpc 2.6.2. The releases were built there too. I didn't try cross compiling 64 to 32bit.
Please post the output before the error, especially the fpc command.
Mattias
make[2]: Entrando no diret?rio
`/home/alexsander/fontes/ambiente/lazarus/components/lazcontrols' /bin/rm -f lib/i386-linux/nogui/lazcontrols.ppu
/usr/bin/ppc386 -MObjFPC -Scghi -O1 -g -gl -vewnhi -l -dLCL -dLCLnogui -Fu../../lcl/units/i386-linux/nogui -Fu../../lcl/units/i386-linux -Fu../lazutils/lib/i386-linux -Fu../../packager/units/i386-linux -Fu. -Fu/usr/local/lib/fpc/2.6.2/units/i386-linux/rtl -FE. -FUlib/i386-linux/nogui -di386 lazcontrols.pas
Hint: Start of reading config file /etc/fpc.cfg
Hint: End of reading config file /etc/fpc.cfg
Free Pascal Compiler version 2.6.2 [2013/02/16] for i386 Copyright (c) 1993-2012 by Florian Klaempfl and others Target OS: Linux for i386
Compiling lazcontrols.pas
Compiling treefilteredit.pas
treefilteredit.pas(28,48) Error: Illegal expression treefilteredit.pas(28,48) Error: Error in type definition treefilteredit.pas(28,48) Fatal: Syntax error, ">" expected but "" found Fatal: Compilation aborted
make[2]: ** [lazcontrols.ppu] Erro 1
make[2]: Saindo do diret?rio
`/home/alexsander/fontes/ambiente/lazarus/components/lazcontrols' make[1]: ** [base] Erro 2
make[1]: Saindo do diret?rio
`/home/alexsander/fontes/ambiente/lazarus/components' make: ** [lazbuild] Erro 2
Lazarus source tree is from lazarus-1.0.14-0.tar.gz
2013/12/27 Mattias Gaertner
Show quoted text 33 lines
It would be great to have latest 1.0.x, or even 1.2 in Ubuntu 14.04 repository. Yes, I know I can compile my own version but there is another big problem. My app is distributed as source package and Launchpad builds binary version. If the 14.04 won't include latest version, I can't use it :(. I just have to use what is in official repository :(.
Happy new year and thank you for all work you do.
Petr
2013/12/27 Alexsander Rosa :
Show quoted text 81 lines
Petr Hlozek wroteIt would be great to have latest 1.0.x, or even 1.2 in Ubuntu 14.04 repository.
You must tell that to Ubuntu maintainers.
We have no way to update their repositories.
Juha
Juha Manninen wrote 6 lines
I think he meant to have a PPA archive with the latest-and-greatest stable versions in binary form, for system-wide installation straight from servers... that one can add to apt sources list;
(to Petr: I think such PPA can be created, almost anywhere not just on Ubuntu servers, only someone will need to keep track of it, meaning it'll need a maintainer).
Juha
-L
Hi Lukasz,
I can create the repository and take care of it, keep it up to date etc. But I don't know how to create src deb packages. Lazarus is big project. It already has debian directory but have no idea what to do to create src.deb packages which will be ready to upload to Launchpad :(.
Petr
2014/1/3 Lukasz Sokol :
