Sign in Join

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

Mailing lists / lazarus / 1999-07

[lazarus]

4 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

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

Unknown author
to Hennrik Schmidt: I tried to install Lazarus on my Suse Linux System with make But the Makefile seems to…
Hennrik Schmidt wrote
I tried to install Lazarus on my Suse Linux System with make But the Makefile seems to have some errors: in line 47/48 a seperator is missing and there are some problems from line 83 till the end with a missing ifend. The Makefile comes with this mail and the lines which caused errors are marked (#>>>>)
I found the problem: there are DOS style line endings in your file;
make doesn't like that. Just do a

tr -d \\r <<Makefile >NewMakefile
mv NewMakefile Makefile

and it should function.

Michael.

Reply by email

Hennrik Schmidt

I tried to install Lazarus on my Suse Linux
System with make
But the Makefile seems to have some
errors:
in line 47/48 a seperator is
missing and there are some problems from line 83 till the end with a missing ifend. The Makefile comes with this mail and the lines which caused errors are marked (#>>>>)
�
�
And I have still go some problems to get the
GTK+ Toolkit running.

As I try to install the gtk+ and wrote after succesful doing <make all install> :
�<make examples>
�the following errors appered :
Linking ./pixmap
/usr/bin/ld: cannot open -lgtk: No such file or directory Warning: Error while linking
Closing script ./ppas.sh
106 Lines compiled, 1.0 sec
ppc386 -Tlinux -Fu../rtl/linux -Fu../units/linux
-Fl/usr/lib/gcc-lib/i486-linux/egcs-2.91.66 -Fl/lib-aout -Fl/usr/X11R6/lib/Xaw95 -Fl/usr/X11R6/lib/Xaw3d -Fl/usr/X11R6/lib -Fl/usr/X386/lib -Fl/usr/i486-linux/lib -Fl/usr/i486-linux-libc5/lib=libc5 -Fl/usr/i486-linux-libc6/lib=libc6 -Fl/usr/i486-linuxaout/lib -Fl/usr/local/lib -Fl/usr/openwin/lib -Fl/opt/kde/lib -Fl/opt/gnome/lib -FE. -di386 examples/list.pp
Free Pascal Compiler version 0.99.12a [1999/06/24] for i386 Copyright (c) 1993-98 by Florian Klaempfl
Target OS: Linux for i386
Compiling examples/list.pp
list.pp(77,56) Hint: Parameter not used FUNC_DATA
Assembling list
Linking ./list
/usr/bin/ld: cannot open -lgtk: No such file or directory Warning: Error while linking
Closing script ./ppas.sh
249 Lines compiled, 0.0 sec
I hope that I get it working so that I can start
working with and on it..
H.S.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bin00003.bin
Type: application/octet-stream
Size: 3865 bytes
Desc: "Makefile"
Url : http://localhost/pipermail/lazarus/attachments/19990718/582d7b09/bin00003.bin

Reply by email

Unknown author
to Hennrik Schmidt
Hennrik Schmidt wrote
I tried to install Lazarus on my Suse Linux System with make But the Makefile seems to have some errors: in line 47/48 a seperator is missing and there are some problems from line 83 till the end with a missing ifend. The Makefile comes with this mail and the lines which caused errors are marked (#>>>>)

?? my copy of the Makefile is functioning just fine.

Show quoted text 11 lines
And I have still go some problems to get the GTK+ Toolkit running. As I try to install the gtk+ and wrote after succesful doing <make all install> : <make examples> the following errors appered : Linking ./pixmap /usr/bin/ld: cannot open -lgtk: No such file or directory

You must add the directory where gtk is to your linker path: -Fl/path/to/gtk

Michael.

Reply by email

Peter Vreman
to Hennrik Schmidt: I tried to install Lazarus on my Suse Linux System with make But the Makefile seems to…
Show quoted text 14 lines
And I have still go some problems to get the GTK+ Toolkit running. As I try to install the gtk+ and wrote after succesful doing <make all install> : <make examples> the following errors appered : Linking ./pixmap /usr/bin/ld: cannot open -lgtk: No such file or directory Warning: Error while linking

Do you also have the development version of gtk installed? Because with a normal gtk installation there is no /usr/lib/libgtk.so link, this is normally made by the development package. This is at least the behaviour of debian which i've installed.

Reply by email