Re: [lazarus] compile lazarus on opensuse 10.0

2006-03-05 Thread Christian U.
you just have to install gdk and gtk devel packages just search on yast for 
gdk and gtk and install

the devel packages works fine for me.
another problem on suse is that the language settings are always on utf-8 
maybe thats no problem for english distributions. on my german i had to set 
the LC_LANG setting in the scripts manually 




- Original Message - 
From: Michael Van Canneyt [EMAIL PROTECTED]

To: lazarus@miraclec.com
Sent: Saturday, March 04, 2006 11:12 AM
Subject: Re: [lazarus] compile lazarus on opensuse 10.0





On Sat, 4 Mar 2006, John Briggs wrote:


  Any hint?
  I have /opt/gnome/lib/libgdk-1.2.so.0 .
  What am i missing?

 Any help on this, please?

 Uwe

Hi Uwe,
  For me there are major problems setting up the correct
programming/developement environment in OpenSuSe 10.0. I am currently 
using
the OpenSuSE10.0 x86_64 distribution and to me this distribution is 
crippled.
Perhaps you may get the answers to your specific distro questions by 
asking

them in an OpenSuSE forum.


One of my friends, who has little experience on Linux, set up Lazarus
on opensuse 10.0 without too much hassle. The distribution is fine and
contains all you need, but some names are different from what Lazarus
expects. It just takes creating a couple of symbolic links to fix things.

Michael.

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives





_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] compile lazarus on opensuse 10.0

2006-03-04 Thread Michael Van Canneyt


On Sat, 4 Mar 2006, John Briggs wrote:

   Any hint?
   I have /opt/gnome/lib/libgdk-1.2.so.0 .
   What am i missing?
  
  Any help on this, please?
  
  Uwe
 
 Hi Uwe,
   For me there are major problems setting up the correct 
 programming/developement environment in OpenSuSe 10.0. I am currently using
 the OpenSuSE10.0 x86_64 distribution and to me this distribution is crippled.
 Perhaps you may get the answers to your specific distro questions by asking 
 them in an OpenSuSE forum.

One of my friends, who has little experience on Linux, set up Lazarus
on opensuse 10.0 without too much hassle. The distribution is fine and 
contains all you need, but some names are different from what Lazarus 
expects. It just takes creating a couple of symbolic links to fix things. 

Michael.

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] compile lazarus on opensuse 10.0

2006-03-03 Thread John Briggs
  Any hint?
  I have /opt/gnome/lib/libgdk-1.2.so.0 .
  What am i missing?
 
 Any help on this, please?
 
 Uwe

Hi Uwe,
  For me there are major problems setting up the correct 
programming/developement environment in OpenSuSe 10.0. I am currently using
the OpenSuSE10.0 x86_64 distribution and to me this distribution is crippled.
Perhaps you may get the answers to your specific distro questions by asking 
them in an OpenSuSE forum.

Regards

John

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] compile lazarus on opensuse 10.0

2006-03-02 Thread Uwe Grauer
Uwe Grauer wrote:
 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?

 Uwe

 
 I know that i could compile it under Suse 9.3.
 But i don't have this any more.
 There must be someone running Opensuse 10.0 with lazarus!
 
 Uwe
 

Ok, now i got a hint on the alt.linux.suse list (see end of mail).
Now, why tries lazarus to link libgdk.so and libgtk.so?
Do i have the right sources?
Shouldn't there be a configure script?
Do i have to manually chenge the Makefile?

Thanks,
Uwe


Markus Kossmann wrote:
  Uwe Grauer wrote:
 
  I am trying to compile lazarus under Opensuse 10.0,
  but am getting a linker error:
  /usr/bin/ld: cannot find -lgdk
 
  The linker wants to see either libgdk.so or libgdk.a (and not
  libgdk-1.2.so\a). Quick and dirty workaround: make  a link.
  Right solution : Find out why it tries to use libgdk.so instead of
  libgdk-1.2.so and fix that.
 
 
 

 Thanks Markus,

 this seems to be the right hint.
 Now why does it want to see libgdk.so and libgtk.so ...?
 Have to investigate more.

 Uwe

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] compile lazarus on opensuse 10.0

2006-03-02 Thread Mattias Gaertner
On Thu, 02 Mar 2006 20:16:06 +0100
Uwe Grauer [EMAIL PROTECTED] wrote:

 Uwe Grauer wrote:
  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?
 
  Uwe
 
  
  I know that i could compile it under Suse 9.3.
  But i don't have this any more.
  There must be someone running Opensuse 10.0 with lazarus!
  
  Uwe
  
 
 Ok, now i got a hint on the alt.linux.suse list (see end of mail).
 Now, why tries lazarus to link libgdk.so and libgtk.so?

They are called this way on all distributions we tried so far.


 Do i have the right sources?

If unsure, remove them and download lazarus tgz or use svn.


 Shouldn't there be a configure script?

No, because it would be empty.


 Do i have to manually chenge the Makefile?

No. Don't do that. 
If you need to add a lib path, use
make OPT='-Flyourpath'


Mattias

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] compile lazarus on opensuse 10.0

2006-03-01 Thread Uwe Grauer
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?

Uwe

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] compile lazarus on opensuse 10.0

2006-03-01 Thread Uwe Grauer
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?

Uwe

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] compile lazarus on opensuse 10.0

2006-03-01 Thread Uwe Grauer
Mattias Gaertner wrote:
 On Wed, 01 Mar 2006 13:21:28 +0100
 Uwe Grauer [EMAIL PROTECTED] 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?
 
 Under fedora/redhat the packages are named:
 gdk-pixbuf and gdk-pixbuf-devel
 
 Under suse they will called very similar. Just make sure, to not confuse
 them with the gdk2 packages.
 
 Mattias
 

i have libgdk_pixbuf-2.0.so - libgdk_pixbuf-2.0.so.0.800.3
Same error (/usr/bin/ld: cannot find -lgdk)

What can I do else?

Uwe

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] compile lazarus on opensuse 10.0

2006-03-01 Thread Michael Van Canneyt


On Wed, 1 Mar 2006, Uwe Grauer wrote:

 
  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

This should be /opt/gnome/lib/libgdk.so - libgdk-1.2.so.0.9.1

(NO version number whatsoever should be present)

Michael.

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


[lazarus] compile lazarus on opensuse 10.0

2006-02-27 Thread Uwe Grauer
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?

Tanks,
Uwe

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] compile lazarus on opensuse 10.0

2006-02-27 Thread Mattias Gaertner
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

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] compile lazarus on opensuse 10.0

2006-02-27 Thread Uwe Grauer
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
 

Mattias,

thank you for the info.
I will try to find a gtk1-dev-package for suse 10.0 then.
Any hints where to find it (suse 10.0 users)?

Uwe

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] compile lazarus on opensuse 10.0

2006-02-27 Thread Uwe Grauer
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

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] compile lazarus on opensuse 10.0

2006-02-27 Thread Eric Chapman
 thank you for the info.
 I will try to find a gtk1-dev-package for suse 10.0 then.
 Any hints where to find it (suse 10.0 users)?

The package you want is called gtk-devel and it's on any of the normal SuSE 
mirrors or the installation DVD.

Eric

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives