![]() |
2011-08-29
, 19:07
|
Posts: 839 |
Thanked: 3,386 times |
Joined on Mar 2009
|
#2
|
/scratchbox/compilers/cs2007q3-glibc2.5-i486/bin/sbox-i486-pc-linux-gnu-ld: cannot find -llua5.
ifneq (,$(findstring arm-linux,$(DEB_BUILD_GNU_TYPE))) make else touch name_of_binary endif
![]() |
2012-06-26
, 15:46
|
Posts: 839 |
Thanked: 3,386 times |
Joined on Mar 2009
|
#3
|
wget http://ftp.de.debian.org/debian/pool/main/f/fpc/fpc_2.6.0.orig.tar.gz wget http://ftp.de.debian.org/debian/pool/main/f/fpc/fpc_2.6.0-3.debian.tar.gz tar xvf fpc_2.6.0.orig.tar.gz tar xvf fpc_2.6.0-3.debian.tar.gz rm fpc_2.6.0-3.debian.tar.gz fpc_2.6.0.orig.tar.gz mv fpcbuild-2.6.0/* . rmdir fpcbuild-2.6.0/ echo "1.0" > debian/source/format sed -i 's/Build-Depends: debhelper (>= 7), fp-compiler, fp-units-base, fp-units-fcl, fp-utils,/Build-Depends: debhelper (>= 5), fp-compiler-2.4.4, fp-units-2.4.4, fp-utils-2.4.4,/g' debian/control sed -i 's/Build-Depends: debhelper (>= 7), fp-compiler, fp-units-base, fp-units-fcl, fp-utils,/Build-Depends: debhelper (>= 5), fp-compiler-2.4.4, fp-units-2.4.4, fp-utils-2.4.4,/g' debian/control.in sed -i 's/Build-Depends-Indep: hevea/Build-Depends-Indep:/g' debian/control sed -i 's/Build-Depends-Indep: hevea/Build-Depends-Indep:/g' debian/control.in
![]() |
2012-06-26
, 20:33
|
|
Posts: 80 |
Thanked: 237 times |
Joined on Dec 2010
@ Serbia
|
#4
|
The Following 6 Users Say Thank You to trx For This Useful Post: | ||
![]() |
2012-07-03
, 21:11
|
Posts: 47 |
Thanked: 12 times |
Joined on Jun 2011
|
#5
|
home/user # apt-get install fpc-2.6.0 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-2.6.0: Depends: fp-units-gtk-2.6.0 (>= 2.6.0-maemo4) but it is not going to be installed Depends: fp-units-gnome1-2.6.0 (>= 2.6.0-maemo4) but it is not going to be installed Depends: fp-units-multimedia-2.6.0 (>= 2.6.0-maemo4) but it is not going to be installed E: Broken packages
The Following 2 Users Say Thank You to Necrofenser For This Useful Post: | ||
![]() |
2012-08-16
, 13:05
|
Posts: 839 |
Thanked: 3,386 times |
Joined on Mar 2009
|
#6
|
root echo "deb http://repository.maemo.org/ fremantle/sdk free non-free" >> /etc/apt/sources.list.d/hildon-application-manager.list apt-get update apt-get install fpc-2.6.0
![]() |
2013-03-08
, 19:26
|
Posts: 3 |
Thanked: 3 times |
Joined on Mar 2013
|
#7
|
The following packages have unmet dependencies: fpc-2.6.0: Depends: fp-units-gtk-2.6.0 (>= 2.6.0-maemo4) but it is not going to be installed Depends: fp-units-gnome1-2.6.0 (>= 2.6.0-maemo4) but it is not going to be installed E: Broken packages
The Following User Says Thank You to problem For This Useful Post: | ||
![]() |
2013-03-11
, 01:50
|
|
Posts: 5,028 |
Thanked: 8,613 times |
Joined on Mar 2011
|
#9
|
The Following User Says Thank You to Estel For This Useful Post: | ||
![]() |
2013-03-11
, 06:54
|
Posts: 3 |
Thanked: 3 times |
Joined on Mar 2013
|
#10
|
http://lmgtfy.com/?q=apt+force+ignore+dependencies
The Following User Says Thank You to problem For This Useful Post: | ||
![]() |
Tags |
fremantle, pascal compile |
|
Packages are optified, if you are interested in to compile Pascal on N900-device. You need binutils installed, because it needs additionally 'as' and 'ld' [5].
--------
Usage: hello
#install (to scratchbox)
Copy to device and run, no additional dependencies on phone (I don't know why "rtl"="runtime library", because it is not needed on phone).
--------
Usage2: gles-2.0 test
#Install also units (~70M unpacked)
Some technical
All maemo specific is on own git [6].
As you might know the FPC compiler is written in Pascal, so getting it on Maemo repository [7] needed some tricks. There were several approaches:
* Crosscompile it. E.g. i386 fpc can produce arm-binaries. This is kinda tricky with autobuilder.
* Use older version of FPC
-Make binary-only-package (on non-free-repository) which contains fpc-binary.
-Bundle old fpc-binary with sources.
I used last option (you can try another ones). This is not big deal, because it is used only for first round of compiling, then it is compiled second time with new compiler. So at the end, resulting binary (fpc-2.4.4) is always compiled with fpc-2.4.4. Drawback is, that package can only be used with arm, i386 and x64 (it contains those pre-compiled binaries).
[1] http://www.freepascal.org/
[2] From May 22th, 2011
[3] http://maemo.org/packages/view/fpc-2.4.4/
[4] http://wiki.freepascal.org/Unit
[5] http://www.freepascal.org/faq.var#unix-asldmissing
[6] https://gitorious.org/maemo-fpc
[7] I found several talks and posts: fpc is used for long time on Maemo.