Sign in Join

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

Mailing lists / fpc-pascal / 2011-07

Installing *.deb Packages

14 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

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

Henry Vermaak
to Rainer Stratmann
Rainer Stratmann wrote 7 lines
I downloaded some *.deb packages from here: http://sourceforge.net/projects/lazarus/files/Lazarus%20Linux%20i386%20DEB/Lazarus%200.9.30/ and wanted to install with dpkg -i *.deb There was an error libc6-dev not found. (crosscompile package). Where can I get this deb package?

dpkg should have marked that dependency as broken, so you should be able to use:

apt-get -f install

to install the necessary packages from the repo. then try dpkg -i ... again.

Henry

Reply by email

Rainer Stratmann
to Henry Vermaak
Henry Vermaak wrote 16 lines
On 01/07/11 12:06, Rainer Stratmann wrote: > I downloaded some *.deb packages from here: > http://sourceforge.net/projects/lazarus/files/Lazarus%20Linux%20i386%20DE >B/Lazarus%200.9.30/ and wanted to install with > dpkg -i *.deb > > There was an error libc6-dev not found. (crosscompile package). > Where can I get this deb package? dpkg should have marked that dependency as broken, so you should be able to use: apt-get -f install to install the necessary packages from the repo. then try dpkg -i ... again.

When try to install the packages I have some kind of feeling that I will force to learn again and again to eat with knife and fork although I know already how to eat with knife and fork.

Also it feels like to be thrown back in stone age.

The win32 crosscompile package requires a lot of other packages that are not available in the debian (standard!) distribution.

I want to install fpc, lazarus and crosscompile with the deb packages (without internet access on this computer) but that seems to be impossible. I remember that is was possible easier last year.
Rainer

Henry _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply by email

Henry Vermaak
to Rainer Stratmann
Rainer Stratmann wrote
The win32 crosscompile package requires a lot of other packages that are not available in the debian (standard!) distribution.

It only requires the fpc packages (obviously), binutils and libc6dev:

dpkg --info fpc_crosswin32_2.4.2-110317_i386.deb
new debian package, version 2.0.
size 51473892 bytes: control archive= 550 bytes.
1084 bytes, 14 lines control
Package: fpc-crosswin32
Version: 2.4.2
Section: devel
Priority: optional
Maintainer: Mattias Gaertner
Architecture: i386
Depends: fpc (>=2.4.2) | fp-compiler (>=2.4.2), fpc (>=2.4.2) | fp-ide (>=2.4.2), fpc (>=2.4.2) | fp-units-base (>=2.4.2), fpc (>=2.4.2) | fp-units-db (>=2.4.2), fpc (>=2.4.2) | fp-units-fcl (>=2.4.2), fpc (>=2.4.2) | fp-units-fv (>=2.4.2), fpc (>=2.4.2) | fp-units-gfx (>=2.4.2), fpc (>=2.4.2) | fp-units-gnome1 (>=2.4.2), fpc (>=2.4.2) | fp-units-gtk (>=2.4.2), fpc (>=2.4.2) | fp-units-gtk2 (>=2.4.2), fpc (>=2.4.2) | fp-units-misc (>=2.4.2), fpc (>=2.4.2) | fp-units-net (>=2.4.2), fpc (>=2.4.2) | fp-units-rtl (>=2.4.2), fpc (>=2.4.2) | fp-utils (>=2.4.2)
Pre-Depends: binutils, libc6-dev
Description: Free Pascal units cross compiled to win32 for linux Units and binutils needed by Freepascal to cross compile to target win32.
This deb was built from sources built by the scripts of the lazarus project.
See http://www.lazarus.freepascal.org.
Download the lazarus sources and see
<lazarusdir>/tools/install/cross_unix/

I want to install fpc, lazarus and crosscompile with the deb packages (without internet access on this computer) but that seems to be impossible. I remember that is was possible easier last year.

It's still possible. Just install the fpc packages, binutils and libc6-dev.

Henry

Reply by email

Rainer Stratmann
to Henry Vermaak

fpc_crosswin... ...requires fp-units-gtk

...fp-units-gtk... ...requires libgtk2.0-dev

...and that lib requires other libs...

and so on

Why is it only possible with this libs?
Isn't it possible with the libs which has debian 'on board' ?

Henry Vermaak wrote 46 lines
On 01/07/11 12:58, Rainer Stratmann wrote: > The win32 crosscompile package requires a lot of other packages that are > not available in the debian (standard!) distribution. It only requires the fpc packages (obviously), binutils and libc6dev: dpkg --info fpc_crosswin32_2.4.2-110317_i386.deb new debian package, version 2.0. size 51473892 bytes: control archive= 550 bytes. 1084 bytes, 14 lines control Package: fpc-crosswin32 Version: 2.4.2 Section: devel Priority: optional Maintainer: Mattias Gaertner Architecture: i386 Depends: fpc (>=2.4.2) | fp-compiler (>=2.4.2), fpc (>=2.4.2) | fp-ide (>=2.4.2), fpc (>=2.4.2) | fp-units-base (>=2.4.2), fpc (>=2.4.2) | fp-units-db (>=2.4.2), fpc (>=2.4.2) | fp-units-fcl (>=2.4.2), fpc (>=2.4.2) | fp-units-fv (>=2.4.2), fpc (>=2.4.2) | fp-units-gfx (>=2.4.2), fpc (>=2.4.2) | fp-units-gnome1 (>=2.4.2), fpc (>=2.4.2) | fp-units-gtk (>=2.4.2), fpc (>=2.4.2) | fp-units-gtk2 (>=2.4.2), fpc (>=2.4.2) | fp-units-misc (>=2.4.2), fpc (>=2.4.2) | fp-units-net (>=2.4.2), fpc (>=2.4.2) | fp-units-rtl (>=2.4.2), fpc (>=2.4.2) | fp-utils (>=2.4.2) Pre-Depends: binutils, libc6-dev Description: Free Pascal units cross compiled to win32 for linux Units and binutils needed by Freepascal to cross compile to target win32. This deb was built from sources built by the scripts of the lazarus project. See http://www.lazarus.freepascal.org. Download the lazarus sources and see <lazarusdir>/tools/install/cross_unix/ > I want to install fpc, lazarus and crosscompile with the deb packages > (without internet access on this computer) but that seems to be > impossible. I remember that is was possible easier last year. It's still possible. Just install the fpc packages, binutils and libc6-dev. Henry _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply by email

Henry Vermaak
to Rainer Stratmann
Rainer Stratmann wrote 10 lines
fpc_crosswin... ...requires fp-units-gtk ...fp-units-gtk... ...requires libgtk2.0-dev ...and that lib requires other libs... and so on Why is it only possible with this libs? Isn't it possible with the libs which has debian 'on board' ?

What does "on board" mean? Debian has libgtk2.0-dev.

Henry

Reply by email

Rainer Stratmann
to Henry Vermaak
Henry Vermaak wrote 13 lines
On 01/07/11 16:35, Rainer Stratmann wrote: > fpc_crosswin... ...requires fp-units-gtk > > ...fp-units-gtk... ...requires libgtk2.0-dev > > ...and that lib requires other libs... > > and so on > > Why is it only possible with this libs? > Isn't it possible with the libs which has debian 'on board' ? What does "on board" mean? Debian has libgtk2.0-dev.

That means if an installation of fpc could also be possible with less dependencies. We already discuss that here.
I installed KDE Desktop. May be then the lib libgtk2.0-dev was not installed by the debian installer.
Rainer

Henry _______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply by email

Jonas Maebe
to Rainer Stratmann
Rainer Stratmann wrote
I installed KDE Desktop. May be then the lib libgtk2.0-dev was not installed by the debian installer.

-dev packages are almost never installed by default, because they are only required when compiling programs that link against these libraries. Most people don't compile software.

Jonas

Reply by email

Rainer Stratmann
to Jonas Maebe
Jonas Maebe wrote 7 lines
On 01 Jul 2011, at 17:51, Rainer Stratmann wrote: > I installed KDE Desktop. May be then the lib libgtk2.0-dev was not > installed by the debian installer. -dev packages are almost never installed by default, because they are only required when compiling programs that link against these libraries. Most people don't compile software.

Isn't it possible to install the stuff without these dependencies and then put later an error if these libs/units are used?
I don't think that these libs are required for crosscompiling for win32. And not all users want to compile gtk applications. Rainer

Jonas_______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply by email

Jonas Maebe
to Rainer Stratmann
Rainer Stratmann wrote 11 lines
Am Friday 01 July 2011 17:54:25 schrieb Jonas Maebe: > On 01 Jul 2011, at 17:51, Rainer Stratmann wrote: >> I installed KDE Desktop. May be then the lib libgtk2.0-dev was not >> installed by the debian installer. > > -dev packages are almost never installed by default, because they are only > required when compiling programs that link against these libraries. Most > people don't compile software. Isn't it possible to install the stuff without these dependencies and then put later an error if these libs/units are used?

Yes, that is possible, but that is not Debian's policy (their policy is: if it installs, it should be fully functional). If you disagree with Debian's policy, either discuss it with them, or use a different Linux distribution.

Jonas

Reply by email

Rainer Stratmann
to Jonas Maebe
Jonas Maebe wrote 16 lines
On 01 Jul 2011, at 18:41, Rainer Stratmann wrote: > Am Friday 01 July 2011 17:54:25 schrieb Jonas Maebe: >> On 01 Jul 2011, at 17:51, Rainer Stratmann wrote: >>> I installed KDE Desktop. May be then the lib libgtk2.0-dev was not >>> installed by the debian installer. >> >> -dev packages are almost never installed by default, because they are >> only required when compiling programs that link against these libraries. >> Most people don't compile software. > > Isn't it possible to install the stuff without these dependencies and > then put later an error if these libs/units are used? Yes, that is possible, but that is not Debian's policy (their policy is: if it installs, it should be fully functional). If you disagree with Debian's policy, either discuss it with them, or use a different Linux distribution.

I am always surprised how suggestions in the direction of easy install and userfriendlyness are choked because of that and that reason.

Jonas_______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply by email

Jonas Maebe
to Rainer Stratmann
Rainer Stratmann wrote 7 lines
Am Friday 01 July 2011 18:57:49 schrieb Jonas Maebe: > Yes, that is possible, but that is not Debian's policy (their policy is: if > it installs, it should be fully functional). If you disagree with Debian's > policy, either discuss it with them, or use a different Linux distribution. I am always surprised how suggestions in the direction of easy install and userfriendlyness

User-friendliness and ease of installation is in the eye of the beholder. This is Debian's version thereof. Every choice has its upsides and downsides.

are choked because of that and that reason.

The reason is that someone has to do the work. The current .deb files are created by the official Debian maintainers of the FPC package. If you or someone wants to create alternate .deb files without any dependencies, we can probably offer space to host them as well.

Jonas

Reply by email

Rainer Stratmann
to Jonas Maebe
Jonas Maebe wrote 20 lines
On 01 Jul 2011, at 19:09, Rainer Stratmann wrote: > Am Friday 01 July 2011 18:57:49 schrieb Jonas Maebe: >> Yes, that is possible, but that is not Debian's policy (their policy is: >> if it installs, it should be fully functional). If you disagree with >> Debian's policy, either discuss it with them, or use a different Linux >> distribution. > > I am always surprised how suggestions in the direction of easy install > and userfriendlyness User-friendliness and ease of installation is in the eye of the beholder. This is Debian's version thereof. Every choice has its upsides and downsides. > are choked because of that and that reason. The reason is that someone has to do the work. The current .deb files are created by the official Debian maintainers of the FPC package. If you or someone wants to create alternate .deb files without any dependencies, we can probably offer space to host them as well.

I am not familiar with the deb system and so on, but I can imagine that this should not be _that_ hard work to do so.
For me this seems like deleting one ore more entrys somewhere in the deb file. Then more people are lucky than with the dependency rallye. Rainer

Jonas_______________________________________________ fpc-pascal maillist - http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply by email