Re: [Lazarus] gdk_pixbuf
En/na Mattias Gaertner ha escrit: Normally these links are setup by some devel packages. If these symlinks are created by the lazarus rpms these packages would conflict. If there is really no package under OpenSuSE/Mandriva that is responsible for the symlinks - which I doubt - then maybe we have to create special rpm packages for these distros. Don't know about opensuse, but for mandriva, simply use urpmf filename to find the devel package that contains the link you're after and install it. Bye -- Luca Olivetti Wetron Automatización S.A. http://www.wetron.es/ Tel. +34 93 5883004 (Ext.133) Fax +34 93 5883007 -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] gdk_pixbuf
Gustavo Enrique Jimenez schrieb: Developers MUST take care of the system's internals. It should not be problem for a responsible developer (hey, it is just a devel package). On windows systems, developers tends to ignore fundamental principles. Unix, Linux, etc. requires some background. That is why unix-like systems are more reliable than windows systems: unix's developers know unix, windows developers don't know windows. Developers should care of their code, while system maintenance is the job of administrators. A system administrator may be available in a company, but not for a private (desktop) system. Thus a private system is as reliable as its user is, when it comes to system administration tasks. DoDi -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] gdk_pixbuf
On Mon, 16 Nov 2009 01:03:15 +0200 Juha Manninen wrote: > On sunnuntai, 15. marraskuuta 2009 12:57:45 Mattias Gaertner wrote: > > > > What means warning: "../link.res contains output sections; did you forget > > > -T?" > > > > See here: > > http://lists.freepascal.org/lists/fpc-devel/2009-May/016828.html > > Ok. After reading I still don't know how to get rid of the warning. It means: the warning is just a warning and the FPC devels will live with it. You can not get rid of it. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] gdk_pixbuf
On Sun, 15 Nov 2009 15:46:57 -0500 waldo kitty wrote: > Juha Manninen wrote: > > I managed to compile it finally. I had to make the sym-links you mentioned > > and > > then some more: > > > > ln -s libgobject-2.0.so.0libgobject-2.0.so > > ln -s libglib-2.0.so.0libglib-2.0.so > > ln -s libgthread-2.0.so.0libgthread-2.0.so > > ln -s libgmodule-2.0.so.0libgmodule-2.0.so > > ln -s libcairo.so.2 libcairo.so > > > > Someone should fix this issue. Is it a Mandrive / OpenSuse issue or FPC > > issue, > > I don't know? > > i would say that it is a Mandrive / OpenSuse issue because most every other > *nix > out there doesn't have trailing numbers after the .so extention... at least > not > in my experience with some 10+ flavors over the last years... > > yes, perhaps the FPC and/or Lazarus installer can determine the OS it is > being > installed on and it can create these links as necessary? that may require > root > access, though... some may not want to provide that... especially if it is an > install for only one user... Normally these links are setup by some devel packages. If these symlinks are created by the lazarus rpms these packages would conflict. If there is really no package under OpenSuSE/Mandriva that is responsible for the symlinks - which I doubt - then maybe we have to create special rpm packages for these distros. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] gdk_pixbuf
> > yes, perhaps the FPC and/or Lazarus installer can determine the OS it is > being installed on and it can create these links as necessary? that may > require root access, though... some may not want to provide that... > especially if it is an install for only one user... > I think this is not a good idea. Developers MUST take care of the system's internals. It should not be problem for a responsible developer (hey, it is just a devel package). On windows systems, developers tends to ignore fundamental principles. Unix, Linux, etc. requires some background. That is why unix-like systems are more reliable than windows systems: unix's developers know unix, windows developers don't know windows. Gustavo ps: excuse my english -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] gdk_pixbuf
On sunnuntai, 15. marraskuuta 2009 12:57:45 Mattias Gaertner wrote: > > What means warning: "../link.res contains output sections; did you forget > > -T?" > > See here: > http://lists.freepascal.org/lists/fpc-devel/2009-May/016828.html Ok. After reading I still don't know how to get rid of the warning. Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] gdk_pixbuf
Juha Manninen wrote: I managed to compile it finally. I had to make the sym-links you mentioned and then some more: ln -s libgobject-2.0.so.0libgobject-2.0.so ln -s libglib-2.0.so.0libglib-2.0.so ln -s libgthread-2.0.so.0libgthread-2.0.so ln -s libgmodule-2.0.so.0libgmodule-2.0.so ln -s libcairo.so.2 libcairo.so Someone should fix this issue. Is it a Mandrive / OpenSuse issue or FPC issue, I don't know? i would say that it is a Mandrive / OpenSuse issue because most every other *nix out there doesn't have trailing numbers after the .so extention... at least not in my experience with some 10+ flavors over the last years... yes, perhaps the FPC and/or Lazarus installer can determine the OS it is being installed on and it can create these links as necessary? that may require root access, though... some may not want to provide that... especially if it is an install for only one user... -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] gdk_pixbuf
On sunnuntai, 15. marraskuuta 2009 14:40:24 zeljko wrote: > If you installed devel packages, and there's no symlinks then it's your > distro problem, but if you didn't install devel packages then you are bug > :) FC11 had such bug (no needed symlinks, but devel packages installed) > somewhere around beta 1. I had at least gdk_pixbuf devel package installed but not many other devel packages. Actually only the library is needed for Lazarus compilation but the devel package adds some sym-links for them. I have no energy to investigate this more. It works now. Juha Manninen -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] gdk_pixbuf
On Sunday 15 November 2009 12:42, Juha Manninen wrote: > I managed to compile it finally. I had to make the sym-links you mentioned > and then some more: > > ln -s libgobject-2.0.so.0libgobject-2.0.so > ln -s libglib-2.0.so.0libglib-2.0.so > ln -s libgthread-2.0.so.0libgthread-2.0.so > ln -s libgmodule-2.0.so.0libgmodule-2.0.so > ln -s libcairo.so.2 libcairo.so > > Someone should fix this issue. Is it a Mandrive / OpenSuse issue or FPC > issue, I don't know? If you installed devel packages, and there's no symlinks then it's your distro problem, but if you didn't install devel packages then you are bug :) FC11 had such bug (no needed symlinks, but devel packages installed) somewhere around beta 1. zeljko -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] gdk_pixbuf
On sunnuntai, 15. marraskuuta 2009 12:57:59 ing. A.J. Vogelaar wrote: > Hello, > > there are a few links to create. > For installing on Mandriva 2010.0 is use following instructions: > >MCC install : libgdk-pixbuf2 libgdk-pixbuf2-devel ># cd /usr/lib/ >ln -s libgdk_pixbuf-2.0.so.0 libgdk_pixbuf-2.0.so >ln -s libgtk-x11-2.0.so.0libgtk-x11-2.0.so >ln -s libgdk-x11-2.0.so.0libgdk-x11-2.0.so >ln -s libpango-1.0.so.0 libpango-1.0.so >ln -s libatk-1.0.so.0libatk-1.0.so >Remark: delete ~/.fpc.cfg if present >$ cd ~/lazarus >make clean all > On desktop links to : >~/lazarus/startlazarus >/usr/local/share/doc/fpc-2.2.4/doc/fpdocs-2.2.4/ > Configure Lazarus: >Environment | Options | Environment | Files | FPC source directory | > /usr/local/lib/fpc/2.2.4/src/ I managed to compile it finally. I had to make the sym-links you mentioned and then some more: ln -s libgobject-2.0.so.0libgobject-2.0.so ln -s libglib-2.0.so.0libglib-2.0.so ln -s libgthread-2.0.so.0libgthread-2.0.so ln -s libgmodule-2.0.so.0libgmodule-2.0.so ln -s libcairo.so.2 libcairo.so Someone should fix this issue. Is it a Mandrive / OpenSuse issue or FPC issue, I don't know? Thanks to all who answered. You are clever people here :-) Juha Manninen -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] gdk_pixbuf
On Sun, 15 Nov 2009 12:32:29 +0200 Juha Manninen wrote: > Hi, > > I started to experiment some more and installed the latest OpenSuse 11.2. > It is really cool otherwise (look at the latest KDE, wow), but when I build > Lazarus for GTK2 widgets I get error: > > Compiling lazarus.pp > Linking ../lazarus > /usr/bin/ld: warning: ../link.res contains output sections; did you forget -T? > /usr/bin/ld: cannot find -lgdk_pixbuf-2.0 > lazarus.pp(126,1) Error: Error while linking > lazarus.pp(126,1) Fatal: There were 1 errors compiling module, stopping > > However, I have installed gdk_pixbuf. When I run ldconfig as root, see... > > # ldconfig -p | grep gdk_pixbuf > libgvplugin_gdk_pixbuf.so.5 (libc6) => > /usr/lib/graphviz/libgvplugin_gdk_pixbuf.so.5 > libgvplugin_gdk_pixbuf.so (libc6) => > /usr/lib/graphviz/libgvplugin_gdk_pixbuf.so > libgdk_pixbuf_xlib.so.2 (libc6) => /usr/lib/libgdk_pixbuf_xlib.so.2 > libgdk_pixbuf_xlib.so (libc6) => /usr/lib/libgdk_pixbuf_xlib.so > libgdk_pixbuf_xlib-2.0.so.0 (libc6) => /usr/lib/libgdk_pixbuf_xlib-2.0.so.0 > libgdk_pixbuf.so.2 (libc6) => /usr/lib/libgdk_pixbuf.so.2 > libgdk_pixbuf.so (libc6) => /usr/lib/libgdk_pixbuf.so > libgdk_pixbuf-2.0.so.0 (libc6) => /usr/lib/libgdk_pixbuf-2.0.so.0 It's missing: libgdk_pixbuf-2.0.so (libc6) => /usr/lib/libgdk_pixbuf-2.0.so > Last line should be the one Lazarus needs I think. > Who has Linux? What name the lib has there? This is installed by the libgtk2.0-dev under debian/ubuntu. Under Fedora 11 the packages are called "gtk2-devel glibc-devel". I don't know how it is called under OpenSuSE. > What means warning: "../link.res contains output sections; did you forget -T?" See here: http://lists.freepascal.org/lists/fpc-devel/2009-May/016828.html > Earlier there was an error for missing X11 lib but installing X11-devel > package helped. > Maybe I will try deleting and reloading the whole Lazarus source. > > I even installed FPC 2.4.0 RC1 but still get the same error. (I had to ignore > a dependency for libtinfo.so.5 but that is not a problem. Seems to affect the > text IDE only, not the compiler). Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] gdk_pixbuf
Hello, there are a few links to create. For installing on Mandriva 2010.0 is use following instructions: MCC install : libgdk-pixbuf2 libgdk-pixbuf2-devel # cd /usr/lib/ ln -s libgdk_pixbuf-2.0.so.0 libgdk_pixbuf-2.0.so ln -s libgtk-x11-2.0.so.0libgtk-x11-2.0.so ln -s libgdk-x11-2.0.so.0libgdk-x11-2.0.so ln -s libpango-1.0.so.0 libpango-1.0.so ln -s libatk-1.0.so.0libatk-1.0.so Remark: delete ~/.fpc.cfg if present $ cd ~/lazarus make clean all On desktop links to : ~/lazarus/startlazarus /usr/local/share/doc/fpc-2.2.4/doc/fpdocs-2.2.4/ Configure Lazarus: Environment | Options | Environment | Files | FPC source directory | /usr/local/lib/fpc/2.2.4/src/ Success, Anthony th...@mikro.ee.tu-berlin.de wrote: Hello Juha, perhaps you have to do ln -s libgdk_pixbuf-2.0.so.0 libgdk_pixbuf-2.0.so in /usr/lib as root. Regards, Stephan -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] gdk_pixbuf
Hello Juha, perhaps you have to do ln -s libgdk_pixbuf-2.0.so.0 libgdk_pixbuf-2.0.so in /usr/lib as root. Regards, Stephan -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus