[fpc-pascal] Can fpc 3.0 release be installed using apt-get on Linux Mint?

Bo Berglund bo.berglund at gmail.com
Mon Dec 7 23:56:56 CET 2015


On Mon, 07 Dec 2015 23:47:36 +0100, Bo Berglund
<bo.berglund at gmail.com> wrote:

>On Mon, 7 Dec 2015 23:35:05 +0100, Mattias Gaertner
><nc-gaertnma at netcologne.de> wrote:
>
>>> apt-get update
>>> 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
>>> 
>>> Are most of these superfluous? Is it enough with libgtk2.0-dev?
>>
>>I have not tried on Linux-Mint.
>>Can you test?
>
>I did as follows:
>sudo apt-get install libgtk2.0-dev
>
>It pulled no less than 73 different packages....
>
>>
>>> Is there an RC tag for Lazarus?
>>
>>Many. For example:
>>http://svn.freepascal.org/svn/lazarus/tags/lazarus_1_6_RC1
>>
>Thanks,
>I will go with that tag.

I checked out the tag above and compiled.
Unfortunately make bigide took 18s to end in an error:

Target OS: Linux for i386
Compiling lazres.pp
Linking ./lazres
Warning: "crti.o" not found, this will probably cause a linking
failure
Warning: "crtn.o" not found, this will probably cause a linking
failure
/usr/bin/ld: warning: ./link.res contains output sections; did you
forget -T?
/usr/bin/ld: skipping incompatible
/usr/lib/gcc/x86_64-linux-gnu/4.8/crtbegin.o when searching for
/usr/lib/gcc/x86_64-linux-gnu/4.8/crtbegin.o
/usr/bin/ld: cannot find /usr/lib/gcc/x86_64-linux-gnu/4.8/crtbegin.o
/usr/bin/ld: cannot find -ldl
/usr/bin/ld: cannot find -lc
Error: Error while linking
Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted

So what is causing this? A missing library perhaps?

-- 
Bo Berglund
Developer in Sweden




More information about the fpc-pascal mailing list