installing Lazarus Free Pascal IDE from source

Discussions Regarding Software

Moderator: Moderators

installing Lazarus Free Pascal IDE from source

Postby tatamata » Sun Dec 16, 2007 17:37

Hello.

I installed Free Pascal compiler from source and then tried to install Lazarus IDE from source, by "make clean all". An error occured during linking:
Linking ../lazarus
/usr/bin/ld: cannot find -lgdk
lazarus.pp(114,1) Error: Error while linking
lazarus.pp(114,1) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
make[2]: *** [lazarus] Error 1
make[2]: Leaving directory `/home/zlatko/LAZARUS/lazarus-0.9.24-0/lazarus/ide'
make[1]: *** [ide] Error 2
make[1]: Leaving directory `/home/zlatko/LAZARUS/lazarus-0.9.24-0/lazarus/ide'
make: *** [ide] Error 2

What is "lgdk"? What am I suppposed to do?
Please, be extensive in explaination, because, I'm new to Linux.
Thanks in advance,

Zlatko
tatamata
Baby Hen
 
Posts: 2
Joined: Sun Dec 16, 2007 17:27

Re: installing Lazarus Free Pascal IDE from source

Postby wolfden » Sun Dec 16, 2007 17:49

are you install this via emerge?

lazarus is in portage
wolfden
Sharecropper
 
Posts: 9051
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA

Re: installing Lazarus Free Pascal IDE from source

Postby tatamata » Sun Dec 16, 2007 22:13

No, I couldn't install with emerge,"masked package" - what dos it mean?
An I need the most recent version (0.9.24) while in portage it is 0.9.22.
tatamata
Baby Hen
 
Posts: 2
Joined: Sun Dec 16, 2007 17:27

Re: installing Lazarus Free Pascal IDE from source

Postby wolfden » Mon Dec 17, 2007 0:50

wolfden
Sharecropper
 
Posts: 9051
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA

Re: installing Lazarus Free Pascal IDE from source

Postby calebs » Mon Aug 18, 2008 0:21

Hello all, Sorry to bother.

I'm trying to install lazarus on the brand new SABAYON 3.5 x86 but doesn't appear in portato or spritz.
I've downloaded the tarballs from the lazarus homepage, installed succefully the FPC but not lazarus.
It gives me the same error mentioned above of some GTK library not present.
I've looked in emerge, portato and spritz but i cant find any library related...
The error that gives me is

main.pp(1110,35) Warning: Constructing a class "TPkgManager" with abstract methods
Linking ../lazarus
/usr/bin/ld: cannot find -lgdk_pixbuf
lazarus.pp(114,1) Error: Error while linking
lazarus.pp(114,1) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
make[2]: *** [lazarus] Error 1
make[2]: se sale del directorio `/home/caleb/lazarus/ide'
make[1]: *** [ide] Error 2
make[1]: se sale del directorio `/home/caleb/lazarus/ide'
make: *** [ide] Error 2
calebs lazarus #

Appearentely is missing lgd_pixbuf but i can't seem to find the package that contains it.
Any help could be useful... i like a lot sabayon, i would not want to change my linux distribution to make lazarus work...
Thanks in advanced.
calebs
Young Hen
 
Posts: 30
Joined: Mon Aug 18, 2008 0:07

Re: installing Lazarus Free Pascal IDE from source

Postby wolfden » Mon Aug 18, 2008 0:53

did you sync your package managers??

[email protected]:/home/wolfden # eix lazarus
* dev-lang/lazarus
Available versions: (~)0.9.22-r1 (~)0.9.24
Homepage: http://www.lazarus.freepascal.org/
Description: Lazarus IDE is a feature rich visual programming environment emulating Delphi.


cause it's there
wolfden
Sharecropper
 
Posts: 9051
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA

Re: installing Lazarus Free Pascal IDE from source

Postby calebs » Mon Aug 18, 2008 6:27

Sorry for my ignorance... but how i do sync them?
I'm downlading the suggested updates but it's taking forever... 2 gb !!!
I'll try once it finish this.
Thanks for your patience.

PS:Excuse my english if its given you headaches.... lol
calebs
Young Hen
 
Posts: 30
Joined: Mon Aug 18, 2008 0:07

Re: installing Lazarus Free Pascal IDE from source

Postby wolfden » Mon Aug 18, 2008 9:44

our wiki has and explains the package managers

Look for entropy and or portage pending on which one u want to use
wolfden
Sharecropper
 
Posts: 9051
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA

Re: installing Lazarus Free Pascal IDE from source

Postby calebs » Mon Aug 18, 2008 14:28

i'm watching the wiki, sorry i haven't figured to look there... now that i have another problem that i can't find any solution here in the forum or the wiki. I use spritz once but hangs and close it. When i try to use it again says:
"Otra instancia de Entropy está ejecutándose. No se puede realizar la petición." or in brute english (mine) another instance of entropy is running.
I've looked all around places, tried the kill comand, only found an entropy-system-demon but no help nor man pages for using it.
Is there any way to kill entropy or restart or anything that don't requires reboot computer? I've tried logging out and in again but that doesn't solve the problem.
Thanks
calebs
Young Hen
 
Posts: 30
Joined: Mon Aug 18, 2008 0:07

Re: installing Lazarus Free Pascal IDE from source

Postby sjieke » Mon Aug 18, 2008 14:55

You need to delete the file '/var/lib/entropy/entropy.pid'

Searching on 'another instance of entropy is running' in the forums gives you this thread which contains the solution.
sjieke
Technological Hen
 
Posts: 321
Joined: Thu Mar 01, 2007 10:46
Location: Maldegem, Belgium

Next

Return to Software in General

Who is online

Users browsing this forum: No registered users and 2 guests