Lazarus and Ubuntu 9.10 lazarus / 1-Linux ---------------------------------------------------------------------- Tourniquet · 2009-10-30 18:57 Hey Im new to lazarus and Linux. I installed it with the Software Center and i thought it worked fine, but once i click on the 'onclick' event or 'oncreate' or something, i get the following error: Code: [Select]/usr/lib/lazarus/lcl/forms.pp(44,19) Error: Quelltext nicht gefunden: Unit /usr/lib/fpc/2.2.4/units/x86_64-linux/fcl- base/gettext.ppu Also the unit 'forms' opens marks the following line: Code: [Select]{$ufndef wince}, gettext{$endif}// remove ifdefs when gettext is fiexed and a new fpc is released Any idea? ---------------------------------------------------------------------- Vincent Snijders · 2009-10-30 19:31 Did you install the fpc-src package? ---------------------------------------------------------------------- Tourniquet · 2009-10-30 22:08 yes. ---------------------------------------------------------------------- Ocye · 2009-10-31 10:15 Maybe it's not relevant here. With release 9.10 of Ubuntu gtk1.2 was removed completely. I'm using 9.04 and needed to install it to build FPC and Lazarus from Svn. On the other hand, it wasn't installed if one uses percompiled packages, IIRC. ---------------------------------------------------------------------- thierrybo · 2009-10-31 14:23 Uninstall Ubuntu repository version and install freepascal repository version instead. ---------------------------------------------------------------------- Tourniquet · 2009-10-31 14:30 Oh, well. The problem was, i did not restart my computer after i installed the fpc-src package. So i got this problem. After i restarted it, the problem was gone for good ---------------------------------------------------------------------- Troodon · 2009-10-31 20:11 Ubuntu 9.10 comes with lazarus-0.9.26 (in the repos). There is a lazarus metapackage in Synaptic that includes everything you need to run Lazarus/FPC. After you install it, add the Lazarus repositories as indicated at http://wiki.lazarus.freepascal.org/Getting_Lazarus#Gettin g_Lazarus_from_our_Ubuntu_repository. Finally, do a package upgrade via Synaptic. ---------------------------------------------------------------------- medamarko · 2009-11-16 06:45 I'm also having issues on installing Lazarus IDE on ubuntu 9.10. If i choose to install it from Ubuntu Software Center i get "Package Dependencies cannot be resolved". Also i tried it manually, first downloaded fpc-2.2.4.i386-linux.tar and when i run install.sh i get this error: "No native FPC found. For a proper installation of a cross FPC the installation of a native FPC is required." Can somebody help me? Best Regards ---------------------------------------------------------------------- Troodon · 2009-11-16 13:10 Quote from: medamarko on November 16, 2009, 07:45:37 amI'm also having issues on installing Lazarus IDE on ubuntu 9.10. Can somebody help me? Try Synaptic. ---------------------------------------------------------------------- medamarko · 2009-11-16 15:04 Hi, QuoteTry Synaptic.Also didn't work. I recorded video which is showing errors. http://www.youtube.com/watch?v=SHMzraNktEg Any help is appreciated. Thanks ---------------------------------------------------------------------- Troodon · 2009-11-16 15:53 That is weird. I installed Ubuntu 9.10 (both 32 and 64 bit) on two machines and then I installed Lazarus using Synaptic and everything went fine. Did you upgrade to 9.10 or did you do a fresh install? I had to do a fresh install on one of my computers, upgrade from 9.04 didn't work out well. Anyway, you can try this using Synaptic: - uninstall all lazarus* and all fpc*/fp-* packages - run Package|Fix Broken Packages (just in case) - click the Search button and enter "lazarus"; that should list exactly four packages. Select for installation only the first one (the Lazarus metapackage, which includes everything you need); all dependencies will be automatically selected (including the fpc packages, which are not listed in your Synaptic panel at this time). Click the Apply button to install. This should install 0.9.26; you will upgrade to 0.9.28 by adding the Lazarus/FPC repositories when this step is successfully completed. Let me know if you get any error messages so far. ---------------------------------------------------------------------- Fred vS · 2009-11-19 15:54 Hello everybody. If you have problems to reinstall Lazarus and fpc (some files earesed, etc) and if you get everytimes errors message from Synaptic here is my way to complete erase Lazarus and fpc. Ones you have completely erased it, it is easier to install a frech version. 1- Try to uninstall via Synaptic and complete erase option. 2- Delete the /.lazarus folder in /home/your user name (press on Ctrl + H if you dont see it) 3- In a console run : sudo cp /var/lib/dpkg/status /var/lib/dpkg/status-old 4- Edit with root privilege (sudo) /var/lib/dpkg/status 5- Erase all sections related to package fpc and lazarus and save changes. 6- In console : sudo dpkg --configure -a 7- In console : sudo apt-get -f install 8- In console : sudo apt-get update Then reinstall fpc-source, fpc and lazarus. (if you get message "Old fpc config finded" choose Install new config from administrator package.) Hope it will help you. ---------------------------------------------------------------------- TurboRascal · 2009-11-21 16:28 Quote from: medamarko on November 16, 2009, 07:45:37 amAlso i tried it manually, first downloaded fpc-2.2.4.i386-linux.tar and when i run install.sh i get this error: "No native FPC found. For a proper installation of a cross FPC the installation of a native FPC is required." Do you have 32-bit or 64-bit Ubuntu? ---------------------------------------------------------------------- Mike J · 2009-11-21 16:29 Try this: http://wiki.freepascal.org/Getting_Lazarus#Short_version:_get_Lazarus ---------------------------------------------------------------------- panoss · 2011-02-14 07:06 Hi everybody. I have Ubuntu 9.10, upgrade from older version, not fresh install. I'm having problems trying to install Lazarus on it. I tried with .deb and then with Synaptic. They both failed. In Synaptic the message is: Lazarus: depends on: lazarus-ide (>= 0.9.26.2-2) but will not get installed Suggests: fpc but will not get installed. I've tried actions suggested in this topic, but no success. ---------------------------------------------------------------------- panoss · 2011-02-15 13:08 I downgraded (at Synaptic-->Package-->force version) library libatk1.0-0 from version 1.29.31 to 1.28.0 and installed Lazarus through synaptic in 2-3 minutes! I can't believe the solution was so simple! I thought I'd never make it! ---------------------------------------------------------------------- JPerez45 · 2011-09-16 02:49 I think i found the problem with the fpc source files path, i installed Lazarus on ubuntu and fedora and i had some problems, every time i tried to double-click the design form i got a message about gettext.ppu, then i just found the sources in /usr/shared/fpc/2.4.0 I just copied everything inside into the path: /usr/lib/fpc/2.4.0 an got it working. About the lazarus construction i always have to set the security in those directories and start it with sudo, that's not bad it's a little price for secure system. ---------------------------------------------------------------------- BigChimp · 2011-09-16 05:11 Quote from: JPerez45 on September 16, 2011, 04:49:32 amI think i found the problem with the fpc source files path, i installed Lazarus on ubuntu and fedora and i had some problems, every time i tried to double-click the design form i got a message about gettext.ppu, then i just found the sources in /usr/shared/fpc/2.4.0 I just copied everything inside into the path: /usr/lib/fpc/2.4.0 an got it working. Hmmm, yes. Glad you got it working, but... Maybe a symlink (ln -s) would have worked as well? And all this on Ubuntu 9.10? That is what the topic title says anyway? ---------------------------------------------------------------------- Leledumbo · 2011-09-16 07:22 You may copy it there, it's OK. But I'd rather change FPC source directory in environment options. ---------------------------------------------------------------------- TurboRascal · 2011-09-16 21:53 Quote from: Leledumbo on September 16, 2011, 09:22:08 amYou may copy it there, it's OK. But I'd rather change FPC source directory in environment options. I'd even dare say it's not OK, since managed directories are not to be modified in APT based installs; that could confuse the install system and/or create problems on uninstall or upgrade. Symlinks could be tolerated though. It should preferably be dealt with via Environment options like you suggested...