Recent

Author Topic: Problem installation  (Read 7888 times)

xinyiman

  • Hero Member
  • *****
  • Posts: 2256
    • Lazarus and Free Pascal italian community
Problem installation
« on: January 17, 2011, 01:26:52 pm »
On my ubuntu 10:10 I deleted the folder / usr / lib / lazarus and its subfolders, then I deleted the folder. Lazarus in my home, I downloaded the daily snapshot from the site of lazarus I unpacked the file and I ran the command "sudo dpkg -i * "I installed lazarus, then I stand up and the following screen, I have given ok, but does not allow me to complete, what should I do? Then I'm going to check Environment -> Environment options -> file and it seems okay.


lazarus current folder "/ usr/lib/lazarus/0.9.28.2" does not seem correct.
Without it you will not be able to create applications LCL.
Click OK to set the default "/ usr/lib/lazarus/0.9.31 /"
If not, check Environment -> Environment options -> file
Win10, Ubuntu and Mac
Lazarus: 2.1.0
FPC: 3.3.1

xinyiman

  • Hero Member
  • *****
  • Posts: 2256
    • Lazarus and Free Pascal italian community
Re: Problem installation
« Reply #1 on: January 17, 2011, 03:33:29 pm »
I created a virtual machine where I installed Ubuntu 32-bit 10/10, I downloaded the latest daily snapshot, I installed, fill in the blank form that appears when the program starts and I get these errors. Why?

Hint: Start of reading config file /etc/fpc.cfg
Hint: End of reading config file /etc/fpc.cfg
Free Pascal Compiler version 2.4.2-0 [2010/11/11] for i386
Copyright (c) 1993-2010 by Florian Klaempfl
Target OS: Linux for i386
Compiling project1.lpr
Compiling unit1.pas
Compiling resource /home/generico/Scrivania/Progetti_Lazarus/prova/lib/i386-linux/project1.or
Linking project1
/usr/bin/ld: warning: link.res contains output sections; did you forget -T?
/usr/bin/ld: cannot find -lX11
/usr/bin/ld: cannot find -lgdk_pixbuf-2.0
/usr/bin/ld: cannot find -lgtk-x11-2.0
/usr/bin/ld: cannot find -lgdk-x11-2.0
/usr/bin/ld: cannot find -lgobject-2.0
/usr/bin/ld: cannot find -lglib-2.0
/usr/bin/ld: cannot find -lgthread-2.0
/usr/bin/ld: cannot find -lgmodule-2.0
/usr/bin/ld: cannot find -lpango-1.0
/usr/bin/ld: cannot find -latk-1.0
/usr/bin/ld: cannot find -lcairo
project1.lpr(19,1) Error: Error while linking
/usr/bin/ld: warning: link.res contains output sections; did you forget -T?
/usr/bin/ld: cannot find -lX11
/usr/bin/ld: cannot find -lgdk_pixbuf-2.0
/usr/bin/ld: cannot find -lgtk-x11-2.0
/usr/bin/ld: cannot find -lgdk-x11-2.0
/usr/bin/ld: cannot find -lgobject-2.0
/usr/bin/ld: cannot find -lglib-2.0
/usr/bin/ld: cannot find -lgthread-2.0
/usr/bin/ld: cannot find -lgmodule-2.0
/usr/bin/ld: cannot find -lpango-1.0
/usr/bin/ld: cannot find -latk-1.0
/usr/bin/ld: cannot find -lcairo
project1.lpr(19,1) Error: Error while linking
project1.lpr(19,1) Fatal: There were 1 errors compiling module, stopping
Win10, Ubuntu and Mac
Lazarus: 2.1.0
FPC: 3.3.1

ik

  • Jr. Member
  • **
  • Posts: 88
  • ik
    • LINESIP
Re: Problem installation
« Reply #2 on: January 17, 2011, 03:40:52 pm »
can you provide the list of
Code: [Select]
$ sudo ldconfig -v
?

xinyiman

  • Hero Member
  • *****
  • Posts: 2256
    • Lazarus and Free Pascal italian community
Re: Problem installation
« Reply #3 on: January 17, 2011, 03:57:04 pm »
Attachment
Win10, Ubuntu and Mac
Lazarus: 2.1.0
FPC: 3.3.1

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11458
  • FPC developer.
Re: Problem installation
« Reply #4 on: January 17, 2011, 08:28:29 pm »
Did you install gtk-devel, or whatever passes for it on Ubuntu?

xinyiman

  • Hero Member
  • *****
  • Posts: 2256
    • Lazarus and Free Pascal italian community
Re: Problem installation
« Reply #5 on: January 18, 2011, 08:09:04 am »
Perfect, thanks I used the command

sudo apt-get install libcheese-gtk-dev

and told me that the dependencies were not met and advised me to use the command

sudo apt-get -f install

Thank
Win10, Ubuntu and Mac
Lazarus: 2.1.0
FPC: 3.3.1

 

TinyPortal © 2005-2018