Recent

Author Topic: Installing package without IDE  (Read 4718 times)

Alexey Daryin

  • Newbie
  • Posts: 3
Installing package without IDE
« on: February 29, 2012, 11:24:38 am »
Hello,

Lazarus: 0.9.30.2
FPC: 2.4.4

I am trying to install my package to IDE from the command line using this article: http://wiki.lazarus.freepascal.org/Install_IDE_packages_without_the_IDE
If I install the package from inside IDE, after IDE is rebuilt the package is installed and I can see my components on Lazarus palette.
After such an installation I copied idemake.cfg, packagefiles.xml and staticpackages.inc from C:\Users\<user_name>\AppData\Local\lazarus to a temp folder, so I have my package registered there.
Then:
1) I uninstalled my package from IDE
2) called "make clean all" from c:\Lazarus
3) called lazbuild and built my package
4) copied all kept files (idemake.cfg,  packagefiles.xml and staticpackages.inc) to C:\Users\<user_name>\AppData\Local\lazarus
5) copied kept idemake.cfg to c:\Lazarus
6) created .lpl file for my package and placed that in c:\Lazarus\packager\globallinks
7) finally called "make idepkg" from c:\Lazarus

When Lazarus IDE was built and started - I could see my package among the installed packages but marked with the green "+". The palette also missed my components.
If I call then Tool -> Build Lazarus with profile: Build IDE with Packages - this makes make package installed correctly.
 
Am I missing something? Is there alternative to register packages from the command line without IDE?

Thanks in advance.
« Last Edit: February 29, 2012, 03:40:28 pm by Alexey Daryin »

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: Installing package without IDE
« Reply #1 on: February 29, 2012, 06:43:05 pm »
Perhaps make bigide to compile Lazarus with all selected components?
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

Alexey Daryin

  • Newbie
  • Posts: 3
Re: Installing package without IDE
« Reply #2 on: March 01, 2012, 05:17:44 am »
I tried that as well and the result was the same.

childem

  • New Member
  • *
  • Posts: 26
Re: Installing package without IDE
« Reply #3 on: March 25, 2012, 06:50:06 pm »
Can you find it from the main menu -> Tools -> Options | Education | Component palette ?

 

TinyPortal © 2005-2018