Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Raspberry Pi 2 to install the latest version of the FPC and Lazarus 1.5     - PHP file upload methods exist in the database (Programming)

- Ubuntu System Log Configuration / var / log / messages (Linux)

- To install Samba server on CentOS 6.6 (Server)

- Teach you how to choose to install CentOS 6.5 installation package (Linux)

- Ubuntu 10.04 to Ubuntu 10.10 Upgrade (Linux)

- MariaDB 10 Multi-source replication (Database)

- Linux disk management practices (Linux)

- Xshell upload files to achieve Windows host Linux (Linux)

- Java memory mechanism Description (Programming)

- Define and modify strings principle in Python (Programming)

- MySQL use the integer type (Database)

- KVM virtualization nested configuration (Server)

- Linux software firewall ACL match point optimization (Linux)

- C # using the HttpClient Note: Preheat the long connection (Programming)

- Install the latest ATI / Nvidia graphics driver on Ubuntu (Linux)

- How to remove the Linux memory Cache, Buffer and swap space (Linux)

- CentOS Linux firewall configuration and Close (Linux)

- How do I upgrade from Ubuntu 15.04 to Ubuntu 15.10 (Linux)

- Build Golang development environment configuration on Ubuntu 14.04 (Linux)

- How to use secure FTP file transfer (Server)

 
         
  Raspberry Pi 2 to install the latest version of the FPC and Lazarus 1.5
     
  Add Date : 2018-11-21      
         
         
         
  February 2015 launch of Raspberry Pi2 Lazarus can not be installed by the previous method, the following questions arise stop the installation when installing fpc.

Find a solution from http://otapi.com/2015/02/10/raspberry-pi-2-freepascal-lazarus-and-delphi/:
 
1. Install subversion and unzip
Sudo Apt-get update
Sudo Apt-get install subversion unizp
 
2. Obtain and compile the latest FreePascal compiler
Sudo mkdir / usr / local / fpc
cd / usr / local / fpc
Sudo wget http://sourceforge.net/projects/freepascal/files/Linux/2.6.4/fpc-2.6.4.arm-linux.tar
Sudo tar xvf fpc-2.6.4.arm-linux.tar
cd fpc-2.6.4.arm-linux
Sudo ./install.sh
 
When prompted to install the following input? After content
Install prefix (/ usr or / usr / local)? / Usr / local
Install textmode IDE (y / n)? Y
Install FCL (y / n)? Y
Install Packages (y / n)? Y
Install Documentation (y / n)? Y
Install Demo (y / n)? Y
 
Download the latest version of FPC:
cd / usr / local / fpc
Sudo svn co http://svn.freepascal.org/svn/fpc/trunk trunk
Sudo svn export --force trunk trunktmp
cd trunktmp
 
Compile FPC:
Sudo make all OPT = -dFPC_ARMHF
Sudo make install OPT = -dFPC_ARMHF PREFIX = / usr / local
Sudo make install sourceinstall OPT = -dFPC_ARMHF PREFIX = / usr / local
 
 
cd / usr / local / lib / fpc
ls
You should see the latest version number in Terminal:
                  2.6.4 3.1.1
 
See the latest version with the following replacement 3.1.1 (the latest version is now 3.1.1)
Sudo rm -f "/ usr / local / bin / ppcarm"
Sudo ln -sf "/usr/local/lib/fpc/3.1.1/ppcarm" "/ usr / local / bin / ppcarm"
 
 
3. Compile and install the latest Lazarus Version
Sudo apt-get update
Sudo apt-get install libx11-dev libgdk-pixbuf2.0-dev libcairo2-dev lpango-1.0 libpangox-1.0-dev xorg-dev
 
Sudo aptitude install libgtk2.0-dev libgdk-pixbuf2.0-dev libpango1.0-dev
 
Sudo mkdir / usr / local / lazarus
cd / usr / local / lazarus
Sudo svn co http://svn.freepascal.org/svn/lazarus/trunk trunk
Sudo svn export --force trunk trunktmp
cd trunktmp
Sudo make all OPT = -dFPC_ARMHF
Sudo make install OPT = -dFPC_ARMHF PREFIX = / usr / local
 
4. Last settings:
After more than three hours of installation, Lazarus finally the installation is complete.

When you first launch Lazarus, the requirements set FPC sources, enter / usr / local / fpc / trunk

The operation of the program compiled
     
         
         
         
  More:      
 
- Linux Thread Synchronization (Programming)
- MariaDB 10 Multi-source replication (Database)
- Hunk / Hadoop: Performance Best Practices (Server)
- Why you should choose Python Programming (Programming)
- Linux iptables firewall settings to use (Linux)
- Linux system performance tuning of Analysis (Linux)
- Use HugePages optimize memory performance (Database)
- Getting Started with Linux system to learn: how to get the process ID (PID) in the script (Linux)
- MySQL database under Linux to achieve automatic backup scheduled backup day (Database)
- Linux (RHEL6 CENTOS6 OLE6) VNC-SERVER Installation and Configuration (Server)
- Linux memory management (Linux)
- iscsiadm command usage (Linux)
- Advanced permissions Linux file system settings (Linux)
- Linux Kernel 4.2 Installation Instructions (Linux)
- pga_aggregate_target and _pga_max_size can not use absolute limit actual PGA (Database)
- Ganglia Python plug-in the process of writing notes (Linux)
- Git delete files (Linux)
- Android system source code and compile the kernel source code (Programming)
- Ubuntu under VirtualBox virtual machine serial port settings (Linux)
- Integrated security administrator Linux accident management (Linux)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.