Sign in Join

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

Mailing lists / lazarus / 2016-01

Installation under SUSE

9 messages · 7 people · –

Reply by email Subscribe to this list Your subscription

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

Josef Schnieder

Hello,

the setup-script from http://www.getlazarus.org/setup/ will not work under SUSE (open SUSE 42.1 Leap).
the message is:
"This script requires the package libgdk-pixbuf2.0-dev which was not found on your system"

But I can't find this package for SUSE.

What should I do?
Is there another way to install Lazarus with FPC 3.0 under SUSE.

best regards
Josef

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20160106/4a46d65f/attachment-0001.html>

Reply by email

Anthony Walter
to Josef Schnieder: the setup-script from http://www.getlazarus.org/setup/ will not work under SUSE (open…

Josef, I am the maintainer of http://www.getlazarus.org.

Unfortunately each Linux distribution can use different package names for their distribution when compared to other distributions (eg. Redhat, Debian, Suse). There is no Linux standard for either a universal package management system or universal package names.

What we users are generally left with is either to depend on the distribution manager to put the software we want into their own proprietary package management system, where the software versions may potentially lag far behind.

OR

We can attempt to build software from sources where we typically execute run a configure script to check for the existence of binaries and then we have to use our knowledge to locate the package for our distribution to install the missing requirements ourselves.

The Linux install script at http://www.getlazarus.org/setup/#linux is a compromise. It it build mainly around Debian but will attempt to find certain programs or libraries if you distribution supports it, and at least tells you the names of packages it's looking for if their binary parts cannot be found, but realistically it's going to fail most of the time when your not using a Debian based distro (Debian, Raspbian, Mint, Ubuntu).

What's really needed is a list of all the various distros, their package manager names and arguments, and the names of their equivalent packages. This would require me or a group of people to examine each distro and figure out the differences, then merge the result into a single script. Me personally installing all the different distributions (possibly using a virtual machine) and mapping out all these differences is not something I want to commit time to (and it would take a significant amount of time).

If you want to figure out the package names for Suse, and research the package manager check for install and package manager install programs plus arguments, along with the names of the packages required to run lazarus, you can send that info to me at and I can include it within the Linux install script if Suse is detected as the current distribution.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20160106/87ccbc34/attachment.html>

Reply by email

Graeme Geldenhuys
to Josef Schnieder: the setup-script from http://www.getlazarus.org/setup/ will not work under SUSE (open…
Josef Schnieder wrote
"This script requires the package libgdk-pixbuf2.0-dev which was not found on your system" But I can't find this package for SUSE.

The inconsistencies of Linux distros are mind boggling. SUSE probably named the packages something different. So use its package manager and search for keywords like "libgdk", "pixbuf", "gdk_pixbuf-2.0", "gtk-x11-2.0" etc until you find a package similar to libgdk-pixbuf2.0-dev, install that and see how it goes.

Alternatively, you can also compile Lazarus + LCL with the LCL-qt4 widgetset, instead of LCL-gtk2 widgetset.

Regards,
- Graeme -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ My public PGP key: http://tinyurl.com/graeme-pgp

Reply by email

Koenraad Lelong
to Josef Schnieder: the setup-script from http://www.getlazarus.org/setup/ will not work under SUSE (open…

Op 06-01-16 om 19:40 schreef Josef Schnieder:

Show quoted text 15 lines
Hello, the setup-script from http://www.getlazarus.org/setup/ will not work under SUSE (open SUSE 42.1 Leap). the message is: "This script requires the package libgdk-pixbuf2.0-dev which was not found on your system" But I can't find this package for SUSE. What should I do? Is there another way to install Lazarus with FPC 3.0 under SUSE. best regards Josef

FWIW,

The Education repo of Opensuse has lazarus 1.4.4
(https://software.opensuse.org/package/lazarus). I think it should be possible to discover what packages this needs, lazarus 3.0 should need the same libraries, I think.

I successfully installed fpcup on my opensuse 13.2.

Koenraad.

Reply by email

David Copeland
to Koenraad Lelong

On my 13.2 system at home with Laz 1.4.2/fpc 2.6.4, I have the following packages installed

gdk-pixbuf-devel
libgdk_pixbuf-2_0-0

plus a few other related packages. I think the devel is required.

Dave.

Koenraad Lelong wrote 34 lines
Op 06-01-16 om 19:40 schreef Josef Schnieder: > Hello, > > the setup-script from http://www.getlazarus.org/setup/ will not work > under SUSE (open SUSE 42.1 Leap). > the message is: > "This script requires the package libgdk-pixbuf2.0-dev which was not > found on your system" > > But I can't find this package for SUSE. > > What should I do? > Is there another way to install Lazarus with FPC 3.0 under SUSE. > > best regards > Josef FWIW, The Education repo of Opensuse has lazarus 1.4.4 (https://software.opensuse.org/package/lazarus). I think it should be possible to discover what packages this needs, lazarus 3.0 should need the same libraries, I think. I successfully installed fpcup on my opensuse 13.2. Koenraad. -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

Gordon Findlay
to David Copeland

Suse Leap (I no longer have and OpenSuse 13 machines) seems to call the required packages

gtk2-devel
cairo-devel
pango-devel
gdk-pixbuf-devel
atk-devel
ghc-X11-devel

Most likely install commands such as

zypper install gtk2-devel

would be fine, but much depends on the way repositories set up. On this machine there are (too) many repositories, and much more time is spent updating metadata rather than installing.

To test for a package being installed I always use rpm, in a naive way:

rpm -qa | grep gtk2-devel

which is slower than it needs to be, but installing Lazarus is not done very often.

Incidentally I ran the script from getlazarus.org on two Leap installations a few days ago. The first one went swimmingly; the second one failed as the make of lazbuild failed. I never located quite what was the problem: to save time I just copied the installation that worked.

David Copeland wrote 53 lines
On my 13.2 system at home with Laz 1.4.2/fpc 2.6.4, I have the following packages installed gdk-pixbuf-devel libgdk_pixbuf-2_0-0 plus a few other related packages. I think the devel is required. Dave. On 01/06/2016 05:00 PM, Koenraad Lelong wrote: > Op 06-01-16 om 19:40 schreef Josef Schnieder: >> Hello, >> >> the setup-script from http://www.getlazarus.org/setup/ will not work >> under SUSE (open SUSE 42.1 Leap). >> the message is: >> "This script requires the package libgdk-pixbuf2.0-dev which was not >> found on your system" >> >> But I can't find this package for SUSE. >> >> What should I do? >> Is there another way to install Lazarus with FPC 3.0 under SUSE. >> >> best regards >> Josef > > FWIW, > > The Education repo of Opensuse has lazarus 1.4.4 > (https://software.opensuse.org/package/lazarus). I think it should be > possible to discover what packages this needs, lazarus 3.0 should need > the same libraries, I think. > > I successfully installed fpcup on my opensuse 13.2. > > Koenraad. > > > -- > _______________________________________________ > Lazarus mailing list > > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20160107/ec06a3cc/attachment-0001.html>

Reply by email

Josef Schnieder
to Anthony Walter

Thanks for the lot of answer.
Gordon thanks for the package names. I have installed them manually and remarked the requirePackage-Statements in the setup-script.

--> the installation works fine.

best regards
Josef

Anthony Walter wrote 9 lines
Gordon thanks for the zypper package names. I may incorporate them into the install script sometime in the future. -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20160107/77250852/attachment.html>

Reply by email