In case anyone is struggling with this, I spent a couple of hours just to figure out how to install glscene on the newer lazarus releases (the last time I did this was over 7 years ago) on my Ubuntu 14.04 box.
There are a few hoops you need to jump through to make this successful.
First, download the latest GLSceneLCL release (1.4) from the sourceforge site:
https://sourceforge.net/projects/glscene/files/GLScene/GLScene%20v1.4/GLScene_v1.4_for_Lazarus.7z/downloadOnce you download and unzip, the first thing you want to do is to correct a few file name bugs, you want to open a terminal, navigate to the GLSceneLCL/Packages folder, and run
perl -pi -e 's/GlFileX/GLFileX/g' *
then, cd the GLSceneLCL/Source folder, run the same command. Basically, the Packages/GLSceneLCL_RunTime.* and Source/GLRenderContextInfo.pas units in the upstream release use lower case for "l" in "GLFileX"; this is not an issue on windows, but fails the installation on Linux.
The second hoop to jump is the missing of "imagesforlazarus.ppu". To solve this, you need to go to Lazarus menu Package\Open Package File (*.lpk), and select
/usr/lib/lazarus/1.6/components/images/imagesforlazarus.lpk, and then, select "Compile". Once this is done, open a terminal, and run
cd ~/.lazarus/lib/ImagesForLazarus/lib/x86_64-linux/gtk2
sudo cp *.ppu /usr/lib/lazarus/1.6/lcl/units/x86_64-linux/
sudo cp *.o /usr/lib/lazarus/1.6/lcl/units/x86_64-linux/
sudo cp *.res /usr/lib/lazarus/1.6/lcl/units/x86_64-linux/
then, you can follow the steps shown on this webpage and install GLSceneLCL to your lazarus
https://sourceforge.net/p/glscene/wiki/Lazarus%20Installation/If you don't do the steps I mentioned earlier, you will see a bunch of errors that prevent the packages to be compiled and installed.
when I played with some additional examples, I also found the LazOpenGLContext package was also missing from my lazarus installation. I had to do the same steps as ImagesForLazarus above to get it compiled, and copy the ppu/.o/.res file to lazarus folder.