Sign in Join

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

Mailing lists / lazarus / 2012-01

Lazarus on Ubuntu: Pixbuf again

7 messages · 7 people · –

Reply by email Subscribe to this list Your subscription

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

Удав Каа

Hello all.
I'm completely upset. Tried to install Lazarus on Ubuntu 10.04, installed from repository but got "libpixbuf not found" error on any project compile. Nasty disaster is that there's NO?? libpixbuf for my OS. I tried rebuilding Lazarus with NoGdkPixBufLib defined and succeeded but that hasn't given any results. My empty form project as well as example projects fail to compile with the same message. AAARRRGHHH!!! How could I blow this damned lib out from Lazarus?

P.S. I tried building from source too. That was another epic history of tortures. I managed to build FPC but Laz refuses to locale system.pas and other units whatever I did. I tried Lazarus debs from sourceforge but there are dozen of them without any main package so I had to install them one by one. Alas, half of them even coudn't be installed because they require? libpixbuf

Please help. I've lost the whole day for these manipulations and going really crazy %-( -------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20120113/e0d2d429/attachment.html>

Reply by email

Reimar Grabowski
to Удав Каа
Hello all. I'm completely upset. Tried to install Lazarus on Ubuntu 10.04, installed from repository but got "libpixbuf not found" error on any project compile. Nasty disaster is that there's NO?? libpixbuf for my OS.

But there is libgdk-pixbuf2.0-0 and of course libgdk-pixbuf2.0-dev (at least on oneiric but I am quite sure that it was on lucid, too)

R.

Reply by email

Mattias Gaertner
to Удав Каа: Hello all. I'm completely upset. Tried to install Lazarus on Ubuntu 10.04, installed from…
Hello all. I'm completely upset. Tried to install Lazarus on Ubuntu 10.04, installed from repository but got "libpixbuf not found" error on any project compile. Nasty disaster is that there's NO?? libpixbuf for my OS. I tried rebuilding Lazarus with NoGdkPixBufLib defined and succeeded but that hasn't given any results. My empty form project as well as example projects fail to compile with the same message. AAARRRGHHH!!! How could I blow this damned lib out from Lazarus?

Add -dNoGdkPixBufLib to Tools / Configure Build Lazarus options.

P.S. I tried building from source too. That was another epic history of tortures. I managed to build FPC but Laz refuses to locale system.pas and other units whatever I did.

What did you?

I tried Lazarus debs from sourceforge but there are dozen of them without any main package so I had to install them one by one. Alas, half of them even coudn't be installed because they require? libpixbuf Please help. I've lost the whole day for these manipulations and going really crazy %-(

Mattias

Reply by email

Udav
to Mattias Gaertner

Guys, thanks for answering! I have had some rest on holidays and ready again to fight the problems :)

Reimar Grabowski wrote

Show quoted text 5 lines
But there is libgdk-pixbuf2.0-0 and of course libgdk-pixbuf2.0-dev (at least on oneiric but I am quite sure that it was on lucid, too) R.

Well, I have to admit that was partly a false panic. Just now I checked again and to my surprise found libgdk-pixbuf2.0 in the package manager. I guess it was Friday,13 that played this evil joke to me. So I installed it and I got error "/usr/bin/ld: cannot find -lgtk-x11-2.0" when linking examples. Googled for it but found nothing useful (I alreay had libgtk2.0 installed). By intuition I installed libgtk2.0-dev (the ) and then finally got things working.

Mattias Gaertner wrote

Add -dNoGdkPixBufLib to Tools / Configure Build Lazarus options.

Yeah, that worked too. My mistake was that I entered "NoGdkPixBufLib" to the options as I thought the field is for defines only.

For the moment I'll be enjoying finally working Lazarus but then I'll try to build it from source and then surely will come back with new issues :)

View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Lazarus-on-Ubuntu-Pixbuf-again-tp3657006p3662413.html Sent from the Free Pascal - Lazarus mailing list .

Reply by email

waldo kitty
to Udav
Udav wrote 16 lines
Guys, thanks for answering! I have had some rest on holidays and ready again to fight the problems :) Reimar Grabowski wrote > > But there is libgdk-pixbuf2.0-0 and of course libgdk-pixbuf2.0-dev (at > least on oneiric but I am quite sure that it was on lucid, too) > R. > Well, I have to admit that was partly a false panic. Just now I checked again and to my surprise found libgdk-pixbuf2.0 in the package manager. I guess it was Friday,13 that played this evil joke to me. So I installed it and I got error "/usr/bin/ld: cannot find -lgtk-x11-2.0" when linking examples. Googled for it but found nothing useful (I alreay had libgtk2.0 installed). By intuition I installed libgtk2.0-dev (the ) and then finally got things working.

yeah, that's the funny thing about *nix stuff... if you need to use something in a program you are writing, having the package installed only allows you to use it in the programs that are /already/ compiled and "installed"... you always need the -dev package if you want to compile something that uses that package... this so all the headers, defines and whatnot can be handled ;)

Reply by email

Sven Barth
to waldo kitty
waldo kitty wrote 28 lines
On 1/16/2012 02:14, Udav wrote: > Guys, thanks for answering! I have had some rest on holidays and ready > again > to fight the problems :) > > Reimar Grabowski wrote >> >> But there is libgdk-pixbuf2.0-0 and of course libgdk-pixbuf2.0-dev (at >> least on oneiric but I am quite sure that it was on lucid, too) >> R. >> > Well, I have to admit that was partly a false panic. Just now I checked > again and to my surprise found libgdk-pixbuf2.0 in the package manager. I > guess it was Friday,13 that played this evil joke to me. > So I installed it and I got error "/usr/bin/ld: cannot find > -lgtk-x11-2.0" > when linking examples. Googled for it but found nothing useful (I > alreay had > libgtk2.0 installed). By intuition I installed libgtk2.0-dev (the ) > and then > finally got things working. yeah, that's the funny thing about *nix stuff... if you need to use something in a program you are writing, having the package installed only allows you to use it in the programs that are /already/ compiled and "installed"... you always need the -dev package if you want to compile something that uses that package... this so all the headers, defines and whatnot can be handled ;)

You are not entirely right: this isn't the funny thing about *nix stuff, but about systems like Ubuntu and Debian. Distributions like ArchLinux don't have this distinction and if you install the package for a library you're ready to go developing with it as well. :)

Regards,
Sven

Reply by email

Mark Morgan Lloyd
to Sven Barth
Sven Barth wrote 11 lines
> yeah, that's the funny thing about *nix stuff... if you need to use > something in a program you are writing, having the package installed > only allows you to use it in the programs that are /already/ compiled > and "installed"... you always need the -dev package if you want to > compile something that uses that package... this so all the headers, > defines and whatnot can be handled ;) You are not entirely right: this isn't the funny thing about *nix stuff, but about systems like Ubuntu and Debian. Distributions like ArchLinux don't have this distinction and if you install the package for a library you're ready to go developing with it as well. :)

Slackware also puts on all the headers etc., but if something isn't available as a standard part of the distro things can get tricky. At least, to Debian's credit, the naming convention is fairly straightforward: sorting out e.g. Solaris is far more taxing.

My own practice is to install build-essential and gdb on any new system (except for outward-facing systems where those are a security risk), followed by the half-dozen -dev packages required for FP and Lazarus.

Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues]

Reply by email