Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2012-11

How do you install Lazarus on Debian?

9 messages · 6 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Howard Lee Harkness

I'm a relative n00b at Linux admin stuff, but I'd really like to be able to run Lazarus on the Debian system I've just inherited at my new contract.

I have done a checkout of the Lazarus svn repository per the instructions in http://wiki.freepascal.org/Getting_Lazarus. But when I execute "make" in the lazarus directory, I just get a bunch of error messages.

root at debian:/etc/lazarus# make
make: -iVSPTPSOTO: Command not found
make -C packager/registration
make[1]: -iVSPTPSOTO: Command not found
make[1]: Entering directory `/etc/lazarus/packager/registration' /bin/rm -f units/-/fcllaz.ppu
FE. -FUunits/- fcllaz.pas
make[1]: FE.: Command not found
make[1]: [fcllaz.ppu] Error 127 (ignored)
/bin/cp -f Makefile.compiled units/-/FCL.compiled
make[1]: Leaving directory `/etc/lazarus/packager/registration' make -C components/lazutils
make[1]: -iVSPTPSOTO: Command not found
make[1]: Entering directory `/etc/lazarus/components/lazutils' /bin/rm -f units/-/lazutils.ppu
FE. -FUunits/- lazutils.pas
make[1]: FE.: Command not found
make[1]: [lazutils.ppu] Error 127 (ignored)
/bin/cp -f Makefile.compiled units/-/LazUtils.compiled make[1]: Leaving directory `/etc/lazarus/components/lazutils' make -C components/codetools
make[1]: -iVSPTPSOTO: Command not found
make[1]: Entering directory `/etc/lazarus/components/codetools' /bin/rm -f units/-/codetools.ppu
FE. -FUunits/- codetools.pas
make[1]: FE.: Command not found
make[1]: [codetools.ppu] Error 127 (ignored)
/bin/cp -f Makefile.compiled units/-/CodeTools.compiled make[1]: Leaving directory `/etc/lazarus/components/codetools' make -C lcl LCL_PLATFORM=nogui
make[1]: -iVSPTPSOTO: Command not found
make[1]: Entering directory `/etc/lazarus/lcl'
/bin/rm -f units/-/alllclunits.ppu
FE. -FUunits/- alllclunits.pp
make[1]: FE.: Command not found
make[1]: [alllclunits.ppu] Error 127 (ignored)
/bin/cp -f Makefile.compiled units/-/LCLBase.compiled make[1]: Leaving directory `/etc/lazarus/lcl'
make -C tools
make[1]: -iVSPTPSOTO: Command not found
make[1]: Entering directory `/etc/lazarus/tools'
echo

make --assume-new=lazres.pp lazres.exe
make[2]: -iVSPTPSOTO: Command not found
make[2]: Entering directory `/etc/lazarus/tools'
FE. -FUunits/- lazres.pp
make[2]: FE.: Command not found
make[2]: [lazres.exe] Error 127 (ignored)
make[2]: Leaving directory `/etc/lazarus/tools'
make --assume-new=svn2revisioninc.pas svn2revisioninc.exe make[2]: -iVSPTPSOTO: Command not found
make[2]: Entering directory `/etc/lazarus/tools'
FE. -FUunits/- svn2revisioninc.pas
make[2]: FE.: Command not found
make[2]: [svn2revisioninc.exe] Error 127 (ignored) make[2]: Leaving directory `/etc/lazarus/tools'
make --assume-new=updatepofiles.pas updatepofiles.exe make[2]: -iVSPTPSOTO: Command not found
make[2]: Entering directory `/etc/lazarus/tools'
FE. -FUunits/- updatepofiles.pas
make[2]: FE.: Command not found
make[2]: [updatepofiles.exe] Error 127 (ignored)
make[2]: Leaving directory `/etc/lazarus/tools'
make --assume-new=lrstolfm.lpr lrstolfm.exe
make[2]: -iVSPTPSOTO: Command not found
make[2]: Entering directory `/etc/lazarus/tools'
FE. -FUunits/- lrstolfm.lpr
make[2]: FE.: Command not found
make[2]: [lrstolfm.exe] Error 127 (ignored)
make[2]: Leaving directory `/etc/lazarus/tools'
make[1]: Leaving directory `/etc/lazarus/tools'
make -C components/lazcontrols LCL_PLATFORM=nogui
make[1]: -iVSPTPSOTO: Command not found
make[1]: Entering directory `/etc/lazarus/components/lazcontrols' /bin/rm -f units/-/lazcontrols.ppu
FE. -FUunits/- lazcontrols.pas
make[1]: FE.: Command not found
make[1]: [lazcontrols.ppu] Error 127 (ignored)
/bin/cp -f Makefile.compiled units/-/LazControls.compiled make[1]: Leaving directory `/etc/lazarus/components/lazcontrols' make -C components/synedit LCL_PLATFORM=nogui
make[1]: -iVSPTPSOTO: Command not found
make[1]: Entering directory `/etc/lazarus/components/synedit' /bin/rm -f units/-/allsynedit.ppu
FE. -FUunits/- allsynedit.pas
make[1]: FE.: Command not found
make[1]: [allsynedit.ppu] Error 127 (ignored)
/bin/cp -f Makefile.compiled units/-/SynEdit.compiled make[1]: Leaving directory `/etc/lazarus/components/synedit' make -C ideintf LCL_PLATFORM=nogui
make[1]: -iVSPTPSOTO: Command not found
make[1]: Entering directory `/etc/lazarus/ideintf' /bin/rm -f units/-/ideintf.ppu
FE. -FUunits/- ideintf.pas
make[1]: FE.: Command not found
make[1]: [ideintf.ppu] Error 127 (ignored)
/bin/cp -f Makefile.compiled units/-/IDEIntf.compiled make[1]: Leaving directory `/etc/lazarus/ideintf'
make -C ide lazbuilder LCL_PLATFORM=nogui
make[1]: -iVSPTPSOTO: Command not found
make[1]: Entering directory `/etc/lazarus/ide'
make --assume-new=lazbuild.lpr lazbuild.exe OPT=' -Fu../packager/units/- -Fu../components/codetools/units/- -Fu../components/lazutils/lib/- -Fu../lcl/units/- -Fu../lcl/units/-/nogui -Fu../ideintf/units/-/nogui -Fu../components/synedit/units/-/nogui
-Fu../components/lazcontrols/lib/-/nogui -Fu../units/-/nogui ' make[2]: -iVSPTPSOTO: Command not found
make[2]: Entering directory `/etc/lazarus/ide'
FE. -FUunits/- -Fu../packager/units/- -Fu../components/codetools/units/- -Fu../components/lazutils/lib/- -Fu../lcl/units/- -Fu../lcl/units/-/nogui -Fu../ideintf/units/-/nogui -Fu../components/synedit/units/-/nogui -Fu../components/lazcontrols/lib/-/nogui -Fu../units/-/nogui lazbuild.lpr make[2]: FE.: Command not found
make[2]: [lazbuild.exe] Error 127 (ignored)
make[2]: Leaving directory `/etc/lazarus/ide'
make[1]: Leaving directory `/etc/lazarus/ide'
make -C lcl
make[1]: -iVSPTPSOTO: Command not found
make[1]: Entering directory `/etc/lazarus/lcl'
/bin/rm -f units/-/alllclunits.ppu
FE. -FUunits/- alllclunits.pp
make[1]: FE.: Command not found
make[1]: [alllclunits.ppu] Error 127 (ignored)
/bin/cp -f Makefile.compiled units/-/LCLBase.compiled make[1]: Leaving directory `/etc/lazarus/lcl'
make -C components/lazcontrols
make[1]: -iVSPTPSOTO: Command not found
make[1]: Entering directory `/etc/lazarus/components/lazcontrols' /bin/rm -f units/-/lazcontrols.ppu
FE. -FUunits/- lazcontrols.pas
make[1]: FE.: Command not found
make[1]: [lazcontrols.ppu] Error 127 (ignored)
/bin/cp -f Makefile.compiled units/-/LazControls.compiled make[1]: Leaving directory `/etc/lazarus/components/lazcontrols' make -C components/synedit
make[1]: -iVSPTPSOTO: Command not found
make[1]: Entering directory `/etc/lazarus/components/synedit' /bin/rm -f units/-/allsynedit.ppu
FE. -FUunits/- allsynedit.pas
make[1]: FE.: Command not found
make[1]: [allsynedit.ppu] Error 127 (ignored)
/bin/cp -f Makefile.compiled units/-/SynEdit.compiled make[1]: Leaving directory `/etc/lazarus/components/synedit' make -C ideintf
make[1]: -iVSPTPSOTO: Command not found
make[1]: Entering directory `/etc/lazarus/ideintf' /bin/rm -f units/-/ideintf.ppu
FE. -FUunits/- ideintf.pas
make[1]: FE.: Command not found
make[1]: [ideintf.ppu] Error 127 (ignored)
/bin/cp -f Makefile.compiled units/-/IDEIntf.compiled make[1]: Leaving directory `/etc/lazarus/ideintf'
make -C components/synedit/design
make[1]: -iVSPTPSOTO: Command not found
make[1]: Entering directory `/etc/lazarus/components/synedit/design' /bin/rm -f units/-/allsyneditdsgn.ppu
FE. -FUunits/- allsyneditdsgn.pas
make[1]: FE.: Command not found
make[1]: [allsyneditdsgn.ppu] Error 127 (ignored)
/bin/cp -f Makefile.compiled units/-/SynEditDsgn.compiled make[1]: Leaving directory `/etc/lazarus/components/synedit/design' make -C ide ide
make[1]: -iVSPTPSOTO: Command not found
make[1]: Entering directory `/etc/lazarus/ide'
make -C ../tools svn2revisioninc OS_TARGET= CPU_TARGET= OPT='' make[2]: -iVSPTPSOTO: Command not found
make[2]: Entering directory `/etc/lazarus/tools'
make[2]: *** No rule to make target `svn2revisioninc'. Stop. make[2]: Leaving directory `/etc/lazarus/tools'
make[1]: *** [revisioninc] Error 2
make[1]: Leaving directory `/etc/lazarus/ide'
make: *** [ide] Error 2
root at debian:/etc/lazarus#

Howard Lee Harkness (214) 390-4896 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20121108/82a8d580/attachment.html>

Reply by email

Chavoux Luyt
to Howard Lee Harkness

Hi Howard

On 8 November 2012 21:26, Howard Lee Harkness <

Show quoted text 9 lines
wrote: I'm a relative n00b at Linux admin stuff, but I'd really like to be able to run Lazarus on the Debian system I've just inherited at my new contract. I have done a checkout of the Lazarus svn repository per the instructions in http://wiki.freepascal.org/Getting_Lazarus. But when I execute "make" in the lazarus directory, I just get a bunch of error messages.

Do you have a specific reason why you want to install Lazarus from source (svn)? In general I find it easier in Debian to download the .deb files and install from there. Normally these will also ensure that the prerequisite packages (e.g. fpc) are also installed.

HTH
Chavoux
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20121108/d0dcedb4/attachment.html>

Reply by email

bsquared
to Howard Lee Harkness: I'm a relative n00b at Linux admin stuff, but I'd really like to be able to run Lazarus…
Howard Lee Harkness wrote 190 lines
I'm a relative n00b at Linux admin stuff, but I'd really like to be able to run Lazarus on the Debian system I've just inherited at my new contract. I have done a checkout of the Lazarus svn repository per the instructions in http://wiki.freepascal.org/Getting_Lazarus. But when I execute "make" in the lazarus directory, I just get a bunch of error messages. root at debian:/etc/lazarus# make make: -iVSPTPSOTO: Command not found make -C packager/registration make[1]: -iVSPTPSOTO: Command not found make[1]: Entering directory `/etc/lazarus/packager/registration' /bin/rm -f units/-/fcllaz.ppu FE. -FUunits/- fcllaz.pas make[1]: FE.: Command not found make[1]: [fcllaz.ppu] Error 127 (ignored) /bin/cp -f Makefile.compiled units/-/FCL.compiled make[1]: Leaving directory `/etc/lazarus/packager/registration' make -C components/lazutils make[1]: -iVSPTPSOTO: Command not found make[1]: Entering directory `/etc/lazarus/components/lazutils' /bin/rm -f units/-/lazutils.ppu FE. -FUunits/- lazutils.pas make[1]: FE.: Command not found make[1]: [lazutils.ppu] Error 127 (ignored) /bin/cp -f Makefile.compiled units/-/LazUtils.compiled make[1]: Leaving directory `/etc/lazarus/components/lazutils' make -C components/codetools make[1]: -iVSPTPSOTO: Command not found make[1]: Entering directory `/etc/lazarus/components/codetools' /bin/rm -f units/-/codetools.ppu FE. -FUunits/- codetools.pas make[1]: FE.: Command not found make[1]: [codetools.ppu] Error 127 (ignored) /bin/cp -f Makefile.compiled units/-/CodeTools.compiled make[1]: Leaving directory `/etc/lazarus/components/codetools' make -C lcl LCL_PLATFORM=nogui make[1]: -iVSPTPSOTO: Command not found make[1]: Entering directory `/etc/lazarus/lcl' /bin/rm -f units/-/alllclunits.ppu FE. -FUunits/- alllclunits.pp make[1]: FE.: Command not found make[1]: [alllclunits.ppu] Error 127 (ignored) /bin/cp -f Makefile.compiled units/-/LCLBase.compiled make[1]: Leaving directory `/etc/lazarus/lcl' make -C tools make[1]: -iVSPTPSOTO: Command not found make[1]: Entering directory `/etc/lazarus/tools' echo make --assume-new=lazres.pp lazres.exe make[2]: -iVSPTPSOTO: Command not found make[2]: Entering directory `/etc/lazarus/tools' FE. -FUunits/- lazres.pp make[2]: FE.: Command not found make[2]: [lazres.exe] Error 127 (ignored) make[2]: Leaving directory `/etc/lazarus/tools' make --assume-new=svn2revisioninc.pas svn2revisioninc.exe make[2]: -iVSPTPSOTO: Command not found make[2]: Entering directory `/etc/lazarus/tools' FE. -FUunits/- svn2revisioninc.pas make[2]: FE.: Command not found make[2]: [svn2revisioninc.exe] Error 127 (ignored) make[2]: Leaving directory `/etc/lazarus/tools' make --assume-new=updatepofiles.pas updatepofiles.exe make[2]: -iVSPTPSOTO: Command not found make[2]: Entering directory `/etc/lazarus/tools' FE. -FUunits/- updatepofiles.pas make[2]: FE.: Command not found make[2]: [updatepofiles.exe] Error 127 (ignored) make[2]: Leaving directory `/etc/lazarus/tools' make --assume-new=lrstolfm.lpr lrstolfm.exe make[2]: -iVSPTPSOTO: Command not found make[2]: Entering directory `/etc/lazarus/tools' FE. -FUunits/- lrstolfm.lpr make[2]: FE.: Command not found make[2]: [lrstolfm.exe] Error 127 (ignored) make[2]: Leaving directory `/etc/lazarus/tools' make[1]: Leaving directory `/etc/lazarus/tools' make -C components/lazcontrols LCL_PLATFORM=nogui make[1]: -iVSPTPSOTO: Command not found make[1]: Entering directory `/etc/lazarus/components/lazcontrols' /bin/rm -f units/-/lazcontrols.ppu FE. -FUunits/- lazcontrols.pas make[1]: FE.: Command not found make[1]: [lazcontrols.ppu] Error 127 (ignored) /bin/cp -f Makefile.compiled units/-/LazControls.compiled make[1]: Leaving directory `/etc/lazarus/components/lazcontrols' make -C components/synedit LCL_PLATFORM=nogui make[1]: -iVSPTPSOTO: Command not found make[1]: Entering directory `/etc/lazarus/components/synedit' /bin/rm -f units/-/allsynedit.ppu FE. -FUunits/- allsynedit.pas make[1]: FE.: Command not found make[1]: [allsynedit.ppu] Error 127 (ignored) /bin/cp -f Makefile.compiled units/-/SynEdit.compiled make[1]: Leaving directory `/etc/lazarus/components/synedit' make -C ideintf LCL_PLATFORM=nogui make[1]: -iVSPTPSOTO: Command not found make[1]: Entering directory `/etc/lazarus/ideintf' /bin/rm -f units/-/ideintf.ppu FE. -FUunits/- ideintf.pas make[1]: FE.: Command not found make[1]: [ideintf.ppu] Error 127 (ignored) /bin/cp -f Makefile.compiled units/-/IDEIntf.compiled make[1]: Leaving directory `/etc/lazarus/ideintf' make -C ide lazbuilder LCL_PLATFORM=nogui make[1]: -iVSPTPSOTO: Command not found make[1]: Entering directory `/etc/lazarus/ide' make --assume-new=lazbuild.lpr lazbuild.exe OPT=' -Fu../packager/units/- -Fu../components/codetools/units/- -Fu../components/lazutils/lib/- -Fu../lcl/units/- -Fu../lcl/units/-/nogui -Fu../ideintf/units/-/nogui -Fu../components/synedit/units/-/nogui -Fu../components/lazcontrols/lib/-/nogui -Fu../units/-/nogui ' make[2]: -iVSPTPSOTO: Command not found make[2]: Entering directory `/etc/lazarus/ide' FE. -FUunits/- -Fu../packager/units/- -Fu../components/codetools/units/- -Fu../components/lazutils/lib/- -Fu../lcl/units/- -Fu../lcl/units/-/nogui -Fu../ideintf/units/-/nogui -Fu../components/synedit/units/-/nogui -Fu../components/lazcontrols/lib/-/nogui -Fu../units/-/nogui lazbuild.lpr make[2]: FE.: Command not found make[2]: [lazbuild.exe] Error 127 (ignored) make[2]: Leaving directory `/etc/lazarus/ide' make[1]: Leaving directory `/etc/lazarus/ide' make -C lcl make[1]: -iVSPTPSOTO: Command not found make[1]: Entering directory `/etc/lazarus/lcl' /bin/rm -f units/-/alllclunits.ppu FE. -FUunits/- alllclunits.pp make[1]: FE.: Command not found make[1]: [alllclunits.ppu] Error 127 (ignored) /bin/cp -f Makefile.compiled units/-/LCLBase.compiled make[1]: Leaving directory `/etc/lazarus/lcl' make -C components/lazcontrols make[1]: -iVSPTPSOTO: Command not found make[1]: Entering directory `/etc/lazarus/components/lazcontrols' /bin/rm -f units/-/lazcontrols.ppu FE. -FUunits/- lazcontrols.pas make[1]: FE.: Command not found make[1]: [lazcontrols.ppu] Error 127 (ignored) /bin/cp -f Makefile.compiled units/-/LazControls.compiled make[1]: Leaving directory `/etc/lazarus/components/lazcontrols' make -C components/synedit make[1]: -iVSPTPSOTO: Command not found make[1]: Entering directory `/etc/lazarus/components/synedit' /bin/rm -f units/-/allsynedit.ppu FE. -FUunits/- allsynedit.pas make[1]: FE.: Command not found make[1]: [allsynedit.ppu] Error 127 (ignored) /bin/cp -f Makefile.compiled units/-/SynEdit.compiled make[1]: Leaving directory `/etc/lazarus/components/synedit' make -C ideintf make[1]: -iVSPTPSOTO: Command not found make[1]: Entering directory `/etc/lazarus/ideintf' /bin/rm -f units/-/ideintf.ppu FE. -FUunits/- ideintf.pas make[1]: FE.: Command not found make[1]: [ideintf.ppu] Error 127 (ignored) /bin/cp -f Makefile.compiled units/-/IDEIntf.compiled make[1]: Leaving directory `/etc/lazarus/ideintf' make -C components/synedit/design make[1]: -iVSPTPSOTO: Command not found make[1]: Entering directory `/etc/lazarus/components/synedit/design' /bin/rm -f units/-/allsyneditdsgn.ppu FE. -FUunits/- allsyneditdsgn.pas make[1]: FE.: Command not found make[1]: [allsyneditdsgn.ppu] Error 127 (ignored) /bin/cp -f Makefile.compiled units/-/SynEditDsgn.compiled make[1]: Leaving directory `/etc/lazarus/components/synedit/design' make -C ide ide make[1]: -iVSPTPSOTO: Command not found make[1]: Entering directory `/etc/lazarus/ide' make -C ../tools svn2revisioninc OS_TARGET= CPU_TARGET= OPT='' make[2]: -iVSPTPSOTO: Command not found make[2]: Entering directory `/etc/lazarus/tools' make[2]: *** No rule to make target `svn2revisioninc'. Stop. make[2]: Leaving directory `/etc/lazarus/tools' make[1]: *** [revisioninc] Error 2 make[1]: Leaving directory `/etc/lazarus/ide' make: *** [ide] Error 2 root at debian:/etc/lazarus# -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Detailed instructions are here:
http://wiki.lazarus.freepascal.org/Installing_Lazarus

Regards, Brian

Reply by email

Howard Lee Harkness
to Chavoux Luyt: Hi Howard On 8 November 2012 21:26, Howard Lee Harkness < Do you have a specific reason…

I was not able to find the deb files. How do you download them? When I did a search for "lazarus install on debian", I got a list of installation instructions for everything except Debian -- and directions for doing a source checkout and build.

BTW, I missed the part about needing to configure fpc and fpc-packages before doing the make. After an apt-get install fpc, make appears to be running just fine in the lazarus directory. Now to figure out how to start it up...

Chavoux Luyt wrote 28 lines
Hi Howard On 8 November 2012 21:26, Howard Lee Harkness < > wrote: > I'm a relative n00b at Linux admin stuff, but I'd really like to be able > to run Lazarus on the Debian system I've just inherited at my new contract. > > I have done a checkout of the Lazarus svn repository per the instructions > in http://wiki.freepascal.org/Getting_Lazarus. But when I execute "make" > in the lazarus directory, I just get a bunch of error messages. > Do you have a specific reason why you want to install Lazarus from source (svn)? In general I find it easier in Debian to download the .deb files and install from there. Normally these will also ensure that the prerequisite packages (e.g. fpc) are also installed. HTH Chavoux -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Howard Lee Harkness (214) 390-4896 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20121108/83bd93ba/attachment.html>

Reply by email

Howard Lee Harkness
to bsquared: Detailed instructions are here: http://wiki.lazarus.freepascal.org/Installing_Lazarus…

I tried that first. Didn't work. Some problem with

deb http://www.hu.freepascal.org/lazarus/ lazarus-stable universe

bsquared wrote
Howard Lee Harkness (214) 390-4896 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20121108/6db65717/attachment.html>

Reply by email

Mattias Gaertner
to Howard Lee Harkness: I'm a relative n00b at Linux admin stuff, but I'd really like to be able to run Lazarus…
Show quoted text 9 lines
I'm a relative n00b at Linux admin stuff, but I'd really like to be able to run Lazarus on the Debian system I've just inherited at my new contract. I have done a checkout of the Lazarus svn repository per the instructions in http://wiki.freepascal.org/Getting_Lazarus. But when I execute "make" in the lazarus directory, I just get a bunch of error messages. root at debian:/etc/lazarus# make make: -iVSPTPSOTO: Command not found

You have no fpc installed.

You can download the three deb packages fpc, fpc-src and lazarus for your system here:
http://sourceforge.net/projects/lazarus/files/

Mattias

Reply by email

Chavoux Luyt
to Howard Lee Harkness: I was not able to find the deb files. How do you download them? When I did a search for…

Hi Howard

On 8 November 2012 21:49, Howard Lee Harkness <

Show quoted text 12 lines
wrote: I was not able to find the deb files. How do you download them? When I did a search for "lazarus install on debian", I got a list of installation instructions for everything except Debian -- and directions for doing a source checkout and build. BTW, I missed the part about needing to configure fpc and fpc-packages before doing the make. After an apt-get install fpc, make appears to be running just fine in the lazarus directory. Now to figure out how to start it up...

The instructions for Ubuntu found
here<http://wiki.freepascal.org/Install_on_Ubuntu_from_.deb_files>should work pretty much the same for Debian (i.e. download from sourceforge). Also note that for the latest version it seems that there are no longer so many small .deb files, but IIRC just the fpc, fpc-source and lazarus packages.

A better way IMHO (but a bit more long-winded) is to create a local debs directory (I have mine in my home directory) to which you download all .deb files, then create a line "deb file:/path/to/local/directory/debs ./" in your /etc/apt/sources.list file.
As root run the following commands in the debs directory (I put them together in an executable script):
"ls *deb > override
dpkg-scanpackages . ./override | gzip -c -9 > Packages.gz"

Then run aptitude update or apt-get update (or do update from Synaptic) and the local .deb packages should be visible in your package manager to be installed as usual. I must warn you though, that Ubuntu .deb packages don't always work on Debian (e.g. because some dependencies are just not available), but at least for lazarus and fpc it worked without problems. I also could not get the
"deb http://www.hu.freepascal.org/lazarus/ lazarus-stable universe" to work in my sources.list file (or the available version was way to old).

HTH
Chavoux
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20121108/7b88f166/attachment.html>

Reply by email

Mark Morgan Lloyd
to Mattias Gaertner: On Thu, 8 Nov 2012 13:26:24 -0600 You have no fpc installed. You can download the three…
Mattias Gaertner wrote 14 lines
On Thu, 8 Nov 2012 13:26:24 -0600 Howard Lee Harkness wrote: > I'm a relative n00b at Linux admin stuff, but I'd really like to be able to > run Lazarus on the Debian system I've just inherited at my new contract. > > I have done a checkout of the Lazarus svn repository per the instructions > in http://wiki.freepascal.org/Getting_Lazarus. But when I execute "make" in > the lazarus directory, I just get a bunch of error messages. > > root at debian:/etc/lazarus# make > make: -iVSPTPSOTO: Command not found You have no fpc installed.

Could that be checked for in the makefile? One gets that error even if ppcXXX etc. are correctly installed and PP defined.

Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues]

Reply by email

Bernd
to Howard Lee Harkness: I tried that first. Didn't work. Some problem with deb…

2012/11/8 Howard Lee Harkness :

I tried that first. Didn't work. Some problem with deb http://www.hu.freepascal.org/lazarus/ lazarus-stable universe

You can try the following repository for fpc 2.6.0 and Lazarus 1.0.2:

https://launchpad.net/~prof7bit/+archive/lazarus-1.0.0

I don't know if you can simply do apt-add-repository in debian, probably not since its an Ubuntu invention but you can also add the repository to your sources manually:

deb http://ppa.launchpad.net/prof7bit/lazarus-1.0.0/ubuntu precise main deb-src http://ppa.launchpad.net/prof7bit/lazarus-1.0.0/ubuntu precise main

These should work with Debian too. First uninstall all lazarus, lcl-*, fpc, fpc-* and fp-* packages that might exist on your PC after attemting to install the broken packages from official Debian, add the above repository to your sources list, apt-get update and apt-get install lazarus. This will also pull in fpc and fpc-src (2.6.0) from the above repository.

Reply by email