Recent

Author Topic: Installation packages problem  (Read 3574 times)

xinyiman

  • Hero Member
  • *****
  • Posts: 2256
    • Lazarus and Free Pascal italian community
Installation packages problem
« on: November 21, 2014, 10:28:18 am »
Hello guys, I can not No more ads instllare package on millions of Lazarus. Every time I say this. Who knows how to help me ?!

Code: [Select]
make: Entering directory `/usr/share/lazarus/1.2.4'
/usr/bin/make -C ide idepkg
make[1]: Entering directory `/usr/share/lazarus/1.2.4/ide'
../tools/svn2revisioninc .. revision.inc
/usr/bin/make --assume-new=lazarus.pp lazarus OPT=' @/home/francesco/.lazarus/idemake.cfg -FU/usr/share/lazarus/1.2.4/units/i386-linux/gtk2 -FE/usr/share/lazarus/1.2.4'
make[2]: Entering directory `/usr/share/lazarus/1.2.4/ide'
/usr/bin/fpc -gl -Sci -dlclgtk2 -Fu../designer -Fu../debugger -Fu../debugger/frames -Fu../converter -Fu../packager -Fu../packager/frames -Fu../components/custom -Fuframes -Fu. -Fu/usr/lib/fpc/2.6.4/units/i386-linux/rtl -Fu/usr/lib/fpc/2.6.4/units/i386-linux/paszlib -Fu/usr/lib/fpc/2.6.4/units/i386-linux/fcl-process -Fu/usr/lib/fpc/2.6.4/units/i386-linux/hash -Fu/usr/lib/fpc/2.6.4/units/i386-linux/fpmkunit -Fu/usr/lib/fpc/2.6.4/units/i386-linux/regexpr -Fiinclude -Fiinclude/linux -Fi../images -FE.. -FU../units/i386-linux/gtk2 -Fl/usr/lib/gcc/i686-linux-gnu/4.8 -Flinclude -Fl/etc/ld.so.conf.d/*.conf @/home/francesco/.lazarus/idemake.cfg -FU/usr/share/lazarus/1.2.4/units/i386-linux/gtk2 -FE/usr/share/lazarus/1.2.4 -di386 lazarus.pp
Free Pascal Compiler version 2.6.4 [2014/04/20] for i386
Copyright (c) 1993-2014 by Florian Klaempfl and others
Target OS: Linux for i386
Compiling lazarus.pp
Compiling resource /usr/share/lazarus/1.2.4/units/i386-linux/gtk2/lazarus.or
Linking /usr/share/lazarus/1.2.4/lazarus
/usr/bin/ld: warning: /usr/share/lazarus/1.2.4/link.res contains output sections; did you forget -T?
/usr/bin/ld: cannot find -lGL
lazarus.pp(141,1) Error: Error while linking
/usr/bin/ld: warning: /usr/share/lazarus/1.2.4/link.res contains output sections; did you forget -T?
/usr/bin/ld: cannot find -lGL
/usr/share/lazarus/1.2.4/ide/lazarus.pp(141,1) Error: Error while linking
/usr/share/lazarus/1.2.4/ide/lazarus.pp(141,1) Fatal: There were 1 errors compiling module, stopping
Win10, Ubuntu and Mac
Lazarus: 2.1.0
FPC: 3.3.1

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11453
  • FPC developer.
Re: Installation packages problem
« Reply #1 on: November 21, 2014, 10:48:09 am »
Seems an distro installation problem; somehow GL (opengl lib) is not installed or not found, what does

pkg-config --libs-only-L gl

say?

xinyiman

  • Hero Member
  • *****
  • Posts: 2256
    • Lazarus and Free Pascal italian community
Re: Installation packages problem
« Reply #2 on: November 21, 2014, 10:50:09 am »
Package gl was not found in the pkg-config search path.
Perhaps you should add the directory containing `gl.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gl' found
Win10, Ubuntu and Mac
Lazarus: 2.1.0
FPC: 3.3.1

gadriano264

  • Newbie
  • Posts: 1
Re: Installation packages problem
« Reply #3 on: March 05, 2015, 12:41:45 pm »
Hello,

  I received the same message installing Lazarus:
  link.res contains output sections; did you forget -T?

  the problem was that I was installing via command line, when installed by Synaptics then everything worked perfectly, so let's go through a step-by-step:
  I will show how to install a software by Synaptics:
  1) mark the packages to install (one on one with double-click)
  2) click the Apply button (top menu)
  3) then Synaptics will download the packages and install, but ...
     it needs to have a list of where it will download the packages,
     he handle /etc/apt/sources.list
     I entered the site debgen.simplylinux.ch and performed the
     Sources List Generator and copied and pasted the lines generated
     (As superuser) in sources.list file and the rest
     was automatic
  4) installed Lazarus ok but does not compile, claims dependency,
     says lacked the LCL, marked and applied the lcl-1.2.4 and
     lcl-gtk2-1.2.4 and lcl-Nogui-1.2.4 and lcl-units-1.2.4 and
     lcl-utils-1.2.4
     and ok, started to compile ok
  5) Lazarus in Tools> Options uncheck "Notify on Lazarus Exceptions"
  
     that's it ... the process should be the same for any software, lets Synaptics resolve dependencies.

   Good luck
   Gilson

 

TinyPortal © 2005-2018