Sign in Join

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

Mailing lists / lazarus / 2013-03

Ubuntu 12.10 install problem

3 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

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

Sipos András

Hi Guys,

My Ubuntu version: 12.10, KDE. I have some problem about lazarus+fpc install/upgrade.

1)

Setup via PPA:
https://launchpad.net/~prof7bit/+archive/lazarus-1.0.0 <https://launchpad.net/%7Eprof7bit/+archive/lazarus-1.0.0>

2)

sudo apt-get install lazarus

Be?ll?t?s: fpc (2.6.1+201302241921~quantal1) ...
sh: 0: Can't open /usr/lib/fpc/2.6.1/samplecfg
dpkg: error processing fpc (--configure):
installed post-installation script alfolyamat 127 hibak?ddal kil?pett

3)

sudo mkdir /usr/lib/fpc/2.6.1
touch /usr/lib/fpc/2.6.1/samplecfg
sudo apt-get install fpc
Be?ll?t?s: fpc (2.6.1+201302241921~quantal1) ...
Be?ll?t?s: lazarus (1.0.7+201302241818~quantal1) ...

The lazarus and fpc is installed. :) But...

4)
a)Start Lazarus ide from menu. The Configure Lazarus IDE say: "Without a proper compiler the code browsing and compiling will be disappointing. [Cancel][Ignore]"
b)Error message: "Compiler "/usr/bin/fpc" does not support target x86_64-linux"

How could I install a fresh Lazarus+fpc version on Ubuntu 12.10 from repository or PPA?

Regards,
Andr?s
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20130305/130e3b35/attachment.html>

Reply by email

Mattias Gaertner
to Sipos András
Show quoted text 10 lines
Hi Guys, My Ubuntu version: 12.10, KDE. I have some problem about lazarus+fpc install/upgrade. 1) Setup via PPA: https://launchpad.net/~prof7bit/+archive/lazarus-1.0.0 <https://launchpad.net/%7Eprof7bit/+archive/lazarus-1.0.0>

The page says:
If you find any problem (my packages not installing properly or missing something that the official upstream distribution has) it is most likely an error in my packaging, please report it, just send me an email.

Show quoted text 8 lines
2) sudo apt-get install lazarus Be?ll?t?s: fpc (2.6.1+201302241921~quantal1) ... sh: 0: Can't open /usr/lib/fpc/2.6.1/samplecfg dpkg: error processing fpc (--configure): installed post-installation script alfolyamat 127 hibak?ddal kil?pett

Have you mailed Bernd Kreuss this?

Show quoted text 16 lines
3) sudo mkdir /usr/lib/fpc/2.6.1 touch /usr/lib/fpc/2.6.1/samplecfg sudo apt-get install fpc Be?ll?t?s: fpc (2.6.1+201302241921~quantal1) ... Be?ll?t?s: lazarus (1.0.7+201302241818~quantal1) ... The lazarus and fpc is installed. :) But... 4) a)Start Lazarus ide from menu. The Configure Lazarus IDE say: "Without a proper compiler the code browsing and compiling will be disappointing. [Cancel][Ignore]" b)Error message: "Compiler "/usr/bin/fpc" does not support target x86_64-linux"

It seems you installed a 32bit compiler and a 64bit IDE.

How could I install a fresh Lazarus+fpc version on Ubuntu 12.10 from repository or PPA?

Have you tried

http://wiki.lazarus.freepascal.org/Lazarus_release_version_for_Ubuntu

?

Mattias

Reply by email

appjaws
to Mattias Gaertner

Hi,
I am running lazarus on amd64bit kubuntu 12.10 with kde 4.9.5 This is what I did to get the latest versions.
I downloaded the following rpm versions from the lazarus and freepascal sites.
fpc_2.6.0-2.fc17_amd64.rpm
fpc-doc_2.6.0-2.fc17_amd64.rpm
fpc-src_2.6.0-2.fc17_amd64.rpm
lazarus_1.0.4-0_amd64.rpm

I then converted to deb

sudo alien -k fpc-2.6.0-2.fc17.x86_64.rpm
sudo alien -k fpc-doc-2.6.0-2.fc17.x86_64.rpm
sudo alien -k fpc-src-2.6.0-2.fc17.x86_64.rpm
sudo alien -k lazarus-1.0.4-0.x86_64.rpm

then installed the deb versions
sudo dpkg -i fpc_2.6.0-2.fc17_amd64.deb
sudo dpkg -i fpc-doc_2.6.0-2.fc17_amd64.deb
sudo dpkg -i fpc-src_2.6.0-2.fc17_amd64.deb
sudo dpkg -i lazarus_1.0.4-0_amd64.deb

This all went without a hitch and is fully working. This remind me I must update to lazarus 1.0.6.

Hope this helps
Paul

---This message has been sent using Thunderbird on kubuntu---

Reply by email