Build/Install Guide: FPC 2.6.0 and Lazarus 1.0.6

Discussion in 'General Programming Discussion' started by trn76, Jan 30, 2014.

  1. trn76

    trn76 New Member

    Joined:
    Jan 29, 2014
    Messages:
    3
    Likes Received:
    0
    I've successfully built Lazarus 1.0.6 on Udoo in Debian Wheezy armHF (2013-12-12, release 1.0 Beta), using it with FPC v2.6.0! :mrgreen:

    Maybe a good idea' to be super user and do the usual update:
    Code:
    sudo bash
    apt-get update
    apt-get upgrade
    
    Install FPC and then make sure we have subversion installed (we are going to build Lazarus from svn):
    Code:
    apt-get install fpc
    apt-get install subversion
    
    We will download, compile and install Lazarus v1.0.6 from trunk, and I think revision 40048 is the latest:
    Code:
    cd /usr/share
    svn co -r 40048 http://svn.freepascal.org/svn/lazarus/trunk lazarus
    cd lazarus
    make clean all
    
    Lazarus is now compiling...
    After the compilation finnishes, copy the FPC source into Lazarus folder:
    Code:
    cp -avr /usr/share/fpcsrc/2.6.0 /usr/share/lazarus/fpc/2.6.0
    
    All done really.. You can launch Lazarus from commandline, if you wanne make a shortcut to the startmenu, you will find the launcher "lazarus.desktop" here:
    Code:
    /usr/share/lazarus/install/lazarus.desktop
    
    Hope this comes in handy for some, atleast I am... And this is my first night testing Udoo!
    So have fun.. And I would be happy if anyone share if they get a newer version of FPC/Lazarus up'n'running!
     
  2. AnthonyTekatch

    AnthonyTekatch New Member

    Joined:
    Jun 22, 2014
    Messages:
    1
    Likes Received:
    0
    I have installed Debian Wheezy (udoo_quad_debian_wheezy_armhf_v1.1.zip) onto the Udoo quad, however, installing FPC results in the following error:

    Code:
    # apt-get install fpc
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:
    
    The following packages have unmet dependencies:
     fpc : Depends: fpc-2.6.0 (= 2.6.0-9) but it is not going to be installed
    E: Unable to correct problems, you have held broken packages.
     
  3. Smart

    Smart New Member

    Joined:
    Oct 1, 2014
    Messages:
    1
    Likes Received:
    0
    I had the same problem and same error on LUBUNTU for UDOO.

    How can i solve?
     

Share This Page