Michael Van Canneyt wrote:
>
> On Wed, 1 Mar 2006, Uwe Grauer wrote:
>
>> Michael Van Canneyt wrote:
>>>
>>> On Wed, 1 Mar 2006, Uwe Grauer wrote:
>>>
>>>> Uwe Grauer wrote:
>>>>> Mattias Gaertner wrote:
>>>>>> On Mon, 27 Feb 2006 15:24:50 +0100
>>>>>> Uwe Grauer <[EMAIL PROTECTED]> wrote:
>>>>>>
>>>>>>> Do i really need to have a gtk1-dev-package to compile lazarus?
>>>>>>> Opensuse has full gtk2-support. I don't want to mess up my system
>>>>>>> just to compile lazarus.
>>>>>>> What can i do?
>>>>>> gtk1 and gtk2 lives happily together. They don't share anything.
>>>>>> Installing
>>>>>> any gtk1 part should not mess up any gtk2 installation.
>>>>>>
>>>>>> Maybe you got confused by the --force option, you need to install
>>>>>> the lazrus
>>>>>> fedora rpm on suse. If you don't want to use the --force option, do not
>>>>>> install the rpm. Download the lazarus tgz, extract it and do 'make'
>>>>>> to build
>>>>>> it. Lazarus does not need any special directory name. The only
>>>>>> executable
>>>>>> are 'lazarus' and startlazarus.
>>>>>>
>>>>>> Mattias
>>>>>>
>>>>> Ok, i installed gtk-devel-1.2.10
>>>>>
>>>>> Now i get:
>>>>> make
>>>>> ...
>>>>> Target OS: Linux for i386
>>>>> Compiling lazarus.pp
>>>>> Linking ../lazarus
>>>>> /usr/bin/ld: cannot find -lgdk
>>>>> lazarus.pp(113,1) Error: Error while linking
>>>>> make[2]: *** [lazarus] Error 1
>>>>> ...
>>>>>
>>>>> Any hint?
>>>>> I have /opt/gnome/lib/libgdk-1.2.so.0 .
>>>>> What am i missing?
>>>>>
>>>>> Thanks,
>>>>> Uwe
>>>>>
>>>>>
>>>> Any help on this, please?
>>> 1. There should be a link with filename ending on .so:
>>>
>>> /opt/gnome/lib/libgdk-1.2.so -> /opt/gnome/lib/libgdk-1.2.so.0
>>>
>>> if this isn't there, the devel packages was not well installed.
>>> You can always create this link manually.
>>>
>>> 2. See if /opt/gnome/lib is passed to the linker as a library path.
>>>
>>> Michael.
>>>
>> I changed /opt/gnome/lib/libgdk-1.2.so.0 to /opt/gnome/lib/libgdk-1.2.so
>> I ran ldconfig. /opt/gnome/lib is passed to the linker.
>> I got the same error (/usr/bin/ld: cannot find -lgdk).
>>
>> What else now?
>
> My apologies, I made a big mistake. It should be:
>
> /opt/gnome/lib/libgdk.so -> /opt/gnome/lib/libgdk-1.2.so.0
>
> Sorry about that :/
>
> Michael.
No problem, but i still have this:
[EMAIL PROTECTED]:~/src/lazarus> ll /opt/gnome/lib/libgdk*
lrwxrwxrwx 1 root root 19 2006-02-15 21:30
/opt/gnome/lib/libgdk-1.2.so -> libgdk-1.2.so.0.9.1
lrwxrwxrwx 1 root root 19 2006-03-01 18:20
/opt/gnome/lib/libgdk-1.2.so.0 -> libgdk-1.2.so.0.9.1
-rwxr-xr-x 1 root root 230588 2005-09-13 01:49
/opt/gnome/lib/libgdk-1.2.so.0.9.1
lrwxrwxrwx 1 root root 22 2006-02-15 21:30
/opt/gnome/lib/libgdk_imlib.so.1 -> libgdk_imlib.so.1.9.14
-rwxr-xr-x 1 root root 146516 2005-09-13 02:09
/opt/gnome/lib/libgdk_imlib.so.1.9.14
-rw-r--r-- 1 root root 971 2005-09-13 03:06
/opt/gnome/lib/libgdk_pixbuf-2.0.la
lrwxrwxrwx 1 root root 28 2006-02-15 21:38
/opt/gnome/lib/libgdk_pixbuf-2.0.so -> libgdk_pixbuf-2.0.so.0.800.3
lrwxrwxrwx 1 root root 28 2006-02-15 21:32
/opt/gnome/lib/libgdk_pixbuf-2.0.so.0 -> libgdk_pixbuf-2.0.so.0.800.3
-rwxr-xr-x 1 root root 87416 2005-09-13 03:07
/opt/gnome/lib/libgdk_pixbuf-2.0.so.0.800.3
lrwxrwxrwx 1 root root 22 2006-02-26 16:13
/opt/gnome/lib/libgdk_pixbuf.so.2 -> libgdk_pixbuf.so.2.0.0
-rwxr-xr-x 1 root root 82696 2005-09-13 03:10
/opt/gnome/lib/libgdk_pixbuf.so.2.0.0
-rw-r--r-- 1 root root 1060 2005-09-13 03:07
/opt/gnome/lib/libgdk_pixbuf_xlib-2.0.la
lrwxrwxrwx 1 root root 33 2006-02-15 21:38
/opt/gnome/lib/libgdk_pixbuf_xlib-2.0.so ->
libgdk_pixbuf_xlib-2.0.so.0.800.3
lrwxrwxrwx 1 root root 33 2006-02-15 21:32
/opt/gnome/lib/libgdk_pixbuf_xlib-2.0.so.0 ->
libgdk_pixbuf_xlib-2.0.so.0.800.3
-rwxr-xr-x 1 root root 58044 2005-09-13 03:07
/opt/gnome/lib/libgdk_pixbuf_xlib-2.0.so.0.800.3
lrwxrwxrwx 1 root root 27 2006-02-26 16:13
/opt/gnome/lib/libgdk_pixbuf_xlib.so.2 -> libgdk_pixbuf_xlib.so.2.0.0
-rwxr-xr-x 1 root root 119212 2005-09-13 03:10
/opt/gnome/lib/libgdk_pixbuf_xlib.so.2.0.0
-rw-r--r-- 1 root root 831 2005-09-13 03:07
/opt/gnome/lib/libgdk-x11-2.0.la
lrwxrwxrwx 1 root root 25 2006-02-15 21:38
/opt/gnome/lib/libgdk-x11-2.0.so -> libgdk-x11-2.0.so.0.800.3
lrwxrwxrwx 1 root root 25 2006-02-15 21:32
/opt/gnome/lib/libgdk-x11-2.0.so.0 -> libgdk-x11-2.0.so.0.800.3
-rwxr-xr-x 1 root root 528700 2005-11-02 15:42
/opt/gnome/lib/libgdk-x11-2.0.so.0.800.3
Uwe
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives